summaryrefslogtreecommitdiff
path: root/configs/bananapi-m5_defconfig
diff options
context:
space:
mode:
authorMattijs Korpershoek <mkorpershoek@baylibre.com>2022-11-23 16:42:50 +0100
committerNeil Armstrong <neil.armstrong@linaro.org>2023-01-17 09:27:17 +0100
commitb96640cbfb319071aea7915cfa2f7aefe08bbc08 (patch)
treea71c16245929fbcb7d57e7a954ebafd366a8e331 /configs/bananapi-m5_defconfig
parentfd083842d719cf13d64b0ec061d3c7be98be91a2 (diff)
downloadu-boot-b96640cbfb319071aea7915cfa2f7aefe08bbc08.tar.gz
u-boot-b96640cbfb319071aea7915cfa2f7aefe08bbc08.tar.bz2
u-boot-b96640cbfb319071aea7915cfa2f7aefe08bbc08.zip
ARM: meson: g12a: switch dwc2 otg to DM
With CONFIG_DM_USB_GADGET=y, we no longer need any board_usb_*() logic because: * the dwc2 driver is DM compatible, and handles its own clock enabling * the dwc3-meson-g12a glue drivers handles "force mode switching" Remove all mach-meson/g12a usb code and enable CONFIG_DM_USB_GADGET. Note: Only configs having both CONFIG_USB_DWC3_MESON_G12A=y *and* USB_GADGET_DWC2_OTG=y have been updated. Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20221024-meson-dm-usb-v1-2-2ab077a503b9@baylibre.com Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'configs/bananapi-m5_defconfig')
-rw-r--r--configs/bananapi-m5_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/bananapi-m5_defconfig b/configs/bananapi-m5_defconfig
index 0eb4fa7cee..cb6eca770b 100644
--- a/configs/bananapi-m5_defconfig
+++ b/configs/bananapi-m5_defconfig
@@ -49,6 +49,7 @@ CONFIG_DEBUG_UART_ANNOUNCE=y
CONFIG_DEBUG_UART_SKIP_INIT=y
CONFIG_MESON_SERIAL=y
CONFIG_USB=y
+CONFIG_DM_USB_GADGET=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_DWC3=y
CONFIG_USB_DWC3=y