]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: interrupt-controller: arm,gic: Fix schema errors in example
authorRob Herring <robh@kernel.org>
Tue, 21 May 2019 18:09:26 +0000 (13:09 -0500)
committerRob Herring <robh@kernel.org>
Wed, 22 May 2019 14:06:11 +0000 (09:06 -0500)
commit26f7367f362da41fdf97b59019ba3aa1606dc1ee
tree0e0935a9f107ac9074bb3e6dfaea1c7491114d16
parent32ae60a6f8424db3a46cdc8ee3a90ad1be2da458
dt-bindings: interrupt-controller: arm,gic: Fix schema errors in example

Validating the examples against the schema have a few errors:

arm,gic.example.dt.yaml: 'ranges' does not match any of the regexes: '^v2m@[0-9a-f]+$', 'pinctrl-[0-9]+'
arm,gic.example.dt.yaml: #address-cells:0:0: 2 is not one of [0, 1]
arm,gic.example.dt.yaml: #size-cells:0:0: 1 was expected

'ranges' is valid, but missing from the schema, so add it. The reg
addresses and sizes don't match the schema requirements and the example
template. We could just override the example template to use 64-bit
addresses, but there's not really any value showing that in the example.

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