linux_dsm_epyc7002/include/linux/regulator
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
..
ab8500.h regulator: ab8500: Drop AB8540/9540 support 2018-04-16 13:08:59 +01:00
act8865.h
arizona-ldo1.h regulator: arizona-ldo1: Look up a descriptor and pass to the core 2018-05-17 15:42:53 +09:00
arizona-micsupp.h
consumer.h regulator: Don't return or expect -errno from of_map_mode() 2018-04-20 12:45:36 +01:00
da9211.h regulator: da9211: Pass descriptors instead of GPIO numbers 2018-02-16 17:05:52 +00:00
db8500-prcmu.h
driver.h regulator: core: Change suspend_late to suspend 2018-07-05 18:07:45 +01:00
fan53555.h
fixed.h regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
gpio-regulator.h regulator: gpio: Revert 2018-06-07 14:23:08 +01:00
lp872x.h
lp3971.h
lp3972.h
machine.h regulator: core: Parse coupled regulators properties 2018-05-17 16:05:48 +09:00
max1586.h
max8649.h
max8660.h
max8952.h regulator: max8952: Pass descriptor instead of GPIO number 2018-05-24 16:50:36 +01:00
max8973-regulator.h
mt6311.h
mt6323-regulator.h
mt6380-regulator.h
mt6397-regulator.h
of_regulator.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pfuze100.h regulator: pfuze100: add pfuze3001 support 2018-06-18 12:22:39 +01:00
tps6507x.h
tps51632-regulator.h
tps62360.h
userspace-consumer.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00