aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/palmas.h
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-04-17 15:13:13 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-17 15:05:19 +0100
commit17c11a7603496949989ed286ed218a9e645b6259 (patch)
treec6b66dd199b2e0c92deea8dd16ae401d06ad003c /include/linux/mfd/palmas.h
parentaa07f02793ec149d560142f25af0243fff84208b (diff)
downloadkernel_goldelico_gta04-17c11a7603496949989ed286ed218a9e645b6259.zip
kernel_goldelico_gta04-17c11a7603496949989ed286ed218a9e645b6259.tar.gz
kernel_goldelico_gta04-17c11a7603496949989ed286ed218a9e645b6259.tar.bz2
regulator: palmas: add support for LDO8 tracking mode
LDO8 of Palma device like tps65913 support the tracking mode on which LDO8 track the SMPS45 voltage when SMPS45 is ON and use the LDO8.VOLTAGE_SEL register when SMPS45 is OFF. On track mode, the steps of voltage change for LDO8 is 25mV where in non-tracking mode it is 50mV. Set the steps accordingly. Number of voltage count is still same for both the cases. 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/palmas.h')
-rw-r--r--include/linux/mfd/palmas.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h
index 44256aa..10daa8c 100644
--- a/include/linux/mfd/palmas.h
+++ b/include/linux/mfd/palmas.h
@@ -177,6 +177,9 @@ struct palmas_pmic_platform_data {
/* use LDO6 for vibrator control */
int ldo6_vibrator;
+
+ /* Enable tracking mode of LDO8 */
+ bool enable_ldo8_tracking;
};
struct palmas_usb_platform_data {