Skip to content

Commit f5faeee

Browse files
musb: adi: Adding adsp musb glue layer
Adding glue layer for adsp platforms sc57x/sc58x. This is enables support for the following: * usbboot: Mount and boot into file systems contained on USB devices by switching OTG to host mode. * usb gadget audio: Utilize linux's USB gadget for streaming audio from another device by switching OTG to device mode. Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
1 parent 9efc191 commit f5faeee

File tree

4 files changed

+457
-1
lines changed

4 files changed

+457
-1
lines changed

drivers/usb/musb/Kconfig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ config USB_MUSB_JZ4740
104104
depends on USB_MUSB_GADGET
105105
select USB_ROLE_SWITCH
106106

107+
config USB_MUSB_ADI
108+
tristate "ADI"
109+
depends on ARCH_SC59X || ARCH_SC58X || ARCH_SC57X
110+
help
111+
Enable usb on ADI platforms.
112+
107113
config USB_MUSB_MEDIATEK
108114
tristate "MediaTek platforms"
109115
depends on ARCH_MEDIATEK || COMPILE_TEST
@@ -145,7 +151,7 @@ config USB_UX500_DMA
145151

146152
config USB_INVENTRA_DMA
147153
bool 'Inventra'
148-
depends on USB_MUSB_OMAP2PLUS || USB_MUSB_MEDIATEK || USB_MUSB_JZ4740 || USB_MUSB_POLARFIRE_SOC
154+
depends on USB_MUSB_OMAP2PLUS || USB_MUSB_MEDIATEK || USB_MUSB_JZ4740 || USB_MUSB_POLARFIRE_SOC || USB_MUSB_ADI
149155
help
150156
Enable DMA transfers using Mentor's engine.
151157

drivers/usb/musb/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ obj-$(CONFIG_USB_MUSB_UX500) += ux500.o
2323
obj-$(CONFIG_USB_MUSB_JZ4740) += jz4740.o
2424
obj-$(CONFIG_USB_MUSB_SUNXI) += sunxi.o
2525
obj-$(CONFIG_USB_MUSB_MEDIATEK) += mediatek.o
26+
obj-$(CONFIG_USB_MUSB_ADI) += adi.o
2627
obj-$(CONFIG_USB_MUSB_POLARFIRE_SOC) += mpfs.o
2728

2829
# the kconfig must guarantee that only one of the

0 commit comments

Comments
 (0)