Commit dd049e8f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring

dt-bindings: display: panel-simple-dsi: allow vddio variant

Few panels like Samsung s6e3fc2x01 and sofef00 use vddio-supply instead
of power-supply (in DTS and Linux driver), so allow it to fix:

  sdm845-oneplus-enchilada.dtb: panel@0: 'power-supply' is a required property
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230326155425.91181-3-krzysztof.kozlowski@linaro.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent 331b569f
...@@ -19,9 +19,6 @@ description: | ...@@ -19,9 +19,6 @@ description: |
If the panel is more advanced a dedicated binding file is required. If the panel is more advanced a dedicated binding file is required.
allOf:
- $ref: panel-common.yaml#
properties: properties:
compatible: compatible:
...@@ -67,12 +64,31 @@ properties: ...@@ -67,12 +64,31 @@ properties:
reset-gpios: true reset-gpios: true
port: true port: true
power-supply: true power-supply: true
vddio-supply: true
allOf:
- $ref: panel-common.yaml#
- if:
properties:
compatible:
enum:
- samsung,s6e3fc2x01
- samsung,sofef00
then:
properties:
power-supply: false
required:
- vddio-supply
else:
properties:
vddio-supply: false
required:
- power-supply
additionalProperties: false additionalProperties: false
required: required:
- compatible - compatible
- power-supply
- reg - reg
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment