ARM: dts: stm32: enable usb-role-switch on USB OTG on stm32mp15xx-dkx
authorAmelie Delaunay <amelie.delaunay@st.com>
Tue, 16 Jun 2020 14:07:17 +0000 (16:07 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Tue, 21 Jul 2020 08:53:17 +0000 (10:53 +0200)
commitd9b6b5150fba262ca36c01470a4e188b142fe39a
tree9a2adc8b6777602ae145e8d50495aa2041978e81
parenta656ae15e9ce203c45a68b8d517bf006851fe0b2
ARM: dts: stm32: enable usb-role-switch on USB OTG on stm32mp15xx-dkx

Now that USB OTG driver supports usb role switch by overriding PHY input
signals (A-Valid, B-Valid and Vbus-Valid), enable it on stm32mp15xx-dkx.
dr_mode needn't to be forced to Peripheral anymore, it is set to OTG in
SoC device tree.
USB role (USB_ROLE_NONE, USB_ROLE_DEVICE, USB_ROLE_HOST) will be provided
by STUSB1600 Type-C controller driver.

This patch depends on "Add STUSB160x Type-C port controller support"
series, which is under review.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp15xx-dkx.dtsi