summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/barebox-stm32mp.config
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2022-09-07 21:50:35 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2022-09-29 16:21:15 +0200
commit559d71e9ca44132e9fe70e559c76b7a688fd8de4 (patch)
treef761041d7c9e18bb80d8a6c96338ec083bbe451e /configs/platform-v7a/barebox-stm32mp.config
parent18b8e973751ffc1e13bae4ba1967bfd6fecd65cb (diff)
downloadDistroKit-559d71e9ca44132e9fe70e559c76b7a688fd8de4.tar.gz
DistroKit-559d71e9ca44132e9fe70e559c76b7a688fd8de4.tar.xz
v7a: barebox: stm32mp: enable usb support
- enabling drivers for dwc2 gadget, dwc2 host, stm32_usbphyc and stmp32_pwr Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Link: https://lore.pengutronix.de/20220907195035.2643740-1-m.grzeschik@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/barebox-stm32mp.config')
-rw-r--r--configs/platform-v7a/barebox-stm32mp.config48
1 files changed, 44 insertions, 4 deletions
diff --git a/configs/platform-v7a/barebox-stm32mp.config b/configs/platform-v7a/barebox-stm32mp.config
index 529d2fa..3d9505a 100644
--- a/configs/platform-v7a/barebox-stm32mp.config
+++ b/configs/platform-v7a/barebox-stm32mp.config
@@ -96,7 +96,9 @@ CONFIG_UIMAGE=y
CONFIG_LOGBUF=y
CONFIG_STDDEV=y
CONFIG_MENUTREE=y
+CONFIG_USBGADGET_START=y
CONFIG_BOOT=y
+CONFIG_FASTBOOT_BASE=y
#
# General Settings
@@ -214,6 +216,13 @@ CONFIG_EXTERNAL_DTS_FRAGMENTS=""
#
# CONFIG_BOOTM_OPTEE is not set
# end of OP-TEE loading
+
+#
+# Android Fastboot
+#
+# CONFIG_FASTBOOT_SPARSE is not set
+# CONFIG_FASTBOOT_CMD_OEM is not set
+# end of Android Fastboot
# end of General Settings
#
@@ -404,6 +413,8 @@ CONFIG_CMD_GPIO=y
CONFIG_CMD_LED=y
CONFIG_CMD_POWEROFF=y
# CONFIG_CMD_SMC is not set
+CONFIG_CMD_USB=y
+CONFIG_CMD_USBGADGET=y
CONFIG_CMD_WD=y
CONFIG_CMD_WD_DEFAULT_TIMOUT=0
# end of Hardware manipulation
@@ -510,6 +521,7 @@ CONFIG_MICREL_PHY=y
# CONFIG_MDIO_BUS_MUX_GPIO is not set
# end of phylib
+# CONFIG_NET_USB is not set
# CONFIG_DSA is not set
# end of Network drivers
@@ -545,8 +557,32 @@ CONFIG_DISK_WRITE=y
# interface types
#
# CONFIG_DISK_INTF_PLATFORM_IDE is not set
-# CONFIG_USB_HOST is not set
-# CONFIG_USB_GADGET is not set
+CONFIG_USB=y
+CONFIG_USB_HOST=y
+CONFIG_USB_DWC2=y
+CONFIG_USB_DWC2_HOST=y
+CONFIG_USB_DWC2_GADGET=y
+# CONFIG_USB_DWC3 is not set
+# CONFIG_USB_EHCI is not set
+# CONFIG_USB_XHCI is not set
+# CONFIG_USB_ULPI is not set
+CONFIG_USB_OTGDEV=y
+# CONFIG_USB_STORAGE is not set
+
+#
+# USB Miscellaneous drivers
+#
+# CONFIG_USB_HUB_USB251XB is not set
+CONFIG_USB_GADGET=y
+# CONFIG_USB_GADGET_AUTOSTART is not set
+
+#
+# USB Gadget drivers
+#
+# CONFIG_USB_GADGET_DFU is not set
+# CONFIG_USB_GADGET_SERIAL is not set
+CONFIG_USB_GADGET_FASTBOOT=y
+# CONFIG_USB_GADGET_MASS_STORAGE is not set
# CONFIG_USB_MUSB is not set
# CONFIG_VIDEO is not set
# CONFIG_SOUND is not set
@@ -635,6 +671,7 @@ CONFIG_EEPROM_AT24=y
#
# CONFIG_KEYBOARD_GPIO is not set
# CONFIG_KEYBOARD_QT1070 is not set
+# CONFIG_KEYBOARD_USB is not set
# CONFIG_INPUT_SPECIALKEYS is not set
# end of Input device support
@@ -691,7 +728,7 @@ CONFIG_STM32_BSEC_WRITE=y
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED=y
-# CONFIG_REGULATOR_STM32_PWR is not set
+CONFIG_REGULATOR_STM32_PWR=y
CONFIG_REGULATOR_STM32_VREFBUF=y
CONFIG_REGULATOR_STPMIC1=y
# CONFIG_REGULATOR_ANATOP is not set
@@ -720,7 +757,10 @@ CONFIG_RESET_CONTROLLER=y
# CONFIG_FPGA is not set
# end of FPGA Configuration Support
-# CONFIG_GENERIC_PHY is not set
+CONFIG_GENERIC_PHY=y
+# CONFIG_USB_NOP_XCEIV is not set
+# CONFIG_PHY_FSL_IMX8MQ_USB is not set
+CONFIG_PHY_STM32_USBPHYC=y
# CONFIG_CRYPTO_HW is not set
#