diff options
author | Amelie Delaunay <amelie.delaunay@st.com> | 2020-06-16 16:07:17 +0200 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2020-07-21 10:53:17 +0200 |
commit | d9b6b5150fba262ca36c01470a4e188b142fe39a (patch) | |
tree | 9a2adc8b6777602ae145e8d50495aa2041978e81 /arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | |
parent | ARM: dts: stm32: Add compatibles for syscon for stm32mp151 (diff) | |
download | linux-d9b6b5150fba262ca36c01470a4e188b142fe39a.tar.xz linux-d9b6b5150fba262ca36c01470a4e188b142fe39a.zip |
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>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp15xx-dkx.dtsi')
-rw-r--r-- | arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi index 62b1e71fc7eb..a5307745719a 100644 --- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi @@ -627,9 +627,9 @@ }; &usbotg_hs { - dr_mode = "peripheral"; phys = <&usbphyc_port1 0>; phy-names = "usb2-phy"; + usb-role-switch; status = "okay"; }; |