Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99838f01 authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarRob Herring <robh@kernel.org>
parent b06ce821
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ properties:

patternProperties:
  '^cpu@[0-9a-f]+$':
    type: object
    properties:
      device_type:
        const: cpu
+1 −0
Original line number Diff line number Diff line
@@ -129,6 +129,7 @@ required:

patternProperties:
  "^v2m@[0-9a-f]+$":
    type: object
    description: |
      * GICv2m extension for MSI/MSI-x support (Optional)

+1 −0
Original line number Diff line number Diff line
@@ -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: