Message ID | 20240525-sc8180x-usb-mp-v1-10-60a904392438@quicinc.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | arm64: dts: qcom: sc8180x: Enable the USB multiport controller | expand |
On Sat, May 25, 2024 at 11:04:03AM -0700, Bjorn Andersson wrote: > From: Bjorn Andersson <quic_bjorande@quicinc.com> > > The Lenovo Flex 5G has a camera attached to the multiport USB > controller, enable the controller and the four phys to enable this. > > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> > --- > .../arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 32 ++++++++++++++++++++++ > 1 file changed, 32 insertions(+) Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> >
On 5/25/24 20:04, Bjorn Andersson wrote: > From: Bjorn Andersson <quic_bjorande@quicinc.com> > > The Lenovo Flex 5G has a camera attached to the multiport USB > controller, enable the controller and the four phys to enable this. Any chance you could leave a comment above each pair of PHYs that would say e.g. /* Left rear port */ &usb_mp0_hsphy { ... ? [...] > +&usb_mp0_hsphy { > + status = "okay"; > + vdda-pll-supply = <&vreg_l5e_0p88>; > + vdda18-supply = <&vreg_l12a_1p8>; > + vdda33-supply = <&vreg_l16e_3p0>; status last > +}; > + > +&usb_mp0_qmpphy { > + vdda-phy-supply = <&vreg_l3c_1p2>; > + vdda-pll-supply = <&vreg_l5e_0p88>; > + > + status = "okay"; > +}; > + > +&usb_mp1_hsphy { > + status = "okay"; > + vdda-pll-supply = <&vreg_l5e_0p88>; > + vdda18-supply = <&vreg_l12a_1p8>; > + vdda33-supply = <&vreg_l16e_3p0>; ditto Konrad
diff --git a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts index 6af99116c715..daa3065bcfe5 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts +++ b/arch/arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts @@ -557,6 +557,38 @@ &ufs_mem_phy { status = "okay"; }; +&usb_mp { + status = "okay"; +}; + +&usb_mp0_hsphy { + status = "okay"; + vdda-pll-supply = <&vreg_l5e_0p88>; + vdda18-supply = <&vreg_l12a_1p8>; + vdda33-supply = <&vreg_l16e_3p0>; +}; + +&usb_mp0_qmpphy { + vdda-phy-supply = <&vreg_l3c_1p2>; + vdda-pll-supply = <&vreg_l5e_0p88>; + + status = "okay"; +}; + +&usb_mp1_hsphy { + status = "okay"; + vdda-pll-supply = <&vreg_l5e_0p88>; + vdda18-supply = <&vreg_l12a_1p8>; + vdda33-supply = <&vreg_l16e_3p0>; +}; + +&usb_mp1_qmpphy { + vdda-phy-supply = <&vreg_l3c_1p2>; + vdda-pll-supply = <&vreg_l5e_0p88>; + + status = "okay"; +}; + &usb_prim_hsphy { vdda-pll-supply = <&vreg_l5e_0p88>; vdda18-supply = <&vreg_l12a_1p8>;