[PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E
Luca Ceresoli
luca.ceresoli at bootlin.com
Thu Jul 20 13:52:23 UTC 2023
Hello Conor,
thanks for reviewing.
On Wed, 19 Jul 2023 17:44:45 +0100
Conor Dooley <conor at kernel.org> wrote:
> Hey Luca,
>
> On Wed, Jul 19, 2023 at 05:21:46PM +0200, Luca Ceresoli wrote:
> > Add bindings for LCD panels based on the ILITEK ILI9806E RGB controller
> > connected over SPI and the "ShenZhen New Display Co NDS040480800-V3"
> > 480x800 panel based on it.
> >
> > Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
> > ---
> > .../display/panel/ilitek,ili9806e.yaml | 69 +++++++++++++++++++
> > MAINTAINERS | 6 ++
> > 2 files changed, 75 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
> > new file mode 100644
> > index 000000000000..42abc6923065
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9806e.yaml
> > @@ -0,0 +1,69 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/display/panel/ilitek,ili9806e.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Ilitek ILI9806E display panels
> > +
> > +maintainers:
> > + - Luca Ceresoli <luca.ceresoli at bootlin.com>
> > +
> > +description:
> > + This binding is for display panels using an Ilitek ILI9806E controller in
> > + SPI mode.
>
> I figure you explicitly mention SPI mode here because it also supports
> D{P,S}I?
Exactly, DSI is supported as well by the chip.
> > +allOf:
> > + - $ref: panel-common.yaml#
> > +
> > +properties:
> > + compatible:
> > + items:
> > + - enum:
> > + # ShenZhen New Display Co 3.97" 480x800 RGB a-SI TFT LCD
> > + - newdisplay,nds040480800-v3
> > + - const: ilitek,ili9806e
> > +
> > + reg: true
> > + spi-max-frequency: true
> > + reset-gpios: true
> > + backlight: true
> > + port: true
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - port
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + #include <dt-bindings/gpio/gpio.h>
> > +
> > + backlight: backlight {
> > + compatible = "gpio-backlight";
> > + gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
> > + };
> > + spi {
>
> Just a nit, a blank line between properties please. Clearly no
> respinning needed for that...
I agree. This comes from copy-paste from another bindings file so I'm
probably sending a separate series to fix it and avoid the same issue
in the future.
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the dri-devel
mailing list