diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-29 19:25:29 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-09-14 12:16:18 -0600 |
commit | af312c87774c96f271d277e9d97f38fb2a72b2d5 (patch) | |
tree | 0c71e231811266a9b584c0851a1601a4c0b5d349 /Documentation/devicetree | |
parent | 7c5798ab1fc537582a27e6f3a4319341859504ce (diff) | |
download | linux-af312c87774c96f271d277e9d97f38fb2a72b2d5.tar.gz linux-af312c87774c96f271d277e9d97f38fb2a72b2d5.tar.bz2 linux-af312c87774c96f271d277e9d97f38fb2a72b2d5.zip |
dt-bindings: display: samsung,amoled-mipi-dsi: Do not require enable-gpios on samsung,s6e63j0x03
The samsung,s6e63j0x03 does not have enable GPIO, so do not require it.
This fixes dtbs_check warning:
arch/arm/boot/dts/exynos3250-rinato.dt.yaml: panel@0: 'enable-gpios' is a required property
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200829172532.29358-1-krzk@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml b/Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml index 96bdde9298e0..ccc482570d6a 100644 --- a/Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml +++ b/Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml @@ -12,6 +12,17 @@ maintainers: allOf: - $ref: panel-common.yaml# + - if: + properties: + compatible: + contains: + enum: + - samsung,s6e3ha2 + - samsung,s6e3hf2 + then: + required: + - enable-gpios + properties: compatible: enum: @@ -39,7 +50,6 @@ required: - vdd3-supply - vci-supply - reset-gpios - - enable-gpios additionalProperties: false |