]> 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)
commit09d9bac86fee843e56a45e9fc0eeb96308a63ba4
tree0e0935a9f107ac9074bb3e6dfaea1c7491114d16
parentd4932a258f12049f12b14da095a31cf8b6a8b27a
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