From: Sam Ravnborg <sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
Thierry Reding
<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Alexandre Courbot
<acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
Andrzej Hajda <a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
Brian Masney <masneyb-1iNe0GrtECGEi8DpZVb4nw@public.gmane.org>,
Chris Zhong <zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org>,
Douglas Anderson
<dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
Guido Gunther <agx-wGvLLbajjwFAfugRpC6u6w@public.gmane.org>,
Heiko Schocher <hs-ynQEQJNshbs@public.gmane.org>,
Nikolaus Schaller <hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>,
Hoegeun Kwon
<hoegeun.kwon-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
Jagan Teki
<jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>,
Jerry Han
<hanxu5-dyavHbARFqWrZjcNGxgArdPArS5jOdiE2SarAXORi/o@public.gmane.org>,
Jonathan Bakker <xc-racer2-kt+e9JA1QaI@public.gmane.org>,
Laurent Pinchart
<laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org>,
Lin Huang <hl-TNX95d0MmH7DzftRWevZcw@public.gmane.org>,
Linus Walleij
<linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Marco Franchi <marco.franchi-3arQi8VN3Tc@public.gmane.org>,
Marek Belisko <marek-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org>,
Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Maxime Ripard <maxime.ripard@bootl
Subject: [PATCH v1 31/36] dt-bindings: display: convert sharp,lq101r1sx01 to DT Schema
Date: Sun, 15 Mar 2020 14:44:11 +0100 [thread overview]
Message-ID: <20200315134416.16527-32-sam@ravnborg.org> (raw)
In-Reply-To: <20200315134416.16527-1-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
This bindings describes a panel with a secondary channel.
A few of the properties are only required for the
main (non-secondary) node.
This is properly described in the binding.
A few properties are only valid for the main node,
this is not described in the binding.
I failed to find a way to describe it.
Signed-off-by: Sam Ravnborg <sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
Cc: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Sam Ravnborg <sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
---
.../display/panel/sharp,lq101r1sx01.txt | 49 ------------
.../display/panel/sharp,lq101r1sx01.yaml | 78 +++++++++++++++++++
2 files changed, 78 insertions(+), 49 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.txt
create mode 100644 Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml
diff --git a/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.txt b/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.txt
deleted file mode 100644
index f522bb8e47e1..000000000000
--- a/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.txt
+++ /dev/null
@@ -1,49 +0,0 @@
-Sharp Microelectronics 10.1" WQXGA TFT LCD panel
-
-This panel requires a dual-channel DSI host to operate. It supports two modes:
-- left-right: each channel drives the left or right half of the screen
-- even-odd: each channel drives the even or odd lines of the screen
-
-Each of the DSI channels controls a separate DSI peripheral. The peripheral
-driven by the first link (DSI-LINK1), left or even, is considered the primary
-peripheral and controls the device. The 'link2' property contains a phandle
-to the peripheral driven by the second link (DSI-LINK2, right or odd).
-
-Note that in video mode the DSI-LINK1 interface always provides the left/even
-pixels and DSI-LINK2 always provides the right/odd pixels. In command mode it
-is possible to program either link to drive the left/even or right/odd pixels
-but for the sake of consistency this binding assumes that the same assignment
-is chosen as for video mode.
-
-Required properties:
-- compatible: should be "sharp,lq101r1sx01"
-- reg: DSI virtual channel of the peripheral
-
-Required properties (for DSI-LINK1 only):
-- link2: phandle to the DSI peripheral on the secondary link. Note that the
- presence of this property marks the containing node as DSI-LINK1.
-- power-supply: phandle of the regulator that provides the supply voltage
-
-Optional properties (for DSI-LINK1 only):
-- backlight: phandle of the backlight device attached to the panel
-
-Example:
-
- dsi@54300000 {
- panel: panel@0 {
- compatible = "sharp,lq101r1sx01";
- reg = <0>;
-
- link2 = <&secondary>;
-
- power-supply = <...>;
- backlight = <...>;
- };
- };
-
- dsi@54400000 {
- secondary: panel@0 {
- compatible = "sharp,lq101r1sx01";
- reg = <0>;
- };
- };
diff --git a/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml b/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml
new file mode 100644
index 000000000000..81bbd8872110
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml
@@ -0,0 +1,78 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/sharp,lq101r1sx01.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Sharp Microelectronics 10.1" WQXGA TFT LCD panel
+
+maintainers:
+ - Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
+
+description: |
+ This panel requires a dual-channel DSI host to operate. It supports two modes:
+ - left-right: each channel drives the left or right half of the screen
+ - even-odd: each channel drives the even or odd lines of the screen
+
+ Each of the DSI channels controls a separate DSI peripheral. The peripheral
+ driven by the first link (DSI-LINK1), left or even, is considered the primary
+ peripheral and controls the device. The 'link2' property contains a phandle
+ to the peripheral driven by the second link (DSI-LINK2, right or odd).
+
+ Note that in video mode the DSI-LINK1 interface always provides the left/even
+ pixels and DSI-LINK2 always provides the right/odd pixels. In command mode it
+ is possible to program either link to drive the left/even or right/odd pixels
+ but for the sake of consistency this binding assumes that the same assignment
+ is chosen as for video mode.
+
+allOf:
+ - $ref: panel-common.yaml#
+
+properties:
+ compatible:
+ const: sharp,lq101r1sx01
+
+ reg: true
+ power-supply: true
+ backlight: true
+
+ link2:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description: |
+ phandle to the DSI peripheral on the secondary link. Note that the
+ presence of this property marks the containing node as DSI-LINK1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ dsi0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel: panel@0 {
+ compatible = "sharp,lq101r1sx01";
+ reg = <0>;
+
+ link2 = <&secondary>;
+
+ power-supply = <&power>;
+ backlight = <&backlight>;
+ };
+ };
+
+ dsi1 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ secondary: panel@0 {
+ compatible = "sharp,lq101r1sx01";
+ reg = <0>;
+ };
+ };
+
+...
--
2.20.1
next prev parent reply other threads:[~2020-03-15 13:44 UTC|newest]
Thread overview: 84+ 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
[not found] ` <20200315134416.16527-1-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
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
[not found] ` <20200315134416.16527-3-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-15 16:24 ` Linus Walleij
2020-03-16 12:02 ` Mark Brown
[not found] ` <20200316120239.GC5010-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2020-03-16 13:28 ` Sam Ravnborg
[not found] ` <20200316132844.GA22822-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-16 16:35 ` Mark Brown
[not found] ` <20200316163538.GJ5010-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2020-03-16 18:57 ` Sam Ravnborg
[not found] ` <20200316185733.GA18307-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-16 20:14 ` Mark Brown
2020-03-16 20:48 ` Maxime Ripard
[not found] ` <20200316204850.gggeyjulgiy53i7x-2DbqMqoCcjvhXIiyNabO3w@public.gmane.org>
2020-03-16 21:43 ` Sam Ravnborg
[not found] ` <20200316214346.GA23637-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
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
[not found] ` <20200315134416.16527-4-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-19 2:47 ` Rob Herring
2020-03-15 13:43 ` [PATCH v1 04/36] dt-bindings: display: convert arm,versatile-tft-panel " Sam Ravnborg
[not found] ` <20200315134416.16527-5-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-15 16:25 ` 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 ` [PATCH v1 06/36] dt-bindings: display: convert ilitek,ili9322 " Sam Ravnborg
[not found] ` <20200315134416.16527-7-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-15 18:54 ` Linus Walleij
[not found] ` <CACRpkdYVrTBKxuHSGpd9=03oD4=JVxzJf8fOcQ8uu5eRt9PgAg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-03-15 19:24 ` Sam Ravnborg
2020-03-15 13:43 ` [PATCH v1 07/36] dt-bindings: display: convert ilitek,ili9881c " Sam Ravnborg
[not found] ` <20200315134416.16527-8-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-18 22:06 ` Rob Herring
2020-03-15 13:43 ` [PATCH v1 08/36] dt-bindings: display: convert feiyang,fy07024di26a30d " Sam Ravnborg
[not found] ` <20200315134416.16527-9-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-18 10:46 ` Jagan Teki
[not found] ` <CAMty3ZD2kuD0nwWXDAD6R58Z2GFy1Ap7HfnEtYqwARQqs0nMfQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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
[not found] ` <20200315134416.16527-12-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-16 20:41 ` Doug Anderson
2020-03-15 13:43 ` [PATCH v1 12/36] dt-bindings: display: convert jdi,lt070me05000 " Sam Ravnborg
[not found] ` <20200315134416.16527-13-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-16 8:59 ` 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-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
[not found] ` <20200315134416.16527-16-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-15 23:32 ` Brian Masney
2020-03-15 13:43 ` [PATCH v1 16/36] dt-bindings: display: convert lg,lg4573 " Sam Ravnborg
[not found] ` <20200315134416.16527-17-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-16 4:56 ` 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
[not found] ` <20200315134416.16527-18-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-16 7:51 ` Tomi Valkeinen
2020-03-15 13:43 ` [PATCH v1 18/36] dt-bindings: display: convert raydium,rm67191 " Sam Ravnborg
[not found] ` <20200315134416.16527-19-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-19 2:58 ` 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
[not found] ` <20200315134416.16527-20-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-15 17:58 ` 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
[not found] ` <20200315134416.16527-22-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-15 18:56 ` Linus Walleij
2020-03-15 13:44 ` [PATCH v1 22/36] dt-bindings: display: convert samsung,ld9040 " Sam Ravnborg
[not found] ` <20200315134416.16527-23-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
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
[not found] ` <20200315134416.16527-27-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
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 ` Sam Ravnborg [this message]
[not found] ` <20200315134416.16527-32-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-19 3:19 ` [PATCH v1 31/36] dt-bindings: display: convert sharp,lq101r1sx01 " Rob Herring
2020-03-15 13:44 ` [PATCH v1 32/36] dt-bindings: display: convert sharp,ls037v7dw01 " Sam Ravnborg
[not found] ` <20200315134416.16527-33-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
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-15 13:44 ` [PATCH v1 35/36] dt-bindings: display: convert lgphilips,lb035q02 " Sam Ravnborg
[not found] ` <20200315134416.16527-36-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-16 7:57 ` Tomi Valkeinen
[not found] ` <a73da9d3-43b2-3ce7-85e9-8135dbf48e98-l0cyMroinI0@public.gmane.org>
2020-03-16 8:26 ` Sam Ravnborg
[not found] ` <20200316082607.GA18510-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-16 8:42 ` Tomi Valkeinen
[not found] ` <a634d733-4b88-9d5a-09a1-c9551d8a077a-l0cyMroinI0@public.gmane.org>
2020-03-16 8:53 ` Sam Ravnborg
[not found] ` <20200316085311.GA19201-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-16 9:11 ` Tomi Valkeinen
[not found] ` <3bf96f0e-90a8-1513-800f-0168d912fd9f-l0cyMroinI0@public.gmane.org>
2020-03-17 6:45 ` Sam Ravnborg
2020-03-15 13:44 ` [PATCH v1 36/36] dt-bindings: display: convert olimex,lcd-olinuxino " Sam Ravnborg
[not found] ` <20200315134416.16527-37-sam-uyr5N9Q2VtJg9hUCZPvPmw@public.gmane.org>
2020-03-19 3:11 ` 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-32-sam@ravnborg.org \
--to=sam-uyr5n9q2vtjg9huczpvpmw@public.gmane.org \
--cc=a.hajda-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=acourbot-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=agx-wGvLLbajjwFAfugRpC6u6w@public.gmane.org \
--cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=hanxu5-dyavHbARFqWrZjcNGxgArdPArS5jOdiE2SarAXORi/o@public.gmane.org \
--cc=hl-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
--cc=hns-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org \
--cc=hoegeun.kwon-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
--cc=hs-ynQEQJNshbs@public.gmane.org \
--cc=jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org \
--cc=laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org \
--cc=linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=marco.franchi-3arQi8VN3Tc@public.gmane.org \
--cc=marek-xXXSsgcRVICgSpxsJD1C4w@public.gmane.org \
--cc=masneyb-1iNe0GrtECGEi8DpZVb4nw@public.gmane.org \
--cc=maxime.ripard@bootl \
--cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=xc-racer2-kt+e9JA1QaI@public.gmane.org \
--cc=zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
/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).