Skip to contentSkip to conversation

watchdog: versal: Use new compatible xlnx,versal-wwdt

PATCH Applied Michal Simek 2 participants 3 messages Jun 13, 2023 – Jun 16, 2023

Subsystems (3)
lore
Share & tools
lore

Michal Simek

author maintainer
#0 lore raw

PATCH 1/1 watchdog: versal: Use new compatible xlnx,versal-wwdt

DT binding has been approved that's why use new compatible string. The old one is mark as deprecated and should be removed after some releases.

---

 drivers/watchdog/xilinx_wwdt.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/watchdog/xilinx_wwdt.c +2 -1
index d582e3cc8f41..8b6fc30edbe3 100644
@@ -191,7 +191,8 @@ static const struct wdt_ops xlnx_wwdt_ops = {
 };
 
 static const struct udevice_id xlnx_wwdt_ids[] = {
-	{ .compatible = "xlnx,versal-wwdt-1.0", },
+	{ .compatible = "xlnx,versal-wwdt", },
+	{ .compatible = "xlnx,versal-wwdt-1.0", }, /* deprecated */
 	{},
 };
 
Signature · 1 line
2.36.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Michal Simek

DT binding has been approved that's why use new compatible string. The old one is mark as deprecated and should be removed after some releases.

Thanks,
Stefan

Quoted 10 lines

---

  drivers/watchdog/xilinx_wwdt.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
drivers/watchdog/xilinx_wwdt.c +0 -0
index d582e3cc8f41..8b6fc30edbe3 100644

drivers/watchdog/xilinx_wwdt.c static const struct wdt_ops xlnx_wwdt_ops = { · line 198

Quoted 9 lines
drivers/watchdog/xilinx_wwdt.c +2 -1
@@ -191,7 +191,8 @@ static const struct wdt_ops xlnx_wwdt_ops = {
  };
 
  static const struct udevice_id xlnx_wwdt_ids[] = {
-	{ .compatible = "xlnx,versal-wwdt-1.0", },
+	{ .compatible = "xlnx,versal-wwdt", },
+	{ .compatible = "xlnx,versal-wwdt-1.0", }, /* deprecated */
  	{},
  };
 

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]
author maintainer Applied
#2 lore raw
In reply to Michal Simek
Quoted 16 lines · Michal Simek

DT binding has been approved that's why use new compatible string. The old one is mark as deprecated and should be removed after some releases.

---

  drivers/watchdog/xilinx_wwdt.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
drivers/watchdog/xilinx_wwdt.c +0 -0
index d582e3cc8f41..8b6fc30edbe3 100644

drivers/watchdog/xilinx_wwdt.c static const struct wdt_ops xlnx_wwdt_ops = { · line 198

Quoted 9 lines
drivers/watchdog/xilinx_wwdt.c +2 -1
@@ -191,7 +191,8 @@ static const struct wdt_ops xlnx_wwdt_ops = {
  };
 
  static const struct udevice_id xlnx_wwdt_ids[] = {
-	{ .compatible = "xlnx,versal-wwdt-1.0", },
+	{ .compatible = "xlnx,versal-wwdt", },
+	{ .compatible = "xlnx,versal-wwdt-1.0", }, /* deprecated */
  	{},
  };
 

Applied.
M