Commit 55442e6a authored by Rob Herring's avatar Rob Herring
Browse files

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: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarDaniele Alessandrelli <daniele.alessandrelli@intel.com>
Link: https://lore.kernel.org/r/20210820001457.1705142-1-robh@kernel.org
parent 55c21d57
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ properties:
    maxItems: 1

  port:
    $ref: /schemas/graph.yaml#/properties/port
    $ref: /schemas/graph.yaml#/$defs/port-base
    additionalProperties: false

    properties:
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ properties:

  port:
    additionalProperties: false
    $ref: /schemas/graph.yaml#/properties/port
    $ref: /schemas/graph.yaml#/$defs/port-base

    properties:
      endpoint:
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ properties:

  port:
    additionalProperties: false
    $ref: /schemas/graph.yaml#/properties/port
    $ref: /schemas/graph.yaml#/$defs/port-base

    properties:
      endpoint:
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ properties:

  port:
    additionalProperties: false
    $ref: /schemas/graph.yaml#/properties/port
    $ref: /schemas/graph.yaml#/$defs/port-base

    properties:
      endpoint: