]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
watchdog: versal: Use new compatible xlnx,versal-wwdt
authorMichal Simek <michal.simek@amd.com>
Tue, 13 Jun 2023 11:22:26 +0000 (13:22 +0200)
committerMichal Simek <michal.simek@amd.com>
Fri, 21 Jul 2023 07:00:38 +0000 (09:00 +0200)
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.

Link: https://lore.kernel.org/r/20230420104231.2243079-3-srinivas.neeli@amd.com/
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/6e78d0d2e21f2f9e7f8f448bb8e0d27ced4de7d3.1686655339.git.michal.simek@amd.com
drivers/watchdog/xilinx_wwdt.c

index d582e3cc8f41fd41e3b95550b249cba2480e2f0b..8b6fc30edbe360cf2514b2acf7e8996efa058dea 100644 (file)
@@ -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 */
        {},
 };