Commit 5da8b49d authored by Thierry Reding's avatar Thierry Reding Committed by Rob Herring
Browse files

dt-bindings: display: bridge: lvds-codec: Fix duplicate key



In order to validate multiple "if" conditionals, they must be part of an
"allOf:" list, otherwise they will cause a failure in parsing the schema
because of the duplicated "if" property.

Fixes: d7df3948 ("dt-bindings: display: bridge: lvds-codec: Document pixel data sampling edge select")
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211220125147.519880-1-thierry.reding@gmail.com
parent 58fa0d90
Loading
Loading
Loading
Loading
+22 −21
Original line number Diff line number Diff line
@@ -94,7 +94,8 @@ properties:

  power-supply: true

if:
allOf:
  - if:
      not:
        properties:
          compatible:
@@ -110,7 +111,7 @@ then:
                  properties:
                    data-mapping: false

if:
  - if:
      not:
        properties:
          compatible: