summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBeniamino Galvani <b.galvani@gmail.com>2014-07-05 15:20:55 +0200
committerMark Brown <broonie@linaro.org>2014-08-05 18:02:53 +0100
commitac0c0ea8b62949eb371b3227481385362a1425c6 (patch)
treeb925d60d981ddb5cafa506b06a23e9735167edf3 /include
parent50a03e35b09ea5098ca42a59ad3fdb56a965f2dd (diff)
downloadlinux-ac0c0ea8b62949eb371b3227481385362a1425c6.tar.bz2
regulator: act8865: add support for act8846
Add device id and definition of registers and regulators to support the act8846 PMU. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Tested-by: Wenyou Yang <wenyou.yang@atmel.com> Reviewed-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/regulator/act8865.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/regulator/act8865.h b/include/linux/regulator/act8865.h
index b49be816fc54..b6c4909b33af 100644
--- a/include/linux/regulator/act8865.h
+++ b/include/linux/regulator/act8865.h
@@ -30,7 +30,24 @@ enum {
};
enum {
+ ACT8846_ID_REG1,
+ ACT8846_ID_REG2,
+ ACT8846_ID_REG3,
+ ACT8846_ID_REG4,
+ ACT8846_ID_REG5,
+ ACT8846_ID_REG6,
+ ACT8846_ID_REG7,
+ ACT8846_ID_REG8,
+ ACT8846_ID_REG9,
+ ACT8846_ID_REG10,
+ ACT8846_ID_REG11,
+ ACT8846_ID_REG12,
+ ACT8846_REG_NUM,
+};
+
+enum {
ACT8865,
+ ACT8846,
};
/**