[PATCH 12/12] arm64: dts: qcom: x1e80100: drop wrong usb-role-switch properties

From: Dmitry Baryshkov
Date: Mon Apr 29 2024 - 08:46:50 EST


The usb-role-switch property doesn't make sense for the USB hosts which
are fixed to the host USB data mode. Delete usb-role-switch property
from these hosts.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 3 ---
arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 3 ---
2 files changed, 6 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
index c5c2895b37c7..7e4a13969d25 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
@@ -849,7 +849,6 @@ &usb_1_ss0 {

&usb_1_ss0_dwc3 {
dr_mode = "host";
- usb-role-switch;
};

&usb_1_ss1_hsphy {
@@ -871,7 +870,6 @@ &usb_1_ss1 {

&usb_1_ss1_dwc3 {
dr_mode = "host";
- usb-role-switch;
};

&usb_1_ss2_hsphy {
@@ -893,5 +891,4 @@ &usb_1_ss2 {

&usb_1_ss2_dwc3 {
dr_mode = "host";
- usb-role-switch;
};
diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts
index 2061fbe7b75a..1aebfa5f958d 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts
@@ -545,7 +545,6 @@ &usb_1_ss0 {

&usb_1_ss0_dwc3 {
dr_mode = "host";
- usb-role-switch;
};

&usb_1_ss1_hsphy {
@@ -567,7 +566,6 @@ &usb_1_ss1 {

&usb_1_ss1_dwc3 {
dr_mode = "host";
- usb-role-switch;
};

&usb_1_ss2_hsphy {
@@ -589,5 +587,4 @@ &usb_1_ss2 {

&usb_1_ss2_dwc3 {
dr_mode = "host";
- usb-role-switch;
};

--
2.39.2