d6d2fd9ab6125e06a67e641da8b571c1d2fd206d
[openwrt/staging/ldir.git] / target / linux / bcm4908 / patches-5.10 / 090-v5.20-watchdog-bcm7038_wdt-Support-BCM6345-compatible-stri.patch
1 From 2dd441f16d6ad6104d85c4e5dfeb6dde4df26869 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Wed, 16 Feb 2022 07:34:08 +0100
4 Subject: [PATCH] watchdog: bcm7038_wdt: Support BCM6345 compatible string
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 A new "compatible" value has been added in the commit 17fffe91ba36
10 ("dt-bindings: watchdog: Add BCM6345 compatible to BCM7038 binding").
11 It's meant to be used for BCM63xx SoCs family but hardware block can be
12 programmed just like the 7038 one.
13
14 Cc: Florian Fainelli <f.fainelli@gmail.com>
15 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
16 Acked-by: Florian Fainelli <f.fainelli@gmail.com>
17 Reviewed-by: Guenter Roeck <linux@roeck-us.net>
18 Link: https://lore.kernel.org/r/20220216063408.23168-1-zajec5@gmail.com
19 Signed-off-by: Guenter Roeck <linux@roeck-us.net>
20 Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
21 ---
22 drivers/watchdog/bcm7038_wdt.c | 1 +
23 1 file changed, 1 insertion(+)
24
25 --- a/drivers/watchdog/bcm7038_wdt.c
26 +++ b/drivers/watchdog/bcm7038_wdt.c
27 @@ -193,6 +193,7 @@ static SIMPLE_DEV_PM_OPS(bcm7038_wdt_pm_
28 bcm7038_wdt_resume);
29
30 static const struct of_device_id bcm7038_wdt_match[] = {
31 + { .compatible = "brcm,bcm6345-wdt" },
32 { .compatible = "brcm,bcm7038-wdt" },
33 {},
34 };