[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231011-dreamily-pristine-0335c0536fe2@spud>
Date: Wed, 11 Oct 2023 16:50:58 +0100
From: Conor Dooley <conor@...nel.org>
To: Javier Martinez Canillas <javierm@...hat.com>
Cc: devicetree@...r.kernel.org, Conor Dooley <conor+dt@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-kernel@...r.kernel.org, Maxime Ripard <mripard@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
dri-devel@...ts.freedesktop.org
Subject: Re: [PATCH 8/8] dt-bindings: display: Add SSD132x OLED controllers
On Wed, Oct 11, 2023 at 08:34:29AM +0200, Javier Martinez Canillas wrote:
> Conor Dooley <conor@...nel.org> writes:
> >> + # Only required for SPI
> >> + dc-gpios:
> >> + description:
> >> + GPIO connected to the controller's D/C# (Data/Command) pin,
> >> + that is needed for 4-wire SPI to tell the controller if the
> >> + data sent is for a command register or the display data RAM
> >> + maxItems: 1
> >> +
> >> + solomon,height:
> >> + $ref: /schemas/types.yaml#/definitions/uint32
> >> + description:
> >> + Height in pixel of the screen driven by the controller.
> >> + The default value is controller-dependent.
> >
> > You probably know better than me, operating in drm stuff, but are there
> > really no generic properties for the weidth/height of a display?
> >
>
> There are some common properties, such as the width-mm and height-mm for
> the panel-common:
>
> Documentation/devicetree/bindings/display/panel/panel-common.yaml
>
> But those are to describe the physical area expressed in millimeters and
> the Solomon drivers (the old ssd1307fb fbdev driver and the new ssd130x
> DRM driver for backward compatibility with existing DTB) express the width
> and height in pixels.
>
> That's why are Solomon controller specific properties "solomon,width" and
> "solomon,height".
Okay. Thanks for the explanation.
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists