summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/palmas.h
diff options
context:
space:
mode:
authorLaxman Dewangan2013-04-17 11:43:13 +0200
committerMark Brown2013-04-17 16:05:19 +0200
commit17c11a7603496949989ed286ed218a9e645b6259 (patch)
treec6b66dd199b2e0c92deea8dd16ae401d06ad003c /include/linux/mfd/palmas.h
parentregulator: palmas: support for external regulator through control outputs (diff)
downloadkernel-qcow2-linux-17c11a7603496949989ed286ed218a9e645b6259.tar.gz
kernel-qcow2-linux-17c11a7603496949989ed286ed218a9e645b6259.tar.xz
kernel-qcow2-linux-17c11a7603496949989ed286ed218a9e645b6259.zip
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 44256aa7b46a..10daa8c1e73c 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 {