Message ID | 6e78d0d2e21f2f9e7f8f448bb8e0d27ced4de7d3.1686655339.git.michal.simek@amd.com |
---|---|
State | Accepted |
Commit | a24a1a19efca18a837d26a2cb6732ced47c3f071 |
Delegated to: | Michal Simek |
Headers | show |
Series | watchdog: versal: Use new compatible xlnx,versal-wwdt | expand |
On 6/13/23 13:22, Michal Simek wrote: > 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/ > Signed-off-by: Michal Simek <michal.simek@amd.com> Reviewed-by: Stefan Roese <sr@denx.de> Thanks, Stefan > --- > > drivers/watchdog/xilinx_wwdt.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/watchdog/xilinx_wwdt.c b/drivers/watchdog/xilinx_wwdt.c > index d582e3cc8f41..8b6fc30edbe3 100644 > --- a/drivers/watchdog/xilinx_wwdt.c > +++ b/drivers/watchdog/xilinx_wwdt.c > @@ -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
On 6/13/23 13:22, Michal Simek wrote: > 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/ > Signed-off-by: Michal Simek <michal.simek@amd.com> > --- > > drivers/watchdog/xilinx_wwdt.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/watchdog/xilinx_wwdt.c b/drivers/watchdog/xilinx_wwdt.c > index d582e3cc8f41..8b6fc30edbe3 100644 > --- a/drivers/watchdog/xilinx_wwdt.c > +++ b/drivers/watchdog/xilinx_wwdt.c > @@ -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
diff --git a/drivers/watchdog/xilinx_wwdt.c b/drivers/watchdog/xilinx_wwdt.c index d582e3cc8f41..8b6fc30edbe3 100644 --- a/drivers/watchdog/xilinx_wwdt.c +++ b/drivers/watchdog/xilinx_wwdt.c @@ -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 */ {}, };
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/ Signed-off-by: Michal Simek <michal.simek@amd.com> --- drivers/watchdog/xilinx_wwdt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)