From: Angus Ainslie Date: Fri, 2 Sep 2022 08:42:14 +0000 (+0200) Subject: arm64: dts: imx8mq-librem5: add USB type-c properties for role switching X-Git-Tag: block-6.1-2022-13-10~57^2~16^2~55 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=6ba73ecff00a5d49e7eaf3dcf659cadfe05c81ff;p=linux-block.git arm64: dts: imx8mq-librem5: add USB type-c properties for role switching Add the connector properties to the USB type-c stanza to enable (PD) role-switching on the Librem 5 phone. Signed-off-by: Angus Ainslie Signed-off-by: Martin Kepplinger Signed-off-by: Shawn Guo --- diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index 7e6c4ad43809..f07d1c6e9777 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -773,6 +773,10 @@ interrupt-names = "irq"; connector { + compatible = "usb-c-connector"; + label = "USB-C"; + data-role = "dual"; + ports { #address-cells = <1>; #size-cells = <0>;