Skip to contentSkip to conversation

imx: mx6sabresd: fix usb functions when DM enabled

PATCH New Peng Fan 1 participant 2 messages Apr 25, 2019

Subsystems (2)
lore
Share & tools
lore

Peng Fan

author
#0 lore raw

PATCH 1/2 imx: mx6sabresd: fix usb functions when DM enabled

Enable pinctrl/regulator to let usb start could correctly configure iomux and enable vbus for usb usage.

---
 configs/mx6sabresd_defconfig | 4 ++++
 1 file changed, 4 insertions(+)
configs/mx6sabresd_defconfig +4 -0
index 5b527cbd5b..f302b68e95 100644
@@ -82,7 +82,11 @@ CONFIG_SPI_FLASH_STMICRO=y
 CONFIG_PHYLIB=y
 CONFIG_MII=y
 CONFIG_PCI=y
+CONFIG_PINCTRL=y
+CONFIG_PINCTRL_IMX6=y
 CONFIG_DM_REGULATOR=y
+CONFIG_DM_REGULATOR_FIXED=y
+CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_SPI=y
 CONFIG_DM_SPI=y
 CONFIG_MXC_SPI=y
Signature · 1 line
2.16.4
author
#1 lore raw

PATCH 2/2 imx6qdl: add alias for usb0/1

Without this alias, fastboot 0/1 will return error -ENODEV.

---
 arch/arm/dts/imx6qdl.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/dts/imx6qdl.dtsi +2 -0
index 83eeb5cc59..ba20eb696f 100644
@@ -49,6 +49,8 @@
 		spi3 = &ecspi4;
 		usbphy0 = &usbphy1;
 		usbphy1 = &usbphy2;
+		usb0 = &usbotg;
+		usb1 = &usbh1;
 	};
 
 	clocks {
Signature · 1 line
2.16.4