[PATCH] watchdog: bcm7038_wdt: Support BCM6345 compatible string

Guenter Roeck linux at roeck-us.net
Wed Feb 16 10:30:16 PST 2022


On 2/15/22 22:34, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> 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 at gmail.com>
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>

Reviewed-by: Guenter Roeck <linux at roeck-us.net>

> ---
>   drivers/watchdog/bcm7038_wdt.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/watchdog/bcm7038_wdt.c b/drivers/watchdog/bcm7038_wdt.c
> index 8656a137e9a4..1ffcf6aca6ae 100644
> --- a/drivers/watchdog/bcm7038_wdt.c
> +++ b/drivers/watchdog/bcm7038_wdt.c
> @@ -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" },
>   	{},
>   };




More information about the linux-arm-kernel mailing list