u-boot/drivers/usb/musb-new
Andre Przywara 1027f28bd4 usb: musb-new: Extend and move Allwinner quirk into Kconfig
All newer Allwinner SoCs (since about 2013) miss the CONFIGDATA register
in their MUSB implementation, so they need a quirk to hardcode this.

Currently this quirk depends on listing the SoCs affected in musb_reg.h,
which means that this list needs to grow with every new chip.

Move the quirk feature into Kconfig, next to PIO_ONLY, and change the
default to y (for Allwinner builds), while listing the early
implementations as exceptions.

This fixes USB peripheral operation on some newer SoCs, which were not
explicitly listed before.

Tested on H6, H616, R40 (which were broken before), and also on the H5
and A20, for regressions.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2021-05-16 19:01:45 +02:00
..
am35x.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
da8xx.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Kconfig usb: musb-new: Extend and move Allwinner quirk into Kconfig 2021-05-16 19:01:45 +02:00
linux-compat.h xen: Port Xen hypervisor related code from mini-os 2020-08-14 15:18:30 -04:00
Makefile usb: musb-new: mt85xx: add musb-new gadget driver. 2020-01-25 12:04:36 -05:00
mt85xx.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
musb_core.c usb: musb-new: Include device_compat.h 2020-10-16 09:44:27 -04:00
musb_core.h phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect 2018-05-28 16:40:43 +05:30
musb_debug.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
musb_dma.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
musb_dsps.c usb: musb-new: Fix typo in caution message 2020-10-20 00:48:58 +02:00
musb_gadget.c usb: musb-new: Include device_compat.h 2020-10-16 09:44:27 -04:00
musb_gadget.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
musb_gadget_ep0.c usb: musb-new: Include device_compat.h 2020-10-16 09:44:27 -04:00
musb_host.c usb: musb-new: Include device_compat.h 2020-10-16 09:44:27 -04:00
musb_host.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
musb_io.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
musb_regs.h usb: musb-new: Extend and move Allwinner quirk into Kconfig 2021-05-16 19:01:45 +02:00
musb_uboot.c usb: Drop dm.h header file 2020-08-03 22:19:54 -04:00
musb_uboot.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
omap2430.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
omap2430.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pic32.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sunxi.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
ti-musb.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
usb-compat.h usb: Drop dm.h header file 2020-08-03 22:19:54 -04:00