bcm4908: backport latest DT patches
[openwrt/staging/stintel.git] / target / linux / bcm4908 / patches-5.10 / 181-watchdog-allow-building-BCM7038_WDT-for-BCM4908.patch
1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
2 Date: Wed, 9 Feb 2022 21:32:02 +0100
3 Subject: [PATCH] watchdog: allow building BCM7038_WDT for BCM4908
4 MIME-Version: 1.0
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
7
8 BCM4908 is a SoCs family that shares a lot of hardware with BCM63xx
9 including the watchdog block. Allow building this driver for it.
10
11 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
12 Acked-by: Florian Fainelli <f.fainelli@gmail.com>
13 Reviewed-by: Guenter Roeck <linux@roeck-us.net>
14 ---
15 drivers/watchdog/Kconfig | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 --- a/drivers/watchdog/Kconfig
19 +++ b/drivers/watchdog/Kconfig
20 @@ -1800,7 +1800,7 @@ config BCM7038_WDT
21 tristate "BCM7038 Watchdog"
22 select WATCHDOG_CORE
23 depends on HAS_IOMEM
24 - depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
25 + depends on ARCH_BCM4908 || ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
26 help
27 Watchdog driver for the built-in hardware in Broadcom 7038 and
28 later SoCs used in set-top boxes. BCM7038 was made public