linux/drivers/usb/musb
Linus Walleij 8e0285ab95 ARM/musb: omap2: Remove global GPIO numbers from TUSB6010
The TUSB6010 (MUSB) device is picking up some GPIO lines
hardcoded by number and passing on to the TUSB6010 device
when registering it.

Instead of nasty workarounds, provide a GPIO descriptor
table and then make the TUSB6010 MUSB glue driver pick up
the GPIO lines directly, convert it to an IRQ and pass down
to the MUSB driver. OMAP2 is the only system using the
TUSB6010.

Stash the GPIO descriptors in the glue layer and use
then to power up and down the TUSB6010 on-demand, instead
of using boardfile callbacks.

Since the OMAP2 boards are the only boards using the
.set_power() and .board_set_power() callbacks, we can
just delete them as the power is now handled directly
in the TUSB6010 glue code.

Cc: Bin Liu <b-liu@ti.com>
Cc: linux-usb@vger.kernel.org
Fixes: 92bf78b33b ("gpio: omap: use dynamic allocation of base")
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2023-05-24 15:01:59 +02:00
..
cppi_dma.h
da8xx.c usb: musb: da8xx: Convert to platform remove callback returning void 2023-04-05 19:07:41 +02:00
jz4740.c usb: musb: jz4740: Convert to platform remove callback returning void 2023-04-05 19:07:41 +02:00
Kconfig usb: musb: mpfs: convert SOC_MICROCHIP_POLARFIRE to ARCH_MICROCHIP_POLARFIRE 2023-03-16 12:14:33 +01:00
Makefile usb: musb: Drop old unused am35x glue layer 2022-11-29 08:56:09 +01:00
mediatek.c usb: musb: mediatek: Convert to platform remove callback returning void 2023-04-05 19:07:41 +02:00
mpfs.c usb: musb: mpfs: Convert to platform remove callback returning void 2023-04-05 19:07:41 +02:00
musb_core.c ARM/musb: omap2: Remove global GPIO numbers from TUSB6010 2023-05-24 15:01:59 +02:00
musb_core.h ARM/musb: omap2: Remove global GPIO numbers from TUSB6010 2023-05-24 15:01:59 +02: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
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: musb_dsps: Convert to platform remove callback returning void 2023-04-05 19:07:42 +02:00
musb_gadget_ep0.c usb: musb: gadget: Use fallthrough pseudo-keyword 2020-10-10 12:32:29 +02: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
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
musb_regs.h
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: omap2430: Convert to platform remove callback returning void 2023-04-05 19:07:42 +02:00
omap2430.h
sunxi.c usb: musb: sunxi: Convert to platform remove callback returning void 2023-04-05 19:07:42 +02:00
tusb6010_omap.c
tusb6010.c ARM/musb: omap2: Remove global GPIO numbers from TUSB6010 2023-05-24 15:01:59 +02:00
tusb6010.h
ux500_dma.c
ux500.c usb: musb: ux500: Convert to platform remove callback returning void 2023-04-05 19:07:42 +02:00