u-boot/drivers/usb/musb-new
Andre Przywara fcd9220d66 sunxi: Kconfig: rework PHY_USB_SUN4I selection
At the moment we use "select" in each Allwinner SoC's Kconfig section to
include the USB PHY driver in the build. This means it cannot be disabled
via Kconfig, although USB is not really a strictly required core
functionality, and a particular board might not even include USB ports.

Rework the Kconfig part by removing the "select" lines for each SoC's
section, and instead letting it default to "y" in the PHY driver section
itself. We use "depends on !" to exclude the few SoCs we don't support
(yet). The Allwinner V3s does not enable USB (PHY) support at the moment,
even though it should work: let the PHY default to "n" to keep the
current behaviour.

Also the MUSB USB driver directly calls some functions from the PHY
driver, so let the former depend on the PHY driver.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Tested-by: Sam Edwards <CFSworks@gmail.com>
2023-07-21 00:26:36 +01: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 sunxi: Kconfig: rework PHY_USB_SUN4I selection 2023-07-21 00:26:36 +01:00
linux-compat.h global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
Makefile usb: musb-new: Add glue driver for ST-Ericsson Ux500 2021-07-14 16:48:16 -04:00
mt85xx.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
musb_core.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
musb_core.h global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
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 doc: replace @return by Return: 2022-01-19 18:11:34 +01: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 doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
musb_host.c usb: common: move urb code to common 2022-07-12 21:59:54 +02:00
musb_host.h usb: common: move urb code to common 2022-07-12 21:59:54 +02: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 WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
musb_uboot.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
musb_uboot.h usb: common: move urb code to common 2022-07-12 21:59:54 +02:00
omap2430.c Correct SPL uses of USB_MUSB_HOST 2023-02-10 07:41:40 -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 usb: musb-new: sunxi: remove unused define 2023-06-08 21:57:01 +02:00
ti-musb.c drivers: use devfdt_get_addr_index_ptr when cast to pointer 2023-05-06 17:28:18 +08:00
ux500.c usb: musb-new: Add glue driver for ST-Ericsson Ux500 2021-07-14 16:48:16 -04:00