[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250814140119.GA2748790-robh@kernel.org>
Date: Thu, 14 Aug 2025 09:01:19 -0500
From: Rob Herring <robh@...nel.org>
To: Raphael Gallais-Pou <raphael.gallais-pou@...s.st.com>
Cc: Krzysztof Kozlowski <krzk@...nel.org>,
Yannick Fertre <yannick.fertre@...s.st.com>,
Philippe Cornu <philippe.cornu@...s.st.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Christophe Roullier <christophe.roullier@...s.st.com>,
dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 03/13] dt-bindings: display: st: add new compatible to
LVDS device
On Thu, Aug 14, 2025 at 02:36:47PM +0200, Raphael Gallais-Pou wrote:
>
>
> On 8/14/25 11:09, Krzysztof Kozlowski wrote:
> > On Tue, Aug 12, 2025 at 03:49:00PM +0200, Raphael Gallais-Pou wrote:
> >> Update the compatible to accept both "st,stm32mp255-lvds" and
> >> st,stm32mp25-lvds" respectively. Default will fall back to
> >> "st,stm32mp25-lvds".
> >>
> >> Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@...s.st.com>
> >> ---
> >> Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml | 8 +++++++-
> >> 1 file changed, 7 insertions(+), 1 deletion(-)
> >>
> >> diff --git a/Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml b/Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml
> >> index 6736f93256b5cebb558cda5250369ec4b1b3033c..b777c55626e4b322d77ef411ad9e4a3afb6c9131 100644
> >> --- a/Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml
> >> +++ b/Documentation/devicetree/bindings/display/st,stm32mp25-lvds.yaml
> >> @@ -31,7 +31,13 @@ description: |
> >>
> >> properties:
> >> compatible:
> >> - const: st,stm32mp25-lvds
> >> + oneOf:
> >> + - items:
> >> + - enum:
> >> + - st,stm32mp255-lvds
> >> + - const: st,stm32mp25-lvds
> >> + - items:
> > Drop. This should be just enum or const, no need for items.
>
> Why would items not be applicable in this case ? I want the compatible field to
> be either:
>
> compatible = "st,stm32mp255-lvds", "st,stm32mp25-lvds";
>
> or
>
> compatible = "st,stm32mp25-lvds";
Krzysztof is only talking about the 2nd 'items' here. For cases with a
single entry, you can skip 'items'. It's just a shorter version. Either
way will work the same.
Rob
Powered by blists - more mailing lists