[PATCH V2 1/2] dt-bindings: update riscv plic compatible string
Guo Ren
guoren at kernel.org
Tue Oct 12 17:41:04 PDT 2021
On Tue, Oct 12, 2021 at 11:41 PM Heiko Stübner <heiko at sntech.de> wrote:
>
> Hi,
>
> Am Dienstag, 12. Oktober 2021, 17:34:31 CEST schrieb guoren at kernel.org:
> > From: Guo Ren <guoren at linux.alibaba.com>
> >
> > Add the compatible string "thead,c9xx-plic" to the riscv plic
> > bindings to support SOCs with thead,c9xx processor cores.
> >
> > Signed-off-by: Guo Ren <guoren at linux.alibaba.com>
> > Cc: Rob Herring <robh at kernel.org>
> > Cc: Palmer Dabbelt <palmerdabbelt at google.com>
> > Cc: Anup Patel <anup at brainfault.org>
> > Cc: Atish Patra <atish.patra at wdc.com>
> > ---
> > .../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
> > index 08d5a57ce00f..202eb7666f9b 100644
> > --- a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
> > +++ b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
> > @@ -46,6 +46,7 @@ properties:
> > - enum:
> > - sifive,fu540-c000-plic
> > - canaan,k210-plic
> > + - thead,c9xx-plic
>
> Devicetree bindings shouldn't use asterisks (the xx-part).
> Instead you want (probably)
>
> + - thead,c906-plic
> + - thead,c910-plic
Okay, remove xx-part. But I will use thread,c900-plic for all of them.
>
> to name the specific SoCs that plic is used on
>
>
> Heiko
>
> > - const: sifive,plic-1.0.0
> >
> > reg:
> >
>
>
>
>
--
Best Regards
Guo Ren
ML: https://lore.kernel.org/linux-csky/
More information about the linux-riscv
mailing list