]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commitdiff
dt-bindings: imx: fsl,aips-bus: Ensure all properties are defined
authorRob Herring (Arm) <robh@kernel.org>
Mon, 3 Feb 2025 21:30:26 +0000 (15:30 -0600)
committerRob Herring (Arm) <robh@kernel.org>
Thu, 13 Feb 2025 20:32:30 +0000 (14:32 -0600)
Device specific schemas should not allow undefined properties which is
what 'additionalProperties: true' allows. Add a reference to
simple-bus.yaml which has the additional properties used, and fix this
constraint.

Signed-off-by: "Rob Herring (Arm)" <robh@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20250203213027.8284-1-robh@kernel.org
Documentation/devicetree/bindings/soc/imx/fsl,aips-bus.yaml

index 80d99861fec55396bfa9831dca26a4fb6ebc02a7..70a4af650110b08066a923995c4bce2da79783cb 100644 (file)
@@ -22,6 +22,9 @@ select:
   required:
     - compatible
 
+allOf:
+  - $ref: /schemas/simple-bus.yaml#
+
 properties:
   compatible:
     items:
@@ -35,7 +38,7 @@ required:
   - compatible
   - reg
 
-additionalProperties: true
+unevaluatedProperties: false
 
 examples:
   - |