Skip to content

Commit

Permalink
Kconfig.adi: select some USB symbols to be enabled in the ADI kernel
Browse files Browse the repository at this point in the history
Prompted by: analogdevicesinc/adi-kuiper-gen#43
We should make sure that all USB stuff we use in the ADI projects are
enabled.

Signed-off-by: Alexandru Ardelean <[email protected]>
(cherry picked from commit ad884e7)
  • Loading branch information
commodo authored and cseci committed Nov 13, 2020
1 parent 66daa68 commit 6911d93
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Kconfig.adi
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ config KERNEL_ALL_ADI_DRIVERS
select I2C_MUX
select LEDS_CLASS_FLASH
select PHYLIB
select USB
select USB_SUPPORT
select USB_SERIAL
select MULTIPLEXER
select MEDIA_SUPPORT
select MEDIA_CONTROLLER
Expand All @@ -36,6 +33,7 @@ config KERNEL_ALL_ADI_DRIVERS
select INPUT_ALL_ADI_DRIVERS
select MEDIA_ALL_ADI_DRIVERS
select SND_SOC_ALL_ADI_CODECS
select USB_ALL_ADI_DRIVERS
select POWER_RESET_LTC2952
select CHARGER_ADP5061
select I2C_MUX_LTC4306
Expand All @@ -50,6 +48,7 @@ config KERNEL_ALL_ADI_DRIVERS
select ADIN_T1L_PHY
select IPV6
select BRIDGE
select MEDIA_USB_SUPPORT
select NET_DSA
select MICROCHIP_KSZ
select MICROCHIP_KSZ_SPI_DRIVER
Expand Down Expand Up @@ -77,7 +76,6 @@ config KERNEL_ALL_ADI_DRIVERS
select DRM_I2C_ADV7511
select DRM_I2C_ADV7511_AUDIO
select DRM_I2C_ADV7533
select USB_SERIAL_UPD78F0730
select NVMEM_AXI_SYSID if (ARCH_ZYNQMP || ARCH_ZYNQ || MICROBLAZE || ARCH_SOCFPGA || NIOS2)
select INPUT_PCF8574
select AXI_INTR_MONITOR
Expand All @@ -88,4 +86,5 @@ source "drivers/hwmon/Kconfig.adi"
source "drivers/iio/Kconfig.adi"
source "drivers/input/Kconfig.adi"
source "drivers/media/Kconfig.adi"
source "drivers/usb/Kconfig.adi"
source "sound/soc/codecs/Kconfig.adi"
1 change: 1 addition & 0 deletions drivers/media/Kconfig.adi
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ config MEDIA_ALL_ADI_DRIVERS
select VIDEO_AXI_HDMI_RX
select ADI_AXI_VIDEO_FRAME_BUFFER
select VIDEO_ADP1653
select USB_VIDEO_CLASS
43 changes: 43 additions & 0 deletions drivers/usb/Kconfig.adi
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

# This file exists solely to be include in Kconfig.adi

config USB_ALL_ADI_DRIVERS
tristate "Build all USB drivers for the Analog Devices kernel"
select USB
select USB_SUPPORT
select USB_SERIAL
select USB_HIDDEV
select USB_ANNOUNCE_NEW_DEVICES
select USB_OTG
select USB_OTG_FSM
select USB_UAS
select USB_EHCI_HCD
select USB_STORAGE
select USB_MASS_STORAGE
select USB_CHIPIDEA
select USB_CHIPIDEA_UDC
select USB_CHIPIDEA_HOST
select USB_SERIAL_GENERIC
select USB_SERIAL_FTDI_SIO
select USB_ULPI
select USB_GADGET
select USB_GADGET_XILINX
select USB_CONFIGFS
select USB_CONFIGFS_SERIAL
select USB_CONFIGFS_ACM
select USB_CONFIGFS_NCM
select USB_CONFIGFS_ECM
select USB_CONFIGFS_ECM_SUBSET
select USB_CONFIGFS_RNDIS
select USB_CONFIGFS_EEM
select USB_CONFIGFS_MASS_STORAGE
select USB_CONFIGFS_F_FS
select USB_F_RNDIS
select USB_SERIAL_UPD78F0730
select USB_DWC2
select USB_DWC3
select USB_XHCI_HCD
select NOP_USB_XCEIV
select USB_USBNET
select USB_DEFAULT_PERSIST
select TYPEC
2 changes: 2 additions & 0 deletions sound/soc/codecs/Kconfig.adi
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ config SND_SOC_ALL_ADI_CODECS
select SND_SOC_ADI_AXI_I2S
select SND_SOC_ADI_AXI_SPDIF
select SND_SOC_ADRV936X_BOX
select SND_USB
select SND_USB_AUDIO
select SND_SIMPLE_CARD

0 comments on commit 6911d93

Please sign in to comment.