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