diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2010-09-27 14:32:27 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-10-29 00:30:15 +0200 |
commit | 50f19a45961ffa0445db02777ad9342119ceb2aa (patch) | |
tree | c4e1b67e4e843e53f6c3c8db70883ca8708eaf0f /drivers/mfd/twl4030-irq.c | |
parent | 58aa6334fbf5cf420a47cfd2718a0b299f40a379 (diff) |
regulator: max8998 BUCK1/2 voltage change with use of GPIOs
max8998_pmic_probe:
- modified to check if valid pins are defined at platform
data
- maximal voltage values (predefined at platform data) are uploaded to
max8998 device
max8998_set_voltage_buck:
- BUCK1/2 voltages change between values already defined
- Checks if valid GPIO pins are passed from platform data
- If requested voltage cannot be satisfied from already defined values,
then one of free slots is used
- Predefined maximum voltages (as defined at platform data) are always
available
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/twl4030-irq.c')
0 files changed, 0 insertions, 0 deletions