diff options
author | Lukasz Majewski <l.majewski@samsung.com> | 2010-09-27 16:32:27 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-10-29 02:30:15 +0400 |
commit | 50f19a45961ffa0445db02777ad9342119ceb2aa (patch) | |
tree | c4e1b67e4e843e53f6c3c8db70883ca8708eaf0f /drivers/mfd | |
parent | 58aa6334fbf5cf420a47cfd2718a0b299f40a379 (diff) | |
download | linux-50f19a45961ffa0445db02777ad9342119ceb2aa.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions