devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/2] Revert device tree changes for EUD
@ 2022-02-25 13:02 Souradeep Chowdhury
  2022-02-25 13:03 ` [PATCH V2 1/2] Revert "arm64: dts: qcom: sc7280: Set the default dr_mode for usb2" Souradeep Chowdhury
  2022-02-25 13:03 ` [PATCH V2 2/2] Revert "arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector" Souradeep Chowdhury
  0 siblings, 2 replies; 3+ messages in thread
From: Souradeep Chowdhury @ 2022-02-25 13:02 UTC (permalink / raw)
  To: linux-arm-msm, linux-usb, devicetree, pure.logic, bjorn.andersson,
	greg, robh
  Cc: linux-kernel, quic_rjendra, quic_saipraka, quic_schowdhu

Revert the device tree changes for Embedded USB Debugger(EUD)
from the usb tree to avoid conflicts as device tree changes
for EUD are supposed to go from qcom Tree.

Changes in V2

*Added the reason in revert statement.

Souradeep Chowdhury (2):
  Revert "arm64: dts: qcom: sc7280: Set the default dr_mode for usb2"
  Revert "arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector"

 arch/arm64/boot/dts/qcom/sc7280-idp.dts |  4 ----
 arch/arm64/boot/dts/qcom/sc7280.dtsi    | 36 ---------------------------------
 2 files changed, 40 deletions(-)

--
2.7.4


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

* [PATCH V2 1/2] Revert "arm64: dts: qcom: sc7280: Set the default dr_mode for usb2"
  2022-02-25 13:02 [PATCH V2 0/2] Revert device tree changes for EUD Souradeep Chowdhury
@ 2022-02-25 13:03 ` Souradeep Chowdhury
  2022-02-25 13:03 ` [PATCH V2 2/2] Revert "arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector" Souradeep Chowdhury
  1 sibling, 0 replies; 3+ messages in thread
From: Souradeep Chowdhury @ 2022-02-25 13:03 UTC (permalink / raw)
  To: linux-arm-msm, linux-usb, devicetree, pure.logic, bjorn.andersson,
	greg, robh
  Cc: linux-kernel, quic_rjendra, quic_saipraka, quic_schowdhu

This reverts commit c18553956f34819e224a79c9890eba2ba0604e15.

Revert the change to set dr_mode for usb2 in case of
Embedded USB Debugger(EUD). This change needs to be
reverted as the DT changes for QCOM should go through
the QCOM tree and not the USB tree.

Signed-off-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com>
---
 arch/arm64/boot/dts/qcom/sc7280-idp.dts | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dts b/arch/arm64/boot/dts/qcom/sc7280-idp.dts
index f40eaa5..9b991ba 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-idp.dts
+++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dts
@@ -61,10 +61,6 @@
 	modem-init;
 };
 
-&usb_2_dwc3 {
-	dr_mode = "otg";
-};
-
 &pmk8350_rtc {
 	status = "okay";
 };
-- 
2.7.4


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

* [PATCH V2 2/2] Revert "arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector"
  2022-02-25 13:02 [PATCH V2 0/2] Revert device tree changes for EUD Souradeep Chowdhury
  2022-02-25 13:03 ` [PATCH V2 1/2] Revert "arm64: dts: qcom: sc7280: Set the default dr_mode for usb2" Souradeep Chowdhury
@ 2022-02-25 13:03 ` Souradeep Chowdhury
  1 sibling, 0 replies; 3+ messages in thread
From: Souradeep Chowdhury @ 2022-02-25 13:03 UTC (permalink / raw)
  To: linux-arm-msm, linux-usb, devicetree, pure.logic, bjorn.andersson,
	greg, robh
  Cc: linux-kernel, quic_rjendra, quic_saipraka, quic_schowdhu

This reverts commit a0c68e493007a8c72b6b00f6ac95590a86edc937.

Revert all the changes to add the Embedded USB Debugger(EUD) Node
in the device tree, the connector node and also changes to usb2 Node
associated with this.The changes need to be reverted as DT changes
for QCOM should go through the QCOM tree and not the USB tree.

Signed-off-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com>
---
 arch/arm64/boot/dts/qcom/sc7280.dtsi | 36 ------------------------------------
 1 file changed, 36 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 96917fe..937c2e0 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -2583,12 +2583,6 @@
 				phys = <&usb_2_hsphy>;
 				phy-names = "usb2-phy";
 				maximum-speed = "high-speed";
-				usb-role-switch;
-				port {
-					usb2_role_switch: endpoint {
-						remote-endpoint = <&eud_ep>;
-					};
-				};
 			};
 		};
 
@@ -2630,36 +2624,6 @@
 			interrupts = <GIC_SPI 582 IRQ_TYPE_LEVEL_HIGH>;
 		};
 
-		eud: eud@88e0000 {
-			compatible = "qcom,sc7280-eud","qcom,eud";
-			reg = <0 0x88e0000 0 0x2000>,
-			      <0 0x88e2000 0 0x1000>;
-			interrupts-extended = <&pdc 11 IRQ_TYPE_LEVEL_HIGH>;
-			ports {
-				port@0 {
-					eud_ep: endpoint {
-						remote-endpoint = <&usb2_role_switch>;
-					};
-				};
-				port@1 {
-					eud_con: endpoint {
-						remote-endpoint = <&con_eud>;
-					};
-				};
-			};
-		};
-
-		eud_typec: connector {
-			compatible = "usb-c-connector";
-			ports {
-				port@0 {
-					con_eud: endpoint {
-						remote-endpoint = <&eud_con>;
-					};
-				};
-			};
-		};
-
 		nsp_noc: interconnect@a0c0000 {
 			reg = <0 0x0a0c0000 0 0x10000>;
 			compatible = "qcom,sc7280-nsp-noc";
-- 
2.7.4


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

end of thread, other threads:[~2022-02-25 13:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-25 13:02 [PATCH V2 0/2] Revert device tree changes for EUD Souradeep Chowdhury
2022-02-25 13:03 ` [PATCH V2 1/2] Revert "arm64: dts: qcom: sc7280: Set the default dr_mode for usb2" Souradeep Chowdhury
2022-02-25 13:03 ` [PATCH V2 2/2] Revert "arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector" Souradeep Chowdhury

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).