From: Sam Ravnborg <sam@ravnborg.org>
To: dri-devel@lists.freedesktop.org,
Thierry Reding <thierry.reding@gmail.com>,
Rob Herring <robh@kernel.org>,
devicetree@vger.kernel.org
Cc: Maxime Ripard <maxime.ripard@bootlin.com>,
Nikolaus Schaller <hns@goldelico.com>,
Jonathan Bakker <xc-racer2@live.ca>,
Sandeep Panda <spanda@codeaurora.org>,
Paul Cercueil <paul@crapouillou.net>,
Andrzej Hajda <a.hajda@samsung.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Chris Zhong <zyw@rock-chips.com>,
Marco Franchi <marco.franchi@nxp.com>,
Sam Ravnborg <sam@ravnborg.org>,
Stefan Mavrodiev <stefan@olimex.com>,
Jerry Han <hanxu5@huaqin.corp-partner.google.com>,
Hoegeun Kwon <hoegeun.kwon@samsung.com>,
Tony Lindgren <tony@atomide.com>,
Nickey Yang <nickey.yang@rock-chips.com>,
Tomi Valkeinen <tomi.valkeinen@ti.com>,
Jagan Teki <jagan@amarulasolutions.com>,
Robert Chiras <robert.chiras@nxp.com>,
Vinay Simha BN <simhavcs@gmail.com>,
Marek Belisko <marek@goldelico.com>, Heiko Schocher <hs@denx.de>,
Brian Masney <masneyb@onstation.org>,
Guido Gunther <agx@sigxcpu.org>, Mark Brown <broonie@kernel.org>,
Alexandre Courbot <acourbot@nvidia.com>,
Werner Johansson <werner.johansson@sonymobile.com>,
Purism Kernel Team <kernel@puri.sm>,
Peter Ujfalusi <peter.ujfalusi@ti.com>,
Lin Huang <hl@rock-chips.com>,
Douglas Anderson <dianders@chromium.org>,
linux-spi@vger.kernel.org, Peter Rosin <peda@axentia.se>
Subject: [PATCH v1 06/36] dt-bindings: display: convert ilitek, ili9322 to DT Schema
Date: Sun, 15 Mar 2020 14:43:46 +0100 [thread overview]
Message-ID: <20200315134416.16527-7-sam@ravnborg.org> (raw)
In-Reply-To: <20200315134416.16527-1-sam@ravnborg.org>
The .txt binding explains:
"
The following optional properties only apply to
RGB and YUV input modes and
can be omitted for BT.656 input modes:
"
This constraint is not implmented in the DT Schema.
The original binding from the .txt file referenced
properties that is included in panel-timing.yaml.
These properties are kept here as we want as close to a 1:1
conversion as we can. If the properties should be dropped
from the binding then this is a follow-up patch.
The properties in question are:
- pixelclk-active
- de-active
- hsync-active
- vsync-active
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
---
.../bindings/display/panel/ilitek,ili9322.txt | 49 ----------
.../display/panel/ilitek,ili9322.yaml | 90 +++++++++++++++++++
2 files changed, 90 insertions(+), 49 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9322.txt
create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml
diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.txt b/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.txt
deleted file mode 100644
index 3d5ce6ad6ec7..000000000000
--- a/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-Ilitek ILI9322 TFT panel driver with SPI control bus
-
-This is a driver for 320x240 TFT panels, accepting a variety of input
-streams that get adapted and scaled to the panel. The panel output has
-960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and
-VCOMH outputs.
-
-Required properties:
- - compatible: "dlink,dir-685-panel", "ilitek,ili9322"
- (full system-specific compatible is always required to look up configuration)
- - reg: address of the panel on the SPI bus
-
-Optional properties:
- - vcc-supply: core voltage supply, see regulator/regulator.txt
- - iovcc-supply: voltage supply for the interface input/output signals,
- see regulator/regulator.txt
- - vci-supply: voltage supply for analog parts, see regulator/regulator.txt
- - reset-gpios: a GPIO spec for the reset pin, see gpio/gpio.txt
-
- The following optional properties only apply to RGB and YUV input modes and
- can be omitted for BT.656 input modes:
-
- - pixelclk-active: see display/panel/display-timing.txt
- - de-active: see display/panel/display-timing.txt
- - hsync-active: see display/panel/display-timing.txt
- - vsync-active: see display/panel/display-timing.txt
-
-The panel must obey the rules for a SPI slave device as specified in
-spi/spi-bus.txt
-
-The device node can contain one 'port' child node with one child
-'endpoint' node, according to the bindings defined in
-media/video-interfaces.txt. This node should describe panel's video bus.
-
-Example:
-
-panel: display@0 {
- compatible = "dlink,dir-685-panel", "ilitek,ili9322";
- reg = <0>;
- vcc-supply = <&vdisp>;
- iovcc-supply = <&vdisp>;
- vci-supply = <&vdisp>;
-
- port {
- panel_in: endpoint {
- remote-endpoint = <&display_out>;
- };
- };
-};
diff --git a/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml b/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml
new file mode 100644
index 000000000000..9f165f12fc32
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml
@@ -0,0 +1,90 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/ilitek,ili9322.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ilitek ILI9322 TFT panel driver with SPI control bus
+
+maintainers:
+ - Linus Walleij <linus.walleij@linaro.org>
+
+description: |
+ This is a driver for 320x240 TFT panels, accepting a variety of input
+ streams that get adapted and scaled to the panel. The panel output has
+ 960 TFT source driver pins and 240 TFT gate driver pins, VCOM, VCOML and
+ VCOMH outputs.
+
+ The panel must obey the rules for a SPI slave device as specified in
+ spi/spi-bus.txt
+
+allOf:
+ - $ref: panel-common.yaml#
+ - $ref: ../../spi/spi-slave.yaml#
+
+properties:
+ compatible:
+ items:
+ - enum:
+ - dlink,dir-685-panel
+
+ - const: ilitek,ili9322
+
+ reset-gpios: true
+ port: true
+
+ vcc-supply:
+ description: Core voltage supply
+
+ iovcc-supply:
+ description: Voltage supply for the interface input/output signals
+
+ vci-supply:
+ description: Voltage supply for analog parts
+
+ pixelclk-active:
+ description: |
+ Optional property, applies only to RGB and YUV input modes and
+ can be omitted for BT.656 input modes
+
+ de-active:
+ description: |
+ Optional property, applies only to RGB and YUV input modes and
+ can be omitted for BT.656 input modes
+
+ hsync-active:
+ description: |
+ Optional property, applies only to RGB and YUV input modes and
+ can be omitted for BT.656 input modes
+
+ vsync-active:
+ description: |
+ Optional property, applies only to RGB and YUV input modes and
+ can be omitted for BT.656 input modes
+
+required:
+ - compatible
+ - reg
+
+examples:
+ - |
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel: display@0 {
+ compatible = "dlink,dir-685-panel", "ilitek,ili9322";
+ reg = <0>;
+ vcc-supply = <&vdisp>;
+ iovcc-supply = <&vdisp>;
+ vci-supply = <&vdisp>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&display_out>;
+ };
+ };
+ };
+ };
+
+...
--
2.20.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2020-03-15 13:44 UTC|newest]
Thread overview: 86+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-15 13:43 [PATCH v1 0/36] dt-bindings: display: convert remaning panel bindings to DT Schema Sam Ravnborg
2020-03-15 13:43 ` [PATCH v1 01/36] dt-bindings: display: add te-gpios to panel-common Sam Ravnborg
2020-03-15 13:43 ` [PATCH v1 02/36] dt-bindings: spi: support non-spi bindings as SPI slaves Sam Ravnborg
2020-03-15 16:24 ` Linus Walleij
2020-03-16 12:02 ` Mark Brown
2020-03-16 13:28 ` Sam Ravnborg
2020-03-16 16:35 ` Mark Brown
2020-03-16 18:57 ` Sam Ravnborg
2020-03-16 20:14 ` Mark Brown
2020-03-16 20:48 ` Maxime Ripard
2020-03-16 21:43 ` Sam Ravnborg
2020-03-17 9:02 ` Maxime Ripard
2020-03-17 11:39 ` Mark Brown
2020-03-15 13:43 ` [PATCH v1 03/36] dt-bindings: display: convert samsung, s6e63m0 to DT Schema Sam Ravnborg
2020-03-19 2:47 ` [PATCH v1 03/36] dt-bindings: display: convert samsung,s6e63m0 " Rob Herring
2020-03-15 13:43 ` [PATCH v1 04/36] dt-bindings: display: convert arm, versatile-tft-panel " Sam Ravnborg
2020-03-15 16:25 ` [PATCH v1 04/36] dt-bindings: display: convert arm,versatile-tft-panel " Linus Walleij
2020-03-19 2:48 ` Rob Herring
2020-03-15 13:43 ` [PATCH v1 05/36] dt-bindings: display: convert boe, himax8279d " Sam Ravnborg
2020-03-15 13:43 ` Sam Ravnborg [this message]
2020-03-15 18:54 ` [PATCH v1 06/36] dt-bindings: display: convert ilitek, ili9322 " Linus Walleij
2020-03-15 19:24 ` Sam Ravnborg
2020-03-15 13:43 ` [PATCH v1 07/36] dt-bindings: display: convert ilitek, ili9881c " Sam Ravnborg
2020-03-18 22:06 ` [PATCH v1 07/36] dt-bindings: display: convert ilitek,ili9881c " Rob Herring
2020-03-15 13:43 ` [PATCH v1 08/36] dt-bindings: display: convert feiyang, fy07024di26a30d " Sam Ravnborg
2020-03-18 10:46 ` [PATCH v1 08/36] dt-bindings: display: convert feiyang,fy07024di26a30d " Jagan Teki
2020-03-18 11:00 ` Sam Ravnborg
2020-03-15 13:43 ` [PATCH v1 09/36] dt-bindings: display: convert innolux, p079zca " Sam Ravnborg
2020-03-15 13:43 ` [PATCH v1 10/36] dt-bindings: display: convert innolux, p097pfg " Sam Ravnborg
2020-03-15 13:43 ` [PATCH v1 11/36] dt-bindings: display: convert innolux, p120zdg-bf1 " Sam Ravnborg
2020-03-16 20:41 ` [PATCH v1 11/36] dt-bindings: display: convert innolux,p120zdg-bf1 " Doug Anderson
2020-03-15 13:43 ` [PATCH v1 12/36] dt-bindings: display: convert jdi, lt070me05000 " Sam Ravnborg
2020-03-16 8:59 ` [PATCH v1 12/36] dt-bindings: display: convert jdi,lt070me05000 " Vinay Simha B N
2020-03-19 2:53 ` Rob Herring
2020-03-15 13:43 ` [PATCH v1 13/36] dt-bindings: display: convert kingdisplay, kd035g6-54nt " Sam Ravnborg
2020-03-17 11:32 ` [PATCH v1 13/36] dt-bindings: display: convert kingdisplay,kd035g6-54nt " Paul Cercueil
2020-03-15 13:43 ` [PATCH v1 14/36] dt-bindings: display: convert kingdisplay, kd097d04 " Sam Ravnborg
2020-03-15 13:43 ` [PATCH v1 15/36] dt-bindings: display: convert simple lg panels " Sam Ravnborg
2020-03-15 23:32 ` Brian Masney
2020-03-15 13:43 ` [PATCH v1 16/36] dt-bindings: display: convert lg, lg4573 " Sam Ravnborg
2020-03-16 4:56 ` [PATCH v1 16/36] dt-bindings: display: convert lg,lg4573 " Heiko Schocher
2020-03-19 2:56 ` Rob Herring
2020-03-15 13:43 ` [PATCH v1 17/36] dt-bindings: display: convert osddisplays, osd101t2587-53ts " Sam Ravnborg
2020-03-16 7:51 ` [PATCH v1 17/36] dt-bindings: display: convert osddisplays,osd101t2587-53ts " Tomi Valkeinen
2020-03-15 13:43 ` [PATCH v1 18/36] dt-bindings: display: convert raydium, rm67191 " Sam Ravnborg
2020-03-19 2:58 ` [PATCH v1 18/36] dt-bindings: display: convert raydium,rm67191 " Rob Herring
2020-03-19 3:22 ` Rob Herring
2020-03-15 13:43 ` [PATCH v1 19/36] dt-bindings: display: convert rocktech, jh057n00900 " Sam Ravnborg
2020-03-15 17:58 ` [PATCH v1 19/36] dt-bindings: display: convert rocktech,jh057n00900 " Guido Günther
2020-03-15 13:44 ` [PATCH v1 20/36] dt-bindings: display: convert samsung AMOLED " Sam Ravnborg
2020-03-15 13:44 ` [PATCH v1 21/36] dt-bindings: display: convert samsung, s6d16d0 " Sam Ravnborg
2020-03-15 18:56 ` Linus Walleij
2020-03-15 13:44 ` [PATCH v1 22/36] dt-bindings: display: convert samsung, ld9040 " Sam Ravnborg
2020-03-19 3:01 ` Rob Herring
2020-03-15 13:44 ` [PATCH v1 23/36] dt-bindings: display: convert samsung, s6e8aa0 " Sam Ravnborg
2020-03-15 13:44 ` [PATCH v1 24/36] dt-bindings: display: convert toppoly panels " Sam Ravnborg
2020-03-15 13:44 ` [PATCH v1 25/36] dt-bindings: display: convert startek, startek-kd050c " Sam Ravnborg
2020-03-15 13:44 ` [PATCH v1 26/36] dt-bindings: display: convert sony, acx565akm " Sam Ravnborg
2020-03-17 6:23 ` Tomi Valkeinen
2020-03-19 3:03 ` Rob Herring
2020-03-15 13:44 ` [PATCH v1 27/36] dt-bindings: display: convert sitronix, st7701 " Sam Ravnborg
2020-03-15 13:44 ` [PATCH v1 28/36] dt-bindings: display: convert sitronix, st7789v " Sam Ravnborg
2020-03-15 13:44 ` [PATCH v1 29/36] dt-bindings: display: drop unused simple-panel.txt Sam Ravnborg
2020-03-15 13:44 ` [PATCH v1 30/36] dt-bindings: display: convert sharp, ls043t1le01 to DT Schema Sam Ravnborg
2020-03-15 13:44 ` [PATCH v1 31/36] dt-bindings: display: convert sharp, lq101r1sx01 " Sam Ravnborg
2020-03-19 3:19 ` Rob Herring
2020-03-15 13:44 ` [PATCH v1 32/36] dt-bindings: display: convert sharp, ls037v7dw01 " Sam Ravnborg
2020-03-19 3:07 ` Rob Herring
2020-03-29 19:03 ` Sam Ravnborg
2020-03-31 17:20 ` Rob Herring
2020-03-31 19:13 ` Sam Ravnborg
2020-03-31 20:57 ` Rob Herring
2020-03-15 13:44 ` [PATCH v1 33/36] dt-bindings: display: convert sharp, lq150x1lg11 " Sam Ravnborg
2020-03-15 13:44 ` [PATCH v1 34/36] dt-bindings: display: convert seiko, 43wvf1g " Sam Ravnborg
2020-03-16 14:13 ` [PATCH v1 34/36] dt-bindings: display: convert seiko,43wvf1g " Marco Franchi
2020-03-15 13:44 ` [PATCH v1 35/36] dt-bindings: display: convert lgphilips, lb035q02 " Sam Ravnborg
2020-03-16 7:57 ` Tomi Valkeinen
2020-03-16 8:26 ` [PATCH v1 35/36] dt-bindings: display: convert lgphilips,lb035q02 " Sam Ravnborg
2020-03-16 8:42 ` [PATCH v1 35/36] dt-bindings: display: convert lgphilips, lb035q02 " Tomi Valkeinen
2020-03-16 8:53 ` [PATCH v1 35/36] dt-bindings: display: convert lgphilips,lb035q02 " Sam Ravnborg
2020-03-16 9:11 ` [PATCH v1 35/36] dt-bindings: display: convert lgphilips, lb035q02 " Tomi Valkeinen
2020-03-17 6:45 ` [PATCH v1 35/36] dt-bindings: display: convert lgphilips,lb035q02 " Sam Ravnborg
2020-03-15 13:44 ` [PATCH v1 36/36] dt-bindings: display: convert olimex, lcd-olinuxino " Sam Ravnborg
2020-03-19 3:11 ` [PATCH v1 36/36] dt-bindings: display: convert olimex,lcd-olinuxino " Rob Herring
2020-03-19 3:25 ` [PATCH v1 0/36] dt-bindings: display: convert remaning panel bindings " Rob Herring
2020-03-19 6:42 ` Sam Ravnborg
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=20200315134416.16527-7-sam@ravnborg.org \
--to=sam@ravnborg.org \
--cc=a.hajda@samsung.com \
--cc=acourbot@nvidia.com \
--cc=agx@sigxcpu.org \
--cc=broonie@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=hanxu5@huaqin.corp-partner.google.com \
--cc=hl@rock-chips.com \
--cc=hns@goldelico.com \
--cc=hoegeun.kwon@samsung.com \
--cc=hs@denx.de \
--cc=jagan@amarulasolutions.com \
--cc=kernel@puri.sm \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-spi@vger.kernel.org \
--cc=marco.franchi@nxp.com \
--cc=marek@goldelico.com \
--cc=masneyb@onstation.org \
--cc=maxime.ripard@bootlin.com \
--cc=nickey.yang@rock-chips.com \
--cc=paul@crapouillou.net \
--cc=peda@axentia.se \
--cc=peter.ujfalusi@ti.com \
--cc=robert.chiras@nxp.com \
--cc=robh@kernel.org \
--cc=simhavcs@gmail.com \
--cc=spanda@codeaurora.org \
--cc=stefan@olimex.com \
--cc=thierry.reding@gmail.com \
--cc=tomi.valkeinen@ti.com \
--cc=tony@atomide.com \
--cc=werner.johansson@sonymobile.com \
--cc=xc-racer2@live.ca \
--cc=zyw@rock-chips.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