Message ID | 2f8f86fdef6cad65954b7668cb13fc132b685a4b.1689913334.git.quic_varada@quicinc.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Enable IPQ5332 USB2 | expand |
On Fri, Jul 21, 2023 at 10:05:30AM +0530, Varadarajan Narayanan wrote: > Enable USB2 in host mode. > > Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com> > --- > v1: > Enable usb-phy node > --- > arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts > index f96b0c8..f5dea16 100644 > --- a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts > +++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts > @@ -79,3 +79,15 @@ > bias-pull-up; > }; > }; > + > +&usbphy0 { > + status = "okay"; Is this phy not powered? Should there be some regulators controlled? Regards, Bjorn
diff --git a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts index f96b0c8..f5dea16 100644 --- a/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts +++ b/arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts @@ -79,3 +79,15 @@ bias-pull-up; }; }; + +&usbphy0 { + status = "okay"; +}; + +&usb2 { + status = "okay"; +}; + +&usb2_0_dwc { + dr_mode = "host"; +};
Enable USB2 in host mode. Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com> --- v1: Enable usb-phy node --- arch/arm64/boot/dts/qcom/ipq5332-rdp468.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+)