Message ID | 20200916231202.3637932-1-swboyd@chromium.org |
---|---|
Headers | show |
Series | Support qcom USB3+DP combo phy (or type-c phy) | expand |
On Wed, 16 Sep 2020 16:11:53 -0700, Stephen Boyd wrote: > This binding only describes the USB phy inside the USB3 + DP "combo" > phy. Add information for the DP phy and describe the sub-nodes that > represent the DP and USB3 phys that exist inside the combo wrapper. > Remove reg-names from required properties because it isn't required nor > used by the kernel driver. > > Cc: Jeykumar Sankaran <jsanka@codeaurora.org> > Cc: Chandan Uddaraju <chandanu@codeaurora.org> > Cc: Vara Reddy <varar@codeaurora.org> > Cc: Tanmay Shah <tanmay@codeaurora.org> > Cc: Bjorn Andersson <bjorn.andersson@linaro.org> > Cc: Manu Gautam <mgautam@codeaurora.org> > Cc: Sandeep Maheswaram <sanm@codeaurora.org> > Cc: Douglas Anderson <dianders@chromium.org> > Cc: Sean Paul <seanpaul@chromium.org> > Cc: Jonathan Marek <jonathan@marek.ca> > Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > Cc: <devicetree@vger.kernel.org> > Cc: Rob Herring <robh+dt@kernel.org> > Cc: Rob Clark <robdclark@chromium.org> > Signed-off-by: Stephen Boyd <swboyd@chromium.org> > --- > .../bindings/phy/qcom,qmp-usb3-dp-phy.yaml | 95 ++++++++++++++++--- > 1 file changed, 84 insertions(+), 11 deletions(-) > Reviewed-by: Rob Herring <robh@kernel.org>
On 16-09-20, 16:11, Stephen Boyd wrote: > This patch series is based on v12 of the msm DP driver submission[1] > plus a compliance patch[2]. In the v5 patch series review I suggested > that the DP PHY and PLL be split out of the drm driver and moved to the > qmp phy driver. This patch series does that, but it is still marked as > an RFC because there are a couple more things to do, mostly updating the > DT binding and getting agreement on how to structure the code. > > Eventually I believe the qmp phy driver will need to listen for type-c > notifiers or somehow know the type-c pinout being used so this driver > can program things slightly differently. Right now, I don't have any way > to test it though, so I've left it as future work. For some more > details, the DP phy and the USB3 phy share the same physical pins on the > SoC and those pins pretty much line up with a type-c pinout modulo some > CC pins for cable orientation detection logic that lives on the PMIC. So > the DP phy can use all four lanes or it can use two lanes and the USB3 > phy can use two lanes. In the hardware designs that I have access to it > is always two lanes for USB3 and two lanes for DP going through what > looks like a type-c pinout so this just hard codes that configuration in > the driver. Applied 1 thru 8, thanks