1
0
Fork 0
alistair23-linux/arch/arm/mach-mmp
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
..
Kconfig ARM: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB 2016-06-03 12:18:13 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
addr-map.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
aspenite.c ARM: mmp: fix pxa168_device_usb_phy use on aspenite 2018-12-12 13:54:44 -08:00
avengers_lite.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
brownstone.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
clock-mmp2.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock-pxa168.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock-pxa910.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock.c ARM: mmp: let clk_disable() return immediately if clk is NULL 2017-03-30 17:38:34 +02:00
clock.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
common.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
common.h ARM: mmp: fix timer_init calls 2018-12-12 13:54:40 -08:00
cputype.h ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt 2018-12-03 12:39:21 -08:00
devices.c ARM: mmp: add a pxa-usb-phy device 2018-11-30 15:40:22 -08:00
devices.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
flint.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
gplugd.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
irqs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
jasper.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
mfp-mmp2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa168.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa910.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mmp-dt.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mmp2-dt.c ARM: Device-tree updates 2018-12-31 17:36:02 -08:00
mmp2.c ARM: mmp: fix timer_init calls 2018-12-12 13:54:40 -08:00
mmp2.h ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
pm-mmp2.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pm-mmp2.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pm-pxa910.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pm-pxa910.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pxa168.c ARM: mmp: fix timer_init calls 2018-12-12 13:54:40 -08:00
pxa168.h ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
pxa910.c ARM: mmp: fix timer_init calls 2018-12-12 13:54:40 -08:00
pxa910.h ARM: mmp: add a pxa-usb-phy device 2018-11-30 15:40:22 -08:00
regs-apbc.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-apmu.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-icu.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-timers.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-usb.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
sram.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
tavorevb.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
teton_bga.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
teton_bga.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
time.c ARM: mmp: fix timer_init calls 2018-12-12 13:54:40 -08:00
ttc_dkb.c ARM: mmp: fix pxa168_device_usb_phy use on aspenite 2018-12-12 13:54:44 -08:00