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

dt-bindings: media: Fix more graph 'unevaluatedProperties' related warnings

The graph schema doesn't allow custom properties on endpoint nodes for
'#/properties/port' and '#/$defs/port-base' should be used instead. This
doesn't matter until 'unevaluatedProperties' support is implemented.

Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>
Cc: Jacopo Mondi <jacopo@jmondi.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: "Paul J. Murphy" <paul.j.murphy@intel.com>
Cc: Daniele Alessandrelli <daniele.alessandrelli@intel.com>
Cc: linux-media@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com>
Link: https://lore.kernel.org/r/20210820001457.1705142-1-robh@kernel.org

+4 -4
+1 -1
Documentation/devicetree/bindings/media/i2c/ovti,ov5647.yaml
··· 31 31 maxItems: 1 32 32 33 33 port: 34 - $ref: /schemas/graph.yaml#/properties/port 34 + $ref: /schemas/graph.yaml#/$defs/port-base 35 35 additionalProperties: false 36 36 37 37 properties:
+1 -1
Documentation/devicetree/bindings/media/i2c/ovti,ov9282.yaml
··· 38 38 39 39 port: 40 40 additionalProperties: false 41 - $ref: /schemas/graph.yaml#/properties/port 41 + $ref: /schemas/graph.yaml#/$defs/port-base 42 42 43 43 properties: 44 44 endpoint:
+1 -1
Documentation/devicetree/bindings/media/i2c/sony,imx335.yaml
··· 38 38 39 39 port: 40 40 additionalProperties: false 41 - $ref: /schemas/graph.yaml#/properties/port 41 + $ref: /schemas/graph.yaml#/$defs/port-base 42 42 43 43 properties: 44 44 endpoint:
+1 -1
Documentation/devicetree/bindings/media/i2c/sony,imx412.yaml
··· 38 38 39 39 port: 40 40 additionalProperties: false 41 - $ref: /schemas/graph.yaml#/properties/port 41 + $ref: /schemas/graph.yaml#/$defs/port-base 42 42 43 43 properties: 44 44 endpoint: