summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-10-30 09:55:07 -0500
committerMark Brown <broonie@kernel.org>2018-11-06 17:27:46 +0000
commit61d0de0543a6e982918c6054a6a12cfbdd73018a (patch)
treed495dbf70916a4bd6a72077ec9af16f157ae97c0 /include
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadlinux-61d0de0543a6e982918c6054a6a12cfbdd73018a.tar.gz
regulator: pfuze100-regulator: add coin support to PF0100
The driver currently supports coin cell / super cap charging, so
this patch extends it to support PF0100.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/regulator/pfuze100.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/regulator/pfuze100.h b/include/linux/regulator/pfuze100.h
index cb5aecd40f07..331d7d940c7a 100644
--- a/include/linux/regulator/pfuze100.h
+++ b/include/linux/regulator/pfuze100.h
@@ -33,7 +33,8 @@
 #define PFUZE100_VGEN4		12
 #define PFUZE100_VGEN5		13
 #define PFUZE100_VGEN6		14
-#define PFUZE100_MAX_REGULATOR	15
+#define PFUZE100_COIN		15
+#define PFUZE100_MAX_REGULATOR	16
 
 #define PFUZE200_SW1AB		0
 #define PFUZE200_SW2		1