arm64: dts: imx8mq-librem5: add usb-role-switch property to dwc3
authorAngus Ainslie <angus@akkea.ca>
Fri, 2 Sep 2022 08:42:15 +0000 (10:42 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:34:27 +0000 (16:34 +0800)
In order to enable (PD and data) role switching on the Librem 5 phone,
add the usb-role-switch property to imx8mq's dwc3 node.

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 f07d1c6e9777756715f885c76e9af4b557145c06..058d6ecf109b2bd285830ba97222cc6e25340026 100644 (file)
        #size-cells = <0>;
        dr_mode = "otg";
        snps,dis_u3_susphy_quirk;
+       usb-role-switch;
        status = "okay";
 
        port@0 {