watchdog: bcm7038_wdt: Support platform data configuration
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 12 Nov 2021 22:46:32 +0000 (14:46 -0800)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Tue, 28 Dec 2021 12:59:07 +0000 (13:59 +0100)
commitd6b9c679bbac1d1d2fcac64391b4cadb91763a6f
tree3f2ba173a2ff29947e2fbfa330f3b9d949b5b4fa
parent17fffe91ba36d11c7b17be154ecc7c1ed31527eb
watchdog: bcm7038_wdt: Support platform data configuration

The BCM7038 watchdog driver needs to be able to obtain a specific clock
name on BCM63xx platforms which is the "periph" clock ticking at 50MHz.
make it possible to specify the clock name to obtain via platform data.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20211112224636.395101-4-f.fainelli@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
include/linux/platform_data/bcm7038_wdt.h [new file with mode: 0644]