From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Liang Date: Tue, 6 Apr 2021 15:58:42 +0800 Subject: [PATCH] timer: sifive_clint: Support the official clint DT bindings In-Reply-To: <20210327115735.27743-1-bmeng.cn@gmail.com> References: <20210327115735.27743-1-bmeng.cn@gmail.com> Message-ID: <20210406075842.GA25452@atcfdc88> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > > 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