1
0
Fork 0
alistair23-linux/arch/sh/boards
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
..
mach-ap325rxa sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-cayman sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-dreamcast Merge branch 'akpm' (patches from Andrew) 2018-12-28 16:55:46 -08:00
mach-ecovec24 regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
mach-highlander sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-hp6xx sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-kfr2r09 sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-landisk sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-lboxre2 sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-microdev sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-migor sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-r2d sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-rsk sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-sdk7780 sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-sdk7786 sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-se sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-sh03 Merge branch 'akpm' (patches from Andrew) 2018-12-28 16:55:46 -08:00
mach-sh7763rdp sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
mach-x3proto sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
Kconfig PCI: consolidate PCI config entry in drivers/pci 2018-11-23 11:45:34 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-apsh4a3a.c sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
board-apsh4ad0a.c sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
board-edosk7705.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-edosk7760.c sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
board-espt.c sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
board-magicpanelr2.c sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
board-polaris.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-secureedge5410.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-sh2007.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-sh7757lcr.c sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
board-sh7785lcr.c sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
board-shmin.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-titan.c sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
board-urquell.c sh: boards: convert to SPDX identifiers 2018-12-28 12:11:44 -08:00
of-generic.c Merge branch 'akpm' (patches from Andrew) 2018-12-28 16:55:46 -08:00