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
..
2022-07-05 14:37:16 +02:00
2023-05-05 17:48:44 -04:00
2022-10-30 20:07:16 +01:00
2022-09-29 16:07:57 -04:00
2023-02-07 14:33:50 -05:00
2022-09-24 10:47:01 -04:00
2022-07-26 02:30:56 -06:00
2023-02-09 16:32:25 -05:00
2023-04-27 13:51:06 -04:00
2022-09-29 16:07:57 -04:00
2022-04-06 14:01:42 -04:00
2022-03-30 13:02:55 -04:00
2023-03-30 15:09:59 -04:00
2022-11-02 08:42:03 +01:00
2023-06-12 14:55:33 -04:00
2023-02-19 21:15:15 +01:00
2023-02-06 13:04:52 -05:00
2023-02-09 16:32:25 -05:00
2022-03-15 16:19:29 -04:00
2022-04-06 14:01:42 -04:00
2023-01-16 18:26:50 -05:00
2023-05-02 14:23:34 -04:00
2023-05-15 10:00:30 +02:00
2022-08-31 12:16:01 -04:00
2022-10-18 09:32:53 +08:00
2023-01-20 12:27:06 -05:00
2022-07-26 11:29:00 +02:00
2022-06-08 13:59:53 -04:00
2023-04-27 13:51:06 -04:00
2022-07-26 11:29:02 +02:00
2023-05-31 10:11:46 -04:00
2023-03-13 13:53:01 +01:00
2023-01-27 14:47:57 -05:00
2022-04-28 09:26:44 -04:00
2022-10-30 20:07:17 +01:00
2023-04-06 15:08:46 -04:00
2023-02-06 13:04:53 -05:00
2023-04-10 12:17:11 +09:00
2023-03-02 17:45:58 -05:00
2022-06-08 14:00:22 -04:00
2023-06-19 14:34:16 -04:00
2023-04-28 11:30:17 -06:00
2023-06-10 13:34:05 +02:00
2023-01-16 18:01:10 +08:00
2022-12-09 14:10:28 -05:00
2022-04-01 15:03:13 -04:00
2022-09-13 12:08:40 -04:00
2022-10-16 12:23:22 +02:00
2023-07-05 11:28:55 -04:00
2022-04-06 14:03:17 -04:00
2023-06-20 20:56:27 -04:00
2022-09-24 10:47:01 -04:00
2023-02-10 07:41:40 -05:00
2023-02-11 12:22:34 -05:00
2022-12-07 16:04:17 -05:00
2023-05-13 09:52:32 -04:00
2022-12-22 10:31:49 -05:00
2022-12-22 10:31:49 -05:00
2023-06-12 13:25:01 +02:00
2022-09-18 10:26:49 +02:00