[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230207203716.GA4104426-robh@kernel.org>
Date: Tue, 7 Feb 2023 14:37:16 -0600
From: Rob Herring <robh@...nel.org>
To: Sam Ravnborg <sam@...nborg.org>
Cc: Neil Armstrong <neil.armstrong@...aro.org>,
Thierry Reding <thierry.reding@...il.com>,
David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
dri-devel@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: display: panel: visionox,vtdr6130: add
missing reg property
On Tue, Feb 07, 2023 at 07:36:00PM +0100, Sam Ravnborg wrote:
> Hi Neil.
>
>
> On Tue, Feb 07, 2023 at 11:04:36AM +0100, Neil Armstrong wrote:
> > Add missing reg property and update example to add dsi top node.
> >
> > Fixes: ef85db911134 ("dt-bindings: display: panel: document the Visionox VTDR6130 AMOLED DSI Panel")
> > Signed-off-by: Neil Armstrong <neil.armstrong@...aro.org>
> > ---
> > .../bindings/display/panel/visionox,vtdr6130.yaml | 34 ++++++++++++++--------
> > 1 file changed, 22 insertions(+), 12 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/display/panel/visionox,vtdr6130.yaml b/Documentation/devicetree/bindings/display/panel/visionox,vtdr6130.yaml
> > index 49e2fd4b4e99..84562a5b710a 100644
> > --- a/Documentation/devicetree/bindings/display/panel/visionox,vtdr6130.yaml
> > +++ b/Documentation/devicetree/bindings/display/panel/visionox,vtdr6130.yaml
> > @@ -16,6 +16,10 @@ properties:
> > compatible:
> > const: visionox,vtdr6130
> >
> > + reg:
> > + maxItems: 1
> > + description: DSI virtual channel
> > +
> Other panels using dsi uses a simple
> " reg: true"
>
> I think that would suffice here too.
Yes, because dsi-controller.yaml restricts it to a single entry.
However, it's description says there can be more than 1 virtual channel
for a device. In that case, it shouldn't be restricted in
dsi-controller.yaml and the above with 'maxItems: 1' would be correct.
So I'd keep this as-is.
Acked-by: Rob Herring <robh@...nel.org>
Rob
Powered by blists - more mailing lists