linux/arch/sh/boards
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
..
mach-ap325rxa media: arch: sh: ap325rxa: Use new renesas-ceu camera driver 2018-06-28 07:29:00 -04:00
mach-cayman sh: cayman: IDE support fix 2017-03-09 17:01:10 -08:00
mach-dreamcast sh: dreamcast: Migrate off of deprecated dynamic IRQ API. 2012-05-18 23:36:44 +09:00
mach-ecovec24 regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
mach-highlander License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-hp6xx sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-kfr2r09 media: arch: sh: kfr2r09: Use new renesas-ceu camera driver 2018-06-28 07:28:00 -04:00
mach-landisk Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
mach-lboxre2 sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-microdev sh: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
mach-migor media: sh: migor: Remove stale soc_camera include 2018-07-24 17:50:35 -04:00
mach-r2d License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-rsk License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-sdk7780 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-sdk7786 sh: sdk7786-gpio: switch to gpiochip_add_data() 2016-03-30 10:53:44 +02:00
mach-se media: arch: sh: ms7724se: Use new renesas-ceu camera driver 2018-06-28 07:28:29 -04:00
mach-sh03 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mach-sh7763rdp sh_eth: remove sh_eth_plat_data::edmac_endian 2018-01-08 14:10:33 -05:00
mach-x3proto sh: x3proto-gpio: switch to gpiochip_add_data() 2016-03-30 10:53:51 +02:00
board-apsh4a3a.c sh: add fixed voltage regulators to apsh4a3a 2012-06-28 18:00:46 +09:00
board-apsh4ad0a.c sh: add fixed voltage regulators to apsh4ad0a 2012-06-28 18:00:47 +09: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: Kill off machvec IRQ hinting. 2012-05-21 17:54:01 +09:00
board-espt.c sh_eth: remove sh_eth_plat_data::edmac_endian 2018-01-08 14:10:33 -05:00
board-magicpanelr2.c sh: add fixed voltage regulators to magicpanelr2 2012-06-28 18:00:48 +09: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_eth: remove sh_eth_plat_data::edmac_endian 2018-01-08 14:10:33 -05:00
board-sh7785lcr.c i2c: pca-platform: move header to platform_data 2018-05-17 16:27:58 +02: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: mach-titan: Kill off unused PIO port mangling. 2010-01-28 15:08:21 +09:00
board-urquell.c sh: urquell evt2irq migration. 2012-05-18 15:43:48 +09:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +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
of-generic.c sh: make use of for_each_node_by_type() 2018-08-17 16:20:27 -07:00