1
0
Fork 0
alistair23-linux/arch/arm/mach-pxa
Linus Walleij 01dc79cd6f
regulator: fixed/gpio: Pull inversion/OD into gpiolib
This pushes the handling of inversion semantics and open drain
settings to the GPIO descriptor and gpiolib. All affected board
files are also augmented.

This is especially nice since we don't have to have any
confusing flags passed around to the left and right littering
the fixed and GPIO regulator drivers and the regulator core.
It is all just very straight-forward: the core asks the GPIO
line to be asserted or deasserted and gpiolib deals with the
rest depending on how the platform is configured: if the line
is active low, it deals with that, if the line is open drain,
it deals with that too.

Cc: Alexander Shiyan <shc_work@mail.ru> # i.MX boards user
Cc: Haojian Zhuang <haojian.zhuang@gmail.com> # MMP2 maintainer
Cc: Aaro Koskinen <aaro.koskinen@iki.fi> # OMAP1 maintainer
Cc: Tony Lindgren <tony@atomide.com> # OMAP1,2,3 maintainer
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com> # EM-X270 maintainer
Cc: Robert Jarzmik <robert.jarzmik@free.fr> # EZX maintainer
Cc: Philipp Zabel <philipp.zabel@gmail.com> # Magician maintainer
Cc: Petr Cvek <petr.cvek@tul.cz> # Magician
Cc: Robert Jarzmik <robert.jarzmik@free.fr> # PXA
Cc: Paul Parsons <lost.distance@yahoo.com> # hx4700
Cc: Daniel Mack <zonque@gmail.com> # Raumfeld maintainer
Cc: Marc Zyngier <marc.zyngier@arm.com> # Zeus maintainer
Cc: Geert Uytterhoeven <geert+renesas@glider.be> # SuperH pinctrl/GPIO maintainer
Cc: Russell King <rmk+kernel@armlinux.org.uk> # SA1100
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Janusz Krzysztofik <jmkrzyszt@gmail.com> #OMAP1 Amstrad Delta
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-02-06 15:58:29 +00:00
..
include/mach ARM: pxa/mainstone: switch PCMCIA to MAX1600 library and gpiod APIs 2018-12-04 22:37:38 +00:00
Kconfig Included in this update: 2019-01-05 11:23:17 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
am200epd.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
am300epd.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
balloon3.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
capc7117.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
cm-x2xx-pci.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
cm-x2xx-pci.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cm-x2xx.c ARM: pxa: cm-x2xx: avoid duplicate macro warnings 2015-12-15 23:50:00 +01:00
cm-x255.c mtd: nand: gpio: Convert to use GPIO descriptors 2017-10-07 11:27:48 +02:00
cm-x270.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
cm-x300.c ARM: SoC platform updates 2018-12-31 17:27:54 -08:00
colibri-evalboard.c ARM: pxa: Delete platform data for CD/WP 2018-12-17 08:26:24 +01:00
colibri-pxa3xx.c mtd: nand: remove useless fields from pxa3xx NAND platform data 2018-03-02 21:51:41 +01:00
colibri-pxa270-income.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
colibri-pxa270.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
colibri-pxa300.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
colibri-pxa320.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
colibri.h mtd: nand: use Marvell reworked NAND controller driver with all platforms 2018-02-23 21:55:04 +01:00
corgi.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
corgi_pm.c ARM: pxa: fix GPIO double shifts 2016-09-09 18:07:59 +02:00
csb701.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
csb726.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
csb726.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
devices.c ARM: pxa: add the missing AC97 clocks 2018-06-20 22:23:21 +02:00
devices.h ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
em-x270.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
eseries-irq.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
eseries.c mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
ezx.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
generic.c ARM: sa11x0/pxa: get rid of get_clock_tick_rate 2016-10-18 09:12:37 +02:00
generic.h ARM: pxa: remove irq init from dt machines 2016-09-09 18:08:01 +02:00
gumstix.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
gumstix.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
h5000.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
h5000.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
himalaya.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
hx4700.c regulator: gpio: Convert to use descriptors 2019-02-06 15:58:15 +00:00
icontrol.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
idp.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
idp.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
irq.c ARM: pxa: irq: fix handling of ICMR registers in suspend/resume 2018-07-07 13:25:15 +02:00
littleton.c ARM: SoC platform updates 2018-12-31 17:27:54 -08:00
littleton.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lpd270.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
lpd270.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
lubbock.c Included in this update: 2019-01-05 11:23:17 -08:00
magician.c regulator: gpio: Convert to use descriptors 2019-02-06 15:58:15 +00:00
mainstone.c Included in this update: 2019-01-05 11:23:17 -08:00
mfp-pxa2xx.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mfp-pxa2xx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa3xx.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mfp-pxa3xx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa25x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa27x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa300.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mfp-pxa320.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mfp-pxa930.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mioa701.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
mioa701.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mioa701_bootresume.S ARM: align .data section 2017-08-14 16:22:55 +01:00
mp900.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
mxm8x10.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
mxm8x10.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
palm27x.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palm27x.h mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmld.c MMC core: 2018-12-28 16:52:18 -08:00
palmt5.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmt5.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
palmtc.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmte2.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmte2.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
palmtreo.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmtreo.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
palmtx.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmz72.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
palmz72.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pcm027.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pcm027.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pcm990-baseboard.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
pcm990_baseboard.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pm.c ARM: pxa: Delete an error message for a failed memory allocation in pxa_pm_init() 2017-06-14 08:32:21 +02:00
pm.h ARM: pxa: move extern declarations to pm.h 2016-02-01 21:44:27 +01:00
poodle.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
pxa-dt.c ARM: pxa: remove irq init from dt machines 2016-09-09 18:08:01 +02:00
pxa2xx.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pxa3xx-ulpi.c ARM: pxa: ulpi: fix ulpi timeout and slowpath warn 2018-03-07 14:19:47 +01:00
pxa3xx.c ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
pxa3xx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa25x.c ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
pxa25x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa27x-udc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa27x.c ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
pxa27x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa300.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pxa300.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa320.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pxa320.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa930.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
pxa930.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa_cplds_irqs.c ARM: pxa: pxa_cplds: honor probe deferral 2016-10-18 09:12:37 +02:00
raumfeld.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
regs-rtc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
regs-u2d.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
reset.c ARM: pxa: prevent PXA270 occasional reboot freezes 2013-12-11 16:35:16 -08:00
saar.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
sharpsl_pm.c treewide: Use DEVICE_ATTR_RO 2018-01-09 16:34:34 +01:00
sharpsl_pm.h ARM: pxa: fix GPIO double shifts 2016-09-09 18:07:59 +02:00
sleep.S ARM: pxa: correct errata number for PXA270 2014-07-04 20:30:42 +08:00
smemc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spitz.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
spitz_pm.c ARM: pxa: fix GPIO double shifts 2016-09-09 18:07:59 +02:00
standby.S ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+ 2014-07-18 12:29:04 +01:00
stargate2.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
tavorevb.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
tosa-bt.c ARM: pxa/tosa-bt: add MODULE_LICENSE tag 2018-01-22 12:36:03 +01:00
tosa.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
tosa_bt.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
trizeps4.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
udc.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
viper.c Merge branch 'i2c/for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2018-06-14 16:21:46 +09:00
viper.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
vpac270.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
xcep.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
z2.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
zeus.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
zeus.h ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00
zylonite.c mmc: pxa: Use GPIO descriptor for power 2018-12-17 08:26:24 +01:00
zylonite.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zylonite_pxa300.c ARM: pxa: Add gpio descriptor lookup tables for MMC CD/WP 2018-12-17 08:26:24 +01:00
zylonite_pxa320.c ARM: pxa: make more mach/*.h files local 2015-12-01 21:52:50 +01:00