alistair23-linux/drivers/regulator
Matthias Kaehlcke fd08604555 regulator: core: Limit propagation of parent voltage count and list
Commit 26988efe11 ("regulator: core: Allow to get voltage count and
list from parent") introduces the propagation of the parent voltage
count and list for regulators that don't provide this information
themselves. The goal is to support simple switch regulators, however as
a side effect normal continuous regulators can leak details of their
supplies and provide consumers with inconsistent information.

Limit the propagation of the voltage count and list to switch
regulators.

Fixes: 26988efe11 ("regulator: core: Allow to get voltage count and
  list from parent")
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-03-29 12:49:38 +01:00
..
88pm800.c regulator: 88pm800: constify regulator_ops structures 2017-01-31 20:32:26 +00:00
88pm8607.c regulator: 88pm8607: constify regulator_ops structure 2017-01-31 20:32:53 +00:00
aat2870-regulator.c regulator: aat2870-regulator: constify regulator_ops structure 2017-01-31 20:35:49 +00:00
ab3100.c
ab8500-ext.c ARM: ux500: move ab8500_regulator_plat_data into driver 2016-07-12 11:23:50 +02:00
ab8500.c
act8865-regulator.c regulator: act8865: Fix missing of_node_put() in act8865_pdata_from_dt() 2016-07-14 17:22:22 +01:00
act8945a-regulator.c regulator: act8945a-regulator: constify regulator_ops structure 2017-01-31 20:36:10 +00:00
ad5398.c regulator: ad5398: constify regulator_ops structure 2017-01-31 20:38:27 +00:00
anatop-regulator.c regulator: anatop: Add support for "anatop-enable-bit" 2017-01-23 18:15:44 +00:00
arizona-ldo1.c regulator: arizona-ldo1: constify regulator_ops structure 2017-01-31 20:39:42 +00:00
arizona-micsupp.c regulator: arizona-micsupp: constify regulator_ops structure 2017-01-31 20:39:48 +00:00
as3711-regulator.c regulator: as3711-regulator: constify regulator_ops structure 2017-01-31 20:43:36 +00:00
as3722-regulator.c regulator: as3722: Constify regulator ops 2016-04-11 15:15:36 +01:00
axp20x-regulator.c Merge remote-tracking branches 'regulator/topic/anatop', 'regulator/topic/arizona', 'regulator/topic/as3711' and 'regulator/topic/bcm590xx' into regulator-next 2017-02-19 16:40:26 +00:00
bcm590xx-regulator.c regulator: bcm590xx-regulator: constify regulator_ops structure 2017-01-31 20:44:14 +00:00
core.c regulator: core: Limit propagation of parent voltage count and list 2017-03-29 12:49:38 +01:00
cpcap-regulator.c regulator: cpcap: Add basic regulator support 2017-02-04 12:45:54 +01:00
da903x.c
da9052-regulator.c regulator: da9053/52: Fix incorrectly stated minimum and maximum voltage limits 2016-07-20 17:00:34 +01:00
da9055-regulator.c
da9062-regulator.c
da9063-regulator.c regulator: da9063: Correct module alias prefix to fix module autoloading 2016-05-10 20:00:49 +01:00
da9210-regulator.c regulator: da9210: addition of device tree support 2016-07-15 11:45:26 +01:00
da9210-regulator.h
da9211-regulator.c regulator: da9211: add descriptions for da9212/da9214 2016-06-29 17:24:55 +01:00
da9211-regulator.h regulator: da9211: add descriptions for da9212/da9214 2016-06-29 17:24:55 +01:00
db8500-prcmu.c
dbx500-prcmu.c regulator: dbx500: remove unused functions in dbx500-prcmu.c 2016-09-26 09:40:22 -07:00
dbx500-prcmu.h
devres.c regulator: core: optimize devm_regulator_bulk_get() 2017-02-04 11:37:25 +01:00
dummy.c
dummy.h
fan53555.c regulator: fan53555: constify regulator_ops structure 2017-01-31 20:44:35 +00:00
fixed-helper.c
fixed.c regulator: fixed: Revert support for ACPI interface 2017-01-25 21:05:37 +00:00
gpio-regulator.c regulator: gpio: properly check return value of of_get_named_gpio 2016-11-11 15:38:08 +00:00
helpers.c regulators: helpers: Fix handling of bypass_val_on in get_bypass_regmap 2016-11-10 17:28:32 +00:00
hi655x-regulator.c regulator: hi655x-regulator: constify regulator_ops structure 2017-01-31 20:46:29 +00:00
hi6421-regulator.c regulator: hi6421: mark hi6421_regulator_ldo_get_optimum_mode() static 2016-09-01 20:54:29 +01:00
internal.h regulator: Mark supply_name const and duplicate it as such 2017-03-17 13:12:22 +00:00
isl6271a-regulator.c
isl9305.c
Kconfig regulator: cpcap: Add basic regulator support 2017-02-04 12:45:54 +01:00
lm363x-regulator.c
lp872x.c
lp873x-regulator.c regulator: lp873x: Add support for populating input supply 2016-11-11 15:36:38 +00:00
lp3971.c regulator: lp3971: Silence uninitialized variable warning 2016-04-14 14:46:05 +01:00
lp3972.c regulator: lp3972: Silence uninitialized variable warning 2016-04-14 14:46:19 +01:00
lp8755.c regulator: lp8755: constify regulator_ops structure 2017-01-31 20:46:55 +00:00
lp8788-buck.c
lp8788-ldo.c
ltc3589.c regulator: ltc3589: constify regulator_ops structure 2017-01-31 20:47:07 +00:00
ltc3676.c regulator: ltc3676: constify regulator_ops structure 2017-01-31 20:48:35 +00:00
Makefile regulator: cpcap: Add basic regulator support 2017-02-04 12:45:54 +01:00
max1586.c
max8649.c
max8660.c
max8907-regulator.c regulator: max8907-regulator: constify regulator_ops structure 2017-01-31 20:54:26 +00:00
max8925-regulator.c regulator: max8925-regulator: constify regulator_ops structure 2017-01-31 20:54:41 +00:00
max8952.c regulator: max8952: constify regulator_ops structure 2017-01-31 20:56:09 +00:00
max8973-regulator.c thermal: Enhance thermal_zone_device_update for events 2016-09-27 14:35:21 +08:00
max8997-regulator.c regulator: max8997/max77802: Fix misspelled Samsung address 2016-04-05 11:37:49 -07:00
max8998.c
max14577-regulator.c regulator: max14577-regulator: constify regulator_ops structure 2017-01-31 20:48:53 +00:00
max77620-regulator.c regulator: max77620-regulator: constify regulator_ops structure 2017-01-31 20:52:52 +00:00
max77686-regulator.c regulator: max77686-regulator: constify regulator_ops structure 2017-01-31 20:53:30 +00:00
max77693-regulator.c regulator: max77693-regulator: constify regulator_ops structure 2017-01-31 20:53:49 +00:00
max77802-regulator.c regulator: max77802-regulator: constify regulator_ops structure 2017-01-31 20:54:06 +00:00
mc13xxx-regulator-core.c
mc13xxx.h
mc13783-regulator.c
mc13892-regulator.c
mt6311-regulator.c
mt6311-regulator.h
mt6323-regulator.c regulator: mt6323: Constify struct regulator_ops 2016-07-19 18:31:59 +01:00
mt6397-regulator.c regulator: mt6397: Add buck change mode regulator interface for mt6397 2016-05-30 16:29:43 +01:00
of_regulator.c regulator: of: setup initial suspend state 2016-06-22 16:15:34 +01:00
palmas-regulator.c regulator: palmas-regulator: constify regulator_ops structure 2017-01-31 20:57:00 +00:00
pbias-regulator.c regulator: pbias-regulator: constify regulator_ops structure 2017-01-31 20:57:16 +00:00
pcap-regulator.c regulator: pcap-regulator: constify regulator_ops structure 2017-01-31 20:57:31 +00:00
pcf50633-regulator.c regulator: pcf50633-regulator: constify regulator_ops structure 2017-01-31 20:58:15 +00:00
pfuze100-regulator.c regulator: pfuze100-regulator: constify regulator_ops structure 2017-01-31 20:58:27 +00:00
pv88060-regulator.c regulator: pv88060-regulator: constify regulator_ops structure 2017-01-31 20:58:46 +00:00
pv88060-regulator.h
pv88080-regulator.c regulator: pv88080-regulator: constify regulator_ops structure 2017-01-31 20:59:01 +00:00
pv88080-regulator.h regulator: pv88080: Update regulator for PV88080 BB silicon support 2016-09-26 08:59:08 -07:00
pv88090-regulator.c regulator: pv88090-regulator: constify regulator_ops structure 2017-01-31 20:59:18 +00:00
pv88090-regulator.h
pwm-regulator.c regulator: core: Add set_voltage_time op 2016-09-16 18:38:22 +01:00
qcom_rpm-regulator.c regulator: qcom_rpm-regulator: Add support for pm8018 rpm regulator 2016-08-31 09:33:54 +01:00
qcom_smd-regulator.c regulator: qcom-smd: Add PM8994 regulator support 2017-01-19 11:19:17 +00:00
qcom_spmi-regulator.c regulator: qcom_spmi: Add support for get_mode/set_mode on switches 2016-06-26 12:24:07 +01:00
rc5t583-regulator.c regulator: rc5t583-regulator: constify regulator_ops structure 2017-01-31 20:59:37 +00:00
rk808-regulator.c regulator: rk808: Use rdev_get_id() to access id of regulator 2016-10-24 17:49:37 +01:00
rn5t618-regulator.c regulator: rn5t618: constify regulator_ops structure 2017-01-31 21:00:04 +00:00
rt5033-regulator.c
s2mpa01.c regulator: s2mpa01: reduce stack size for probe function 2017-01-26 11:21:43 +00:00
s2mps11.c regulator: s2mps11: Fix the voltage linear range for s2mps15 2016-07-12 09:24:05 +01:00
s5m8767.c
sky81452-regulator.c
stw481x-vmmc.c regulator: stw481x-vmmc: fix ages old enable error 2016-11-13 09:22:37 +00:00
ti-abb-regulator.c
tps6105x-regulator.c
tps6507x-regulator.c regulator: tps6507x: Drop pointless static qualifier for *reg_data variable 2016-10-24 17:49:14 +01:00
tps6524x-regulator.c regulator: tps6524x: Fix broken use of spi_dev_get() 2016-04-20 17:37:59 +01:00
tps6586x-regulator.c
tps51632-regulator.c regulator: tps51632: Fix setting ramp delay 2016-05-31 16:38:01 +01:00
tps62360-regulator.c
tps65023-regulator.c
tps65086-regulator.c regulator: tps65086: Fix DT node referencing in of_parse_cb 2017-02-13 18:04:28 +00:00
tps65090-regulator.c
tps65217-regulator.c regulator: tps65217: Allow DCDC1 and DCDC3 up to 3.3V 2017-01-23 17:48:55 +00:00
tps65218-regulator.c regulator: tps65218: Remove all the compatibles 2016-10-26 10:30:39 +01:00
tps65910-regulator.c regulator: tps65910: Work around silicon erratum SWCZ010 2016-09-24 19:04:36 +01:00
tps65912-regulator.c
tps80031-regulator.c
twl-regulator.c regulator: twl: Remove unused fields from struct twlreg_info 2016-11-23 15:46:43 +00:00
twl6030-regulator.c regulator: twl6030: fix range comparison, allowing vsel = 59 2017-01-18 16:32:44 +00:00
userspace-consumer.c
vexpress-regulator.c
virtual.c
wm831x-dcdc.c
wm831x-isink.c
wm831x-ldo.c
wm8350-regulator.c
wm8400-regulator.c
wm8994-regulator.c