arm64: dts: imx8mq-librem5: add USB type-c properties for role switching
authorAngus Ainslie <angus@akkea.ca>
Fri, 2 Sep 2022 08:42:14 +0000 (10:42 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:34:26 +0000 (16:34 +0800)
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 <angus@akkea.ca>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi

index 7e6c4ad..f07d1c6 100644 (file)
                interrupt-names = "irq";
 
                connector {
+                       compatible = "usb-c-connector";
+                       label = "USB-C";
+                       data-role = "dual";
+
                        ports {
                                #address-cells = <1>;
                                #size-cells = <0>;