The DK1 and DK2 boards use the USB Type-C controller STUSB1600. This patch updates: - the device tree to add the I2C node in the DT - the board stm32mp1 to probe this I2C device and use this controller to check cable detection. - the DWC2 driver to support a new dt property "u-boot,force-b-session-valid" which forces B session and device mode; it is a workaround because the VBUS sensing and ID detection isn't available with stusb1600. Conflicts: arch/arm/dts/stm32mp157-pinctrl.dtsi arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi arch/arm/dts/stm32mp157a-dk1.dts board/st/stm32mp1/stm32mp1.c Change-Id: I73b62dce9c3e0661e6d2463b87389229cd3559a7 Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> (cherry picked from commit 6fe7dd3327d552bacf4266d7f1ed074bf98ffb92) |
||
|---|---|---|
| .. | ||
| stih410-b2260 | ||
| stm32f429-discovery | ||
| stm32f746-disco | ||
| stm32mp1 | ||
| stv0991 | ||