[PATCH v2 2/2] watchdog: realtek-otto: add fallback compatible
From: Sander Vanheule
Date: Tue May 12 2026 - 16:56:37 EST
As the binding now supports a fallback compatible for (new) devicetrees,
let's add it to the list of supported compatibles. If new compatibles
are added to the binding, driver updates may no longer be required.
Signed-off-by: Sander Vanheule <sander@xxxxxxxxxxxxx>
---
drivers/watchdog/realtek_otto_wdt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/watchdog/realtek_otto_wdt.c b/drivers/watchdog/realtek_otto_wdt.c
index 2c30ddd574c5..b4eb2f87f991 100644
--- a/drivers/watchdog/realtek_otto_wdt.c
+++ b/drivers/watchdog/realtek_otto_wdt.c
@@ -350,6 +350,8 @@ static int otto_wdt_probe(struct platform_device *pdev)
}
static const struct of_device_id otto_wdt_ids[] = {
+ { .compatible = "realtek,otto-wdt" },
+ /* Legacy bindings without fallback compatible */
{ .compatible = "realtek,rtl8380-wdt" },
{ .compatible = "realtek,rtl8390-wdt" },
{ .compatible = "realtek,rtl9300-wdt" },
--
2.54.0