summaryrefslogtreecommitdiffstats
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2017-03-09 08:14:43 -0600
committerMark Brown <broonie@kernel.org>2017-03-13 16:15:42 +0000
commitc6182ac96096f35c7216e4e6a3c64c7374dadeb7 (patch)
tree64245f4e5202be74d3be0832032610ce00b88882 /include/linux/regulator
parentd00b74613fb18dfd0a5aa99270ee2e72d5c808d7 (diff)
downloadblackbird-op-linux-c6182ac96096f35c7216e4e6a3c64c7374dadeb7.tar.gz
blackbird-op-linux-c6182ac96096f35c7216e4e6a3c64c7374dadeb7.zip
regulator: pfuze100-regulator: add coin support
Add support for PF0200 coin cell/super capacitor charger which works as a current limited voltage source via the LICELL pin. When VIN goes below a certain threshold LICELL is used to provide power for VSNVS which is usually used to hold up secure non-volatile storage and the real-time clock on the SoC. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/pfuze100.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/regulator/pfuze100.h b/include/linux/regulator/pfuze100.h
index 70c6c66c5bcf..e0ccf46f66cf 100644
--- a/include/linux/regulator/pfuze100.h
+++ b/include/linux/regulator/pfuze100.h
@@ -48,6 +48,7 @@
#define PFUZE200_VGEN4 10
#define PFUZE200_VGEN5 11
#define PFUZE200_VGEN6 12
+#define PFUZE200_COIN 13
#define PFUZE3000_SW1A 0
#define PFUZE3000_SW1B 1
OpenPOWER on IntegriCloud