aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/tps65218.h
diff options
context:
space:
mode:
authorChristian Hohnstaedt <Christian.Hohnstaedt@wago.com>2019-01-14 09:16:34 +0100
committerLee Jones <lee.jones@linaro.org>2019-02-01 08:21:13 +0000
commitd57f72875eed3f26afaca176c0f425f209bc99d7 (patch)
treeb21397a5b4b7241e3c1509f50f3ac5ec0ee2da0c /include/linux/mfd/tps65218.h
parentmfd: wm8400-core: Make it explicitly non-modular (diff)
downloadlinux-dev-d57f72875eed3f26afaca176c0f425f209bc99d7.tar.xz
linux-dev-d57f72875eed3f26afaca176c0f425f209bc99d7.zip
mfd: tps65218.c: Add input voltage options
These options apply to all regulators in this chip. ti,strict-supply-voltage-supervision: Set STRICT flag in CONFIG1 ti,under-voltage-limit-microvolt: Select 2.75, 2.95, 3.25 or 3.35 V UVLO in CONFIG1 ti,under-voltage-hyst-microvolt: Select 200mV or 400mV UVLOHYS in CONFIG2 Signed-off-by: Christian Hohnstaedt <Christian.Hohnstaedt@wago.com> Tested-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/tps65218.h')
-rw-r--r--include/linux/mfd/tps65218.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65218.h b/include/linux/mfd/tps65218.h
index c204d9a79436..3cbe103495ab 100644
--- a/include/linux/mfd/tps65218.h
+++ b/include/linux/mfd/tps65218.h
@@ -137,6 +137,10 @@
#define TPS65218_CONFIG1_PGDLY_MASK 0x18
#define TPS65218_CONFIG1_STRICT BIT(2)
#define TPS65218_CONFIG1_UVLO_MASK 0x3
+#define TPS65218_CONFIG1_UVLO_2750000 0x0
+#define TPS65218_CONFIG1_UVLO_2950000 0x1
+#define TPS65218_CONFIG1_UVLO_3250000 0x2
+#define TPS65218_CONFIG1_UVLO_3350000 0x3
#define TPS65218_CONFIG2_DC12_RST BIT(7)
#define TPS65218_CONFIG2_UVLOHYS BIT(6)