summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-04-18 18:32:47 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-18 18:23:20 +0100
commit28d1e8cd671a53d6b4f967abbbc2a55f7bd333f6 (patch)
treed47b1afe416e27849ee541748fe32ea658c44626 /include/linux/mfd
parent17c11a7603496949989ed286ed218a9e645b6259 (diff)
downloadblackbird-op-linux-28d1e8cd671a53d6b4f967abbbc2a55f7bd333f6.tar.gz
blackbird-op-linux-28d1e8cd671a53d6b4f967abbbc2a55f7bd333f6.zip
regulator: palma: add ramp delay support through regulator constraints
Currently Palma regulator driver support the ramp delay through rail specific platform data. As regulator framework support the configuration of ramp delay through regulator constraint, using the framework method and removing the platform specific data approach. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/palmas.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h
index 10daa8c1e73c..a58c579e8cf4 100644
--- a/include/linux/mfd/palmas.h
+++ b/include/linux/mfd/palmas.h
@@ -109,19 +109,6 @@ struct palmas_reg_init {
*/
int mode_sleep;
- /* tstep is the timestep loaded to the TSTEP register
- *
- * For SMPS
- *
- * 0: Jump (no slope control)
- * 1: 10mV/us
- * 2: 5mV/us
- * 3: 2.5mV/us
- *
- * For LDO unused
- */
- int tstep;
-
/* voltage_sel is the bitfield loaded onto the SMPSX_VOLTAGE
* register. Set this is the default voltage set in OTP needs
* to be overridden.
@@ -339,6 +326,7 @@ struct palmas_pmic {
int smps457;
int range[PALMAS_REG_SMPS10];
+ unsigned int ramp_delay[PALMAS_REG_SMPS10];
};
struct palmas_resource {
OpenPOWER on IntegriCloud