diff options
author | Fabio Estevam <festevam@denx.de> | 2023-12-12 14:48:46 -0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-12-14 11:06:26 +0800 |
commit | 095b96b2b8c6dcabf40bbfe4bb99a95fe55c7463 (patch) | |
tree | 73afaca42b23ac6619736d6962ec8e4eecb84142 /arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts | |
parent | 18783f5cf350a65bc2082dd234f11b1a83d083af (diff) |
arm64: dts: imx8mn-var-som-symphony: Describe the USB-C connector
Describe the PTN5150 USB-C connector to improve the devicetree description
and fix the following dt-schema warning:
imx8mn-var-som-symphony.dtb: typec@3d: 'port' does not match any of the regexes: 'pinctrl-[0-9]+'
from schema $id: http://devicetree.org/schemas/extcon/extcon-ptn5150.yaml#
Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts | 11 |
1 files changed, 8 insertions, 3 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 a6b94d1957c9..f38ee2266b25 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts +++ b/arch/arm64/boot/dts/freescale/imx8mn-var-som-symphony.dts @@ -128,9 +128,14 @@ pinctrl-0 = <&pinctrl_ptn5150>; status = "okay"; - port { - typec1_dr_sw: endpoint { - remote-endpoint = <&usb1_drd_sw>; + connector { + compatible = "usb-c-connector"; + label = "USB-C"; + + port { + typec1_dr_sw: endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; }; }; }; |