summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/da9063/core.h
diff options
context:
space:
mode:
authorOpensource [Steve Twiss] <stwiss.opensource@diasemi.com>2014-07-21 11:39:33 +0100
committerLee Jones <lee.jones@linaro.org>2014-07-28 08:09:25 +0100
commit9cb42e2a8ed06e91ce9d2c59fbae8d1185ebe2f7 (patch)
tree67ab0d78b34c742ea7c1c0dde0343d851ac28659 /include/linux/mfd/da9063/core.h
parent5fc6c39653f1c34de3f2357d50ba5baff6b6e482 (diff)
downloadop-kernel-dev-9cb42e2a8ed06e91ce9d2c59fbae8d1185ebe2f7.zip
op-kernel-dev-9cb42e2a8ed06e91ce9d2c59fbae8d1185ebe2f7.tar.gz
mfd: da9063: Add support for AD silicon variant
Add register definitions for DA9063 AD (0x3) silicon variant ID the ability to choose the silicon variant at run-time using regmap configuration. This patch also adds RTC support for the AD silicon changes. It adds both BB and AD support as regmap ranges and then makes the distinction between the two tables at run-time. This allows both AD and BB silicon variants to be supported at the same time. Suggested-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Opensource [Steve Twiss] <stwiss.opensource@diasemi.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/da9063/core.h')
-rw-r--r--include/linux/mfd/da9063/core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/da9063/core.h b/include/linux/mfd/da9063/core.h
index 00a9aac..b92a326 100644
--- a/include/linux/mfd/da9063/core.h
+++ b/include/linux/mfd/da9063/core.h
@@ -34,7 +34,8 @@ enum da9063_models {
};
enum da9063_variant_codes {
- PMIC_DA9063_BB = 0x5
+ PMIC_DA9063_AD = 0x3,
+ PMIC_DA9063_BB = 0x5,
};
/* Interrupts */
OpenPOWER on IntegriCloud