Skip to contentSkip to conversation

timer: sifive_clint: Support the official clint DT bindings

PATCH New Bin Meng 2 participants 3 messages Mar 27, 2021 – Apr 6, 2021 SiFive drivers

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 timer: sifive_clint: Support the official clint DT bindings

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.

---

 drivers/timer/sifive_clint_timer.c | 1 +
 1 file changed, 1 insertion(+)
drivers/timer/sifive_clint_timer.c +1 -0
index de7b4b95c9..939b99d937 100644
@@ -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" },
 	{ }
 };
 
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 1/1 timer: sifive_clint: Support the official clint DT bindings

Quoted 6 lines · Bin Meng

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.

Quoted 6 lines

---

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

Ping?

#2 lore raw

PATCH 1/1 timer: sifive_clint: Support the official clint DT bindings

In reply to Bin Meng
Quoted 26 lines · Bin Meng

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.

---

 drivers/timer/sifive_clint_timer.c | 1 +
 1 file changed, 1 insertion(+)
drivers/timer/sifive_clint_timer.c +1 -0
index de7b4b95c9..939b99d937 100644
@@ -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" },
 	{ }
 };
 
Signature · 1 line
2.25.1