On Wed, Feb 03, 2021 at 09:59:02PM +0900, Damien Le Moal wrote: > Add the "canaan,k210-clint" compatible string to the Sifive clint > bindings to indicate the use of the "sifive,clint0" IP block in the > Canaan Kendryte K210 SoC. The description of the compatible string > property is also updated to reflect this addition. > > Cc: Anup Patel <anup.patel@xxxxxxx> > Cc: Rob Herring <robh@xxxxxxxxxx> > Cc: devicetree@xxxxxxxxxxxxxxx > Signed-off-by: Damien Le Moal <damien.lemoal@xxxxxxx> > Reviewed-by: Atish Patra <atish.patra@xxxxxxx> > --- > .../bindings/timer/sifive,clint.yaml | 19 +++++++++++++------ > 1 file changed, 13 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml > index 2a0e9cd9fbcf..1a7d582a208f 100644 > --- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml > +++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml > @@ -22,16 +22,23 @@ description: > > properties: > compatible: > - items: > - - const: sifive,fu540-c000-clint Use enum here too. > - - const: sifive,clint0 > + oneOf: > + - items: > + - const: sifive,fu540-c000-clint > + - const: sifive,clint0 > + > + - items: > + - const: canaan,k210-clint > + - const: sifive,clint0 > > description: > - Should be "sifive,<chip>-clint" and "sifive,clint<version>". > + Should be "<vendor>,<chip>-clint" and "sifive,clint<version>". > Supported compatible strings are - > "sifive,fu540-c000-clint" for the SiFive CLINT v0 as integrated > - onto the SiFive FU540 chip, and "sifive,clint0" for the SiFive > - CLINT v0 IP block with no chip integration tweaks. > + onto the SiFive FU540 chip, "canaan,k210-clint" for the SiFive > + CLINT v0 as integrated onto the Canaan Kendryte K210 chip, and > + "sifive,clint0" for the SiFive CLINT v0 IP block with no chip > + integration tweaks. > Please refer to sifive-blocks-ip-versioning.txt for details > > reg: > -- > 2.29.2 >