Re: [PATCH v2 4/7] riscv: dts: sophgo: Separate common devices from cv1800b soc

From: Conor Dooley
Date: Sat Oct 14 2023 - 05:28:57 EST


> Maybe this has been discussed before but I didn't find it. I'm wondering
> the reason of adding each plic and clint binding for each SoC, can we
> just use the thead,c900-plic for plic?
> FWICT, arm gic dt usage follows this way, there's no binding for each SoC's
> gic but directly use "arm,gic-v3" and so on.

I'm not aware of why the gic-v3 is done like this, but having different
compatibles allows differentiation between implementations/integrations
of this interrupt controller. I think having that ability is especially
helpful given T-Head have open-sourced a bunch of their IP.

Attachment: signature.asc
Description: PGP signature