0574-config-More-USB-config-options-for-bcm2709_defconfig.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. From f0f29d36c24d4dfa0a7197b83b2fb9ccec147421 Mon Sep 17 00:00:00 2001
  2. From: Phil Elwell <pelwell@users.noreply.github.com>
  3. Date: Thu, 19 Jan 2017 16:44:43 +0000
  4. Subject: [PATCH] config: More USB config options for bcm2709_defconfig (#1805)
  5. Bring bcm2709_defconfig up to the level of bcmrpi_defconfig with
  6. respect to USB support. This is prompted by the introduction of CM3,
  7. which makes gadget mode on 2709/2710 a useful option.
  8. Note that the DWC2 driver is not loaded by default and must be enabled
  9. using a DT overlay or custom .dtb.
  10. Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  11. ---
  12. arch/arm/configs/bcm2709_defconfig | 15 +++++++++++++++
  13. 1 file changed, 15 insertions(+)
  14. --- a/arch/arm/configs/bcm2709_defconfig
  15. +++ b/arch/arm/configs/bcm2709_defconfig
  16. @@ -969,6 +969,7 @@ CONFIG_USB_MICROTEK=m
  17. CONFIG_USBIP_CORE=m
  18. CONFIG_USBIP_VHCI_HCD=m
  19. CONFIG_USBIP_HOST=m
  20. +CONFIG_USB_DWC2=m
  21. CONFIG_USB_SERIAL=m
  22. CONFIG_USB_SERIAL_GENERIC=y
  23. CONFIG_USB_SERIAL_AIRCABLE=m
  24. @@ -1042,6 +1043,20 @@ CONFIG_USB_SPEEDTOUCH=m
  25. CONFIG_USB_CXACRU=m
  26. CONFIG_USB_UEAGLEATM=m
  27. CONFIG_USB_XUSBATM=m
  28. +CONFIG_USB_GADGET=m
  29. +CONFIG_USB_ZERO=m
  30. +CONFIG_USB_AUDIO=m
  31. +CONFIG_USB_ETH=m
  32. +CONFIG_USB_GADGETFS=m
  33. +CONFIG_USB_MASS_STORAGE=m
  34. +CONFIG_USB_G_SERIAL=m
  35. +CONFIG_USB_MIDI_GADGET=m
  36. +CONFIG_USB_G_PRINTER=m
  37. +CONFIG_USB_CDC_COMPOSITE=m
  38. +CONFIG_USB_G_ACM_MS=m
  39. +CONFIG_USB_G_MULTI=m
  40. +CONFIG_USB_G_HID=m
  41. +CONFIG_USB_G_WEBCAM=m
  42. CONFIG_MMC=y
  43. CONFIG_MMC_BLOCK_MINORS=32
  44. CONFIG_MMC_BCM2835=y