Message ID | 20240525-sc8180x-usb-mp-v1-0-60a904392438@quicinc.com |
---|---|
Headers | show |
Series | arm64: dts: qcom: sc8180x: Enable the USB multiport controller | expand |
On Sat, May 25, 2024 at 11:04:02AM -0700, Bjorn Andersson wrote: > From: Bjorn Andersson <quic_bjorande@quicinc.com> > > The SC8180X Primus comes with an AUX card with two USB ports, fed by the > two multiport ports. > > Enable the involved nodes and define two always-on regulators to enable > VBUS for these ports. > > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> > --- > arch/arm64/boot/dts/qcom/sc8180x-primus.dts | 60 +++++++++++++++++++++++++++++ > 1 file changed, 60 insertions(+) > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
On 25/05/2024 20:03, Bjorn Andersson wrote: > From: Bjorn Andersson <quic_bjorande@quicinc.com> > > The SC8180X has two USB3 UNIPHY QMP blocks, add a compatible for these. > > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> > --- > .../devicetree/bindings/phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof
On 25/05/2024 20:03, Bjorn Andersson wrote: > From: Bjorn Andersson <quic_bjorande@quicinc.com> > > The USB multiport controller needs a few missing resets, describe them > in the binding. > > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> > --- Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof
On 25/05/2024 20:03, Bjorn Andersson wrote: > From: Bjorn Andersson <quic_bjorande@quicinc.com> > > The SC8180X platform has two single port DWC3 instances and a two-port > DWC3 instance. Add compatibles for these to the binding. > Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org> Best regards, Krzysztof
On Sat, 25 May 2024 11:03:53 -0700, Bjorn Andersson wrote: > The USB multiport controller found in SC8180X is used to driver the > camera in the Lenovo Flex 5G, and a couple of additional USB ports on > the Primus AUX board. > > Applied, thanks! [01/10] dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add sc8180x USB3 compatible commit: 4dc7e51a9e40f07dc0da7eea05577633984ea9f2 [02/10] phy: qcom-qmp-usb: Add sc8180x USB UNIPHY commit: b279a835192834565db5025205394e3ef943fbd2 Best regards,
The USB multiport controller found in SC8180X is used to driver the camera in the Lenovo Flex 5G, and a couple of additional USB ports on the Primus AUX board. Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> --- Bjorn Andersson (10): dt-bindings: phy: qcom,sc8280xp-qmp-usb3-uni: Add sc8180x USB3 compatible phy: qcom-qmp-usb: Add sc8180x USB UNIPHY dt-bindings: clock: qcom: Add missing USB MP resets clk: qcom: gcc-sc8180x: Add missing USB MP resets dt-bindings: usb: qcom,dwc3: Add SC8180X compatibles arm64: dts: qcom: sc8180x-pmics: Add second PMC8180 GPIO arm64: dts: qcom: sc8180x: Align USB nodes with binding arm64: dts: qcom: sc8180x: Add USB MP controller and phys arm64: dts: qcom: sc8180x-primus: Enable the two MP USB ports arm64: dts: qcom: sc8180x-lenovo-flex-5g: Enable USB multiport controller .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 3 + .../devicetree/bindings/usb/qcom,dwc3.yaml | 29 ++++ .../arm64/boot/dts/qcom/sc8180x-lenovo-flex-5g.dts | 32 ++++ arch/arm64/boot/dts/qcom/sc8180x-pmics.dtsi | 16 +- arch/arm64/boot/dts/qcom/sc8180x-primus.dts | 60 +++++++ arch/arm64/boot/dts/qcom/sc8180x.dtsi | 175 +++++++++++++++++++-- drivers/clk/qcom/gcc-sc8180x.c | 4 + drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 3 + include/dt-bindings/clock/qcom,gcc-sc8180x.h | 4 + 9 files changed, 312 insertions(+), 14 deletions(-) --- base-commit: 3689b0ef08b70e4e03b82ebd37730a03a672853a change-id: 20240524-sc8180x-usb-mp-4eb278df7ef1 Best regards,