Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: dt-bindings: Add missing unevaluatedProperties on child node schemas

Just as unevaluatedProperties or additionalProperties are required at
the top level of schemas, they should (and will) also be required for
child node schemas. That ensures only documented properties are
present for any node.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230925212803.1976803-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>

+4
+1
Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml
··· 54 54 55 55 port: 56 56 $ref: /schemas/graph.yaml#/$defs/port-base 57 + unevaluatedProperties: false 57 58 58 59 properties: 59 60 endpoint:
+2
Documentation/devicetree/bindings/media/i2c/toshiba,tc358746.yaml
··· 69 69 properties: 70 70 port@0: 71 71 $ref: /schemas/graph.yaml#/$defs/port-base 72 + unevaluatedProperties: false 72 73 description: Input port 73 74 74 75 properties: ··· 90 89 91 90 port@1: 92 91 $ref: /schemas/graph.yaml#/$defs/port-base 92 + unevaluatedProperties: false 93 93 description: Output port 94 94 95 95 properties:
+1
Documentation/devicetree/bindings/media/samsung,fimc.yaml
··· 57 57 patternProperties: 58 58 "^port@[01]$": 59 59 $ref: /schemas/graph.yaml#/$defs/port-base 60 + unevaluatedProperties: false 60 61 description: 61 62 Camera A and camera B inputs. 62 63