linux/arch/arm/mach-s3c64xx
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
..
include/mach ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
ata-core.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
backlight.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
common.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
common.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
cpuidle.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
crag6410.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
dev-audio.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
dev-backlight.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
dev-uart.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
irq-pm.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
irq-uart.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
Kconfig ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-anw6410.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-crag6410-module.c regulator: wm8994: Fix shared GPIOs 2018-05-30 15:17:03 +01:00
mach-crag6410.c regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
mach-hmt.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-mini6410.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-ncp.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-real6410.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-s3c64xx-dt.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-smartq5.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-smartq7.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-smartq.c spi: spi-gpio: Rewrite to use GPIO descriptors 2018-02-14 16:02:41 +00:00
mach-smartq.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-smdk6400.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-smdk6410.c regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
Makefile ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
onenand-core.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
pl080.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
pm.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
regs-gpio-memport.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
regs-modem.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
regs-srom.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
regs-sys.h ARM: S3C64XX: make regs-sys.h local 2013-01-10 10:45:40 -08:00
regs-syscon-power.h ARM: S3C64XX: make regs-syscon-power.h local 2013-01-10 10:45:40 -08:00
regs-usb-hsotg-phy.h ARM: SAMSUNG: local regs-usb-hsotg-phy header in mach-s3c64xx 2015-07-30 02:00:36 +09:00
s3c6400.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
s3c6410.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-fb-24bpp.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-i2c0.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-i2c1.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-ide.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-keypad.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-sdhci-gpio.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-spi.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
setup-usb-phy.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
sleep.S ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
watchdog-reset.h ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00