aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2018-06-15 13:44:53 +0200
committerMark Brown <broonie@kernel.org>2018-06-18 12:22:39 +0100
commit297101ab85841319aac2c7843ca755d650c1964f (patch)
tree425b5549838f1541476eaf7f9fecf919c5d78a6b /include/linux/regulator
parentregulator: pfuze100: add pfuze3001 support (diff)
downloadlinux-dev-297101ab85841319aac2c7843ca755d650c1964f.tar.xz
linux-dev-297101ab85841319aac2c7843ca755d650c1964f.zip
regulator: pfuze100: add pfuze3001 support
This extends the pfuze100 driver with pfuze3001 support. Latest datasheet: https://www.nxp.com/docs/en/data-sheet/PF3001.pdf Signed-off-by: Robin Gong <yibin.gong@nxp.com> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/pfuze100.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/regulator/pfuze100.h b/include/linux/regulator/pfuze100.h
index e0ccf46f66cf..cb5aecd40f07 100644
--- a/include/linux/regulator/pfuze100.h
+++ b/include/linux/regulator/pfuze100.h
@@ -64,6 +64,17 @@
#define PFUZE3000_VLDO3 11
#define PFUZE3000_VLDO4 12
+#define PFUZE3001_SW1 0
+#define PFUZE3001_SW2 1
+#define PFUZE3001_SW3 2
+#define PFUZE3001_VSNVS 3
+#define PFUZE3001_VLDO1 4
+#define PFUZE3001_VLDO2 5
+#define PFUZE3001_VCCSD 6
+#define PFUZE3001_V33 7
+#define PFUZE3001_VLDO3 8
+#define PFUZE3001_VLDO4 9
+
struct regulator_init_data;
struct pfuze_regulator_platform_data {