Florian Fainelli
b844f9181b
MIPS: BCM63XX: Provide platform data to watchdog device
...
In order to utilize the bcm7038_wdt.c driver which needs to know the
clock name to obtain, pass it via platform data using the
bcm7038_wdt_platform_data structure.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com >
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de >
Reviewed-by: Guenter Roeck <linux@roeck-us.net >
Link: https://lore.kernel.org/r/20211112224636.395101-7-f.fainelli@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net >
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org >
2021-12-28 14:03:02 +01:00
Florian Fainelli
94c58b7f23
MIPS: BCM63XX: Fix platform_devices id
...
There is only one watchdog and VoIP DSP platform devices per board, use
-1 as the platform_device id accordingly.
Signed-off-by: Florian Fainelli <florian@openwrt.org >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3313/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2012-07-24 16:33:09 +02:00
Florian Fainelli
2cfac7f7f2
MIPS: BCM63xx: Prepare for watchdog support
...
This patch prepares the board code to register a bcm63xx_wdt
platform_device that we are going to use in a subsequent patch.
Signed-off-by: Florian Fainelli <florian@openwrt.org >
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2009-11-02 12:00:03 +01:00