linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Resend PATCH V1 0/2] Revert device tree changes for EUD
@ 2022-02-18 10:43 Souradeep Chowdhury
  2022-02-18 10:43 ` [Resend PATCH V1 1/2] Revert "arm64: dts: qcom: sc7280: Set the default dr_mode for usb2" Souradeep Chowdhury
  2022-02-18 10:43 ` [Resend PATCH V1 2/2] Revert "arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector" Souradeep Chowdhury
  0 siblings, 2 replies; 5+ messages in thread
From: Souradeep Chowdhury @ 2022-02-18 10:43 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 this patch

*Fixed the issue with revert statement.
*Added the signed-off tag.

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] 5+ messages in thread

* [Resend PATCH V1 1/2] Revert "arm64: dts: qcom: sc7280: Set the default dr_mode for usb2"
  2022-02-18 10:43 [Resend PATCH V1 0/2] Revert device tree changes for EUD Souradeep Chowdhury
@ 2022-02-18 10:43 ` Souradeep Chowdhury
  2022-02-25  9:18   ` Greg KH
  2022-02-18 10:43 ` [Resend PATCH V1 2/2] Revert "arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector" Souradeep Chowdhury
  1 sibling, 1 reply; 5+ messages in thread
From: Souradeep Chowdhury @ 2022-02-18 10:43 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).

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] 5+ messages in thread

* [Resend PATCH V1 2/2] Revert "arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector"
  2022-02-18 10:43 [Resend PATCH V1 0/2] Revert device tree changes for EUD Souradeep Chowdhury
  2022-02-18 10:43 ` [Resend PATCH V1 1/2] Revert "arm64: dts: qcom: sc7280: Set the default dr_mode for usb2" Souradeep Chowdhury
@ 2022-02-18 10:43 ` Souradeep Chowdhury
  2022-02-25  9:18   ` Greg KH
  1 sibling, 1 reply; 5+ messages in thread
From: Souradeep Chowdhury @ 2022-02-18 10:43 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.

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] 5+ messages in thread

* Re: [Resend PATCH V1 1/2] Revert "arm64: dts: qcom: sc7280: Set the default dr_mode for usb2"
  2022-02-18 10:43 ` [Resend PATCH V1 1/2] Revert "arm64: dts: qcom: sc7280: Set the default dr_mode for usb2" Souradeep Chowdhury
@ 2022-02-25  9:18   ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2022-02-25  9:18 UTC (permalink / raw)
  To: Souradeep Chowdhury
  Cc: linux-arm-msm, linux-usb, devicetree, pure.logic,
	bjorn.andersson, robh, linux-kernel, quic_rjendra, quic_saipraka

On Fri, Feb 18, 2022 at 04:13:45PM +0530, Souradeep Chowdhury wrote:
> This reverts commit c18553956f34819e224a79c9890eba2ba0604e15.
> 
> Revert the change to set dr_mode for usb2 in case of
> Embedded USB Debugger(EUD).

Why are you doing this?  Changelog text needs to say why the change is
needed, not just what it is doing.

thanks,

greg k-h

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

* Re: [Resend PATCH V1 2/2] Revert "arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector"
  2022-02-18 10:43 ` [Resend PATCH V1 2/2] Revert "arm64: dts: qcom: sc7280: Add EUD dt node and dwc3 connector" Souradeep Chowdhury
@ 2022-02-25  9:18   ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2022-02-25  9:18 UTC (permalink / raw)
  To: Souradeep Chowdhury
  Cc: linux-arm-msm, linux-usb, devicetree, pure.logic,
	bjorn.andersson, robh, linux-kernel, quic_rjendra, quic_saipraka

On Fri, Feb 18, 2022 at 04:13:46PM +0530, Souradeep Chowdhury wrote:
> 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.

Again, why?

thanks,

greg k-h

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

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

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

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