WSL2-Linux-Kernel/arch/arm/mach-s3c64xx
Linus Walleij 1d2f46814d
regulator: wm8994: Pass descriptor instead of GPIO number
Instead of passing a global GPIO number for the enable GPIO, pass
a descriptor looked up from the device tree node or the board file
decriptor table for the regulator.

There is a single board file passing the GPIOs for LDO1 and LDO2
through platform data, so augment this to pass descriptors
associated with the i2c device as well.

The special GPIO enable DT property for the enable GPIO is
nonstandard but this was accomodated in
commit 6a537d4846
"gpio: of: Support regulator nonstandard GPIO properties".

Cc: patches@opensource.cirrus.com
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-11-15 11:42:08 -08:00
..
include/mach 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
Makefile 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
mach-anw6410.c ARM: S3C64XX: Add SPDX license identifiers 2018-01-03 18:42:53 +01:00
mach-crag6410-module.c regulator: wm8994: Pass descriptor instead of GPIO number 2018-11-15 11:42:08 -08: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-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-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-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
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