devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] arm64: dts: qcom: x1e80100: enable OTG on USB-C controllers
@ 2024-10-11 23:16 Jonathan Marek
  2024-10-11 23:16 ` [PATCH v2 2/3] arm64: dts: qcom: x1e80100-crd: enable otg on usb ports Jonathan Marek
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Jonathan Marek @ 2024-10-11 23:16 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list

These 3 controllers support OTG and the driver requires the usb-role-switch
property to enable OTG. Add the property to enable OTG by default.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
---
 arch/arm64/boot/dts/qcom/x1e80100.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
index 7778e17fb2610..fb16047d803c9 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
@@ -4199,6 +4199,8 @@ usb_1_ss2_dwc3: usb@a000000 {
 
 				dma-coherent;
 
+				usb-role-switch;
+
 				ports {
 					#address-cells = <1>;
 					#size-cells = <0>;
@@ -4452,6 +4454,8 @@ usb_1_ss0_dwc3: usb@a600000 {
 
 				dma-coherent;
 
+				usb-role-switch;
+
 				ports {
 					#address-cells = <1>;
 					#size-cells = <0>;
@@ -4550,6 +4554,8 @@ usb_1_ss1_dwc3: usb@a800000 {
 
 				dma-coherent;
 
+				usb-role-switch;
+
 				ports {
 					#address-cells = <1>;
 					#size-cells = <0>;
-- 
2.45.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-11-06 15:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-11 23:16 [PATCH v2 1/3] arm64: dts: qcom: x1e80100: enable OTG on USB-C controllers Jonathan Marek
2024-10-11 23:16 ` [PATCH v2 2/3] arm64: dts: qcom: x1e80100-crd: enable otg on usb ports Jonathan Marek
2024-10-12  7:33   ` Dmitry Baryshkov
2024-10-21 12:54   ` Stephan Gerhold
2024-10-22  4:25     ` Jonathan Marek
2024-10-11 23:16 ` [PATCH v2 3/3] arm64: dts: qcom: x1e78100-t14s: enable otg on usb-c ports Jonathan Marek
2024-10-12  7:34   ` Dmitry Baryshkov
2024-10-12  6:17 ` [PATCH v2 1/3] arm64: dts: qcom: x1e80100: enable OTG on USB-C controllers Dmitry Baryshkov
2024-10-16 15:32 ` (subset) " Bjorn Andersson
2024-11-06 12:37 ` Dmitry Baryshkov
2024-11-06 15:17   ` Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).