linux-stable/drivers/usb/musb
Andre Przywara 196774960b usb: musb: sunxi: Introduce config struct
Currently the probe routine explicitly compares the compatible string of
the device node to figure out which features and quirks a certain
Allwinner MUSB model requires. This gets harder to maintain for new
SoCs.

Add a struct sunxi_musb_cfg that names the features and quirks
explicitly, and create instances of this struct for every type of MUSB
device we support. Then bind this to the compatible strings via the OF
data feature.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20230201105348.1815461-4-andre.przywara@arm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-02-02 11:13:42 +01:00
..
cppi_dma.h
da8xx.c usb: musb: fix error return code in da8xx_musb_init() 2023-01-06 16:37:00 +01:00
jz4740.c usb: musb: jz4740: Support the generic PHY framework 2022-11-09 12:39:13 +01:00
Kconfig usb: musb: Drop old unused am35x glue layer 2022-11-29 08:56:09 +01:00
Makefile usb: musb: Drop old unused am35x glue layer 2022-11-29 08:56:09 +01:00
mediatek.c usb: musb: mediatek: don't unregister something that wasn't registered 2023-02-02 11:12:02 +01:00
mpfs.c usb: musb: mpfs: add missing clk_disable_unprepare() in mpfs_remove() 2022-06-29 21:02:05 +02:00
musb_core.c usb: musb: Allow running without CONFIG_USB_PHY 2022-11-09 12:39:13 +01:00
musb_core.h usb: musb: Allow running without CONFIG_USB_PHY 2022-11-09 12:39:13 +01:00
musb_cppi41.c usb: musb: cppi41: Switch to use dev_err_probe() helper 2022-09-27 10:36:06 +02:00
musb_debug.h USB: musb: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
musb_debugfs.c usb: musb: Add and use inline functions musb_{get,set}_state 2022-11-09 12:39:12 +01:00
musb_dma.h usb: musb: remove left-over after USB_TI_CPPI_DMA removal 2022-11-09 12:37:34 +01:00
musb_dsps.c usb: musb: dsps: Use platform_get_irq_byname() to get the interrupt 2021-12-21 08:51:57 +01:00
musb_gadget.c usb: musb: remove extra check in musb_gadget_vbus_draw 2022-12-08 16:44:39 +01:00
musb_gadget.h USB: musb: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
musb_gadget_ep0.c usb: musb: gadget: Use fallthrough pseudo-keyword 2020-10-10 12:32:29 +02:00
musb_host.c usb: musb: Support setting OTG mode using generic PHY 2022-11-09 12:39:13 +01:00
musb_host.h usb: musb: Remove duplicate declaration of functions 2021-05-10 16:20:41 +02:00
musb_io.h USB: musb: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
musb_regs.h USB: musb: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
musb_trace.c
musb_trace.h usb: musb: tracing: Use the new __vstring() helper 2022-07-19 11:20:24 -04:00
musb_virthub.c usb: musb: Allow running without CONFIG_USB_PHY 2022-11-09 12:39:13 +01:00
musbhsdma.c usb: musb: dma: Remove unused variable 2021-02-05 10:27:18 +01:00
omap2430.c usb: musb: fix error return code in omap2430_probe() 2023-01-17 17:05:58 +01:00
omap2430.h USB: musb: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
sunxi.c usb: musb: sunxi: Introduce config struct 2023-02-02 11:13:42 +01:00
tusb6010.c usb/musb: fix repeated words in comments 2022-07-27 14:34:05 +02:00
tusb6010.h USB: musb: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
tusb6010_omap.c
ux500.c usb: musb: Set the DT node on the child device 2021-12-17 17:00:45 +01:00
ux500_dma.c usb: musb/ux500: Use dma_request_chan() instead dma_request_slave_channel() 2020-01-15 14:46:58 +01:00