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 <mark.rutland@arm.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
b06ce8218c
commit
99838f011a
|
@ -67,6 +67,7 @@ properties:
|
||||||
|
|
||||||
patternProperties:
|
patternProperties:
|
||||||
'^cpu@[0-9a-f]+$':
|
'^cpu@[0-9a-f]+$':
|
||||||
|
type: object
|
||||||
properties:
|
properties:
|
||||||
device_type:
|
device_type:
|
||||||
const: cpu
|
const: cpu
|
||||||
|
|
|
@ -129,6 +129,7 @@ required:
|
||||||
|
|
||||||
patternProperties:
|
patternProperties:
|
||||||
"^v2m@[0-9a-f]+$":
|
"^v2m@[0-9a-f]+$":
|
||||||
|
type: object
|
||||||
description: |
|
description: |
|
||||||
* GICv2m extension for MSI/MSI-x support (Optional)
|
* GICv2m extension for MSI/MSI-x support (Optional)
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,7 @@ properties:
|
||||||
|
|
||||||
patternProperties:
|
patternProperties:
|
||||||
'^frame@[0-9a-z]*$':
|
'^frame@[0-9a-z]*$':
|
||||||
|
type: object
|
||||||
description: A timer node has up to 8 frame sub-nodes, each with the following properties.
|
description: A timer node has up to 8 frame sub-nodes, each with the following properties.
|
||||||
properties:
|
properties:
|
||||||
frame-number:
|
frame-number:
|
||||||
|
|
Loading…
Reference in New Issue