[PATCH 2/2] arm64: dts: qcom: x1e78100-t14s: enable otg on usb-c ports
From: Jonathan Marek
Date: Fri Oct 11 2024 - 11:31:22 EST
The 2 USB-C ports on x1e78100-t14s are OTG-capable, change dr_mode and add
usb-role-switch flag to enable OTG.
Signed-off-by: Jonathan Marek <jonathan@xxxxxxxx>
---
arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts
index 08ec2419f95fc..8579c45dcb0a4 100644
--- a/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts
+++ b/arch/arm64/boot/dts/qcom/x1e78100-lenovo-thinkpad-t14s.dts
@@ -1033,7 +1033,8 @@ &usb_1_ss0 {
};
&usb_1_ss0_dwc3 {
- dr_mode = "host";
+ dr_mode = "otg";
+ usb-role-switch;
};
&usb_1_ss0_dwc3_hs {
@@ -1065,7 +1066,8 @@ &usb_1_ss1 {
};
&usb_1_ss1_dwc3 {
- dr_mode = "host";
+ dr_mode = "otg";
+ usb-role-switch;
};
&usb_1_ss1_dwc3_hs {
--
2.45.1