watchdog: bcm7038_wdt: Support BCM6345 compatible string
authorRafał Miłecki <rafal@milecki.pl>
Wed, 16 Feb 2022 06:34:08 +0000 (07:34 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 8 May 2022 08:33:59 +0000 (10:33 +0200)
A new "compatible" value has been added in the commit 17fffe91ba36
("dt-bindings: watchdog: Add BCM6345 compatible to BCM7038 binding").
It's meant to be used for BCM63xx SoCs family but hardware block can be
programmed just like the 7038 one.

Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220216063408.23168-1-zajec5@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/bcm7038_wdt.c

index 8656a13..1ffcf6a 100644 (file)
@@ -218,6 +218,7 @@ static SIMPLE_DEV_PM_OPS(bcm7038_wdt_pm_ops, bcm7038_wdt_suspend,
                         bcm7038_wdt_resume);
 
 static const struct of_device_id bcm7038_wdt_match[] = {
+       { .compatible = "brcm,bcm6345-wdt" },
        { .compatible = "brcm,bcm7038-wdt" },
        {},
 };