aboutsummaryrefslogtreecommitdiff
path: root/configs/libretech-ac_defconfig
diff options
context:
space:
mode:
authorNeil Armstrong2023-01-17 10:11:46 +0100
committerNeil Armstrong2023-01-20 16:21:31 +0100
commite327e2affd302b7fd15b655624fdacb2f0492eab (patch)
tree5edc9a2d69011125c3eefd4883348a2eab1324e3 /configs/libretech-ac_defconfig
parent043a9674b64741e02b99e9c5ad2e4ee5a1c841d5 (diff)
ARM: meson: switch AXG & GX 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-gxl glue drivers handles "force mode switching" Remove all mach-meson gx & axg usb code and enable CONFIG_DM_USB_GADGET. Note: Only configs having both CONFIG_USB_DWC3_MESON_GXL=y *and* USB_GADGET_DWC2_OTG=y have been updated. Thanks for the original work from Mattijs at [1] [1] https://lore.kernel.org/all/20221024-meson-dm-usb-v1-2-2ab077a503b9@baylibre.com/ Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20230117-u-boot-usb-gxl-otg-dm-v1-2-2853f6d75b06@linaro.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Diffstat (limited to 'configs/libretech-ac_defconfig')
-rw-r--r--configs/libretech-ac_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/libretech-ac_defconfig b/configs/libretech-ac_defconfig
index a3331066924..2f44771a84a 100644
--- a/configs/libretech-ac_defconfig
+++ b/configs/libretech-ac_defconfig
@@ -65,6 +65,7 @@ CONFIG_SPI=y
CONFIG_DM_SPI=y
CONFIG_MESON_SPIFC=y
CONFIG_USB=y
+CONFIG_DM_USB_GADGET=y
CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_DWC3=y
CONFIG_USB_DWC3=y