linux-stable/arch/arm/mach-pxa
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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
am200epd.c
am300epd.c
balloon3.c mtd: rawnand: plat_nand: Kill pdata->ctrl.{hwcontrol, read_byte}() 2018-07-18 10:10:12 +02:00
capc7117.c
cm-x2xx-pci.c
cm-x2xx-pci.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cm-x2xx.c
cm-x255.c mtd: nand: gpio: Convert to use GPIO descriptors 2017-10-07 11:27:48 +02:00
cm-x270.c rtc: v3020: move rtc-v3020.h to platform_data 2016-07-09 10:24:21 +02:00
cm-x300.c ARM: SoC platform updates for 4.17 2018-04-05 21:21:08 -07:00
colibri-evalboard.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
colibri-pxa3xx.c mtd: nand: remove useless fields from pxa3xx NAND platform data 2018-03-02 21:51:41 +01:00
colibri-pxa270-income.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
colibri-pxa270.c
colibri-pxa300.c
colibri-pxa320.c
colibri.h mtd: nand: use Marvell reworked NAND controller driver with all platforms 2018-02-23 21:55:04 +01:00
corgi.c ARM: pxa/corgi: Remove hardcoded partitioning, use sharpslpart parser 2017-11-28 22:52:50 +01:00
corgi_pm.c ARM: pxa: fix GPIO double shifts 2016-09-09 18:07:59 +02:00
csb701.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
csb726.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
csb726.h
devices.c ARM: pxa: add the missing AC97 clocks 2018-06-20 22:23:21 +02:00
devices.h ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
em-x270.c regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
eseries-irq.h
eseries.c mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
ezx.c regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
generic.c ARM: sa11x0/pxa: get rid of get_clock_tick_rate 2016-10-18 09:12:37 +02:00
generic.h ARM: pxa: remove irq init from dt machines 2016-09-09 18:08:01 +02:00
gumstix.c
gumstix.h
h5000.c
h5000.h
himalaya.c
hx4700.c ARM: pxa: hx4700: fix the usb client 2018-06-20 22:21:03 +02:00
icontrol.c
idp.c ARM: pxa: include linux/leds.h 2017-01-18 19:21:17 +01:00
idp.h
irq.c ARM: pxa: irq: fix handling of ICMR registers in suspend/resume 2018-07-07 13:25:15 +02:00
Kconfig ARM: pxa/lubbock: add GPIO driver for LUB_MISC_WR register 2017-12-20 21:53:27 +01:00
littleton.c mtd: nand: remove useless fields from pxa3xx NAND platform data 2018-03-02 21:51:41 +01:00
littleton.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lpd270.c
lpd270.h
lubbock.c ARM: pxa/lubbock: add GPIO driver for LUB_MISC_WR register 2017-12-20 21:53:27 +01:00
magician.c regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
mainstone.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile.boot
mfp-pxa2xx.c
mfp-pxa2xx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa3xx.c
mfp-pxa3xx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa25x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa27x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa300.h
mfp-pxa320.h
mfp-pxa930.h
mioa701.c ARM: pxa: mioa701 convert to the new AC97 bus 2018-06-20 22:21:48 +02:00
mioa701.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mioa701_bootresume.S ARM: align .data section 2017-08-14 16:22:55 +01:00
mp900.c
mxm8x10.c mtd: nand: remove useless fields from pxa3xx NAND platform data 2018-03-02 21:51:41 +01:00
mxm8x10.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
palm27x.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
palm27x.h
palmld.c
palmt5.c
palmt5.h
palmtc.c
palmte2.c
palmte2.h
palmtreo.c
palmtreo.h
palmtx.c mtd: nand: Rename nand.h into rawnand.h 2017-08-13 10:11:49 +02:00
palmz72.c Merge branch 'i2c/for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2018-06-14 16:21:46 +09:00
palmz72.h
pcm027.c
pcm027.h
pcm990-baseboard.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
pcm990_baseboard.h
pm.c ARM: pxa: Delete an error message for a failed memory allocation in pxa_pm_init() 2017-06-14 08:32:21 +02:00
pm.h
poodle.c ARM: pxa/poodle: Remove hardcoded partitioning, use sharpslpart parser 2017-11-28 22:53:00 +01:00
pxa-dt.c ARM: pxa: remove irq init from dt machines 2016-09-09 18:08:01 +02:00
pxa2xx.c
pxa3xx-ulpi.c ARM: pxa: ulpi: fix ulpi timeout and slowpath warn 2018-03-07 14:19:47 +01:00
pxa3xx.c ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
pxa3xx.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa25x.c ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
pxa25x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa27x-udc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa27x.c ARM: pxa: add dma slave map 2018-06-18 21:29:16 +02:00
pxa27x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa300.c
pxa300.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa320.c
pxa320.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa930.c
pxa930.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pxa_cplds_irqs.c ARM: pxa: pxa_cplds: honor probe deferral 2016-10-18 09:12:37 +02:00
raumfeld.c regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
regs-rtc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
regs-u2d.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
reset.c
saar.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
sharpsl_pm.c treewide: Use DEVICE_ATTR_RO 2018-01-09 16:34:34 +01:00
sharpsl_pm.h ARM: pxa: fix GPIO double shifts 2016-09-09 18:07:59 +02:00
sleep.S
smemc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spitz.c ARM: pxa/spitz: Remove hardcoded partitioning, use sharpslpart parser 2017-11-28 22:52:57 +01:00
spitz_pm.c ARM: pxa: fix GPIO double shifts 2016-09-09 18:07:59 +02:00
standby.S
stargate2.c ARM: pxa: stargate2: use device properties for at24 eeprom 2018-05-25 22:40:17 +02:00
tavorevb.c
tosa-bt.c ARM: pxa/tosa-bt: add MODULE_LICENSE tag 2018-01-22 12:36:03 +01:00
tosa.c ARM: pxa/tosa: Remove hardcoded partitioning, use sharpslpart parser 2017-11-28 22:52:54 +01:00
tosa_bt.h
trizeps4.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
udc.h
viper.c Merge branch 'i2c/for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2018-06-14 16:21:46 +09:00
viper.h
vpac270.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
xcep.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
z2.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
zeus.c regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
zeus.h
zylonite.c ARM: pxa: zylonite: use the new ac97 bus support 2018-06-20 22:25:51 +02:00
zylonite.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zylonite_pxa300.c ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
zylonite_pxa320.c