Message ID | b2409de8943b56dfda2c972f4fe566a381be07a7.1639744468.git.geert@linux-m68k.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | dt-bindings: timer: sifive, clint: Miscellaneous improvements | expand |
On Fri, Dec 17, 2021 at 01:38:04PM +0100, Geert Uytterhoeven wrote: > To improve human readability and enable automatic validation, the tuples > in "interrupts-extended" properties should be grouped using angle > brackets. > > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> > --- > v3: > - Add Reviewed-by, Did you? ;) Reviewed-by: Rob Herring <robh@kernel.org> > > v2: > - Split in two patches. > --- > Documentation/devicetree/bindings/timer/sifive,clint.yaml | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml > index b75fd6f982b1ecb3..3b25ec37d81159cb 100644 > --- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml > +++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml > @@ -57,10 +57,10 @@ examples: > - | > timer@2000000 { > compatible = "sifive,fu540-c000-clint", "sifive,clint0"; > - interrupts-extended = <&cpu1intc 3 &cpu1intc 7 > - &cpu2intc 3 &cpu2intc 7 > - &cpu3intc 3 &cpu3intc 7 > - &cpu4intc 3 &cpu4intc 7>; > + interrupts-extended = <&cpu1intc 3>, <&cpu1intc 7>, > + <&cpu2intc 3>, <&cpu2intc 7>, > + <&cpu3intc 3>, <&cpu3intc 7>, > + <&cpu4intc 3>, <&cpu4intc 7>; > reg = <0x2000000 0x10000>; > }; > ... > -- > 2.25.1 > >
diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml index b75fd6f982b1ecb3..3b25ec37d81159cb 100644 --- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml +++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml @@ -57,10 +57,10 @@ examples: - | timer@2000000 { compatible = "sifive,fu540-c000-clint", "sifive,clint0"; - interrupts-extended = <&cpu1intc 3 &cpu1intc 7 - &cpu2intc 3 &cpu2intc 7 - &cpu3intc 3 &cpu3intc 7 - &cpu4intc 3 &cpu4intc 7>; + interrupts-extended = <&cpu1intc 3>, <&cpu1intc 7>, + <&cpu2intc 3>, <&cpu2intc 7>, + <&cpu3intc 3>, <&cpu3intc 7>, + <&cpu4intc 3>, <&cpu4intc 7>; reg = <0x2000000 0x10000>; }; ...
To improve human readability and enable automatic validation, the tuples in "interrupts-extended" properties should be grouped using angle brackets. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- v3: - Add Reviewed-by, v2: - Split in two patches. --- Documentation/devicetree/bindings/timer/sifive,clint.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)