aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Felsch <[email protected]>2020-01-08 10:57:02 +0100
committerLee Jones <[email protected]>2020-01-24 07:33:58 +0000
commit1112ba02ff1190ca9c15a912f9269e54b46d2d82 (patch)
tree05f9519e4c10df55db7c3f96183ee716011e4cd1
parent003035b3eb7085ee7d85f7ed063f10acf66b56d4 (diff)
mfd: da9062: Fix watchdog compatible string
The watchdog driver compatible is "dlg,da9062-watchdog" and not "dlg,da9062-wdt". Therefore the mfd-core can't populate the of_node and fwnode. As result the watchdog driver can't parse the devicetree. Fixes: 9b40b030c4ad ("mfd: da9062: Supply core driver") Signed-off-by: Marco Felsch <[email protected]> Acked-by: Guenter Roeck <[email protected]> Reviewed-by: Adam Thomson <[email protected]> Signed-off-by: Lee Jones <[email protected]>
-rw-r--r--drivers/mfd/da9062-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/da9062-core.c b/drivers/mfd/da9062-core.c
index 5290bdc0ddcd..419c73533401 100644
--- a/drivers/mfd/da9062-core.c
+++ b/drivers/mfd/da9062-core.c
@@ -256,7 +256,7 @@ static const struct mfd_cell da9062_devs[] = {
.name = "da9062-watchdog",
.num_resources = ARRAY_SIZE(da9062_wdt_resources),
.resources = da9062_wdt_resources,
- .of_compatible = "dlg,da9062-wdt",
+ .of_compatible = "dlg,da9062-watchdog",
},
{
.name = "da9062-thermal",