[RFC][PATCH 1/3] dt-bindings: display: panel: mipi-dbi-spi: Make width-mm/height-mm mandatory
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Fri Apr 1 18:45:58 UTC 2022
On Fri, Apr 01, 2022 at 01:36:53PM -0500, Rob Herring wrote:
> On Fri, Apr 1, 2022 at 11:38 AM Marek Vasut <marex at denx.de> wrote:
> >
> > Make the width-mm/height-mm panel properties mandatory
> > to correctly report the panel dimensions to the OS.
>
> Adding required properties is an ABI break.
Only if drivers don't provide backward compatibility.
There's still the issue of validation warnings of course. We can ensure
that DT sources in the kernel are updated. For out-of-tree DT, I'll
argue that a validation warning is a good thing, it will notify that an
update is needed.
> > Signed-off-by: Marek Vasut <marex at denx.de>
> > Cc: Christoph Niedermaier <cniedermaier at dh-electronics.com>
> > Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> > Cc: Dmitry Osipenko <digetx at gmail.com>
> > Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> > Cc: Noralf Trønnes <noralf at tronnes.org>
> > Cc: Rob Herring <robh+dt at kernel.org>
> > Cc: Robert Foss <robert.foss at linaro.org>
> > Cc: Sam Ravnborg <sam at ravnborg.org>
> > Cc: Thomas Zimmermann <tzimmermann at suse.de>
> > Cc: devicetree at vger.kernel.org
> > To: dri-devel at lists.freedesktop.org
> > ---
> > .../devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml b/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml
> > index f29789994b18..c2df8d28aaf5 100644
> > --- a/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml
> > +++ b/Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml
> > @@ -83,6 +83,8 @@ properties:
> > required:
> > - compatible
> > - reg
> > + - width-mm
> > + - height-mm
> > - panel-timing
> >
> > unevaluatedProperties: false
--
Regards,
Laurent Pinchart
More information about the dri-devel
mailing list