summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/da9063-core.c
diff options
context:
space:
mode:
authorSteve Twiss <stwiss.opensource@diasemi.com>2015-01-20 14:54:25 +0100
committerLee Jones <lee.jones@linaro.org>2015-01-22 17:04:04 +0100
commit71e03de46d73b87aab5f80fa55449a9e40c55d17 (patch)
treed5dd28bf25f22fddd2fbd20f49c2616ea8a84fa5 /drivers/mfd/da9063-core.c
parentregulator: qcom-rpm: Add missing state flag in call to RPM (diff)
downloadlinux-71e03de46d73b87aab5f80fa55449a9e40c55d17.tar.xz
linux-71e03de46d73b87aab5f80fa55449a9e40c55d17.zip
mfd: da9063: Add device tree support
Add device tree support for DA9063 regulators; Real-Time Clock and Watchdog. Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/da9063-core.c')
-rw-r--r--drivers/mfd/da9063-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/da9063-core.c b/drivers/mfd/da9063-core.c
index f38bc98a3c57..facd3610ac77 100644
--- a/drivers/mfd/da9063-core.c
+++ b/drivers/mfd/da9063-core.c
@@ -86,6 +86,7 @@ static const struct mfd_cell da9063_devs[] = {
},
{
.name = DA9063_DRVNAME_WATCHDOG,
+ .of_compatible = "dlg,da9063-watchdog",
},
{
.name = DA9063_DRVNAME_HWMON,
@@ -101,6 +102,7 @@ static const struct mfd_cell da9063_devs[] = {
.name = DA9063_DRVNAME_RTC,
.num_resources = ARRAY_SIZE(da9063_rtc_resources),
.resources = da9063_rtc_resources,
+ .of_compatible = "dlg,da9063-rtc",
},
{
.name = DA9063_DRVNAME_VIBRATION,