Bin Meng 5764acb261 riscv: timer: Update the sifive clint timer driver to support aclint
This RISC-V ACLINT specification [1] defines a set of memory mapped
devices which provide inter-processor interrupts (IPI) and timer
functionalities for each HART on a multi-HART RISC-V platform.

The RISC-V ACLINT specification is defined to be backward compatible
with the SiFive CLINT specification, however the device tree binding
is a new one. This change updates the sifive clint timer driver to
support ACLINT mtimer device, using a per-driver data field to hold
the mtimer offset to the base address encoded in the mtimer node.

[1] https://github.com/riscv/riscv-aclint/blob/main/riscv-aclint.adoc

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
2023-07-12 13:21:40 +08:00
..
2023-05-21 16:54:41 +02:00
2023-02-10 07:41:39 -05:00
2023-05-02 14:23:58 -04:00
2023-06-12 16:42:37 -04:00
2023-06-12 16:42:37 -04:00
2023-06-12 14:55:33 -04:00
2023-06-12 16:42:37 -04:00
2023-06-19 14:34:16 -04:00
2023-03-02 17:45:58 -05:00
2023-06-19 17:19:44 -04:00
2023-06-19 17:19:44 -04:00
2023-07-05 11:28:55 -04:00
2023-07-05 11:28:55 -04:00
2023-01-20 12:27:24 -05:00
2023-04-21 15:16:01 +08:00
2023-04-01 10:11:50 +02:00
2023-04-26 08:43:04 -04:00
2023-04-25 15:31:28 -04:00
2023-05-02 14:23:34 -04:00
2023-06-19 17:19:44 -04:00