public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Leo Liang <ycliang@andestech.com>
To: u-boot@lists.denx.de
Subject: [PATCH] timer: sifive_clint: Support the official clint DT bindings
Date: Tue, 6 Apr 2021 15:58:42 +0800	[thread overview]
Message-ID: <20210406075842.GA25452@atcfdc88> (raw)
In-Reply-To: <20210327115735.27743-1-bmeng.cn@gmail.com>

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>

      parent reply	other threads:[~2021-04-06  7:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210406075842.GA25452@atcfdc88 \
    --to=ycliang@andestech.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox