]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: interrupt-controller: Fix loongson,parent_int_map property schema
authorRob Herring <robh@kernel.org>
Thu, 9 Apr 2020 18:27:32 +0000 (12:27 -0600)
committerRob Herring <robh@kernel.org>
Tue, 14 Apr 2020 20:41:14 +0000 (15:41 -0500)
commit72b02d1392734d6b47f9913326b7209a0c7f77a4
tree9504483a69384303ffa0fcfe1ee4dbd96a9ffda7
parent477523ca05a8f1c0ad829760831718f85f387ab7
dt-bindings: interrupt-controller: Fix loongson,parent_int_map property schema

'loongson,parent_int_map' is an array, but the schema is defining a
matrix resulting in the follow warnings:

Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.example.dt.yaml:
  interrupt-controller@3ff01400: loongson,parent_int_map:0: [4043309055] is too short
Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.example.dt.yaml:
  interrupt-controller@3ff01400: loongson,parent_int_map:1: [251658240] is too short
Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.example.dt.yaml:
  interrupt-controller@3ff01400: loongson,parent_int_map:2: [0] is too short
Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.example.dt.yaml:
  interrupt-controller@3ff01400: loongson,parent_int_map:3: [0] is too short

The correct way to define an array is a list in 'items' and/or a size
defined by 'minItems' and 'maxItems'.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <maz@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/interrupt-controller/loongson,liointc.yaml