riscv: aclint_ipi: Support T-Head C900 CLINT
authorYao Zi <ziyao@disroot.org>
Fri, 6 Jun 2025 04:28:00 +0000 (04:28 +0000)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 3 Jul 2025 08:14:13 +0000 (16:14 +0800)
commit4153ceb0fe4f8c866e45fbf149cebb05f0f8405f
tree12a28ac8af38a75f898e70f2b7ba01c3296a8b00
parentc405bab7661dd60420e97a4edeb3162e9d7e02c5
riscv: aclint_ipi: Support T-Head C900 CLINT

Although timer component of the CLINT isn't fully compatible with the
generic RISC-V ACLINT, the IPI component behaves the same.

As the CLINT doesn't have corresponding riscv_aclint_timer driver
available, let's try looking for a compatible SYSCON device directly
when no riscv_aclint_timer device could be found on IPI initialization.

Signed-off-by: Yao Zi <ziyao@disroot.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/lib/aclint_ipi.c