dt-bindings: Require child nodes type to be 'object'
Subsystems (4)
Rob Herring
maintainerPATCH 1/1 dt-bindings: Require child nodes type to be 'object'
A node is always an object (aka a dictionary), so make that explicit for child node schemas.
A meta-schema update will enforce having 'type' specified.
Cc Mark Rutland <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Jason Cooper <[email protected]>
Cc Marc Zyngier <[email protected]>
Cc Daniel Lezcano <[email protected]>
Signed-off-by Rob Herring <[email protected]>
--- Documentation/devicetree/bindings/arm/cpus.yaml | 1 + .../devicetree/bindings/interrupt-controller/arm,gic.yaml | 1 + Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml | 1 + 3 files changed, 3 insertions(+)
Documentation/devicetree/bindings/arm/cpus.yaml +1 -0
@@ -67,6 +67,7 @@ properties: patternProperties: '^cpu@[0-9a-f]+$': + type: object properties: device_type: const: cpu
Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml +1 -0
@@ -129,6 +129,7 @@ required: patternProperties: "^v2m@[0-9a-f]+$": + type: object description: | * GICv2m extension for MSI/MSI-x support (Optional)
Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml +1 -0
@@ -59,6 +59,7 @@ properties: patternProperties: '^frame@[0-9a-z]*$': + type: object description: A timer node has up to 8 frame sub-nodes, each with the following properties. properties: frame-number:
Signature · 1 line
2.19.1