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