All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] timer: sifive_clint: Support the official clint DT bindings
@ 2021-03-27 11:57 Bin Meng
  2021-04-02  1:54 ` Bin Meng
  2021-04-06  7:58 ` Leo Liang
  0 siblings, 2 replies; 3+ messages in thread
From: Bin Meng @ 2021-03-27 11:57 UTC (permalink / raw)
  To: u-boot

Linux kernel commit a2770b57d083 ("dt-bindings: timer: Add CLINT bindings")
adds the official DT bindings for CLINT, which uses "sifive,clint0"
as the compatible string. "riscv,clint0" is now legacy and has to
be kept for backward compatibility of legacy systems.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
---

 drivers/timer/sifive_clint_timer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/timer/sifive_clint_timer.c b/drivers/timer/sifive_clint_timer.c
index de7b4b95c9..939b99d937 100644
--- a/drivers/timer/sifive_clint_timer.c
+++ b/drivers/timer/sifive_clint_timer.c
@@ -54,6 +54,7 @@ static int sifive_clint_probe(struct udevice *dev)
 
 static const struct udevice_id sifive_clint_ids[] = {
 	{ .compatible = "riscv,clint0" },
+	{ .compatible = "sifive,clint0" },
 	{ }
 };
 
-- 
2.25.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] timer: sifive_clint: Support the official clint DT bindings
  2021-03-27 11:57 [PATCH] timer: sifive_clint: Support the official clint DT bindings Bin Meng
@ 2021-04-02  1:54 ` Bin Meng
  2021-04-06  7:58 ` Leo Liang
  1 sibling, 0 replies; 3+ messages in thread
From: Bin Meng @ 2021-04-02  1:54 UTC (permalink / raw)
  To: u-boot

On Sat, Mar 27, 2021 at 7:57 PM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> Linux kernel commit a2770b57d083 ("dt-bindings: timer: Add CLINT bindings")
> adds the official DT bindings for CLINT, which uses "sifive,clint0"
> as the compatible string. "riscv,clint0" is now legacy and has to
> be kept for backward compatibility of legacy systems.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
>
>  drivers/timer/sifive_clint_timer.c | 1 +
>  1 file changed, 1 insertion(+)
>

Ping?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] timer: sifive_clint: Support the official clint DT bindings
  2021-03-27 11:57 [PATCH] timer: sifive_clint: Support the official clint DT bindings Bin Meng
  2021-04-02  1:54 ` Bin Meng
@ 2021-04-06  7:58 ` Leo Liang
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Liang @ 2021-04-06  7:58 UTC (permalink / raw)
  To: u-boot

On Sat, Mar 27, 2021 at 07:57:35PM +0800, Bin Meng wrote:
> Linux kernel commit a2770b57d083 ("dt-bindings: timer: Add CLINT bindings")
> adds the official DT bindings for CLINT, which uses "sifive,clint0"
> as the compatible string. "riscv,clint0" is now legacy and has to
> be kept for backward compatibility of legacy systems.
> 
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> ---
> 
>  drivers/timer/sifive_clint_timer.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/timer/sifive_clint_timer.c b/drivers/timer/sifive_clint_timer.c
> index de7b4b95c9..939b99d937 100644
> --- a/drivers/timer/sifive_clint_timer.c
> +++ b/drivers/timer/sifive_clint_timer.c
> @@ -54,6 +54,7 @@ static int sifive_clint_probe(struct udevice *dev)
>  
>  static const struct udevice_id sifive_clint_ids[] = {
>  	{ .compatible = "riscv,clint0" },
> +	{ .compatible = "sifive,clint0" },
>  	{ }
>  };
>  
> -- 
> 2.25.1
> 

Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-06  7:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-27 11:57 [PATCH] timer: sifive_clint: Support the official clint DT bindings Bin Meng
2021-04-02  1:54 ` Bin Meng
2021-04-06  7:58 ` Leo Liang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.