]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
mfd: da9062: Fix watchdog compatible string
authorMarco Felsch <m.felsch@pengutronix.de>
Wed, 8 Jan 2020 09:57:02 +0000 (10:57 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 24 Jan 2020 07:33:58 +0000 (07:33 +0000)
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 <m.felsch@pengutronix.de>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/da9062-core.c

index 5290bdc0ddcd09a1b0bb2857172df7fbc704f3ef..419c73533401a423a8eda491565db23ca0206645 100644 (file)
@@ -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",