[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200829210652.GD796939@ravnborg.org>
Date: Sat, 29 Aug 2020 23:06:52 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Thierry Reding <thierry.reding@...il.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Rob Herring <robh+dt@...nel.org>,
Kukjin Kim <kgene@...nel.org>,
Hoegeun Kwon <hoegeun.kwon@...sung.com>,
dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org,
Marek Szyprowski <m.szyprowski@...sung.com>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Sylwester Nawrocki <snawrocki@...nel.org>
Subject: Re: [PATCH 1/4] dt-bindings: display: samsung,amoled-mipi-dsi: Do
not require enable-gpios on samsung,s6e63j0x03
On Sat, Aug 29, 2020 at 07:25:29PM +0200, Krzysztof Kozlowski wrote:
> 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
>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
Acked-by: Sam Ravnborg <sam@...nborg.org>
I expect this patch is picked up with the dts fixes.
Sam
> ---
> .../display/panel/samsung,amoled-mipi-dsi.yaml | 12 +++++++++++-
> 1 file changed, 11 insertions(+), 1 deletion(-)
>
> 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
>
> --
> 2.17.1
Powered by blists - more mailing lists