diff mbox series

[2/2] watchdog: realtek-otto: add RTL9310 support

Message ID 629e95e16c8dc812dc5a4ea34a2e2e1ff2faf88c.1656356377.git.sander@svanheule.net (mailing list archive)
State Accepted
Headers show
Series [1/2] dt-bindings: watchdog: realtek,otto-wdt: add RTL9310 | expand

Commit Message

Sander Vanheule June 27, 2022, 7 p.m. UTC
The RTL9310 SoC series has a watchdog timer identical to the already
supported SoCs. The peripheral is memory mapped at 0x18003260 and driven
by the Lexra bus clock.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
---
 drivers/watchdog/realtek_otto_wdt.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Guenter Roeck June 29, 2022, 1:28 p.m. UTC | #1
On 6/27/22 12:00, Sander Vanheule wrote:
> The RTL9310 SoC series has a watchdog timer identical to the already
> supported SoCs. The peripheral is memory mapped at 0x18003260 and driven
> by the Lexra bus clock.
> 
> Signed-off-by: Sander Vanheule <sander@svanheule.net>

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

> ---
>   drivers/watchdog/realtek_otto_wdt.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/watchdog/realtek_otto_wdt.c b/drivers/watchdog/realtek_otto_wdt.c
> index 60058a0c3ec4..2a5298c5e8e4 100644
> --- a/drivers/watchdog/realtek_otto_wdt.c
> +++ b/drivers/watchdog/realtek_otto_wdt.c
> @@ -366,6 +366,7 @@ static const struct of_device_id otto_wdt_ids[] = {
>   	{ .compatible = "realtek,rtl8380-wdt" },
>   	{ .compatible = "realtek,rtl8390-wdt" },
>   	{ .compatible = "realtek,rtl9300-wdt" },
> +	{ .compatible = "realtek,rtl9310-wdt" },
>   	{ }
>   };
>   MODULE_DEVICE_TABLE(of, otto_wdt_ids);
diff mbox series

Patch

diff --git a/drivers/watchdog/realtek_otto_wdt.c b/drivers/watchdog/realtek_otto_wdt.c
index 60058a0c3ec4..2a5298c5e8e4 100644
--- a/drivers/watchdog/realtek_otto_wdt.c
+++ b/drivers/watchdog/realtek_otto_wdt.c
@@ -366,6 +366,7 @@  static const struct of_device_id otto_wdt_ids[] = {
 	{ .compatible = "realtek,rtl8380-wdt" },
 	{ .compatible = "realtek,rtl8390-wdt" },
 	{ .compatible = "realtek,rtl9300-wdt" },
+	{ .compatible = "realtek,rtl9310-wdt" },
 	{ }
 };
 MODULE_DEVICE_TABLE(of, otto_wdt_ids);