linux/arch/arm/mach-mmp
Linus Walleij efdfeb079c
regulator: fixed: Convert to use GPIO descriptor only
As we augmented the regulator core to accept a GPIO descriptor instead
of a GPIO number, we can augment the fixed GPIO regulator to look up
and pass that descriptor directly from device tree or board GPIO
descriptor look up tables.

Some boards just auto-enumerate their fixed regulator platform devices
and I have assumed they get names like "fixed-regulator.0" but it's
pretty hard to guess this. I need some testing from board maintainers to
be sure. Other boards are straight forward, using just plain
"fixed-regulator" (ID -1) or "fixed-regulator.1" hammering down the
device ID.

It seems the da9055 and da9211 has never got around to actually passing
any enable gpio into its platform data (not the in-tree code anyway) so we
can just decide to simply pass a descriptor instead.

The fixed GPIO-controlled regulator in mach-pxa/ezx.c was confusingly named
"*_dummy_supply_device" while it is a very real device backed by a GPIO
line. There is nothing dummy about it at all, so I renamed it with the
infix *_regulator_* as part of this patch set.

Intel MID portions tested by Andy.

Tested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> # Check the x86 BCM stuff
Acked-by: Tony Lindgren <tony@atomide.com> # OMAP1,2,3 maintainer
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Reviewed-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-09-17 14:32:22 -07:00
..
addr-map.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
aspenite.c mtd: nand: remove useless fields from pxa3xx NAND platform data 2018-03-02 21:51:41 +01:00
avengers_lite.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
brownstone.c regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07: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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cputype.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
devices.c ARM: mmp: mark usb_dma_mask as __maybe_unused 2017-07-27 22:57:49 +02: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
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
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
mmp2-dt.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mmp2.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
mmp2.h ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
mmp-dt.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02: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: make all header files local 2015-12-01 21:44:30 +01:00
pxa168.h ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
pxa910.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pxa910.h ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01: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 clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
ttc_dkb.c mtd: nand: remove useless fields from pxa3xx NAND platform data 2018-03-02 21:51:41 +01:00