summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorNikita Kiryanov <nikita@compulab.co.il>2015-11-25 14:59:04 +0300
committerMark Brown <broonie@kernel.org>2015-11-25 15:25:26 +0300
commitc0ea88b890d67cff2667188f14189d8346e89a0f (patch)
treebacce165ae931e9e40e80a6c73b15eb539c31453 /include/linux/regulator
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-c0ea88b890d67cff2667188f14189d8346e89a0f.tar.xz
regulator: tps65218: add support for LS3 current regulator
Add support for TPS65218 LS3 current regulator, which is capable of 4 current input limit modes: 100, 200, 500, and 1000 uA. Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h
index 9c2903e58adb..16ac9e108806 100644
--- a/include/linux/regulator/driver.h
+++ b/include/linux/regulator/driver.h
@@ -302,6 +302,8 @@ struct regulator_desc {
unsigned int vsel_reg;
unsigned int vsel_mask;
+ unsigned int csel_reg;
+ unsigned int csel_mask;
unsigned int apply_reg;
unsigned int apply_bit;
unsigned int enable_reg;