]> www.infradead.org Git - linux-platform-drivers-x86.git/commitdiff
media: dt-bindings: media: renesas,drif: Fix fck definition
authorFabrizio Castro <fabrizio.castro.jz@renesas.com>
Thu, 8 Apr 2021 20:24:36 +0000 (21:24 +0100)
committerRob Herring <robh@kernel.org>
Wed, 9 Jun 2021 01:03:57 +0000 (20:03 -0500)
dt_binding_check reports the below error with the latest schema:

Documentation/devicetree/bindings/media/renesas,drif.yaml:
  properties:clock-names:maxItems: False schema does not allow 1
Documentation/devicetree/bindings/media/renesas,drif.yaml:
  ignoring, error in schema: properties: clock-names: maxItems

This patch fixes the problem.

Signed-off-by: Fabrizio Castro <fabrizio.castro.jz@renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210408202436.3706-1-fabrizio.castro.jz@renesas.com
Documentation/devicetree/bindings/media/renesas,drif.yaml

index ce505a7c006aac60a0b48726f55c6a433e63e887..9cd56ff2c316cd0e5f88c8737d1cc6a132683d06 100644 (file)
@@ -67,9 +67,7 @@ properties:
     maxItems: 1
 
   clock-names:
-    maxItems: 1
-    items:
-      - const: fck
+    const: fck
 
   resets:
     maxItems: 1