dt-bindings: display: bridge: lvds-codec: Fix duplicate key
Subsystems (4)
PATCH 1/1 dt-bindings: display: bridge: lvds-codec: Fix duplicate key
From: Thierry Reding <[email protected]>
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.
--- .../bindings/display/bridge/lvds-codec.yaml | 43 ++++++++++--------- 1 file changed, 22 insertions(+), 21 deletions(-)
Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml +22 -21
@@ -94,31 +94,32 @@ properties: power-supply: true -if: - not: - properties: - compatible: - contains: - const: lvds-decoder -then: - properties: - ports: +allOf: + - if: + not: + properties: + compatible: + contains: + const: lvds-decoder + then: properties: - port@0: + ports: properties: - endpoint: + port@0: properties: - data-mapping: false + endpoint: + properties: + data-mapping: false -if: - not: - properties: - compatible: - contains: - const: lvds-encoder -then: - properties: - pclk-sample: false + - if: + not: + properties: + compatible: + contains: + const: lvds-encoder + then: + properties: + pclk-sample: false required: - compatible
Signature · 1 line
2.34.1
Quoted 7 lines · Thierry Reding
From: Thierry Reding <[email protected]>
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.
Quoted 5 lines
Fixes d7df3948eb49 ("dt-bindings: display: bridge: lvds-codec: Document pixel data sampling edge select")Signed-off-by Thierry Reding <[email protected]>--- .../bindings/display/bridge/lvds-codec.yaml | 43 ++++++++++--------- 1 file changed, 22 insertions(+), 21 deletions(-)
Thanks!
Rob Herring
maintainerQuoted 6 lines · Thierry Reding
From: Thierry Reding <[email protected]>
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.
Quoted 6 lines
Fixes d7df3948eb49 ("dt-bindings: display: bridge: lvds-codec: Document pixel data sampling edge select")Signed-off-by Thierry Reding <[email protected]>--- .../bindings/display/bridge/lvds-codec.yaml | 43 ++++++++++--------- 1 file changed, 22 insertions(+), 21 deletions(-)
I went ahead and applied to drm-misc, so linux-next is fixed.
Rob
Quoted 7 lines · Rob Herring
Quoted 6 lines · Thierry Reding
From: Thierry Reding <[email protected]>
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.
Quoted 8 lines
Quoted 6 lines
Fixes d7df3948eb49 ("dt-bindings: display: bridge: lvds-codec: Document pixel data sampling edge select")Signed-off-by Thierry Reding <[email protected]>--- .../bindings/display/bridge/lvds-codec.yaml | 43 ++++++++++--------- 1 file changed, 22 insertions(+), 21 deletions(-)I went ahead and applied to drm-misc, so linux-next is fixed.
Thank you