From: Rob Herring <robh@kernel.org>
To: Luca Ceresoli <luca.ceresoli@bootlin.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
Sam Ravnborg <sam@ravnborg.org>, David Airlie <airlied@gmail.com>,
Daniel Vetter <daniel@ffwll.ch>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Subject: Re: [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E
Date: Wed, 19 Jul 2023 13:02:54 -0600 [thread overview]
Message-ID: <20230719190254.GA578754-robh@kernel.org> (raw)
In-Reply-To: <20230719152147.355486-2-luca.ceresoli@bootlin.com>
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@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@bootlin.com>
> +
> +description:
> + This binding is for display panels using an Ilitek ILI9806E controller in
> + SPI mode.
> +
> +allOf:
> + - $ref: panel-common.yaml#
A SPI device should reference spi-peripheral-props.yaml as well.
> +
> +properties:
> + compatible:
> + items:
> + - enum:
> + # ShenZhen New Display Co 3.97" 480x800 RGB a-SI TFT LCD
> + - newdisplay,nds040480800-v3
> + - const: ilitek,ili9806e
> +
> + reg: true
maxItems: 1
> + spi-max-frequency: true
> + reset-gpios: true
> + backlight: true
> + port: true
Drop all these and ...
> +
> +required:
> + - compatible
> + - reg
> + - port
> +
> +additionalProperties: false
... use "unevaluatedProperties" instead.
> +
> +examples:
> + - |
> + #include <dt-bindings/gpio/gpio.h>
> +
> + backlight: backlight {
> + compatible = "gpio-backlight";
> + gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
> + };
The exact backlight is outside the scope of this binding and should be
dropped from the example.
> + spi {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + display@0 {
> + compatible = "newdisplay,nds040480800-v3", "ilitek,ili9806e";
> + reg = <0>;
> + spi-max-frequency = <1000000>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_lcdgpios>;
> + reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
> + backlight = <&backlight>;
> +
> + port {
> + ili9806e_in: endpoint {
> + remote-endpoint = <&lcdif_out>;
> + };
> + };
> + };
> + };
> +
> +...
next prev parent reply other threads:[~2023-07-19 19:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-19 15:21 [PATCH 1/3] dt-bindings: vendor-prefixes: add ShenZhen New Display Co Luca Ceresoli
2023-07-19 15:21 ` [PATCH 2/3] dt-bindings: display: panel: Add panels based on ILITEK ILI9806E Luca Ceresoli
2023-07-19 16:44 ` Conor Dooley
2023-07-20 13:52 ` Luca Ceresoli
2023-07-19 19:02 ` Rob Herring [this message]
2023-07-20 13:52 ` Luca Ceresoli
2023-07-24 14:31 ` Rob Herring
2023-07-19 19:12 ` Krzysztof Kozlowski
2023-07-20 13:52 ` Luca Ceresoli
2023-07-19 15:21 ` [PATCH 3/3] DRM: panel: add Ilitek ILI9806E driver Luca Ceresoli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230719190254.GA578754-robh@kernel.org \
--to=robh@kernel.org \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.ceresoli@bootlin.com \
--cc=neil.armstrong@linaro.org \
--cc=paul.kocialkowski@bootlin.com \
--cc=sam@ravnborg.org \
--cc=thomas.petazzoni@bootlin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).