Message ID | 1491916575-16023-2-git-send-email-rogerq@ti.com |
---|---|
State | New |
Headers | show |
Series | ARM: dts: dra7x-evm: Enable dual-role mode for USB1 | expand |
* Roger Quadros <rogerq@ti.com> [170411 06:19]: > USB1 port is micro-AB type and can function as peripheral > as well as host. Enable dual-role mode for USB1. > > We don't want to use the OTG controller block on this > platform as it limits host mode to high-speed. Instead > we rely on extcon framework to give us ID events for > dual-role mode detection. Applying into omap-for-v4.13/dt thanks. Tony -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 4bc4b57..c408aaa 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -527,7 +527,8 @@ }; &usb1 { - dr_mode = "peripheral"; + dr_mode = "otg"; + extcon = <&extcon_usb1>; }; &usb2 { diff --git a/arch/arm/boot/dts/dra72-evm-common.dtsi b/arch/arm/boot/dts/dra72-evm-common.dtsi index ad24544..8578054 100644 --- a/arch/arm/boot/dts/dra72-evm-common.dtsi +++ b/arch/arm/boot/dts/dra72-evm-common.dtsi @@ -392,7 +392,8 @@ }; &usb1 { - dr_mode = "peripheral"; + dr_mode = "otg"; + extcon = <&extcon_usb1>; }; &usb2 {