2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/drivers/regulator
Rajendra Nayak 2ebcf63245 twl6030: regulator: Configure STATE register instead of REMAP
This is no REMAP register on twl6030, instead there is a STATE register
to drive a resource to a given state.
The state register can be used to specify what state the resource should
enter when its associated with a GRP.
Register Bit field description is as below. The patch programmes the
corresponding STATE registers for all LDO's to turn ON when assocaited
with GRP_P1.

STATE REG:
Bit7   |Bit6   |Bit5   |Bit4  |Bit3  |Bit2  |Bit1   |Bit0
P3_GRP |P2_GRP |P1_GRP |RES   |RES   |RES   |State1 |State0

State can be specified as below
00: OFF
01: ON
10: OFF
11: SLEEP

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Cc: Liam Girdwood <lrg@slimlogic.co.uk>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2010-03-03 14:49:26 +00:00
..
88pm8607.c regulator: Ensure val is initialised in 88pm8607 choose_voltage() 2009-12-17 10:27:25 +00:00
ab3100.c Fix some AB3100 regulator issues 2009-12-17 10:27:25 +00:00
bq24022.c regulator/bq24022: fix bug in is_enabled function 2009-04-28 18:58:08 +01:00
core.c regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
da903x.c regulator: keep index within bounds in da9034_get_ldo12_voltage() 2009-12-17 10:27:25 +00:00
dummy.c regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
dummy.h regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
fixed.c regulator: Convert fixed voltage regulator to use enable_time() 2010-03-03 14:49:25 +00:00
Kconfig regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
lp3971.c regulator/lp3971: Storage class should be before const qualifier 2010-03-03 14:49:22 +00:00
Makefile regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
max1586.c regulator/max1586: fix V3 gain calculation integer overflow 2009-06-15 11:18:27 +01:00
max8649.c regulator: enable max8649 regulator driver 2010-03-03 14:49:24 +00:00
max8660.c regulator: add driver for MAX8660/8661 2009-12-17 10:27:22 +00:00
mc13783-regulator.c regulator: mc13783: consider Power Gates as digital regulators. 2010-03-03 14:49:23 +00:00
pcap-regulator.c regulator: get pcap data from the parent device 2009-09-17 09:47:13 +02:00
pcf50633-regulator.c mfd: Fix pcf50633-regulator drvdata usage 2009-12-13 19:21:20 +01:00
tps6507x-regulator.c regulator: tps650xx - build fixes for x86_64 2009-09-22 13:32:43 +01:00
tps65023-regulator.c regulator: tps650xx - build fixes for x86_64 2009-09-22 13:32:43 +01:00
twl-regulator.c twl6030: regulator: Configure STATE register instead of REMAP 2010-03-03 14:49:26 +00:00
userspace-consumer.c regulator: userspace: use sysfs_create_group 2009-09-22 13:32:41 +01:00
virtual.c regulator: Improve virtual consumer probe error handling 2009-09-22 13:32:39 +01:00
wm831x-dcdc.c regulator: Implement WM831x BuckWise DC-DC convertor DVS support 2009-12-17 10:27:22 +00:00
wm831x-isink.c regulator: Initialise wm831x structure pointor for ISINK driver 2009-12-02 19:37:16 +00:00
wm831x-ldo.c regulator: wm831x_reg_read() failure unnoticed in wm831x_aldo_get_mode() 2009-12-17 10:27:30 +00:00
wm8350-regulator.c regulator: Implement enable_time() for WM835x ISINKs 2010-03-03 14:49:23 +00:00
wm8400-regulator.c regulator: remove driver_data direct access of struct device 2009-06-15 11:18:25 +01:00
wm8994-regulator.c regulator: Add WM8994 regulator support 2010-03-03 14:49:25 +00:00