linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Revert "arm64: dts: imx8mp-dhcom-pdk3: Describe the USB-C connector"
@ 2024-01-13 22:43 Fabio Estevam
  2024-01-13 22:43 ` [PATCH 2/2] Revert "arm64: dts: imx8mn-var-som-symphony: " Fabio Estevam
  2024-02-05  9:32 ` [PATCH 1/2] Revert "arm64: dts: imx8mp-dhcom-pdk3: " Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2024-01-13 22:43 UTC (permalink / raw)
  To: shawnguo; +Cc: marex, linux-arm-kernel, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

This reverts commit a4dca89fe8a1585af73e362f5f4e3189a00abf8e.

Marek reported:

"This patch breaks USB-C port on this board.

If I plug in USB-C storage device, it is not detected. If I revert this
patch, it is detected.

Please drop this patch for now."

Revert it to avoid the regression.

Reported-by: Marek Vasut <marex@denx.de>
Closes: https://lore.kernel.org/linux-arm-kernel/623c294a-5c53-4e01-acbf-104acc180e14@denx.de/T/#u
Fixes: a4dca89fe8a1 ("arm64: dts: imx8mp-dhcom-pdk3: Describe the USB-C connector")
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts
index fea67a9282f0..b749e28e5ede 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-dhcom-pdk3.dts
@@ -175,14 +175,10 @@ typec@3d {
 				pinctrl-names = "default";
 				pinctrl-0 = <&pinctrl_ptn5150>;
 
-				connector {
-					compatible = "usb-c-connector";
-					label = "USB-C";
-
-					port {
-						ptn5150_out_ep: endpoint {
-							remote-endpoint = <&dwc3_0_ep>;
-						};
+				port {
+
+					ptn5150_out_ep: endpoint {
+						remote-endpoint = <&dwc3_0_ep>;
 					};
 				};
 			};
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 2/2] Revert "arm64: dts: imx8mn-var-som-symphony: Describe the USB-C connector"
  2024-01-13 22:43 [PATCH 1/2] Revert "arm64: dts: imx8mp-dhcom-pdk3: Describe the USB-C connector" Fabio Estevam
@ 2024-01-13 22:43 ` Fabio Estevam
  2024-02-05  9:32 ` [PATCH 1/2] Revert "arm64: dts: imx8mp-dhcom-pdk3: " Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2024-01-13 22:43 UTC (permalink / raw)
  To: shawnguo; +Cc: marex, linux-arm-kernel, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

This reverts commit 095b96b2b8c6dcabf40bbfe4bb99a95fe55c7463.

Marek reported the similar change in imx8mp-dhcom-pdk3.dts
caused a regression:

"This patch breaks USB-C port on this board.

If I plug in USB-C storage device, it is not detected. If I revert this
patch, it is detected.

Please drop this patch for now."

Revert it here as well.

Fixes: 095b96b2b8c6 ("arm64: dts: imx8mn-var-som-symphony: Describe the USB-C connector")
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 .../boot/dts/freescale/imx8mn-var-som-symphony.dts    | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts b/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts
index f38ee2266b25..a6b94d1957c9 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts
@@ -128,14 +128,9 @@ extcon_usbotg1: typec@3d {
 		pinctrl-0 = <&pinctrl_ptn5150>;
 		status = "okay";
 
-		connector {
-			compatible = "usb-c-connector";
-			label = "USB-C";
-
-			port {
-				typec1_dr_sw: endpoint {
-					remote-endpoint = <&usb1_drd_sw>;
-				};
+		port {
+			typec1_dr_sw: endpoint {
+				remote-endpoint = <&usb1_drd_sw>;
 			};
 		};
 	};
-- 
2.34.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 1/2] Revert "arm64: dts: imx8mp-dhcom-pdk3: Describe the USB-C connector"
  2024-01-13 22:43 [PATCH 1/2] Revert "arm64: dts: imx8mp-dhcom-pdk3: Describe the USB-C connector" Fabio Estevam
  2024-01-13 22:43 ` [PATCH 2/2] Revert "arm64: dts: imx8mn-var-som-symphony: " Fabio Estevam
@ 2024-02-05  9:32 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2024-02-05  9:32 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: shawnguo, marex, linux-arm-kernel, Fabio Estevam

On Sat, Jan 13, 2024 at 07:43:32PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> This reverts commit a4dca89fe8a1585af73e362f5f4e3189a00abf8e.
> 
> Marek reported:
> 
> "This patch breaks USB-C port on this board.
> 
> If I plug in USB-C storage device, it is not detected. If I revert this
> patch, it is detected.
> 
> Please drop this patch for now."
> 
> Revert it to avoid the regression.
> 
> Reported-by: Marek Vasut <marex@denx.de>
> Closes: https://lore.kernel.org/linux-arm-kernel/623c294a-5c53-4e01-acbf-104acc180e14@denx.de/T/#u
> Fixes: a4dca89fe8a1 ("arm64: dts: imx8mp-dhcom-pdk3: Describe the USB-C connector")
> Signed-off-by: Fabio Estevam <festevam@denx.de>

Applied both, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2024-02-05  9:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-13 22:43 [PATCH 1/2] Revert "arm64: dts: imx8mp-dhcom-pdk3: Describe the USB-C connector" Fabio Estevam
2024-01-13 22:43 ` [PATCH 2/2] Revert "arm64: dts: imx8mn-var-som-symphony: " Fabio Estevam
2024-02-05  9:32 ` [PATCH 1/2] Revert "arm64: dts: imx8mp-dhcom-pdk3: " Shawn Guo

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