Skip to contentSkip to conversation

arm64: dts: imx8qxp-mek: Move port under USB connector

PATCH Superseded Fabio Estevam 2 participants 2 messages Dec 11, 2023 – Dec 14, 2023

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 arm64: dts: imx8qxp-mek: Move port under USB connector

From: Fabio Estevam <[email protected]>

Per nxp,ptn5110.yaml, 'port' should be placed under 'connector'.

Do as requested to fix the following dt-schema warning:

imx8qxp-mek.dtb: tcpc@50: connector:ports: 'port@0' is a required property
from schema $id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml#
imx8qxp-mek.dtb: tcpc@50: connector: Unevaluated properties are not allowed ('ports' was unexpected)
from schema $id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml#

---
 arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +7 -6
index 6c3d8715bc11..096f9501fa32 100644
@@ -152,12 +152,6 @@ ptn5110: tcpc@50 {
 		interrupt-parent = <&lsio_gpio1>;
 		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
 
-		port {
-			typec_dr_sw: endpoint {
-				remote-endpoint = <&usb3_drd_sw>;
-			};
-		};
-
 		usb_con1: connector {
 			compatible = "usb-c-connector";
 			label = "USB-C";
@@ -169,6 +163,13 @@ ports {
 				#address-cells = <1>;
 				#size-cells = <0>;
 
+				port@0 {
+					reg = <0>;
+					typec_dr_sw: endpoint {
+						remote-endpoint = <&usb3_drd_sw>;
+					};
+				};
+
 				port@1 {
 					reg = <1>;
 					typec_con_ss: endpoint {
Signature · 7 lines
2.34.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 34 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Per nxp,ptn5110.yaml, 'port' should be placed under 'connector'.

Do as requested to fix the following dt-schema warning:

imx8qxp-mek.dtb: tcpc@50: connector:ports: 'port@0' is a required property
from schema $id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml#
imx8qxp-mek.dtb: tcpc@50: connector: Unevaluated properties are not allowed ('ports' was unexpected)
from schema $id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml#

---
 arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +0 -6
index 6c3d8715bc11..096f9501fa32 100644
@@ -152,12 +152,6 @@ ptn5110: tcpc@50 {
 		interrupt-parent = <&lsio_gpio1>;
 		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
 
-		port {
-			typec_dr_sw: endpoint {
-				remote-endpoint = <&usb3_drd_sw>;
-			};
-		};
-
 		usb_con1: connector {
 			compatible = "usb-c-connector";
 			label = "USB-C";

arch/arm64/boot/dts/freescale/imx8qxp-mek.dts ports { · line 167

Quoted 5 lines
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +2 -0
@@ -169,6 +163,13 @@ ports {
 				#address-cells = <1>;
 				#size-cells = <0>;
 
+				port@0 {
+					reg = <0>;

Have a newline between properties and child node.

Shawn

Quoted 11 lines
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +5 -0
+					typec_dr_sw: endpoint {
+						remote-endpoint = <&usb3_drd_sw>;
+					};
+				};
+
 				port@1 {
 					reg = <1>;
 					typec_con_ss: endpoint {
Signature · 1 line
2.34.1

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel