]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
dt-bindings: Require child nodes type to be 'object'
authorRob Herring <robh@kernel.org>
Fri, 15 Mar 2019 23:59:21 +0000 (18:59 -0500)
committerRob Herring <robh@kernel.org>
Wed, 10 Apr 2019 14:03:03 +0000 (09:03 -0500)
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>
Documentation/devicetree/bindings/arm/cpus.yaml
Documentation/devicetree/bindings/interrupt-controller/arm,gic.yaml
Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml

index 365dcf384d73922a22bc70a32e98444122bc4fa7..60eab6dc3c0b021280c859961499eb4f5026e27e 100644 (file)
@@ -67,6 +67,7 @@ properties:
 
 patternProperties:
   '^cpu@[0-9a-f]+$':
+    type: object
     properties:
       device_type:
         const: cpu
index 758fbd7128e73f78df77139bb0d613418365e16d..54838d4ea44cdac8914fbaf00b0ecd13d4c1d9e4 100644 (file)
@@ -129,6 +129,7 @@ required:
 
 patternProperties:
   "^v2m@[0-9a-f]+$":
+    type: object
     description: |
       * GICv2m extension for MSI/MSI-x support (Optional)
 
index c4ab59550fc2bebc73a464da3d09be29e44130eb..b3f0fe96ff0d4ed83c7b90606e5adf04fd44579b 100644 (file)
@@ -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: