linux/arch/arm/mach-davinci
Linus Walleij 1ea1859f84 usb: musb: davinci: Convert to use GPIO descriptor
The DaVinci MUSB glue contains an optional GPIO line to
control VBUS power, convert this to use a GPIO descriptor
and augment the EVM board file to provide this descriptor.

I can't get this driver to compile properly and it depends
on broken but when I didn get it to compile brokenly, it
did at least not complain about THIS code being broken so
I don't think I broke the driver any more than what it
already is.

I did away with the ifdefs that do not work with
multiplatform anyway so the day someone decides to
resurrect the code, the path to get it working should be
easier as well since DaVinci is now multiplatform.

Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
[b-liu@ti.com: fixed one instance still ref to global variable vbus_state]
Signed-off-by: Bin Liu <b-liu@ti.com>
Link: https://lore.kernel.org/r/20200115132547.364-25-b-liu@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-15 14:47:00 +01:00
..
include/mach ARM: davinci: move timer definitions to davinci.h 2019-08-08 00:22:49 +05:30
asp.h ARM: davinci: wrap HW interrupt numbers with a macro 2019-02-19 19:40:52 +05:30
board-da830-evm.c ARM: davinci: da830-evm: fix GPIO lookup for OHCI 2019-07-02 20:18:33 +05:30
board-da850-evm.c ARM: davinci: da850-evm: switch to using a fixed regulator for lcdc 2019-08-26 17:53:57 +05:30
board-dm355-evm.c ARM: davinci: add missing sentinels to GPIO lookup tables 2019-04-12 19:43:54 +05:30
board-dm355-leopard.c ARM: davinci: aintc: wrap davinci_irq_init() with a helper 2019-02-19 19:44:21 +05:30
board-dm365-evm.c ARM: davinci: aintc: wrap davinci_irq_init() with a helper 2019-02-19 19:44:21 +05:30
board-dm644x-evm.c usb: musb: davinci: Convert to use GPIO descriptor 2020-01-15 14:47:00 +01:00
board-dm646x-evm.c ARM: davinci: aintc: wrap davinci_irq_init() with a helper 2019-02-19 19:44:21 +05:30
board-mityomapl138.c ARM: davinci: cp-intc: add a wrapper around cp_intc_init() 2019-02-19 20:03:08 +05:30
board-neuros-osd2.c ARM: davinci: aintc: wrap davinci_irq_init() with a helper 2019-02-19 19:44:21 +05:30
board-omapl138-hawk.c ARM: davinci: omapl138-hawk: add missing regulator constraints for OHCI 2019-07-02 20:18:33 +05:30
board-sffsdr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
clock.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
common.c ARM: davinci: pull davinci_intc_base into the respective intc drivers 2019-02-19 19:40:38 +05:30
cpuidle.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
cpuidle.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
da8xx-dt.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
da830.c ARM: davinci: da830: switch to using the clocksource driver 2019-08-08 00:22:49 +05:30
da850.c ARM: davinci: da850: switch to using the clocksource driver 2019-08-08 00:22:49 +05:30
davinci.h ARM: davinci: move timer definitions to davinci.h 2019-08-08 00:22:49 +05:30
ddr2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
devices-da8xx.c DaVinci fixes for v5.2 kernel. 2019-06-16 13:33:13 -07:00
devices.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
dm355.c ARM: davinci: dm355: switch to using the clocksource driver 2019-08-08 00:22:49 +05:30
dm365.c ARM: davinci: dm365: Fix McBSP dma_slave_map entry 2019-10-17 19:20:22 +05:30
dm644x.c ARM: davinci: dm644x: switch to using the clocksource driver 2019-08-26 17:49:07 +05:30
dm646x.c ARM: davinci: dm646x: Fix a typo in the comment 2019-08-26 17:51:28 +05:30
irqs.h ARM: davinci: make irqs.h a local header 2019-02-19 19:44:02 +05:30
Kconfig ARM: davinci: support multiplatform build for ARM v5 2019-09-09 21:36:47 +02:00
Makefile ARM: davinci: support multiplatform build for ARM v5 2019-09-09 21:36:47 +02:00
Makefile.boot License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mux.c ARM: davinci: davinci_cfg_reg cannot be init 2015-02-18 12:20:25 +01:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pdata-quirks.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
pm_domain.c ARM: davinci: da8xx-dt: switch to device tree clocks 2018-06-26 16:20:03 +05:30
pm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
psc.h ARM: davinci: remove legacy clocks 2018-06-26 16:15:55 +05:30
serial.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
sleep.S ARM: davinci: fix sleep.S build error on ARMv4 2019-07-23 10:12:53 -07:00
sram.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
sram.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
time.c ARM: davinci: enable the clocksource driver for DT mode 2019-08-08 00:22:48 +05:30
usb-da8xx.c ARM: davinci: make irqs.h a local header 2019-02-19 19:44:02 +05:30
usb.c ARM: davinci: make irqs.h a local header 2019-02-19 19:44:02 +05:30