Skip to contentSkip to conversation

dt-bindings: display: convert remaning panel bindings to DT Schema

PATCH Superseded Sam Ravnborg 5 participants 81 messages Apr 8, 2020 – Apr 16, 2020

Subsystems (11)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover dt-bindings: display: convert remaning panel bindings to DT Schema

Convert remaining(*) panel bindings to DT Schema.

To prepare for the migration a preparation
patch was required:

- te-gpios is now added to panel-common - as this
property is used by a few bindings.

The original author of the panel bindings are listed as maintainer in the DT Schema. In the few cases the panel binding was also listed in MAINTAINERS I checked that there was a match. It was done manually so I may have missed someone.

All bindings pass dt_binding_check with no warnings.

Changes in v2 - see individual commits for more details:

- Dropped spi-slave.yaml. This was a gross misunderstandign from my side
- Introduced unevaluatedProperties for all SPI slaves
- Updated MAINTAINERS when relevant - in the individual patches
- Dropped a few bindings as they was converted by others
- Updates examples, mostly based on feedback from Rob
- Moved DSI panels to panel-simple-dsi, and fixed a patch that did this wrong too
- Added a lot of r-b, a-b - thanks!

I have tried to fix so cover letter is sent to all, but individual patches are only sent to a few selected + people listed in Cc:
Then it is easier for the receiver (you) to see where feedback is expected. So if I succeeded and you received only a few bindings as follow-up, please provide ack or other feedback.

Patches made on top of drm-misc-next as of today with no other patches.

(*) Two .txt files reamins:
- display-timing.txt, points to display-timings.yaml
- panel-dsi-cm.txt, conversion is included in another patch-set

Sam

Cc Alexandre Courbot <[email protected]>
Cc Andrzej Hajda <[email protected]>
Cc Brian Masney <[email protected]>
Cc Chris Zhong <[email protected]>
Cc Douglas Anderson <[email protected]>
Cc Fabrizio Castro <[email protected]>
Cc "Guido Günther" <[email protected]>
Cc Heiko Schocher <[email protected]>
Cc H. Nikolaus Schaller <[email protected]>
Cc Hoegeun Kwon <[email protected]>
Cc Jerry Han <[email protected]>
Cc Jonathan Bakker <[email protected]>
Cc Lad Prabhakar <[email protected]>
Cc Lin Huang <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Marco Franchi <[email protected]>
Cc Marek Belisko <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Nickey Yang <[email protected]>
Cc Paul Cercueil <[email protected]>
Cc Peter Rosin <[email protected]>
Cc Peter Ujfalusi <[email protected]>
Cc Purism Kernel Team <[email protected]>
Cc Robert Chiras <[email protected]>
Cc Rob Herring <[email protected]>
Cc Sam Ravnborg <[email protected]>
Cc Sandeep Panda <[email protected]>
Cc Stefan Mavrodiev <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Tomi Valkeinen <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Vinay Simha BN <[email protected]>
Cc Werner Johansson <[email protected]>

Sam Ravnborg (36):
dt-bindings: display: allow port and ports in panel-lvds
dt-bindings: display: look for dsi* nodes in dsi-controller
dt-bindings: display: add te-gpios to panel-common
dt-bindings: display: convert samsung,s6e63m0 to DT Schema
dt-bindings: display: convert arm,versatile-tft-panel to DT Schema
dt-bindings: display: convert boe,himax8279d to DT Schema
dt-bindings: display: convert ilitek,ili9322 to DT Schema
dt-bindings: display: convert ilitek,ili9881c to DT Schema
dt-bindings: display: convert innolux,p079zca to DT Schema
dt-bindings: display: convert innolux,p097pfg to DT Schema
dt-bindings: display: convert innolux,p120zdg-bf1 to DT Schema
dt-bindings: display: convert jdi,lt070me05000 to DT Schema
dt-bindings: display: convert kingdisplay,kd035g6-54nt to DT Schema
dt-bindings: display: convert kingdisplay,kd097d04 to DT Schema
dt-bindings: display: convert simple lg panels to DT Schema
dt-bindings: display: convert lg,lg4573 to DT Schema
dt-bindings: display: convert osddisplays,osd101t2587-53ts to DT Schema
dt-bindings: display: convert raydium,rm67191 to DT Schema
dt-bindings: display: convert rocktech,jh057n00900 to DT Schema
dt-bindings: display: convert samsung AMOLED to DT Schema
dt-bindings: display: convert samsung,s6d16d0 to DT Schema
dt-bindings: display: convert samsung,ld9040 to DT Schema
dt-bindings: display: convert samsung,s6e8aa0 to DT Schema
dt-bindings: display: convert toppoly panels to DT Schema
dt-bindings: display: convert startek,startek-kd050c to DT Schema
dt-bindings: display: convert sony,acx565akm to DT Schema
dt-bindings: display: convert sitronix,st7789v to DT Schema
dt-bindings: display: drop unused simple-panel.txt
dt-bindings: display: convert sharp,ls043t1le01 to DT Schema
dt-bindings: display: convert sharp,lq101r1sx01 to DT Schema
dt-bindings: display: convert sharp,ls037v7dw01 to DT Schema
dt-bindings: display: convert sharp,lq150x1lg11 to DT Schema
dt-bindings: display: convert seiko,43wvf1g to DT Schema
dt-bindings: display: convert lgphilips,lb035q02 to DT Schema
dt-bindings: display: convert olimex,lcd-olinuxino to DT Schema
dt-bindings: display: move DSI panels to panel-simple-dsi

 .../display/allwinner,sun6i-a31-mipi-dsi.yaml      |   2 +-
 .../bindings/display/dsi-controller.yaml           |   4 +-
 .../display/panel/arm,versatile-tft-panel.txt      |  31 ------
 .../display/panel/arm,versatile-tft-panel.yaml     |  51 ++++++++++
 .../bindings/display/panel/boe,himax8279d.txt      |  24 -----
 .../bindings/display/panel/boe,himax8279d.yaml     |  59 ++++++++++++
 .../bindings/display/panel/ilitek,ili9322.txt      |  49 ----------
 .../bindings/display/panel/ilitek,ili9322.yaml     |  71 ++++++++++++++
 .../bindings/display/panel/ilitek,ili9881c.txt     |  20 ----
 .../bindings/display/panel/ilitek,ili9881c.yaml    |  50 ++++++++++
 .../bindings/display/panel/innolux,p079zca.txt     |  22 -----
 .../bindings/display/panel/innolux,p097pfg.txt     |  24 -----
 .../bindings/display/panel/innolux,p097pfg.yaml    |  56 +++++++++++
 .../bindings/display/panel/innolux,p120zdg-bf1.txt |  22 -----
 .../display/panel/innolux,p120zdg-bf1.yaml         |  43 +++++++++
 .../bindings/display/panel/jdi,lt070me05000.txt    |  31 ------
 .../bindings/display/panel/jdi,lt070me05000.yaml   |  69 +++++++++++++
 .../display/panel/kingdisplay,kd035g6-54nt.txt     |  42 --------
 .../display/panel/kingdisplay,kd035g6-54nt.yaml    |  65 +++++++++++++
 .../display/panel/kingdisplay,kd097d04.txt         |  22 -----
 .../bindings/display/panel/lg,acx467akm-7.txt      |   7 --
 .../bindings/display/panel/lg,ld070wx3-sl01.txt    |   7 --
 .../bindings/display/panel/lg,lg4573.txt           |  19 ----
 .../bindings/display/panel/lg,lg4573.yaml          |  45 +++++++++
 .../bindings/display/panel/lg,lh500wx1-sd03.txt    |   7 --
 .../bindings/display/panel/lgphilips,lb035q02.txt  |  33 -------
 .../bindings/display/panel/lgphilips,lb035q02.yaml |  59 ++++++++++++
 .../devicetree/bindings/display/panel/lvds.yaml    |   8 +-
 .../display/panel/olimex,lcd-olinuxino.txt         |  42 --------
 .../display/panel/olimex,lcd-olinuxino.yaml        |  70 ++++++++++++++
 .../display/panel/osddisplays,osd101t2587-53ts.txt |  14 ---
 .../bindings/display/panel/panel-common.yaml       |   7 ++
 .../bindings/display/panel/panel-simple-dsi.yaml   |  12 +++
 .../bindings/display/panel/panel-simple.yaml       |   8 +-
 .../bindings/display/panel/raydium,rm67191.txt     |  41 --------
 .../bindings/display/panel/raydium,rm67191.yaml    |  75 +++++++++++++++
 .../display/panel/rocktech,jh057n00900.txt         |  23 -----
 .../display/panel/rocktech,jh057n00900.yaml        |  57 +++++++++++
 .../display/panel/samsung,amoled-mipi-dsi.yaml     |  65 +++++++++++++
 .../bindings/display/panel/samsung,ld9040.txt      |  66 -------------
 .../bindings/display/panel/samsung,ld9040.yaml     | 107 +++++++++++++++++++++
 .../bindings/display/panel/samsung,s6d16d0.txt     |  30 ------
 .../bindings/display/panel/samsung,s6d16d0.yaml    |  56 +++++++++++
 .../bindings/display/panel/samsung,s6e3ha2.txt     |  31 ------
 .../bindings/display/panel/samsung,s6e63j0x03.txt  |  24 -----
 .../bindings/display/panel/samsung,s6e63m0.txt     |  33 -------
 .../bindings/display/panel/samsung,s6e63m0.yaml    |  60 ++++++++++++
 .../bindings/display/panel/samsung,s6e8aa0.txt     |  56 -----------
 .../bindings/display/panel/samsung,s6e8aa0.yaml    |  96 ++++++++++++++++++
 .../bindings/display/panel/seiko,43wvf1g.txt       |  23 -----
 .../bindings/display/panel/seiko,43wvf1g.yaml      |  49 ++++++++++
 .../bindings/display/panel/sharp,lq101r1sx01.txt   |  49 ----------
 .../bindings/display/panel/sharp,lq101r1sx01.yaml  |  85 ++++++++++++++++
 .../bindings/display/panel/sharp,lq150x1lg11.txt   |  36 -------
 .../bindings/display/panel/sharp,lq150x1lg11.yaml  |  58 +++++++++++
 .../bindings/display/panel/sharp,ls037v7dw01.txt   |  43 ---------
 .../bindings/display/panel/sharp,ls037v7dw01.yaml  |  68 +++++++++++++
 .../bindings/display/panel/sharp,ls043t1le01.txt   |  22 -----
 .../bindings/display/panel/sharp,ls043t1le01.yaml  |  51 ++++++++++
 .../bindings/display/panel/simple-panel.txt        |   1 -
 .../bindings/display/panel/sitronix,st7789v.txt    |  37 -------
 .../bindings/display/panel/sitronix,st7789v.yaml   |  63 ++++++++++++
 .../bindings/display/panel/sony,acx565akm.txt      |  30 ------
 .../bindings/display/panel/sony,acx565akm.yaml     |  57 +++++++++++
 .../display/panel/startek,startek-kd050c.txt       |   4 -
 .../display/panel/startek,startek-kd050c.yaml      |  33 +++++++
 .../devicetree/bindings/display/panel/tpo,td.yaml  |  65 +++++++++++++
 .../bindings/display/panel/tpo,td028ttec1.txt      |  32 ------
 .../bindings/display/panel/tpo,td043mtea1.txt      |  33 -------
 MAINTAINERS                                        |  10 +-
 70 files changed, 1721 insertions(+), 1043 deletions(-)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

PATCH v2 1/36 dt-bindings: display: allow port and ports in panel-lvds

Both port and ports names may be used.
port - for a single port
ports - if there is more than one port in sub-nodes

Fixes the following warning:
advantech,idk-2121wr.example.dt.yaml: panel-lvds: 'port' is a required property

advantech,idk-2121wr.yaml needs several ports, so uses a ports node.

Cc Fabrizio Castro <[email protected]>
Cc Lad Prabhakar <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 Documentation/devicetree/bindings/display/panel/lvds.yaml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/display/panel/lvds.yaml +7 -1
index d0083301acbe..f9132d50821c 100644
@@ -102,6 +102,12 @@ required:
   - width-mm
   - height-mm
   - panel-timing
-  - port
+
+if:
+  required:
+    - port
+else:
+  required:
+    - ports
 
 ...
Signature · 1 line
2.20.1
#5 lore raw

PATCH v2 2/36 dt-bindings: display: look for dsi* nodes in dsi-controller

In reply to Sam Ravnborg

Rob wrote:

Uhhh, it's looking for dsi-controller(@.*)? which is not the common case found in dts files. We should fix that to dsi(@.*)?.

See: https://lore.kernel.org/dri-devel/20200319032222.GK29911@bogus/

Fix it.

Cc Linus Walleij <[email protected]>
Cc Rob Herring <[email protected]>
---
 Documentation/devicetree/bindings/display/dsi-controller.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/display/dsi-controller.yaml +2 -2
index fd986c36c737..85b71b1fd28a 100644
@@ -28,7 +28,7 @@ description: |
 
 properties:
   $nodename:
-    pattern: "^dsi-controller(@.*)?$"
+    pattern: "^dsi(@.*)?$"
 
   "#address-cells":
     const: 1
@@ -76,7 +76,7 @@ patternProperties:
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
-    dsi-controller@a0351000 {
+    dsi@a0351000 {
         reg = <0xa0351000 0x1000>;
         #address-cells = <1>;
         #size-cells = <0>;
Signature · 1 line
2.20.1
#10 lore raw

PATCH v2 3/36 dt-bindings: display: add te-gpios to panel-common

In reply to Sam Ravnborg

Several bindings specifies a "te-gpios" for tearing effect signal. Add this to panel-common so we have a shared definition.

Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../devicetree/bindings/display/panel/panel-common.yaml    | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/display/panel/panel-common.yaml +7 -0
index dd97907a7450..17b8367f12dd 100644
@@ -124,6 +124,13 @@ properties:
       while active. Active high reset signals can be supported by inverting the
       GPIO specifier polarity flag.
 
+  te-gpios:
+    maxItems: 1
+    description:
+      GPIO spec for the tearing effect synchronization signal.
+      The tearing effect signal is active high. Active low signals can be
+      supported by inverting the GPIO specifier polarity flag.
+
   # Power
   power-supply:
     description:
Signature · 1 line
2.20.1
#12 lore raw

PATCH v2 4/36 dt-bindings: display: convert samsung, s6e63m0 to DT Schema

In reply to Sam Ravnborg

The binding for this panel is a SPI slave.

v2:
- Drop use of spi-slave (Maxime)
- Introude unevaluatedProperties (Maxime)
- Drop reg entry in example (Rob)

Cc Maxime Ripard <[email protected]>
Cc Rob Herring <[email protected]>
Cc Jonathan Bakker <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/samsung,s6e63m0.txt         | 33 ----------
 .../display/panel/samsung,s6e63m0.yaml        | 60 +++++++++++++++++++
 2 files changed, 60 insertions(+), 33 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.txt deleted +0 -33
deleted file mode 100644
index 9fb9ebeef8e4..000000000000
@@ -1,33 +0,0 @@
-Samsung s6e63m0 AMOLED LCD panel
-
-Required properties:
-  - compatible: "samsung,s6e63m0"
-  - reset-gpios: GPIO spec for reset pin
-  - vdd3-supply: VDD regulator
-  - vci-supply: VCI regulator
-
-The panel must obey rules for SPI slave device specified in document [1].
-
-The device node can contain one 'port' child node with one child
-'endpoint' node, according to the bindings defined in [2]. This
-node should describe panel's video bus.
-
-[1]: Documentation/devicetree/bindings/spi/spi-bus.txt
-[2]: Documentation/devicetree/bindings/media/video-interfaces.txt
-
-Example:
-
-		s6e63m0: display@0 {
-			compatible = "samsung,s6e63m0";
-			reg = <0>;
-			reset-gpio = <&mp05 5 1>;
-			vdd3-supply = <&ldo12_reg>;
-			vci-supply = <&ldo11_reg>;
-			spi-max-frequency = <1200000>;
-
-			port {
-				lcd_ep: endpoint {
-					remote-endpoint = <&fimd_ep>;
-				};
-			};
-		};
Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml new file +60 -0

60 lines not on this page · raw message

Signature · 1 line
2.20.1
#14 lore raw

PATCH v2 5/36 dt-bindings: display: convert arm, versatile-tft-panel to DT Schema

In reply to Sam Ravnborg

v2:
- Fix entry in MAINTAINERS

Cc Linus Walleij <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/arm,versatile-tft-panel.txt | 31 -----------
 .../panel/arm,versatile-tft-panel.yaml        | 51 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 52 insertions(+), 32 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml
Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt deleted +0 -31
deleted file mode 100644
index 0601a9e34703..000000000000
@@ -1,31 +0,0 @@
-ARM Versatile TFT Panels
-
-These panels are connected to the daughterboards found on the
-ARM Versatile reference designs.
-
-This device node must appear as a child to a "syscon"-compatible
-node.
-
-Required properties:
-- compatible: should be "arm,versatile-tft-panel"
-
-Required subnodes:
-- port: see display/panel/panel-common.yaml, graph.txt
-
-
-Example:
-
-sysreg@0 {
-	compatible = "arm,versatile-sysreg", "syscon", "simple-mfd";
-	reg = <0x00000 0x1000>;
-
-	panel: display@0 {
-		compatible = "arm,versatile-tft-panel";
-
-		port {
-			panel_in: endpoint {
-				remote-endpoint = <&foo>;
-			};
-		};
-	};
-};
Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml new file +51 -0

51 lines not on this page · raw message

MAINTAINERS +1 -1
index 50b068f3580a..2b99fa16ba08 100644
@@ -5229,7 +5229,7 @@ M:	Linus Walleij <[email protected]>
 T:	git git://anongit.freedesktop.org/drm/drm-misc
 S:	Maintained
 F:	drivers/gpu/drm/panel/panel-arm-versatile.c
-F:	Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt
+F:	Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml
 
 DRM DRIVER FOR AST SERVER GRAPHICS CHIPS
 M:	Dave Airlie <[email protected]>
Signature · 1 line
2.20.1
#17 lore raw

PATCH v2 6/36 dt-bindings: display: convert boe, himax8279d to DT Schema

In reply to Sam Ravnborg

v2:
- Fix entry in MAINTAINERS

Cc Jerry Han <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../bindings/display/panel/boe,himax8279d.txt | 24 --------
 .../display/panel/boe,himax8279d.yaml         | 59 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 60 insertions(+), 25 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/boe,himax8279d.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml
Documentation/devicetree/bindings/display/panel/boe,himax8279d.txt deleted +0 -24
deleted file mode 100644
index 3caea2172b1b..000000000000
@@ -1,24 +0,0 @@
-Boe Himax8279d 1200x1920 TFT LCD panel
-
-Required properties:
-- compatible: should be "boe,himax8279d8p" and one of: "boe,himax8279d10p"
-- reg: DSI virtual channel of the peripheral
-- enable-gpios: panel enable gpio
-- pp33-gpios: a GPIO phandle for the 3.3v pin that provides the supply voltage
-- pp18-gpios: a GPIO phandle for the 1.8v pin that provides the supply voltage
-
-Optional properties:
-- backlight: phandle of the backlight device attached to the panel
-
-Example:
-
-	&mipi_dsi {
-		panel {
-			compatible = "boe,himax8279d8p", "boe,himax8279d10p";
-			reg = <0>;
-			backlight = <&backlight>;
-			enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
-			pp33-gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
-			pp18-gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
-		};
-	};
Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml new file +59 -0

59 lines not on this page · raw message

MAINTAINERS +1 -1
index 2b99fa16ba08..dba84e7726b7 100644
@@ -5255,7 +5255,7 @@ DRM DRIVER FOR BOE HIMAX8279D PANELS
 M:	Jerry Han <[email protected]>
 S:	Maintained
 F:	drivers/gpu/drm/panel/panel-boe-himax8279d.c
-F:	Documentation/devicetree/bindings/display/panel/boe,himax8279d.txt
+F:	Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml
 
 DRM DRIVER FOR FARADAY TVE200 TV ENCODER
 M:	Linus Walleij <[email protected]>
Signature · 1 line
2.20.1
#19 lore raw

PATCH v2 7/36 dt-bindings: display: convert ilitek, ili9322 to DT Schema

In reply to Sam Ravnborg

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.

The properties in question are:
- pixelclk-active
- de-active
- hsync-active
- vsync-active

These properties was dropped in the conversion as they are not relevant.

v2:
- drop properties from panel-timing (Linus)
- drop use of spi-slave.yaml (Maxime)
- introduce unevaluatedProperties (Maxime)
- dropped unused properties (Linus)
- delete stray spaces

Cc Linus Walleij <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../bindings/display/panel/ilitek,ili9322.txt | 49 -------------
 .../display/panel/ilitek,ili9322.yaml         | 71 +++++++++++++++++++
 2 files changed, 71 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
Documentation/devicetree/bindings/display/panel/ilitek,ili9322.txt deleted +0 -49
deleted file mode 100644
index 3d5ce6ad6ec7..000000000000
@@ -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>;
-		};
-	};
-};
Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml new file +71 -0

71 lines not on this page · raw message

Signature · 1 line
2.20.1
#21 lore raw

PATCH v2 8/36 dt-bindings: display: convert ilitek, ili9881c to DT Schema

In reply to Sam Ravnborg

Updating this binding identified an issue in the example in the allwinner,sun6i-a31-mipi-dsi binding.
Fix the example so no new warnings are introduced.

v2:
- fix example in allwinner,sun6i-a31-mipi-dsi (Rob)

Cc Rob Herring <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/allwinner,sun6i-a31-mipi-dsi.yaml |  2 +-
 .../display/panel/ilitek,ili9881c.txt         | 20 --------
 .../display/panel/ilitek,ili9881c.yaml        | 50 +++++++++++++++++++
 3 files changed, 51 insertions(+), 21 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml
Documentation/devicetree/bindings/display/allwinner,sun6i-a31-mipi-dsi.yaml +1 -1
index 9e90c2b00960..e73662c8d339 100644
@@ -119,7 +119,7 @@ examples:
         panel@0 {
                 compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
                 reg = <0>;
-                power-gpios = <&pio 1 7 0>; /* PB07 */
+                power-supply = <&reg_display>;
                 reset-gpios = <&r_pio 0 5 1>; /* PL05 */
                 backlight = <&pwm_bl>;
         };
Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.txt deleted +0 -20
deleted file mode 100644
index 4a041acb4e18..000000000000
@@ -1,20 +0,0 @@
-Ilitek ILI9881c based MIPI-DSI panels
-
-Required properties:
-  - compatible: must be "ilitek,ili9881c" and one of:
-    * "bananapi,lhr050h41"
-  - reg: DSI virtual channel used by that screen
-  - power-supply: phandle to the power regulator
-  - reset-gpios: a GPIO phandle for the reset pin
-
-Optional properties:
-  - backlight: phandle to the backlight used
-
-Example:
-panel@0 {
-	compatible = "bananapi,lhr050h41", "ilitek,ili9881c";
-	reg = <0>;
-	power-supply = <&reg_display>;
-	reset-gpios = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL05 */
-	backlight = <&pwm_bl>;
-};
Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml new file +50 -0

50 lines not on this page · raw message

Signature · 1 line
2.20.1
#23 lore raw

PATCH v2 9/36 dt-bindings: display: convert innolux, p079zca to DT Schema

In reply to Sam Ravnborg

As the binding matches panel-simple, added the compatible to the panel-simple list.
With this change enable-gpios is now optional.

Cc Chris Zhong <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/innolux,p079zca.txt         | 22 -------------------
 .../bindings/display/panel/panel-simple.yaml  |  2 ++
 2 files changed, 2 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt
Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt deleted +0 -22
deleted file mode 100644
index 3ab8c7412cf6..000000000000
@@ -1,22 +0,0 @@
-Innolux P079ZCA 7.85" 768x1024 TFT LCD panel
-
-Required properties:
-- compatible: should be "innolux,p079zca"
-- reg: DSI virtual channel of the peripheral
-- power-supply: phandle of the regulator that provides the supply voltage
-- enable-gpios: panel enable gpio
-
-Optional properties:
-- backlight: phandle of the backlight device attached to the panel
-
-Example:
-
-	&mipi_dsi {
-		panel@0 {
-			compatible = "innolux,p079zca";
-			reg = <0>;
-			power-supply = <...>;
-			backlight = <&backlight>;
-			enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
-		};
-	};
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +2 -0
index 8fc117d1547c..328df95cbe88 100644
@@ -143,6 +143,8 @@ properties:
       - innolux,n116bge
         # InnoLux 15.6" WXGA TFT LCD panel
       - innolux,n156bge-l21
+        # Innolux P079ZCA 7.85" 768x1024 TFT LCD panel
+      - innolux,p079zca
         # Innolux Corporation 7.0" WSVGA (1024x600) TFT LCD panel
       - innolux,zj070na-01p
         # Kaohsiung Opto-Electronics Inc. 5.7" QVGA (320 x 240) TFT LCD panel
Signature · 1 line
2.20.1
#25 lore raw

PATCH v2 10/36 dt-bindings: display: convert innolux, p097pfg to DT Schema

In reply to Sam Ravnborg
Cc Lin Huang <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/innolux,p097pfg.txt         | 24 --------
 .../display/panel/innolux,p097pfg.yaml        | 56 +++++++++++++++++++
 2 files changed, 56 insertions(+), 24 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p097pfg.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p097pfg.yaml
Documentation/devicetree/bindings/display/panel/innolux,p097pfg.txt deleted +0 -24
deleted file mode 100644
index d1cab3a8f0fb..000000000000
@@ -1,24 +0,0 @@
-Innolux P097PFG 9.7" 1536x2048 TFT LCD panel
-
-Required properties:
-- compatible: should be "innolux,p097pfg"
-- reg: DSI virtual channel of the peripheral
-- avdd-supply: phandle of the regulator that provides positive voltage
-- avee-supply: phandle of the regulator that provides negative voltage
-- enable-gpios: panel enable gpio
-
-Optional properties:
-- backlight: phandle of the backlight device attached to the panel
-
-Example:
-
-	&mipi_dsi {
-		panel@0 {
-			compatible = "innolux,p079zca";
-			reg = <0>;
-			avdd-supply = <...>;
-			avee-supply = <...>;
-			backlight = <&backlight>;
-			enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
-		};
-	};
Documentation/devicetree/bindings/display/panel/innolux,p097pfg.yaml new file +56 -0

56 lines not on this page · raw message

Signature · 1 line
2.20.1
#27 lore raw

PATCH v2 11/36 dt-bindings: display: convert innolux, p120zdg-bf1 to DT Schema

In reply to Sam Ravnborg
Cc Douglas Anderson <[email protected]>
Cc Sandeep Panda <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/innolux,p120zdg-bf1.txt     | 22 ----------
 .../display/panel/innolux,p120zdg-bf1.yaml    | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.yaml
Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.txt deleted +0 -22
deleted file mode 100644
index 513f03466aba..000000000000
@@ -1,22 +0,0 @@
-Innolux P120ZDG-BF1 12.02 inch eDP 2K display panel
-
-This binding is compatible with the simple-panel binding, which is specified
-in simple-panel.txt in this directory.
-
-Required properties:
-- compatible: should be "innolux,p120zdg-bf1"
-- power-supply: regulator to provide the supply voltage
-
-Optional properties:
-- enable-gpios: GPIO pin to enable or disable the panel
-- backlight: phandle of the backlight device attached to the panel
-- no-hpd: If HPD isn't hooked up; add this property.
-
-Example:
-	panel_edp: panel-edp {
-		compatible = "innolux,p120zdg-bf1";
-		enable-gpios = <&msmgpio 31 GPIO_ACTIVE_LOW>;
-		power-supply = <&pm8916_l2>;
-		backlight = <&backlight>;
-		no-hpd;
-	};
Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.yaml new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
2.20.1
#29 lore raw

PATCH v2 12/36 dt-bindings: display: convert jdi, lt070me05000 to DT Schema

In reply to Sam Ravnborg

v2:
- drop address in dsi node in example (Rob)

Cc Rob Herring <[email protected]>
Cc Vinay Simha BN <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/jdi,lt070me05000.txt        | 31 ---------
 .../display/panel/jdi,lt070me05000.yaml       | 69 +++++++++++++++++++
 2 files changed, 69 insertions(+), 31 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.yaml
Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt deleted +0 -31
deleted file mode 100644
index 4989c91d505f..000000000000
@@ -1,31 +0,0 @@
-JDI model LT070ME05000 1200x1920 7" DSI Panel
-
-Required properties:
-- compatible: should be "jdi,lt070me05000"
-- vddp-supply: phandle of the regulator that provides the supply voltage
-  Power IC supply (3-5V)
-- iovcc-supply: phandle of the regulator that provides the supply voltage
-  IOVCC , power supply for LCM (1.8V)
-- enable-gpios: phandle of gpio for enable line
-  LED_EN, LED backlight enable, High active
-- reset-gpios: phandle of gpio for reset line
-  This should be 8mA, gpio can be configured using mux, pinctrl, pinctrl-names
-  XRES, Reset, Low active
-- dcdc-en-gpios: phandle of the gpio for power ic line
-  Power IC supply enable, High active
-
-Example:
-
-	dsi0: qcom,mdss_dsi@4700000 {
-		panel@0 {
-			compatible = "jdi,lt070me05000";
-			reg = <0>;
-
-			vddp-supply = <&pm8921_l17>;
-			iovcc-supply = <&pm8921_lvs7>;
-
-			enable-gpios = <&pm8921_gpio 36 GPIO_ACTIVE_HIGH>;
-			reset-gpios = <&tlmm_pinmux 54 GPIO_ACTIVE_LOW>;
-			dcdc-en-gpios = <&pm8921_gpio 23 GPIO_ACTIVE_HIGH>;
-		};
-	};
Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.yaml new file +69 -0

69 lines not on this page · raw message

Signature · 1 line
2.20.1
#31 lore raw

PATCH v2 13/36 dt-bindings: display: convert kingdisplay, kd035g6-54nt to DT Schema

In reply to Sam Ravnborg

v2:
- Drop use of spi-slave.yaml (Maxime)
- Introduce unevaluatedProperties (Maxime)

Cc Maxime Ripard <[email protected]>
Cc Paul Cercueil <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../panel/kingdisplay,kd035g6-54nt.txt        | 42 ------------
 .../panel/kingdisplay,kd035g6-54nt.yaml       | 65 +++++++++++++++++++
 2 files changed, 65 insertions(+), 42 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml
Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.txt deleted +0 -42
deleted file mode 100644
index fa9596082e44..000000000000
@@ -1,42 +0,0 @@
-King Display KD035G6-54NT 3.5" (320x240 pixels) 24-bit TFT LCD panel
-
-Required properties:
-- compatible: should be "kingdisplay,kd035g6-54nt"
-- power-supply: See panel-common.txt
-- reset-gpios: See panel-common.txt
-
-Optional properties:
-- backlight: see panel-common.txt
-
-The generic bindings for the SPI slaves documented in [1] also apply.
-
-The device node can contain one 'port' child node with one child
-'endpoint' node, according to the bindings defined in [2]. This
-node should describe panel's video bus.
-
-[1]: Documentation/devicetree/bindings/spi/spi-bus.txt
-[2]: Documentation/devicetree/bindings/graph.txt
-
-Example:
-
-&spi {
-	panel@0 {
-		compatible = "kingdisplay,kd035g6-54nt";
-		reg = <0>;
-
-		spi-max-frequency = <3125000>;
-		spi-3wire;
-		spi-cs-high;
-
-		reset-gpios = <&gpe 2 GPIO_ACTIVE_LOW>;
-
-		backlight = <&backlight>;
-		power-supply = <&ldo6>;
-
-		port {
-			panel_input: endpoint {
-				remote-endpoint = <&panel_output>;
-			};
-		};
-	};
-};
Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml new file +65 -0

65 lines not on this page · raw message

Signature · 1 line
2.20.1
#33 lore raw

PATCH v2 14/36 dt-bindings: display: convert kingdisplay, kd097d04 to DT Schema

In reply to Sam Ravnborg

kingdisplay,kd097d04 matches the panel-simple-dsi binding. The only difference is that enable-gpios is now an optional property.

Cc Nickey Yang <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/kingdisplay,kd097d04.txt    | 22 -------------------
 .../display/panel/panel-simple-dsi.yaml       |  2 ++
 2 files changed, 2 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/kingdisplay,kd097d04.txt
Documentation/devicetree/bindings/display/panel/kingdisplay,kd097d04.txt deleted +0 -22
deleted file mode 100644
index cfefff688614..000000000000
@@ -1,22 +0,0 @@
-Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel
-
-Required properties:
-- compatible: should be "kingdisplay,kd097d04"
-- reg: DSI virtual channel of the peripheral
-- power-supply: phandle of the regulator that provides the supply voltage
-- enable-gpios: panel enable gpio
-
-Optional properties:
-- backlight: phandle of the backlight device attached to the panel
-
-Example:
-
-	&mipi_dsi {
-		panel@0 {
-			compatible = "kingdisplay,kd097d04";
-			reg = <0>;
-			power-supply = <...>;
-			backlight = <&backlight>;
-			enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
-		};
-	};
Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml +2 -0
index b2e8742fd6af..949371db0a16 100644
@@ -29,6 +29,8 @@ properties:
       # compatible must be listed in alphabetical order, ordered by compatible.
       # The description in the comment is mandatory for each compatible.
 
+        # Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel
+      - kingdisplay,kd097d04
         # Panasonic 10" WUXGA TFT LCD panel
       - panasonic,vvx10f034n00
 
Signature · 1 line
2.20.1
#35 lore raw

PATCH v2 15/36 dt-bindings: display: convert simple lg panels to DT Schema

In reply to Sam Ravnborg

Add the lg panels that matches the panel-simple binding to panel-simple.yaml

Cc Brian Masney <[email protected]>
Cc Alexandre Courbot <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../devicetree/bindings/display/panel/lg,acx467akm-7.txt   | 7 -------
 .../devicetree/bindings/display/panel/lg,ld070wx3-sl01.txt | 7 -------
 .../devicetree/bindings/display/panel/lg,lh500wx1-sd03.txt | 7 -------
 .../devicetree/bindings/display/panel/panel-simple.yaml    | 6 ++++++
 4 files changed, 6 insertions(+), 21 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/lg,acx467akm-7.txt
 delete mode 100644 Documentation/devicetree/bindings/display/panel/lg,ld070wx3-sl01.txt
 delete mode 100644 Documentation/devicetree/bindings/display/panel/lg,lh500wx1-sd03.txt
Documentation/devicetree/bindings/display/panel/lg,acx467akm-7.txt deleted +0 -7
deleted file mode 100644
index fc1e1b325e49..000000000000
@@ -1,7 +0,0 @@
-LG ACX467AKM-7 4.95" 1080×1920 LCD Panel
-
-Required properties:
-- compatible: must be "lg,acx467akm-7"
-
-This binding is compatible with the simple-panel binding, which is specified
-in simple-panel.txt in this directory.
Documentation/devicetree/bindings/display/panel/lg,ld070wx3-sl01.txt deleted +0 -7
deleted file mode 100644
index 5e649cb9aa1a..000000000000
@@ -1,7 +0,0 @@
-LG Corporation 7" WXGA TFT LCD panel
-
-Required properties:
-- compatible: should be "lg,ld070wx3-sl01"
-
-This binding is compatible with the simple-panel binding, which is specified
-in simple-panel.txt in this directory.
Documentation/devicetree/bindings/display/panel/lg,lh500wx1-sd03.txt deleted +0 -7
deleted file mode 100644
index a04fd2b2e73d..000000000000
@@ -1,7 +0,0 @@
-LG Corporation 5" HD TFT LCD panel
-
-Required properties:
-- compatible: should be "lg,lh500wx1-sd03"
-
-This binding is compatible with the simple-panel binding, which is specified
-in simple-panel.txt in this directory.
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +6 -0
index 328df95cbe88..e4f8133f48bb 100644
@@ -155,8 +155,14 @@ properties:
       - kyo,tcg121xglp
         # LeMaker BL035-RGB-002 3.5" QVGA TFT LCD panel
       - lemaker,bl035-rgb-002
+        # LG ACX467AKM-7 4.95" 1080×1920 LCD Panel
+      - lg,acx467akm-7
         # LG 7" (800x480 pixels) TFT LCD panel
       - lg,lb070wv8
+        # LG Corporation 7" WXGA TFT LCD panel
+      - lg,ld070wx3-sl01
+        # LG Corporation 5" HD TFT LCD panel
+      - lg,lh500wx1-sd03
         # LG LP079QX1-SP0V 7.9" (1536x2048 pixels) TFT LCD panel
       - lg,lp079qx1-sp0v
         # LG 9.7" (2048x1536 pixels) TFT LCD panel
Signature · 1 line
2.20.1
#37 lore raw

PATCH v2 16/36 dt-bindings: display: convert lg, lg4573 to DT Schema

In reply to Sam Ravnborg

v2:
- Dropped spi-slave (Maxime)
- Added unevaluatedProperties (Maxime)
- Deleted needless compatible from example (Rob)

Cc Maxime Ripard <[email protected]>
Cc Rob Herring <[email protected]>
Cc Heiko Schocher <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../bindings/display/panel/lg,lg4573.txt      | 19 --------
 .../bindings/display/panel/lg,lg4573.yaml     | 45 +++++++++++++++++++
 2 files changed, 45 insertions(+), 19 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/lg,lg4573.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml
Documentation/devicetree/bindings/display/panel/lg,lg4573.txt deleted +0 -19
deleted file mode 100644
index 824441f4e95a..000000000000
@@ -1,19 +0,0 @@
-LG LG4573 TFT Liquid Crystal Display with SPI control bus
-
-Required properties:
-  - compatible: "lg,lg4573"
-  - reg: address of the panel on the SPI bus
-
-The panel must obey rules for SPI slave device specified in document [1].
-
-[1]: Documentation/devicetree/bindings/spi/spi-bus.txt
-
-Example:
-
-	lcd_panel: display@0 {
-		#address-cells = <1>;
-		#size-cells = <1>;
-		compatible = "lg,lg4573";
-		spi-max-frequency = <10000000>;
-		reg = <0>;
-	};
Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml new file +45 -0

45 lines not on this page · raw message

Signature · 1 line
2.20.1
#39 lore raw

PATCH v2 17/36 dt-bindings: display: convert osddisplays, osd101t2587-53ts to DT Schema

In reply to Sam Ravnborg

osddisplays,osd101t2587-53ts is compatible with panel-simple-dsi binding, so list the compatible in the panel-simple-dsi binding file.

v2:
- It is a DSI panel, move to -dsi binding (Tomi)

Cc Peter Ujfalusi <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/osddisplays,osd101t2587-53ts.txt | 14 --------------
 .../bindings/display/panel/panel-simple-dsi.yaml   |  2 ++
 2 files changed, 2 insertions(+), 14 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/osddisplays,osd101t2587-53ts.txt
Documentation/devicetree/bindings/display/panel/osddisplays,osd101t2587-53ts.txt deleted +0 -14
deleted file mode 100644
index 9d88e96003fc..000000000000
@@ -1,14 +0,0 @@
-One Stop Displays OSD101T2587-53TS 10.1" 1920x1200 panel
-
-The panel is similar to OSD101T2045-53TS, but it needs additional
-MIPI_DSI_TURN_ON_PERIPHERAL message from the host.
-
-Required properties:
-- compatible: should be "osddisplays,osd101t2587-53ts"
-- power-supply: as specified in the base binding
-
-Optional properties:
-- backlight: as specified in the base binding
-
-This binding is compatible with the simple-panel binding, which is specified
-in simple-panel.txt in this directory.
Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml +2 -0
index 949371db0a16..f2698d7c09e6 100644
@@ -31,6 +31,8 @@ properties:
 
         # Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel
       - kingdisplay,kd097d04
+        # One Stop Displays OSD101T2587-53TS 10.1" 1920x1200 panel
+      - osddisplays,osd101t2587-53ts
         # Panasonic 10" WUXGA TFT LCD panel
       - panasonic,vvx10f034n00
 
Signature · 1 line
2.20.1
#41 lore raw

PATCH v2 18/36 dt-bindings: display: convert raydium, rm67191 to DT Schema

In reply to Sam Ravnborg

v2:
- Fix entry in MAINTAINERS
- Add reg number to node name (Rob)

Cc Rob Herring <[email protected]>
Cc Robert Chiras <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/raydium,rm67191.txt         | 41 ----------
 .../display/panel/raydium,rm67191.yaml        | 75 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 76 insertions(+), 42 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml
Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt deleted +0 -41
deleted file mode 100644
index 10424695aa02..000000000000
@@ -1,41 +0,0 @@
-Raydium RM67171 OLED LCD panel with MIPI-DSI protocol
-
-Required properties:
-- compatible: 		"raydium,rm67191"
-- reg:			virtual channel for MIPI-DSI protocol
-			must be <0>
-- dsi-lanes:		number of DSI lanes to be used
-			must be <3> or <4>
-- port: 		input port node with endpoint definition as
-			defined in Documentation/devicetree/bindings/graph.txt;
-			the input port should be connected to a MIPI-DSI device
-			driver
-
-Optional properties:
-- reset-gpios:		a GPIO spec for the RST_B GPIO pin
-- v3p3-supply:		phandle to 3.3V regulator that powers the VDD_3V3 pin
-- v1p8-supply:		phandle to 1.8V regulator that powers the VDD_1V8 pin
-- width-mm:		see panel-common.txt
-- height-mm:		see panel-common.txt
-- video-mode:		0 - burst-mode
-			1 - non-burst with sync event
-			2 - non-burst with sync pulse
-
-Example:
-
-	panel@0 {
-		compatible = "raydium,rm67191";
-		reg = <0>;
-		pinctrl-0 = <&pinctrl_mipi_dsi_0_1_en>;
-		pinctrl-names = "default";
-		reset-gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
-		dsi-lanes = <4>;
-		width-mm = <68>;
-		height-mm = <121>;
-
-		port {
-			panel_in: endpoint {
-				remote-endpoint = <&mipi_out>;
-			};
-		};
-	};
Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml new file +75 -0

75 lines not on this page · raw message

MAINTAINERS +1 -1
index dba84e7726b7..33dbe94e03ab 100644
@@ -5388,7 +5388,7 @@ DRM DRIVER FOR RAYDIUM RM67191 PANELS
 M:	Robert Chiras <[email protected]>
 S:	Maintained
 F:	drivers/gpu/drm/panel/panel-raydium-rm67191.c
-F:	Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt
+F:	Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml
 
 DRM DRIVER FOR RAGE 128 VIDEO CARDS
 S:	Orphan / Obsolete
Signature · 1 line
2.20.1
#43 lore raw

PATCH v2 19/36 dt-bindings: display: convert rocktech, jh057n00900 to DT Schema

In reply to Sam Ravnborg

v2:
- Fix entry in MAINTAINERS

Cc "Guido Günther" <[email protected]>
Cc Purism Kernel Team <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/rocktech,jh057n00900.txt    | 23 --------
 .../display/panel/rocktech,jh057n00900.yaml   | 57 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 58 insertions(+), 24 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml
Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.txt deleted +0 -23
deleted file mode 100644
index a372c5d84695..000000000000
@@ -1,23 +0,0 @@
-Rocktech jh057n00900 5.5" 720x1440 TFT LCD panel
-
-Required properties:
-- compatible: should be "rocktech,jh057n00900"
-- reg: DSI virtual channel of the peripheral
-- reset-gpios: panel reset gpio
-- backlight: phandle of the backlight device attached to the panel
-- vcc-supply: phandle of the regulator that provides the vcc supply voltage.
-- iovcc-supply: phandle of the regulator that provides the iovcc supply
-  voltage.
-
-Example:
-
-	&mipi_dsi {
-		panel@0 {
-			compatible = "rocktech,jh057n00900";
-			reg = <0>;
-			backlight = <&backlight>;
-			reset-gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
-			vcc-supply = <&reg_2v8_p>;
-			iovcc-supply = <&reg_1v8_p>;
-		};
-	};
Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml new file +57 -0

57 lines not on this page · raw message

MAINTAINERS +1 -1
index 33dbe94e03ab..eec316171b5e 100644
@@ -5400,7 +5400,7 @@ M:	Guido Günther <[email protected]>
 R:	Purism Kernel Team <[email protected]>
 S:	Maintained
 F:	drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c
-F:	Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.txt
+F:	Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml
 
 DRM DRIVER FOR SAVAGE VIDEO CARDS
 S:	Orphan / Obsolete
Signature · 1 line
2.20.1
#45 lore raw

PATCH v2 20/36 dt-bindings: display: convert samsung AMOLED to DT Schema

In reply to Sam Ravnborg

For samsung there was two AMOLED panels with the same description.
Collect them in one binding file.

Cc Hoegeun Kwon <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../panel/samsung,amoled-mipi-dsi.yaml        | 65 +++++++++++++++++++
 .../display/panel/samsung,s6e3ha2.txt         | 31 ---------
 .../display/panel/samsung,s6e63j0x03.txt      | 24 -------
 3 files changed, 65 insertions(+), 55 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e3ha2.txt
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e63j0x03.txt
Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml new file +65 -0
new file mode 100644
index 000000000000..96bdde9298e0
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/samsung,amoled-mipi-dsi.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung AMOLED MIPI-DSI panels
+
+maintainers:
+  - Hoegeun Kwon <[email protected]>
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    enum:
+        # Samsung S6E63J0X03 1.63" 320x320 AMOLED panel
+      - samsung,s6e63j0x03
+        # Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel
+      - samsung,s6e3ha2
+        # Samsung S6E3HF2 5.65" 1600x2560 AMOLED panel
+      - samsung,s6e3hf2
+
+  reg: true
+  reset-gpios: true
+  enable-gpios: true
+  te-gpios: true
+
+  vdd3-supply:
+    description: I/O voltage supply
+
+  vci-supply:
+    description: voltage supply for analog circuits
+
+required:
+  - compatible
+  - reg
+  - vdd3-supply
+  - vci-supply
+  - reset-gpios
+  - enable-gpios
+
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    dsi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        panel@0 {
+            compatible = "samsung,s6e3ha2";
+            reg = <0>;
+            vdd3-supply = <&ldo27_reg>;
+            vci-supply = <&ldo28_reg>;
+            reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>;
+            enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>;
+            te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>;
+        };
+    };
+
+...
Documentation/devicetree/bindings/display/panel/samsung,s6e3ha2.txt deleted +0 -31
deleted file mode 100644
index 4acea25c244b..000000000000
@@ -1,31 +0,0 @@
-Samsung S6E3HA2 5.7" 1440x2560 AMOLED panel
-Samsung S6E3HF2 5.65" 1600x2560 AMOLED panel
-
-Required properties:
-  - compatible: should be one of:
-    "samsung,s6e3ha2",
-    "samsung,s6e3hf2".
-  - reg: the virtual channel number of a DSI peripheral
-  - vdd3-supply: I/O voltage supply
-  - vci-supply: voltage supply for analog circuits
-  - reset-gpios: a GPIO spec for the reset pin (active low)
-  - enable-gpios: a GPIO spec for the panel enable pin (active high)
-
-Optional properties:
-  - te-gpios: a GPIO spec for the tearing effect synchronization signal
-    gpio pin (active high)
-
-Example:
-&dsi {
-	...
-
-	panel@0 {
-		compatible = "samsung,s6e3ha2";
-		reg = <0>;
-		vdd3-supply = <&ldo27_reg>;
-		vci-supply = <&ldo28_reg>;
-		reset-gpios = <&gpg0 0 GPIO_ACTIVE_LOW>;
-		enable-gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>;
-		te-gpios = <&gpf1 3 GPIO_ACTIVE_HIGH>;
-	};
-};
Documentation/devicetree/bindings/display/panel/samsung,s6e63j0x03.txt deleted +0 -24
deleted file mode 100644
index 3f1a8392af7f..000000000000
@@ -1,24 +0,0 @@
-Samsung S6E63J0X03 1.63" 320x320 AMOLED panel (interface: MIPI-DSI command mode)
-
-Required properties:
-  - compatible: "samsung,s6e63j0x03"
-  - reg: the virtual channel number of a DSI peripheral
-  - vdd3-supply: I/O voltage supply
-  - vci-supply: voltage supply for analog circuits
-  - reset-gpios: a GPIO spec for the reset pin (active low)
-  - te-gpios: a GPIO spec for the tearing effect synchronization signal
-    gpio pin (active high)
-
-Example:
-&dsi {
-	...
-
-	panel@0 {
-		compatible = "samsung,s6e63j0x03";
-		reg = <0>;
-		vdd3-supply = <&ldo16_reg>;
-		vci-supply = <&ldo20_reg>;
-		reset-gpios = <&gpe0 1 GPIO_ACTIVE_LOW>;
-		te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
-	};
-};
Signature · 1 line
2.20.1
#47 lore raw

PATCH v2 21/36 dt-bindings: display: convert samsung, s6d16d0 to DT Schema

In reply to Sam Ravnborg
Cc Linus Walleij <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/samsung,s6d16d0.txt         | 30 ----------
 .../display/panel/samsung,s6d16d0.yaml        | 56 +++++++++++++++++++
 2 files changed, 56 insertions(+), 30 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.txt deleted +0 -30
deleted file mode 100644
index b94e366f451b..000000000000
@@ -1,30 +0,0 @@
-Samsung S6D16D0 4" 864x480 AMOLED panel
-
-Required properties:
-  - compatible: should be:
-    "samsung,s6d16d0",
-  - reg: the virtual channel number of a DSI peripheral
-  - vdd1-supply: I/O voltage supply
-  - reset-gpios: a GPIO spec for the reset pin (active low)
-
-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:
-&dsi {
-	...
-
-	panel@0 {
-		compatible = "samsung,s6d16d0";
-		reg = <0>;
-		vdd1-supply = <&foo>;
-		reset-gpios = <&foo_gpio 0 GPIO_ACTIVE_LOW>;
-
-		port {
-			panel_in: endpoint {
-				remote-endpoint = <&dsi_out>;
-			};
-		};
-	};
-};
Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml new file +56 -0

56 lines not on this page · raw message

Signature · 1 line
2.20.1
#49 lore raw

PATCH v2 22/36 dt-bindings: display: convert samsung, ld9040 to DT Schema

In reply to Sam Ravnborg

v2:
- drop use of spi-slave.yaml (Maxime)
- added unevaluatedProperties (Maxime)
- added type to width/height properties (Rob)

Cc Maxime Ripard <[email protected]>
Cc Rob Herring <[email protected]>
Cc Andrzej Hajda <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../bindings/display/panel/samsung,ld9040.txt |  66 -----------
 .../display/panel/samsung,ld9040.yaml         | 107 ++++++++++++++++++
 2 files changed, 107 insertions(+), 66 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,ld9040.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml
Documentation/devicetree/bindings/display/panel/samsung,ld9040.txt deleted +0 -66
deleted file mode 100644
index 354d4d1df4ff..000000000000
@@ -1,66 +0,0 @@
-Samsung LD9040 AMOLED LCD parallel RGB panel with SPI control bus
-
-Required properties:
-  - compatible: "samsung,ld9040"
-  - reg: address of the panel on SPI bus
-  - vdd3-supply: core voltage supply
-  - vci-supply: voltage supply for analog circuits
-  - reset-gpios: a GPIO spec for the reset pin
-  - display-timings: timings for the connected panel according to [1]
-
-The panel must obey rules for SPI slave device specified in document [2].
-
-Optional properties:
-  - power-on-delay: delay after turning regulators on [ms]
-  - reset-delay: delay after reset sequence [ms]
-  - panel-width-mm: physical panel width [mm]
-  - panel-height-mm: physical panel height [mm]
-
-The device node can contain one 'port' child node with one child
-'endpoint' node, according to the bindings defined in [3]. This
-node should describe panel's video bus.
-
-[1]: Documentation/devicetree/bindings/display/panel/display-timing.txt
-[2]: Documentation/devicetree/bindings/spi/spi-bus.txt
-[3]: Documentation/devicetree/bindings/media/video-interfaces.txt
-
-Example:
-
-	lcd@0 {
-		compatible = "samsung,ld9040";
-		reg = <0>;
-		vdd3-supply = <&ldo7_reg>;
-		vci-supply = <&ldo17_reg>;
-		reset-gpios = <&gpy4 5 0>;
-		spi-max-frequency = <1200000>;
-		spi-cpol;
-		spi-cpha;
-		power-on-delay = <10>;
-		reset-delay = <10>;
-		panel-width-mm = <90>;
-		panel-height-mm = <154>;
-
-		display-timings {
-			timing {
-				clock-frequency = <23492370>;
-				hactive = <480>;
-				vactive = <800>;
-				hback-porch = <16>;
-				hfront-porch = <16>;
-				vback-porch = <2>;
-				vfront-porch = <28>;
-				hsync-len = <2>;
-				vsync-len = <1>;
-				hsync-active = <0>;
-				vsync-active = <0>;
-				de-active = <0>;
-				pixelclk-active = <0>;
-			};
-		};
-
-		port {
-			lcd_ep: endpoint {
-				remote-endpoint = <&fimd_dpi_ep>;
-			};
-		};
-	};
Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml new file +107 -0

107 lines not on this page · raw message

Signature · 1 line
2.20.1
#51 lore raw

PATCH v2 23/36 dt-bindings: display: convert samsung, s6e8aa0 to DT Schema

In reply to Sam Ravnborg
Cc Andrzej Hajda <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/samsung,s6e8aa0.txt         | 56 -----------
 .../display/panel/samsung,s6e8aa0.yaml        | 96 +++++++++++++++++++
 2 files changed, 96 insertions(+), 56 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.txt deleted +0 -56
deleted file mode 100644
index 9e766c5f86da..000000000000
@@ -1,56 +0,0 @@
-Samsung S6E8AA0 AMOLED LCD 5.3 inch panel
-
-Required properties:
-  - compatible: "samsung,s6e8aa0"
-  - reg: the virtual channel number of a DSI peripheral
-  - vdd3-supply: core voltage supply
-  - vci-supply: voltage supply for analog circuits
-  - reset-gpios: a GPIO spec for the reset pin
-  - display-timings: timings for the connected panel as described by [1]
-
-Optional properties:
-  - power-on-delay: delay after turning regulators on [ms]
-  - reset-delay: delay after reset sequence [ms]
-  - init-delay: delay after initialization sequence [ms]
-  - panel-width-mm: physical panel width [mm]
-  - panel-height-mm: physical panel height [mm]
-  - flip-horizontal: boolean to flip image horizontally
-  - flip-vertical: boolean to flip image vertically
-
-The device node can contain one 'port' child node with one child
-'endpoint' node, according to the bindings defined in [2]. This
-node should describe panel's video bus.
-
-[1]: Documentation/devicetree/bindings/display/panel/display-timing.txt
-[2]: Documentation/devicetree/bindings/media/video-interfaces.txt
-
-Example:
-
-	panel {
-		compatible = "samsung,s6e8aa0";
-		reg = <0>;
-		vdd3-supply = <&vcclcd_reg>;
-		vci-supply = <&vlcd_reg>;
-		reset-gpios = <&gpy4 5 0>;
-		power-on-delay= <50>;
-		reset-delay = <100>;
-		init-delay = <100>;
-		panel-width-mm = <58>;
-		panel-height-mm = <103>;
-		flip-horizontal;
-		flip-vertical;
-
-		display-timings {
-			timing0: timing-0 {
-				clock-frequency = <57153600>;
-				hactive = <720>;
-				vactive = <1280>;
-				hfront-porch = <5>;
-				hback-porch = <5>;
-				hsync-len = <5>;
-				vfront-porch = <13>;
-				vback-porch = <1>;
-				vsync-len = <2>;
-			};
-		};
-	};
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml new file +96 -0

96 lines not on this page · raw message

Signature · 1 line
2.20.1
#53 lore raw

PATCH v2 24/36 dt-bindings: display: convert toppoly panels to DT Schema

In reply to Sam Ravnborg

v2:
- dropped use of spi-slave.yaml (Maxime)
- added unevaluatedProperties (Maxime)

Cc Maxime Ripard <[email protected]>
Cc Marek Belisko <[email protected]>
Cc H. Nikolaus Schaller <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../bindings/display/panel/tpo,td.yaml        | 65 +++++++++++++++++++
 .../bindings/display/panel/tpo,td028ttec1.txt | 32 ---------
 .../bindings/display/panel/tpo,td043mtea1.txt | 33 ----------
 3 files changed, 65 insertions(+), 65 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td.yaml
 delete mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt
 delete mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td043mtea1.txt
Documentation/devicetree/bindings/display/panel/tpo,td.yaml new file +65 -0
new file mode 100644
index 000000000000..4aa605613445
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/tpo,td.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Toppoly TD Panels
+
+description: |
+  The panel must obey the rules for a SPI slave device as specified in
+  spi/spi-controller.yaml
+
+maintainers:
+  - Marek Belisko <[email protected]>
+  - H. Nikolaus Schaller <[email protected]>
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    enum:
+        # Toppoly TD028TTEC1 Panel
+      - tpo,td028ttec1
+        # Toppoly TD043MTEA1 Panel
+      - tpo,td043mtea1
+
+  reg: true
+  label: true
+  reset-gpios: true
+  backlight: true
+  port: true
+
+required:
+  - compatible
+  - port
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    spi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        panel: panel@0 {
+            compatible = "tpo,td043mtea1";
+            reg = <0>;
+            spi-max-frequency = <100000>;
+            spi-cpol;
+            spi-cpha;
+
+            label = "lcd";
+
+            reset-gpios = <&gpio7 7 0>;
+
+            port {
+                lcd_in: endpoint {
+                    remote-endpoint = <&dpi_out>;
+                };
+            };
+        };
+    };
+
+...
Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt deleted +0 -32
deleted file mode 100644
index 898e06ecf4ef..000000000000
@@ -1,32 +0,0 @@
-Toppoly TD028TTEC1 Panel
-========================
-
-Required properties:
-- compatible: "tpo,td028ttec1"
-
-Optional properties:
-- label: a symbolic name for the panel
-- backlight: phandle of the backlight device
-
-Required nodes:
-- Video port for DPI input
-
-Example
--------
-
-lcd-panel: td028ttec1@0 {
-	compatible = "tpo,td028ttec1";
-	reg = <0>;
-	spi-max-frequency = <100000>;
-	spi-cpol;
-	spi-cpha;
-
-	label = "lcd";
-	backlight = <&backlight>;
-	port {
-		lcd_in: endpoint {
-			remote-endpoint = <&dpi_out>;
-		};
-	};
-};
-
Documentation/devicetree/bindings/display/panel/tpo,td043mtea1.txt deleted +0 -33
deleted file mode 100644
index ec6d62975162..000000000000
@@ -1,33 +0,0 @@
-TPO TD043MTEA1 Panel
-====================
-
-Required properties:
-- compatible: "tpo,td043mtea1"
-- reset-gpios: panel reset gpio
-
-Optional properties:
-- label: a symbolic name for the panel
-
-Required nodes:
-- Video port for DPI input
-
-Example
--------
-
-lcd-panel: panel@0 {
-	compatible = "tpo,td043mtea1";
-	reg = <0>;
-	spi-max-frequency = <100000>;
-	spi-cpol;
-	spi-cpha;
-
-	label = "lcd";
-
-	reset-gpios = <&gpio7 7 0>;
-
-	port {
-		lcd_in: endpoint {
-			remote-endpoint = <&dpi_out>;
-		};
-	};
-};
Signature · 1 line
2.20.1
#57 lore raw

PATCH v2 25/36 dt-bindings: display: convert startek, startek-kd050c to DT Schema

In reply to Sam Ravnborg
Cc Marek Belisko <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/startek,startek-kd050c.txt  |  4 ---
 .../display/panel/startek,startek-kd050c.yaml | 33 +++++++++++++++++++
 2 files changed, 33 insertions(+), 4 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/startek,startek-kd050c.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/startek,startek-kd050c.yaml
Documentation/devicetree/bindings/display/panel/startek,startek-kd050c.txt deleted +0 -4
deleted file mode 100644
index 70cd8d18d841..000000000000
@@ -1,4 +0,0 @@
-Startek Electronic Technology Co. KD050C 5.0" WVGA TFT LCD panel
-
-Required properties:
-- compatible: should be "startek,startek-kd050c"
Documentation/devicetree/bindings/display/panel/startek,startek-kd050c.yaml new file +33 -0
new file mode 100644
index 000000000000..fd668640afd1
@@ -0,0 +1,33 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/startek,startek-kd050c.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Startek Electronic Technology Co. KD050C 5.0" WVGA TFT LCD panel
+
+maintainers:
+  - Nikita Kiryanov <[email protected]>
+
+allOf:
+  - $ref: panel-dpi.yaml#
+
+properties:
+  compatible:
+    items:
+      - const: startek,startek-kd050c
+      - {} # panel-dpi, but not listed here to avoid false select
+
+  backlight: true
+  enable-gpios: true
+  height-mm: true
+  label: true
+  panel-timing: true
+  port: true
+  power-supply: true
+  reset-gpios: true
+  width-mm: true
+
+additionalProperties: false
+
+...
Signature · 1 line
2.20.1
#59 lore raw

PATCH v2 26/36 dt-bindings: display: convert sony, acx565akm to DT Schema

In reply to Sam Ravnborg

v2:
- drop use of spi-slave.yaml (Maxime)
- add unevaluatedProperties (Maxime)
- rename node in example to panel (Rob)

Cc Tomi Valkeinen <[email protected]>
Cc Rob Herring <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../bindings/display/panel/sony,acx565akm.txt | 30 ----------
 .../display/panel/sony,acx565akm.yaml         | 57 +++++++++++++++++++
 2 files changed, 57 insertions(+), 30 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/sony,acx565akm.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml
Documentation/devicetree/bindings/display/panel/sony,acx565akm.txt deleted +0 -30
deleted file mode 100644
index e12333280749..000000000000
@@ -1,30 +0,0 @@
-Sony ACX565AKM SDI Panel
-========================
-
-Required properties:
-- compatible: "sony,acx565akm"
-
-Optional properties:
-- label: a symbolic name for the panel
-- reset-gpios: panel reset gpio
-
-Required nodes:
-- Video port for SDI input
-
-Example
--------
-
-acx565akm@2 {
-	compatible = "sony,acx565akm";
-	spi-max-frequency = <6000000>;
-	reg = <2>;
-
-	label = "lcd";
-	reset-gpios = <&gpio3 26 GPIO_ACTIVE_HIGH>; /* 90 */
-
-	port {
-		lcd_in: endpoint {
-			remote-endpoint = <&sdi_out>;
-		};
-	};
-};
Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml new file +57 -0

57 lines not on this page · raw message

Signature · 1 line
2.20.1
#63 lore raw

PATCH v2 28/36 dt-bindings: display: drop unused simple-panel.txt

In reply to Sam Ravnborg

There are no more references to simple-panel.txt.
Delete it.

Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 Documentation/devicetree/bindings/display/panel/simple-panel.txt | 1 -
 1 file changed, 1 deletion(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/simple-panel.txt
Documentation/devicetree/bindings/display/panel/simple-panel.txt deleted +0 -1
deleted file mode 100644
index e11208fb7da8..000000000000
@@ -1 +0,0 @@
-See panel-common.yaml in this directory.
Signature · 1 line
2.20.1
#61 lore raw

PATCH v2 27/36 dt-bindings: display: convert sitronix, st7789v to DT Schema

In reply to Sam Ravnborg

v2:
- dropped use of spi-slave.yaml (Maxime)
- added unevaluatedProperties (Maxime)

Cc Maxime Ripard <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/sitronix,st7789v.txt        | 37 -----------
 .../display/panel/sitronix,st7789v.yaml       | 63 +++++++++++++++++++
 2 files changed, 63 insertions(+), 37 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt deleted +0 -37
deleted file mode 100644
index c6995dde641b..000000000000
@@ -1,37 +0,0 @@
-Sitronix ST7789V RGB panel with SPI control bus
-
-Required properties:
-  - compatible: "sitronix,st7789v"
-  - reg: Chip select of the panel on the SPI bus
-  - reset-gpios: a GPIO phandle for the reset pin
-  - power-supply: phandle of the regulator that provides the supply voltage
-
-Optional properties:
-  - backlight: phandle to the backlight used
-
-The generic bindings for the SPI slaves documented in [1] also applies
-
-The device node can contain one 'port' child node with one child
-'endpoint' node, according to the bindings defined in [2]. This
-node should describe panel's video bus.
-
-[1]: Documentation/devicetree/bindings/spi/spi-bus.txt
-[2]: Documentation/devicetree/bindings/graph.txt
-
-Example:
-
-panel@0 {
-	compatible = "sitronix,st7789v";
-	reg = <0>;
-	reset-gpios = <&pio 6 11 GPIO_ACTIVE_LOW>;
-	backlight = <&pwm_bl>;
-	spi-max-frequency = <100000>;
-	spi-cpol;
-	spi-cpha;
-
-	port {
-		panel_input: endpoint {
-			remote-endpoint = <&tcon0_out_panel>;
-		};
-	};
-};
Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml new file +63 -0

63 lines not on this page · raw message

Signature · 1 line
2.20.1
#65 lore raw

PATCH v2 29/36 dt-bindings: display: convert sharp, ls043t1le01 to DT Schema

In reply to Sam Ravnborg

The txt binding specified the property "power-supply". But the example and the actual implementation in the linux-kernel uses "avdd-supply".
So the binding is adjusted to use avdd-supply as this seems to be the correct choice.
There are no DT files in the linux kernel to check.

Cc Werner Johansson <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/sharp,ls043t1le01.txt       | 22 --------
 .../display/panel/sharp,ls043t1le01.yaml      | 51 +++++++++++++++++++
 2 files changed, 51 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ls043t1le01.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ls043t1le01.yaml
Documentation/devicetree/bindings/display/panel/sharp,ls043t1le01.txt deleted +0 -22
deleted file mode 100644
index 3770a111968b..000000000000
@@ -1,22 +0,0 @@
-Sharp Microelectronics 4.3" qHD TFT LCD panel
-
-Required properties:
-- compatible: should be "sharp,ls043t1le01-qhd"
-- reg: DSI virtual channel of the peripheral
-- power-supply: phandle of the regulator that provides the supply voltage
-
-Optional properties:
-- backlight: phandle of the backlight device attached to the panel
-- reset-gpios: a GPIO spec for the reset pin
-
-Example:
-
-	mdss_dsi@fd922800 {
-		panel@0 {
-			compatible = "sharp,ls043t1le01-qhd";
-			reg = <0>;
-			avdd-supply = <&pm8941_l22>;
-			backlight = <&pm8941_wled>;
-			reset-gpios = <&pm8941_gpios 19 GPIO_ACTIVE_HIGH>;
-		};
-	};
Documentation/devicetree/bindings/display/panel/sharp,ls043t1le01.yaml new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
2.20.1
#67 lore raw

PATCH v2 30/36 dt-bindings: display: convert sharp, lq101r1sx01 to DT Schema

In reply to Sam Ravnborg

This binding describes a panel with a secondary channel.

v2:
- add check for required properties if link2 is present (Rob)

Cc Rob Herring <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/sharp,lq101r1sx01.txt       | 49 -----------
 .../display/panel/sharp,lq101r1sx01.yaml      | 85 +++++++++++++++++++
 2 files changed, 85 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
Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.txt deleted +0 -49
deleted file mode 100644
index f522bb8e47e1..000000000000
@@ -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>;
-		};
-	};
Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml new file +85 -0

85 lines not on this page · raw message

Signature · 1 line
2.20.1
#69 lore raw

PATCH v2 31/36 dt-bindings: display: convert sharp, ls037v7dw01 to DT Schema

In reply to Sam Ravnborg

v2:
- Add min/maxItems to mode-gpios (Rob)
- Fix bug in description, mode is up to three gpios (Rob)

Cc Rob Herring <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/sharp,ls037v7dw01.txt       | 43 ------------
 .../display/panel/sharp,ls037v7dw01.yaml      | 68 +++++++++++++++++++
 2 files changed, 68 insertions(+), 43 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.yaml
Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.txt deleted +0 -43
deleted file mode 100644
index 0cc8981e9d49..000000000000
@@ -1,43 +0,0 @@
-SHARP LS037V7DW01 TFT-LCD panel
-===================================
-
-Required properties:
-- compatible: "sharp,ls037v7dw01"
-
-Optional properties:
-- label: a symbolic name for the panel
-- enable-gpios: a GPIO spec for the optional enable pin.
-  This pin is the INI pin as specified in the LS037V7DW01.pdf file.
-- reset-gpios: a GPIO spec for the optional reset pin.
-  This pin is the RESB pin as specified in the LS037V7DW01.pdf file.
-- mode-gpios: a GPIO
-  ordered MO, LR, and UD as specified in the LS037V7DW01.pdf file.
-
-Required nodes:
-- Video port for DPI input
-
-This panel can have zero to five GPIOs to configure to change configuration
-between QVGA and VGA mode and the scan direction. As these pins can be also
-configured with external pulls, all the GPIOs are considered optional with holes
-in the array.
-
-Example
--------
-
-Example when connected to a omap2+ based device:
-
-lcd0: display {
-	compatible = "sharp,ls037v7dw01";
-	power-supply = <&lcd_3v3>;
-	enable-gpios = <&gpio5 24 GPIO_ACTIVE_HIGH>;	/* gpio152, lcd INI */
-	reset-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>;	/* gpio155, lcd RESB */
-	mode-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH	/* gpio154, lcd MO */
-		      &gpio1 2 GPIO_ACTIVE_HIGH		/* gpio2, lcd LR */
-		      &gpio1 3 GPIO_ACTIVE_HIGH>;	/* gpio3, lcd UD */
-
-	port {
-		lcd_in: endpoint {
-			remote-endpoint = <&dpi_out>;
-		};
-	};
-};
Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.yaml new file +68 -0

68 lines not on this page · raw message

Signature · 1 line
2.20.1
#73 lore raw

PATCH v2 33/36 dt-bindings: display: convert seiko, 43wvf1g to DT Schema

In reply to Sam Ravnborg
Cc Marco Franchi <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../bindings/display/panel/seiko,43wvf1g.txt  | 23 ---------
 .../bindings/display/panel/seiko,43wvf1g.yaml | 49 +++++++++++++++++++
 2 files changed, 49 insertions(+), 23 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/seiko,43wvf1g.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/seiko,43wvf1g.yaml
Documentation/devicetree/bindings/display/panel/seiko,43wvf1g.txt deleted +0 -23
deleted file mode 100644
index aae57ef36cdd..000000000000
@@ -1,23 +0,0 @@
-Seiko Instruments Inc. 4.3" WVGA (800 x RGB x 480) TFT with Touch-Panel
-
-Required properties:
-- compatible: should be "sii,43wvf1g".
-- "dvdd-supply": 3v3 digital regulator.
-- "avdd-supply": 5v analog regulator.
-
-Optional properties:
-- backlight: phandle for the backlight control.
-
-Example:
-
-	panel {
-		compatible = "sii,43wvf1g";
-		backlight = <&backlight_display>;
-		dvdd-supply = <&reg_lcd_3v3>;
-		avdd-supply = <&reg_lcd_5v>;
-		port {
-			panel_in: endpoint {
-				remote-endpoint = <&display_out>;
-			};
-		};
-	};
Documentation/devicetree/bindings/display/panel/seiko,43wvf1g.yaml new file +49 -0

49 lines not on this page · raw message

Signature · 1 line
2.20.1
#71 lore raw

PATCH v2 32/36 dt-bindings: display: convert sharp, lq150x1lg11 to DT Schema

In reply to Sam Ravnborg
Cc Peter Rosin <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/sharp,lq150x1lg11.txt       | 36 ------------
 .../display/panel/sharp,lq150x1lg11.yaml      | 58 +++++++++++++++++++
 2 files changed, 58 insertions(+), 36 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/sharp,lq150x1lg11.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/sharp,lq150x1lg11.yaml
Documentation/devicetree/bindings/display/panel/sharp,lq150x1lg11.txt deleted +0 -36
deleted file mode 100644
index 0f57c3143506..000000000000
@@ -1,36 +0,0 @@
-Sharp 15" LQ150X1LG11 XGA TFT LCD panel
-
-Required properties:
-- compatible: should be "sharp,lq150x1lg11"
-- power-supply: regulator to provide the VCC supply voltage (3.3 volts)
-
-Optional properties:
-- backlight: phandle of the backlight device
-- rlud-gpios: a single GPIO for the RL/UD (rotate 180 degrees) pin.
-- sellvds-gpios: a single GPIO for the SELLVDS pin.
-
-If rlud-gpios and/or sellvds-gpios are not specified, the RL/UD and/or SELLVDS
-pins are assumed to be handled appropriately by the hardware.
-
-Example:
-
-	backlight: backlight {
-		compatible = "pwm-backlight";
-		pwms = <&pwm 0 100000>;                      /* VBR */
-
-		brightness-levels = <0 20 40 60 80 100>;
-		default-brightness-level = <2>;
-
-		power-supply = <&vdd_12v_reg>;               /* VDD */
-		enable-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;  /* XSTABY */
-	};
-
-	panel {
-		compatible = "sharp,lq150x1lg11";
-
-		power-supply = <&vcc_3v3_reg>;               /* VCC */
-
-		backlight = <&backlight>;
-		rlud-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;    /* RL/UD */
-		sellvds-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>; /* SELLVDS */
-	};
Documentation/devicetree/bindings/display/panel/sharp,lq150x1lg11.yaml new file +58 -0

58 lines not on this page · raw message

Signature · 1 line
2.20.1
#75 lore raw

PATCH v2 34/36 dt-bindings: display: convert lgphilips, lb035q02 to DT Schema

In reply to Sam Ravnborg

v2:
- drop use of spi-slave.yaml (Maxime)
- added unevaluatedProperties (maxime)

Cc Maxime Ripard <[email protected]>
Cc Tomi Valkeinen <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/lgphilips,lb035q02.txt      | 33 -----------
 .../display/panel/lgphilips,lb035q02.yaml     | 59 +++++++++++++++++++
 2 files changed, 59 insertions(+), 33 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml
Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.txt deleted +0 -33
deleted file mode 100644
index 1a1e653e5407..000000000000
@@ -1,33 +0,0 @@
-LG.Philips LB035Q02 Panel
-=========================
-
-Required properties:
-- compatible: "lgphilips,lb035q02"
-- enable-gpios: panel enable gpio
-
-Optional properties:
-- label: a symbolic name for the panel
-
-Required nodes:
-- Video port for DPI input
-
-Example
--------
-
-lcd-panel: panel@0 {
-	compatible = "lgphilips,lb035q02";
-	reg = <0>;
-	spi-max-frequency = <100000>;
-	spi-cpol;
-	spi-cpha;
-
-	label = "lcd";
-
-	enable-gpios = <&gpio7 7 0>;
-
-	port {
-		lcd_in: endpoint {
-			remote-endpoint = <&dpi_out>;
-		};
-	};
-};
Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml new file +59 -0

59 lines not on this page · raw message

Signature · 1 line
2.20.1
#77 lore raw

PATCH v2 35/36 dt-bindings: display: convert olimex, lcd-olinuxino to DT Schema

In reply to Sam Ravnborg

v2:
- use "ic2" node name in example (Rob)

Cc Rob Herring <[email protected]>
Cc Stefan Mavrodiev <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/olimex,lcd-olinuxino.txt    | 42 -----------
 .../display/panel/olimex,lcd-olinuxino.yaml   | 70 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 71 insertions(+), 43 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml
Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.txt deleted +0 -42
deleted file mode 100644
index a89f9c830a85..000000000000
@@ -1,42 +0,0 @@
-Binding for Olimex Ltd. LCD-OLinuXino bridge panel.
-
-This device can be used as bridge between a host controller and LCD panels.
-Currently supported LCDs are:
-  - LCD-OLinuXino-4.3TS
-  - LCD-OLinuXino-5
-  - LCD-OLinuXino-7
-  - LCD-OLinuXino-10
-
-The panel itself contains:
-  - AT24C16C EEPROM holding panel identification and timing requirements
-  - AR1021 resistive touch screen controller (optional)
-  - FT5x6 capacitive touch screnn controller (optional)
-  - GT911/GT928 capacitive touch screen controller (optional)
-
-The above chips share same I2C bus. The EEPROM is factory preprogrammed with
-device information (id, serial, etc.) and timing requirements.
-
-Touchscreen bingings can be found in these files:
-  - input/touchscreen/goodix.txt
-  - input/touchscreen/edt-ft5x06.txt
-  - input/touchscreen/ar1021.txt
-
-Required properties:
-  - compatible: should be "olimex,lcd-olinuxino"
-  - reg: address of the configuration EEPROM, should be <0x50>
-  - power-supply: phandle of the regulator that provides the supply voltage
-
-Optional properties:
-  - enable-gpios: GPIO pin to enable or disable the panel
-  - backlight: phandle of the backlight device attacked to the panel
-
-Example:
-&i2c2 {
-	panel@50 {
-		compatible = "olimex,lcd-olinuxino";
-		reg = <0x50>;
-		power-supply = <&reg_vcc5v0>;
-		enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>;
-		backlight = <&backlight>;
-	};
-};
Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml new file +70 -0

70 lines not on this page · raw message

MAINTAINERS +1 -1
index eec316171b5e..22e63341006e 100644
@@ -5356,7 +5356,7 @@ DRM DRIVER FOR OLIMEX LCD-OLINUXINO PANELS
 M:	Stefan Mavrodiev <[email protected]>
 S:	Maintained
 F:	drivers/gpu/drm/panel/panel-olimex-lcd-olinuxino.c
-F:	Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.txt
+F:	Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml
 
 DRM DRIVER FOR PERVASIVE DISPLAYS REPAPER PANELS
 M:	Noralf Trønnes <[email protected]>
Signature · 1 line
2.20.1
#79 lore raw

PATCH v2 36/36 dt-bindings: display: move DSI panels to panel-simple-dsi

In reply to Sam Ravnborg

Tomi noticed that several DSI panels was wrongly described in panel-simple.yaml.
Move them to panel-simple-dsi.yaml where they belong.

Cc Tomi Valkeinen <[email protected]>
---
 .../bindings/display/panel/panel-simple-dsi.yaml          | 8 ++++++++
 .../devicetree/bindings/display/panel/panel-simple.yaml   | 8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml +8 -0
index f2698d7c09e6..423532f57e89 100644
@@ -29,8 +29,16 @@ properties:
       # compatible must be listed in alphabetical order, ordered by compatible.
       # The description in the comment is mandatory for each compatible.
 
+        # AU Optronics Corporation 8.0" WUXGA TFT LCD panel
+      - auo,b080uan01
+        # Boe Corporation 8.0" WUXGA TFT LCD panel
+      - boe,tv080wum-nl0
         # Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel
       - kingdisplay,kd097d04
+        # LG ACX467AKM-7 4.95" 1080×1920 LCD Panel
+      - lg,acx467akm-7
+        # LG Corporation 7" WXGA TFT LCD panel
+      - lg,ld070wx3-sl01
         # One Stop Displays OSD101T2587-53TS 10.1" 1920x1200 panel
       - osddisplays,osd101t2587-53ts
         # Panasonic 10" WUXGA TFT LCD panel
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +0 -8
index e4f8133f48bb..c6aa5ddc678a 100644
@@ -33,8 +33,6 @@ properties:
       - ampire,am-480272h3tmqw-t01h
         # Ampire AM-800480R3TMQW-A1H 7.0" WVGA TFT LCD panel
       - ampire,am800480r3tmqwa1h
-        # AU Optronics Corporation 8.0" WUXGA TFT LCD panel
-      - auo,b080uan01
         # AU Optronics Corporation 10.1" WSVGA TFT LCD panel
       - auo,b101aw03
         # AU Optronics Corporation 10.1" WSVGA TFT LCD panel
@@ -71,8 +69,6 @@ properties:
       - boe,nv101wxmn51
         # BOE NV140FHM-N49 14.0" FHD a-Si FT panel
       - boe,nv140fhmn49
-        # Boe Corporation 8.0" WUXGA TFT LCD panel
-      - boe,tv080wum-nl0
         # CDTech(H.K.) Electronics Limited 4.3" 480x272 color TFT-LCD panel
       - cdtech,s043wq26h-ct7
         # CDTech(H.K.) Electronics Limited 7" 800x480 color TFT-LCD panel
@@ -155,12 +151,8 @@ properties:
       - kyo,tcg121xglp
         # LeMaker BL035-RGB-002 3.5" QVGA TFT LCD panel
       - lemaker,bl035-rgb-002
-        # LG ACX467AKM-7 4.95" 1080×1920 LCD Panel
-      - lg,acx467akm-7
         # LG 7" (800x480 pixels) TFT LCD panel
       - lg,lb070wv8
-        # LG Corporation 7" WXGA TFT LCD panel
-      - lg,ld070wx3-sl01
         # LG Corporation 5" HD TFT LCD panel
       - lg,lh500wx1-sd03
         # LG LP079QX1-SP0V 7.9" (1536x2048 pixels) TFT LCD panel
Signature · 1 line
2.20.1
#54 lore raw

Re: [PATCH v2 24/36] dt-bindings: display: convert toppoly panels to DT Schema

In reply to Sam Ravnborg

Hi Sam,

Quoted 80 lines

Am 08.04.2020 um 21:50 schrieb Sam Ravnborg <[email protected]>:

v2:
- dropped use of spi-slave.yaml (Maxime)
- added unevaluatedProperties (Maxime)

Cc Maxime Ripard <[email protected]>
Cc Marek Belisko <[email protected]>
Cc H. Nikolaus Schaller <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>

---

.../bindings/display/panel/tpo,td.yaml        | 65 +++++++++++++++++++
.../bindings/display/panel/tpo,td028ttec1.txt | 32 ---------
.../bindings/display/panel/tpo,td043mtea1.txt | 33 ----------
3 files changed, 65 insertions(+), 65 deletions(-)

create mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td.yaml delete mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt delete mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td043mtea1.txt

Documentation/devicetree/bindings/display/panel/tpo,td.yaml new file +53 -0
new file mode 100644
index 000000000000..4aa605613445
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/tpo,td.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Toppoly TD Panels
+
+description: |
+  The panel must obey the rules for a SPI slave device as specified in
+  spi/spi-controller.yaml
+
+maintainers:
+  - Marek Belisko <[email protected]>
+  - H. Nikolaus Schaller <[email protected]>
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    enum:
+        # Toppoly TD028TTEC1 Panel
+      - tpo,td028ttec1
+        # Toppoly TD043MTEA1 Panel
+      - tpo,td043mtea1
+
+  reg: true
+  label: true
+  reset-gpios: true
+  backlight: true
+  port: true
+
+required:
+  - compatible
+  - port
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    spi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        panel: panel@0 {
+            compatible = "tpo,td043mtea1";
+            reg = <0>;
+            spi-max-frequency = <100000>;
+            spi-cpol;
+            spi-cpha;
+
+            label = "lcd";

Documentation/devicetree/bindings/display/panel/tpo,td.yaml line 63

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/tpo,td.yaml new file +10 -0
+
+            reset-gpios = <&gpio7 7 0>;
+
+            port {
+                lcd_in: endpoint {
+                    remote-endpoint = <&dpi_out>;
+                };
+            };
+        };
+    };

I think it is possible to add two examples (the one for tpo,td028ttec1) as well. The reason is that it must also have spi-cs-high; which isn't documented anywhere else and wasn't in tpo,td028ttec1.txt.

Documentation/devicetree/bindings/display/panel/tpo,td.yaml line 65

Quoted 2 lines
Documentation/devicetree/bindings/display/panel/tpo,td.yaml new file +2 -0
+
+...

looks ok to me.

BR and thanks,
Nikolaus

Quoted 80 lines
Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt deleted +0 -32
deleted file mode 100644
index 898e06ecf4ef..000000000000
@@ -1,32 +0,0 @@
-Toppoly TD028TTEC1 Panel
-========================
-
-Required properties:
-- compatible: "tpo,td028ttec1"
-
-Optional properties:
-- label: a symbolic name for the panel
-- backlight: phandle of the backlight device
-
-Required nodes:
-- Video port for DPI input
-
-Example
--------
-
-lcd-panel: td028ttec1@0 {
-	compatible = "tpo,td028ttec1";
-	reg = <0>;
-	spi-max-frequency = <100000>;
-	spi-cpol;
-	spi-cpha;
-
-	label = "lcd";
-	backlight = <&backlight>;
-	port {
-		lcd_in: endpoint {
-			remote-endpoint = <&dpi_out>;
-		};
-	};
-};
-
Documentation/devicetree/bindings/display/panel/tpo,td043mtea1.txt deleted +0 -33
deleted file mode 100644
index ec6d62975162..000000000000
@@ -1,33 +0,0 @@
-TPO TD043MTEA1 Panel
-====================
-
-Required properties:
-- compatible: "tpo,td043mtea1"
-- reset-gpios: panel reset gpio
-
-Optional properties:
-- label: a symbolic name for the panel
-
-Required nodes:
-- Video port for DPI input
-
-Example
--------
-
-lcd-panel: panel@0 {
-	compatible = "tpo,td043mtea1";
-	reg = <0>;
-	spi-max-frequency = <100000>;
-	spi-cpol;
-	spi-cpha;
-
-	label = "lcd";
-
-	reset-gpios = <&gpio7 7 0>;
-
-	port {
-		lcd_in: endpoint {
-			remote-endpoint = <&dpi_out>;
-		};
-	};
-};
Signature · 1 line
2.20.1
maintainer Reviewed-by on v2 1/36
#2 lore raw

Re: [PATCH v2 01/36] dt-bindings: display: allow port and ports in panel-lvds

In reply to Sam Ravnborg
Quoted 27 lines · Sam Ravnborg

Both port and ports names may be used.
port - for a single port
ports - if there is more than one port in sub-nodes

Fixes the following warning:
advantech,idk-2121wr.example.dt.yaml: panel-lvds: 'port' is a required property

advantech,idk-2121wr.yaml needs several ports, so uses a ports node.

Cc Fabrizio Castro <[email protected]>
Cc Lad Prabhakar <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 Documentation/devicetree/bindings/display/panel/lvds.yaml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/display/panel/lvds.yaml +0 -0
index d0083301acbe..f9132d50821c 100644
@@ -102,6 +102,12 @@ required:
   - width-mm

Documentation/devicetree/bindings/display/panel/lvds.yaml required: · line 111

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/lvds.yaml +7 -1
   - height-mm
   - panel-timing
-  - port
+
+if:
+  required:
+    - port
+else:
+  required:
+    - ports

Humm, I guess 'then' is not required. That's a bit weird IMO.

I usually do a 'oneOf' for these cases.

Either way, please apply this to drm-misc-fixes (or drm-misc-next-fixes depending on the state of the tree). Or I can take it. I'd like to get all the warnings cleared up by rc2.

Rob

Reviewed-by Lad Prabhakar on v2 1/36
#4 lore raw

Re: [PATCH v2 01/36] dt-bindings: display: allow port and ports in panel-lvds

In reply to Sam Ravnborg

Hi Sam,

Thank you for the patch.

Quoted 8 lines · Sam Ravnborg

Both port and ports names may be used.
port - for a single port
ports - if there is more than one port in sub-nodes

Fixes the following warning:
advantech,idk-2121wr.example.dt.yaml: panel-lvds: 'port' is a required property

Quoted 7 lines

advantech,idk-2121wr.yaml needs several ports, so uses a ports node.

Cc Fabrizio Castro <[email protected]>
Cc Lad Prabhakar <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>

Cheers,
--Prabhakar

Quoted 25 lines
---
 Documentation/devicetree/bindings/display/panel/lvds.yaml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/display/panel/lvds.yaml +7 -2
index d0083301acbe..f9132d50821c 100644
@@ -102,6 +102,12 @@ required:
   - width-mm
   - height-mm
   - panel-timing
-  - port
+
+if:
+  required:
+    - port
+else:
+  required:
+    - ports
 
...
--

2.20.1

#3 lore raw

Re: [PATCH v2 01/36] dt-bindings: display: allow port and ports in panel-lvds

In reply to Rob Herring

Hi Rob.

Quoted 41 lines · Rob Herring
Quoted 27 lines · Sam Ravnborg

Both port and ports names may be used.
port - for a single port
ports - if there is more than one port in sub-nodes

Fixes the following warning:
advantech,idk-2121wr.example.dt.yaml: panel-lvds: 'port' is a required property

advantech,idk-2121wr.yaml needs several ports, so uses a ports node.

Cc Fabrizio Castro <[email protected]>
Cc Lad Prabhakar <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 Documentation/devicetree/bindings/display/panel/lvds.yaml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/display/panel/lvds.yaml +0 -0
index d0083301acbe..f9132d50821c 100644
@@ -102,6 +102,12 @@ required:
   - width-mm

Documentation/devicetree/bindings/display/panel/lvds.yaml required: · line 111

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/lvds.yaml +7 -1
   - height-mm
   - panel-timing
-  - port
+
+if:
+  required:
+    - port
+else:
+  required:
+    - ports

Humm, I guess 'then' is not required. That's a bit weird IMO.

Quoted 1 line

I usually do a 'oneOf' for these cases.

For the record, I re-did this patch using oneOf - much nicer. And since the patch was re-written I dropped you r-b.

Quoted 4 lines

Either way, please apply this to drm-misc-fixes (or drm-misc-next-fixes depending on the state of the tree). Or I can take it. I'd like to get all the warnings cleared up by rc2.

Will take care after -rc1 is out. Needs drm-fixes to be updated with -rc1 first. Will make sure to cover all bindings warnigns in panel/

Sam

Quoted 8 lines

Rob
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 2/36
#6 lore raw

Re: [PATCH v2 02/36] dt-bindings: display: look for dsi* nodes in dsi-controller

In reply to Sam Ravnborg
Quoted 7 lines · Sam Ravnborg

Rob wrote:

Uhhh, it's looking for dsi-controller(@.*)? which is not the common case found in dts files. We should fix that to dsi(@.*)?.

See: https://lore.kernel.org/dri-devel/20200319032222.GK29911@bogus/

Quoted 9 lines

Fix it.

Cc Linus Walleij <[email protected]>
Cc Rob Herring <[email protected]>
---
 Documentation/devicetree/bindings/display/dsi-controller.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 4/36
#13 lore raw

Re: [PATCH v2 04/36] dt-bindings: display: convert samsung,s6e63m0 to DT Schema

In reply to Sam Ravnborg
Quoted 13 lines · Sam Ravnborg

The binding for this panel is a SPI slave.

v2:
- Drop use of spi-slave (Maxime)
- Introude unevaluatedProperties (Maxime)
- Drop reg entry in example (Rob)

Cc Maxime Ripard <[email protected]>
Cc Rob Herring <[email protected]>
Cc Jonathan Bakker <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../display/panel/samsung,s6e63m0.txt         | 33 ----------
 .../display/panel/samsung,s6e63m0.yaml        | 60 +++++++++++++++++++
 2 files changed, 60 insertions(+), 33 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 5/36
#15 lore raw

Re: [PATCH v2 05/36] dt-bindings: display: convert arm,versatile-tft-panel to DT Schema

In reply to Sam Ravnborg
Quoted 7 lines · Sam Ravnborg

v2:
- Fix entry in MAINTAINERS

Cc Linus Walleij <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 8 lines
---
 .../display/panel/arm,versatile-tft-panel.txt | 31 -----------
 .../panel/arm,versatile-tft-panel.yaml        | 51 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 52 insertions(+), 32 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 6/36
#18 lore raw

Re: [PATCH v2 06/36] dt-bindings: display: convert boe, himax8279d to DT Schema

In reply to Sam Ravnborg
Quoted 90 lines · Sam Ravnborg

v2:
- Fix entry in MAINTAINERS

Cc Jerry Han <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../bindings/display/panel/boe,himax8279d.txt | 24 --------
 .../display/panel/boe,himax8279d.yaml         | 59 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 60 insertions(+), 25 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/boe,himax8279d.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml
Documentation/devicetree/bindings/display/panel/boe,himax8279d.txt deleted +0 -24
deleted file mode 100644
index 3caea2172b1b..000000000000
@@ -1,24 +0,0 @@
-Boe Himax8279d 1200x1920 TFT LCD panel
-
-Required properties:
-- compatible: should be "boe,himax8279d8p" and one of: "boe,himax8279d10p"
-- reg: DSI virtual channel of the peripheral
-- enable-gpios: panel enable gpio
-- pp33-gpios: a GPIO phandle for the 3.3v pin that provides the supply voltage
-- pp18-gpios: a GPIO phandle for the 1.8v pin that provides the supply voltage
-
-Optional properties:
-- backlight: phandle of the backlight device attached to the panel
-
-Example:
-
-	&mipi_dsi {
-		panel {
-			compatible = "boe,himax8279d8p", "boe,himax8279d10p";
-			reg = <0>;
-			backlight = <&backlight>;
-			enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
-			pp33-gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
-			pp18-gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
-		};
-	};
Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml new file +39 -0
new file mode 100644
index 000000000000..e42b6a8ae176
@@ -0,0 +1,59 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/boe,himax8279d.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Boe Himax8279d 1200x1920 TFT LCD panel
+
+maintainers:
+  - Jerry Han <[email protected]>
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    items:
+      - const: boe,himax8279d8p
+      - const: boe,himax8279d10p
+
+  backlight: true
+  enable-gpios: true
+  reg: true
+
+  pp33-gpios:
+    maxItems: 1
+    description: GPIO for the 3.3v pin that provides the supply voltage
+
+  pp18-gpios:
+    maxItems: 1
+    description: GPIO for the 1.8v pin that provides the supply voltage
+
+required:
+  - compatible
+  - reg
+  - enable-gpios
+  - pp33-gpios
+  - pp18-gpios
+

Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml line 49

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml new file +10 -0
+additionalProperties: false
+
+examples:
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    dsi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        panel {

panel@0

With that,

Double check the others. I won't repeat myself.

Quoted 26 lines
Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml new file +10 -0
+            compatible = "boe,himax8279d8p", "boe,himax8279d10p";
+            reg = <0>;
+            backlight = <&backlight>;
+            enable-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
+            pp33-gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
+            pp18-gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
+        };
+    };
+
+...
MAINTAINERS +1 -1
index 2b99fa16ba08..dba84e7726b7 100644
@@ -5255,7 +5255,7 @@ DRM DRIVER FOR BOE HIMAX8279D PANELS
 M:	Jerry Han <[email protected]>
 S:	Maintained
 F:	drivers/gpu/drm/panel/panel-boe-himax8279d.c
-F:	Documentation/devicetree/bindings/display/panel/boe,himax8279d.txt
+F:	Documentation/devicetree/bindings/display/panel/boe,himax8279d.yaml
 
 DRM DRIVER FOR FARADAY TVE200 TV ENCODER
 M:	Linus Walleij <[email protected]>
Signature · 1 line
2.20.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 7/36
#20 lore raw

Re: [PATCH v2 07/36] dt-bindings: display: convert ilitek, ili9322 to DT Schema

In reply to Sam Ravnborg
Quoted 33 lines · Sam Ravnborg

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.

The properties in question are:
- pixelclk-active
- de-active
- hsync-active
- vsync-active

These properties was dropped in the conversion as they are not relevant.

v2:
- drop properties from panel-timing (Linus)
- drop use of spi-slave.yaml (Maxime)
- introduce unevaluatedProperties (Maxime)
- dropped unused properties (Linus)
- delete stray spaces

Cc Linus Walleij <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../bindings/display/panel/ilitek,ili9322.txt | 49 -------------
 .../display/panel/ilitek,ili9322.yaml         | 71 +++++++++++++++++++
 2 files changed, 71 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

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 8/36
#22 lore raw

Re: [PATCH v2 08/36] dt-bindings: display: convert ilitek,ili9881c to DT Schema

In reply to Sam Ravnborg
Quoted 12 lines · Sam Ravnborg

Updating this binding identified an issue in the example in the allwinner,sun6i-a31-mipi-dsi binding.
Fix the example so no new warnings are introduced.

v2:
- fix example in allwinner,sun6i-a31-mipi-dsi (Rob)

Cc Rob Herring <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 8 lines
---
 .../display/allwinner,sun6i-a31-mipi-dsi.yaml |  2 +-
 .../display/panel/ilitek,ili9881c.txt         | 20 --------
 .../display/panel/ilitek,ili9881c.yaml        | 50 +++++++++++++++++++
 3 files changed, 51 insertions(+), 21 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/ilitek,ili9881c.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer
#24 lore raw

Re: [PATCH v2 09/36] dt-bindings: display: convert innolux,p079zca to DT Schema

In reply to Sam Ravnborg
Quoted 3 lines · Sam Ravnborg

As the binding matches panel-simple, added the compatible to the panel-simple list.
With this change enable-gpios is now optional.

But is a DSI panel, so it should be in panel-simple-dsi.yaml.

Quoted 55 lines
Cc Chris Zhong <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/innolux,p079zca.txt         | 22 -------------------
 .../bindings/display/panel/panel-simple.yaml  |  2 ++
 2 files changed, 2 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt
Documentation/devicetree/bindings/display/panel/innolux,p079zca.txt deleted +0 -22
deleted file mode 100644
index 3ab8c7412cf6..000000000000
@@ -1,22 +0,0 @@
-Innolux P079ZCA 7.85" 768x1024 TFT LCD panel
-
-Required properties:
-- compatible: should be "innolux,p079zca"
-- reg: DSI virtual channel of the peripheral
-- power-supply: phandle of the regulator that provides the supply voltage
-- enable-gpios: panel enable gpio
-
-Optional properties:
-- backlight: phandle of the backlight device attached to the panel
-
-Example:
-
-	&mipi_dsi {
-		panel@0 {
-			compatible = "innolux,p079zca";
-			reg = <0>;
-			power-supply = <...>;
-			backlight = <&backlight>;
-			enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
-		};
-	};
Documentation/devicetree/bindings/display/panel/panel-simple.yaml +2 -0
index 8fc117d1547c..328df95cbe88 100644
@@ -143,6 +143,8 @@ properties:
       - innolux,n116bge
         # InnoLux 15.6" WXGA TFT LCD panel
       - innolux,n156bge-l21
+        # Innolux P079ZCA 7.85" 768x1024 TFT LCD panel
+      - innolux,p079zca
         # Innolux Corporation 7.0" WSVGA (1024x600) TFT LCD panel
       - innolux,zj070na-01p
         # Kaohsiung Opto-Electronics Inc. 5.7" QVGA (320 x 240) TFT LCD panel
Signature · 1 line
2.20.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 10/36
#26 lore raw

Re: [PATCH v2 10/36] dt-bindings: display: convert innolux,p097pfg to DT Schema

In reply to Sam Ravnborg
Quoted 11 lines · Sam Ravnborg
Cc Lin Huang <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/innolux,p097pfg.txt         | 24 --------
 .../display/panel/innolux,p097pfg.yaml        | 56 +++++++++++++++++++
 2 files changed, 56 insertions(+), 24 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p097pfg.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p097pfg.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 11/36
#28 lore raw

Re: [PATCH v2 11/36] dt-bindings: display: convert innolux,p120zdg-bf1 to DT Schema

In reply to Sam Ravnborg
Quoted 6 lines · Sam Ravnborg
Cc Douglas Anderson <[email protected]>
Cc Sandeep Panda <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../display/panel/innolux,p120zdg-bf1.txt     | 22 ----------
 .../display/panel/innolux,p120zdg-bf1.yaml    | 43 +++++++++++++++++++
 2 files changed, 43 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/innolux,p120zdg-bf1.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 12/36
#30 lore raw

Re: [PATCH v2 12/36] dt-bindings: display: convert jdi,lt070me05000 to DT Schema

In reply to Sam Ravnborg
Quoted 9 lines · Sam Ravnborg

v2:
- drop address in dsi node in example (Rob)

Cc Rob Herring <[email protected]>
Cc Vinay Simha BN <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../display/panel/jdi,lt070me05000.txt        | 31 ---------
 .../display/panel/jdi,lt070me05000.yaml       | 69 +++++++++++++++++++
 2 files changed, 69 insertions(+), 31 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/jdi,lt070me05000.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 13/36
#32 lore raw

Re: [PATCH v2 13/36] dt-bindings: display: convert kingdisplay,kd035g6-54nt to DT Schema

In reply to Sam Ravnborg
Quoted 10 lines · Sam Ravnborg

v2:
- Drop use of spi-slave.yaml (Maxime)
- Introduce unevaluatedProperties (Maxime)

Cc Maxime Ripard <[email protected]>
Cc Paul Cercueil <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../panel/kingdisplay,kd035g6-54nt.txt        | 42 ------------
 .../panel/kingdisplay,kd035g6-54nt.yaml       | 65 +++++++++++++++++++
 2 files changed, 65 insertions(+), 42 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 14/36
#34 lore raw

Re: [PATCH v2 14/36] dt-bindings: display: convert kingdisplay,kd097d04 to DT Schema

In reply to Sam Ravnborg
Quoted 8 lines · Sam Ravnborg

kingdisplay,kd097d04 matches the panel-simple-dsi binding. The only difference is that enable-gpios is now an optional property.

Cc Nickey Yang <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 6 lines
---
 .../display/panel/kingdisplay,kd097d04.txt    | 22 -------------------
 .../display/panel/panel-simple-dsi.yaml       |  2 ++
 2 files changed, 2 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/kingdisplay,kd097d04.txt

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 15/36
#36 lore raw

Re: [PATCH v2 15/36] dt-bindings: display: convert simple lg panels to DT Schema

In reply to Sam Ravnborg
Quoted 9 lines · Sam Ravnborg

Add the lg panels that matches the panel-simple binding to panel-simple.yaml

Cc Brian Masney <[email protected]>
Cc Alexandre Courbot <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 10 lines
---
 .../devicetree/bindings/display/panel/lg,acx467akm-7.txt   | 7 -------
 .../devicetree/bindings/display/panel/lg,ld070wx3-sl01.txt | 7 -------
 .../devicetree/bindings/display/panel/lg,lh500wx1-sd03.txt | 7 -------
 .../devicetree/bindings/display/panel/panel-simple.yaml    | 6 ++++++
 4 files changed, 6 insertions(+), 21 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/lg,acx467akm-7.txt
 delete mode 100644 Documentation/devicetree/bindings/display/panel/lg,ld070wx3-sl01.txt
 delete mode 100644 Documentation/devicetree/bindings/display/panel/lg,lh500wx1-sd03.txt

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 16/36
#38 lore raw

Re: [PATCH v2 16/36] dt-bindings: display: convert lg,lg4573 to DT Schema

In reply to Sam Ravnborg
Quoted 12 lines · Sam Ravnborg

v2:
- Dropped spi-slave (Maxime)
- Added unevaluatedProperties (Maxime)
- Deleted needless compatible from example (Rob)

Cc Maxime Ripard <[email protected]>
Cc Rob Herring <[email protected]>
Cc Heiko Schocher <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../bindings/display/panel/lg,lg4573.txt      | 19 --------
 .../bindings/display/panel/lg,lg4573.yaml     | 45 +++++++++++++++++++
 2 files changed, 45 insertions(+), 19 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/lg,lg4573.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 17/36
#40 lore raw

Re: [PATCH v2 17/36] dt-bindings: display: convert osddisplays,osd101t2587-53ts to DT Schema

In reply to Sam Ravnborg
Quoted 11 lines · Sam Ravnborg

osddisplays,osd101t2587-53ts is compatible with panel-simple-dsi binding, so list the compatible in the panel-simple-dsi binding file.

v2:
- It is a DSI panel, move to -dsi binding (Tomi)

Cc Peter Ujfalusi <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 6 lines
---
 .../display/panel/osddisplays,osd101t2587-53ts.txt | 14 --------------
 .../bindings/display/panel/panel-simple-dsi.yaml   |  2 ++
 2 files changed, 2 insertions(+), 14 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/osddisplays,osd101t2587-53ts.txt

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 18/36
#42 lore raw

Re: [PATCH v2 18/36] dt-bindings: display: convert raydium,rm67191 to DT Schema

In reply to Sam Ravnborg
Quoted 9 lines · Sam Ravnborg

v2:
- Fix entry in MAINTAINERS
- Add reg number to node name (Rob)

Cc Rob Herring <[email protected]>
Cc Robert Chiras <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 8 lines
---
 .../display/panel/raydium,rm67191.txt         | 41 ----------
 .../display/panel/raydium,rm67191.yaml        | 75 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 76 insertions(+), 42 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/raydium,rm67191.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/raydium,rm67191.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 19/36
#44 lore raw

Re: [PATCH v2 19/36] dt-bindings: display: convert rocktech,jh057n00900 to DT Schema

In reply to Sam Ravnborg
Quoted 9 lines · Sam Ravnborg

v2:
- Fix entry in MAINTAINERS

Cc "Guido Günther" <[email protected]>
Cc Purism Kernel Team <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 8 lines
---
 .../display/panel/rocktech,jh057n00900.txt    | 23 --------
 .../display/panel/rocktech,jh057n00900.yaml   | 57 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 58 insertions(+), 24 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/rocktech,jh057n00900.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 20/36
#46 lore raw

Re: [PATCH v2 20/36] dt-bindings: display: convert samsung AMOLED to DT Schema

In reply to Sam Ravnborg
Quoted 8 lines · Sam Ravnborg

For samsung there was two AMOLED panels with the same description.
Collect them in one binding file.

Cc Hoegeun Kwon <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 9 lines
---
 .../panel/samsung,amoled-mipi-dsi.yaml        | 65 +++++++++++++++++++
 .../display/panel/samsung,s6e3ha2.txt         | 31 ---------
 .../display/panel/samsung,s6e63j0x03.txt      | 24 -------
 3 files changed, 65 insertions(+), 55 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,amoled-mipi-dsi.yaml
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e3ha2.txt
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e63j0x03.txt

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 21/36
#48 lore raw

Re: [PATCH v2 21/36] dt-bindings: display: convert samsung,s6d16d0 to DT Schema

In reply to Sam Ravnborg
Quoted 5 lines · Sam Ravnborg
Cc Linus Walleij <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../display/panel/samsung,s6d16d0.txt         | 30 ----------
 .../display/panel/samsung,s6d16d0.yaml        | 56 +++++++++++++++++++
 2 files changed, 56 insertions(+), 30 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6d16d0.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 22/36
#50 lore raw

Re: [PATCH v2 22/36] dt-bindings: display: convert samsung, ld9040 to DT Schema

In reply to Sam Ravnborg
Quoted 11 lines · Sam Ravnborg

v2:
- drop use of spi-slave.yaml (Maxime)
- added unevaluatedProperties (Maxime)
- added type to width/height properties (Rob)

Cc Maxime Ripard <[email protected]>
Cc Rob Herring <[email protected]>
Cc Andrzej Hajda <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../bindings/display/panel/samsung,ld9040.txt |  66 -----------
 .../display/panel/samsung,ld9040.yaml         | 107 ++++++++++++++++++
 2 files changed, 107 insertions(+), 66 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,ld9040.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer
#52 lore raw

Re: [PATCH v2 23/36] dt-bindings: display: convert samsung,s6e8aa0 to DT Schema

In reply to Sam Ravnborg
Quoted 102 lines · Sam Ravnborg
Cc Andrzej Hajda <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/samsung,s6e8aa0.txt         | 56 -----------
 .../display/panel/samsung,s6e8aa0.yaml        | 96 +++++++++++++++++++
 2 files changed, 96 insertions(+), 56 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.txt deleted +0 -56
deleted file mode 100644
index 9e766c5f86da..000000000000
@@ -1,56 +0,0 @@
-Samsung S6E8AA0 AMOLED LCD 5.3 inch panel
-
-Required properties:
-  - compatible: "samsung,s6e8aa0"
-  - reg: the virtual channel number of a DSI peripheral
-  - vdd3-supply: core voltage supply
-  - vci-supply: voltage supply for analog circuits
-  - reset-gpios: a GPIO spec for the reset pin
-  - display-timings: timings for the connected panel as described by [1]
-
-Optional properties:
-  - power-on-delay: delay after turning regulators on [ms]
-  - reset-delay: delay after reset sequence [ms]
-  - init-delay: delay after initialization sequence [ms]
-  - panel-width-mm: physical panel width [mm]
-  - panel-height-mm: physical panel height [mm]
-  - flip-horizontal: boolean to flip image horizontally
-  - flip-vertical: boolean to flip image vertically
-
-The device node can contain one 'port' child node with one child
-'endpoint' node, according to the bindings defined in [2]. This
-node should describe panel's video bus.
-
-[1]: Documentation/devicetree/bindings/display/panel/display-timing.txt
-[2]: Documentation/devicetree/bindings/media/video-interfaces.txt
-
-Example:
-
-	panel {
-		compatible = "samsung,s6e8aa0";
-		reg = <0>;
-		vdd3-supply = <&vcclcd_reg>;
-		vci-supply = <&vlcd_reg>;
-		reset-gpios = <&gpy4 5 0>;
-		power-on-delay= <50>;
-		reset-delay = <100>;
-		init-delay = <100>;
-		panel-width-mm = <58>;
-		panel-height-mm = <103>;
-		flip-horizontal;
-		flip-vertical;
-
-		display-timings {
-			timing0: timing-0 {
-				clock-frequency = <57153600>;
-				hactive = <720>;
-				vactive = <1280>;
-				hfront-porch = <5>;
-				hback-porch = <5>;
-				hsync-len = <5>;
-				vfront-porch = <13>;
-				vback-porch = <1>;
-				vsync-len = <2>;
-			};
-		};
-	};
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml new file +23 -0
new file mode 100644
index 000000000000..67c99b0492e5
@@ -0,0 +1,96 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/samsung,s6e8aa0.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Samsung S6E8AA0 AMOLED LCD 5.3 inch panel
+
+maintainers:
+  - Andrzej Hajda <[email protected]>
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    const: samsung,s6e8aa0
+
+  reg: true
+  reset-gpios: true
+  display-timings: true
+
+  vdd3-supply:

Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml line 33

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml new file +10 -0
+    description: core voltage supply
+
+  vci-supply:
+    description: voltage supply for analog circuits
+ 
+  power-on-delay:
+    description: delay after turning regulators on [ms]
+
+  reset-delay:
+    description: delay after reset sequence [ms]

Needs a type ref.

Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml line 36

Quoted 3 lines
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml new file +3 -0
+
+  init-delay:
+    description: delay after initialization sequence [ms]

Same here.

Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml line 45

Quoted 9 lines
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml new file +9 -0
+
+  panel-width-mm:
+    description: physical panel width [mm]
+
+  panel-height-mm:
+    description: physical panel height [mm]
+
+  flip-horizontal:
+    description: boolean to flip image horizontally

type: boolean

Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml line 48

Quoted 3 lines
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml new file +3 -0
+
+  flip-vertical:
+    description: boolean to flip image vertically

type: boolean

Quoted 8 lines
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml new file +8 -0
+
+required:
+  - compatible
+  - reg
+  - vdd3-supply 
+  - vci-supply
+  - reset-gpios
+  - display-timings

Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml line 66

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml new file +10 -0
+
+additionalProperties: false
+
+examples:
+  - |
+    dsi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        panel {

panel@0

Quoted 33 lines
Documentation/devicetree/bindings/display/panel/samsung,s6e8aa0.yaml new file +30 -0
+            compatible = "samsung,s6e8aa0";
+            reg = <0>;
+            vdd3-supply = <&vcclcd_reg>;
+            vci-supply = <&vlcd_reg>;
+            reset-gpios = <&gpy4 5 0>;
+            power-on-delay= <50>;
+            reset-delay = <100>;
+            init-delay = <100>;
+            panel-width-mm = <58>;
+            panel-height-mm = <103>;
+            flip-horizontal;
+            flip-vertical;
+
+            display-timings {
+                timing0: timing-0 {
+                    clock-frequency = <57153600>;
+                    hactive = <720>;
+                    vactive = <1280>;
+                    hfront-porch = <5>;
+                    hback-porch = <5>;
+                    hsync-len = <5>;
+                    vfront-porch = <13>;
+                    vback-porch = <1>;
+                    vsync-len = <2>;
+                };
+            };
+        };
+    };
+
+...
Signature · 1 line
2.20.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer
#55 lore raw

Re: [PATCH v2 24/36] dt-bindings: display: convert toppoly panels to DT Schema

In reply to H. Nikolaus Schaller
Quoted 88 lines · H. Nikolaus Schaller

Hi Sam,

Quoted 86 lines

Am 08.04.2020 um 21:50 schrieb Sam Ravnborg <[email protected]>:

v2:
- dropped use of spi-slave.yaml (Maxime)
- added unevaluatedProperties (Maxime)

Cc Maxime Ripard <[email protected]>
Cc Marek Belisko <[email protected]>
Cc H. Nikolaus Schaller <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>

---

.../bindings/display/panel/tpo,td.yaml        | 65 +++++++++++++++++++
.../bindings/display/panel/tpo,td028ttec1.txt | 32 ---------
.../bindings/display/panel/tpo,td043mtea1.txt | 33 ----------
3 files changed, 65 insertions(+), 65 deletions(-)

create mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td.yaml delete mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt delete mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td043mtea1.txt

Documentation/devicetree/bindings/display/panel/tpo,td.yaml new file +59 -0
new file mode 100644
index 000000000000..4aa605613445
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/tpo,td.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Toppoly TD Panels
+
+description: |
+  The panel must obey the rules for a SPI slave device as specified in
+  spi/spi-controller.yaml
+
+maintainers:
+  - Marek Belisko <[email protected]>
+  - H. Nikolaus Schaller <[email protected]>
+
+allOf:
+  - $ref: panel-common.yaml#
+
+properties:
+  compatible:
+    enum:
+        # Toppoly TD028TTEC1 Panel
+      - tpo,td028ttec1
+        # Toppoly TD043MTEA1 Panel
+      - tpo,td043mtea1
+
+  reg: true
+  label: true
+  reset-gpios: true
+  backlight: true
+  port: true
+
+required:
+  - compatible
+  - port
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    spi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        panel: panel@0 {
+            compatible = "tpo,td043mtea1";
+            reg = <0>;
+            spi-max-frequency = <100000>;
+            spi-cpol;
+            spi-cpha;
+
+            label = "lcd";
+
+            reset-gpios = <&gpio7 7 0>;
+
+            port {
+                lcd_in: endpoint {
+                    remote-endpoint = <&dpi_out>;
Quoted 8 lines

Documentation/devicetree/bindings/display/panel/tpo,td.yaml line 63

Quoted 4 lines
Documentation/devicetree/bindings/display/panel/tpo,td.yaml new file +4 -0
+                };
+            };
+        };
+    };

I think it is possible to add two examples (the one for tpo,td028ttec1) as well. The reason is that it must also have spi-cs-high; which isn't documented anywhere else and wasn't in tpo,td028ttec1.txt.

I don't think we need another example because examples are not a enumeration for what's allowed. There should be an if/then schema though for this. That can be a follow-up IMO.

Rob
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 24/36
#56 lore raw

Re: [PATCH v2 24/36] dt-bindings: display: convert toppoly panels to DT Schema

In reply to Sam Ravnborg
Quoted 10 lines · Sam Ravnborg

v2:
- dropped use of spi-slave.yaml (Maxime)
- added unevaluatedProperties (Maxime)

Cc Maxime Ripard <[email protected]>
Cc Marek Belisko <[email protected]>
Cc H. Nikolaus Schaller <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 9 lines
---
 .../bindings/display/panel/tpo,td.yaml        | 65 +++++++++++++++++++
 .../bindings/display/panel/tpo,td028ttec1.txt | 32 ---------
 .../bindings/display/panel/tpo,td043mtea1.txt | 33 ----------
 3 files changed, 65 insertions(+), 65 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td.yaml
 delete mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td028ttec1.txt
 delete mode 100644 Documentation/devicetree/bindings/display/panel/tpo,td043mtea1.txt

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 25/36
#58 lore raw

Re: [PATCH v2 25/36] dt-bindings: display: convert startek,startek-kd050c to DT Schema

In reply to Sam Ravnborg
Quoted 11 lines · Sam Ravnborg
Cc Marek Belisko <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/startek,startek-kd050c.txt  |  4 ---
 .../display/panel/startek,startek-kd050c.yaml | 33 +++++++++++++++++++
 2 files changed, 33 insertions(+), 4 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/startek,startek-kd050c.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/startek,startek-kd050c.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 26/36
#60 lore raw

Re: [PATCH v2 26/36] dt-bindings: display: convert sony, acx565akm to DT Schema

In reply to Sam Ravnborg
Quoted 12 lines · Sam Ravnborg

v2:
- drop use of spi-slave.yaml (Maxime)
- add unevaluatedProperties (Maxime)
- rename node in example to panel (Rob)

Cc Tomi Valkeinen <[email protected]>
Cc Rob Herring <[email protected]>
Cc Maxime Ripard <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../bindings/display/panel/sony,acx565akm.txt | 30 ----------
 .../display/panel/sony,acx565akm.yaml         | 57 +++++++++++++++++++
 2 files changed, 57 insertions(+), 30 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/sony,acx565akm.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 27/36
#62 lore raw

Re: [PATCH v2 27/36] dt-bindings: display: convert sitronix,st7789v to DT Schema

In reply to Sam Ravnborg
Quoted 8 lines · Sam Ravnborg

v2:
- dropped use of spi-slave.yaml (Maxime)
- added unevaluatedProperties (Maxime)

Cc Maxime Ripard <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../display/panel/sitronix,st7789v.txt        | 37 -----------
 .../display/panel/sitronix,st7789v.yaml       | 63 +++++++++++++++++++
 2 files changed, 63 insertions(+), 37 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7789v.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 28/36
#64 lore raw

Re: [PATCH v2 28/36] dt-bindings: display: drop unused simple-panel.txt

In reply to Sam Ravnborg
Quoted 11 lines · Sam Ravnborg

There are no more references to simple-panel.txt.
Delete it.

Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 Documentation/devicetree/bindings/display/panel/simple-panel.txt | 1 -
 1 file changed, 1 deletion(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/simple-panel.txt

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 29/36
#66 lore raw

Re: [PATCH v2 29/36] dt-bindings: display: convert sharp, ls043t1le01 to DT Schema

In reply to Sam Ravnborg
Quoted 11 lines · Sam Ravnborg

The txt binding specified the property "power-supply". But the example and the actual implementation in the linux-kernel uses "avdd-supply".
So the binding is adjusted to use avdd-supply as this seems to be the correct choice.
There are no DT files in the linux kernel to check.

Cc Werner Johansson <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../display/panel/sharp,ls043t1le01.txt       | 22 --------
 .../display/panel/sharp,ls043t1le01.yaml      | 51 +++++++++++++++++++
 2 files changed, 51 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ls043t1le01.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ls043t1le01.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 30/36
#68 lore raw

Re: [PATCH v2 30/36] dt-bindings: display: convert sharp, lq101r1sx01 to DT Schema

In reply to Sam Ravnborg
Quoted 127 lines · Sam Ravnborg

This binding describes a panel with a secondary channel.

v2:
- add check for required properties if link2 is present (Rob)

Cc Rob Herring <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/sharp,lq101r1sx01.txt       | 49 -----------
 .../display/panel/sharp,lq101r1sx01.yaml      | 85 +++++++++++++++++++
 2 files changed, 85 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
Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.txt deleted +0 -49
deleted file mode 100644
index f522bb8e47e1..000000000000
@@ -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>;
-		};
-	};
Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml new file +50 -0
new file mode 100644
index 000000000000..956608cada77
@@ -0,0 +1,85 @@
+# 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 <[email protected]>
+
+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
+
+if:
+  required:

Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml line 60

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml new file +10 -0
+    - link2
+then:
+  required:
+    - power-supply
+
+additionalProperties: false
+
+examples:
+  - |
+    dsi0 {

Probably should put a reg property and unit-address here so the dsi-controller schema will match on these.

With that,

Quoted 28 lines
Documentation/devicetree/bindings/display/panel/sharp,lq101r1sx01.yaml new file +25 -0
+        #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>;
+        };
+    };
+
+...
Signature · 1 line
2.20.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 31/36
#70 lore raw

Re: [PATCH v2 31/36] dt-bindings: display: convert sharp, ls037v7dw01 to DT Schema

In reply to Sam Ravnborg
Quoted 9 lines · Sam Ravnborg

v2:
- Add min/maxItems to mode-gpios (Rob)
- Fix bug in description, mode is up to three gpios (Rob)

Cc Rob Herring <[email protected]>
Cc Tony Lindgren <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../display/panel/sharp,ls037v7dw01.txt       | 43 ------------
 .../display/panel/sharp,ls037v7dw01.yaml      | 68 +++++++++++++++++++
 2 files changed, 68 insertions(+), 43 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/sharp,ls037v7dw01.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 32/36
#72 lore raw

Re: [PATCH v2 32/36] dt-bindings: display: convert sharp, lq150x1lg11 to DT Schema

In reply to Sam Ravnborg
Quoted 11 lines · Sam Ravnborg
Cc Peter Rosin <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../display/panel/sharp,lq150x1lg11.txt       | 36 ------------
 .../display/panel/sharp,lq150x1lg11.yaml      | 58 +++++++++++++++++++
 2 files changed, 58 insertions(+), 36 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/sharp,lq150x1lg11.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/sharp,lq150x1lg11.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 33/36
#74 lore raw

Re: [PATCH v2 33/36] dt-bindings: display: convert seiko,43wvf1g to DT Schema

In reply to Sam Ravnborg
Quoted 5 lines · Sam Ravnborg
Cc Marco Franchi <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../bindings/display/panel/seiko,43wvf1g.txt  | 23 ---------
 .../bindings/display/panel/seiko,43wvf1g.yaml | 49 +++++++++++++++++++
 2 files changed, 49 insertions(+), 23 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/seiko,43wvf1g.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/seiko,43wvf1g.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 34/36
#76 lore raw

Re: [PATCH v2 34/36] dt-bindings: display: convert lgphilips,lb035q02 to DT Schema

In reply to Sam Ravnborg
Quoted 9 lines · Sam Ravnborg

v2:
- drop use of spi-slave.yaml (Maxime)
- added unevaluatedProperties (maxime)

Cc Maxime Ripard <[email protected]>
Cc Tomi Valkeinen <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 7 lines
---
 .../display/panel/lgphilips,lb035q02.txt      | 33 -----------
 .../display/panel/lgphilips,lb035q02.yaml     | 59 +++++++++++++++++++
 2 files changed, 59 insertions(+), 33 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 35/36
#78 lore raw

Re: [PATCH v2 35/36] dt-bindings: display: convert olimex,lcd-olinuxino to DT Schema

In reply to Sam Ravnborg
Quoted 8 lines · Sam Ravnborg

v2:
- use "ic2" node name in example (Rob)

Cc Rob Herring <[email protected]>
Cc Stefan Mavrodiev <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
Quoted 8 lines
---
 .../display/panel/olimex,lcd-olinuxino.txt    | 42 -----------
 .../display/panel/olimex,lcd-olinuxino.yaml   | 70 +++++++++++++++++++
 MAINTAINERS                                   |  2 +-
 3 files changed, 71 insertions(+), 43 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.txt
 create mode 100644 Documentation/devicetree/bindings/display/panel/olimex,lcd-olinuxino.yaml

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 36/36
#80 lore raw

Re: [PATCH v2 36/36] dt-bindings: display: move DSI panels to panel-simple-dsi

In reply to Sam Ravnborg
Quoted 11 lines · Sam Ravnborg

Tomi noticed that several DSI panels was wrongly described in panel-simple.yaml.
Move them to panel-simple-dsi.yaml where they belong.

Cc Tomi Valkeinen <[email protected]>
---
 .../bindings/display/panel/panel-simple-dsi.yaml          | 8 ++++++++
 .../devicetree/bindings/display/panel/panel-simple.yaml   | 8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer Reviewed-by on v2 3/36
#11 lore raw

Re: [PATCH v2 03/36] dt-bindings: display: add te-gpios to panel-common

In reply to Sam Ravnborg
Quoted 10 lines · Sam Ravnborg

Several bindings specifies a "te-gpios" for tearing effect signal. Add this to panel-common so we have a shared definition.

Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../devicetree/bindings/display/panel/panel-common.yaml    | 7 +++++++
 1 file changed, 7 insertions(+)

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Acked-by on v2 2/36
#7 lore raw

Re: [PATCH v2 02/36] dt-bindings: display: look for dsi* nodes in dsi-controller

In reply to Sam Ravnborg
Quoted 5 lines · Sam Ravnborg

Rob wrote:

Uhhh, it's looking for dsi-controller(@.*)? which is not the common case found in dts files. We should fix that to dsi(@.*)?.

Quoted 7 lines

See: https://lore.kernel.org/dri-devel/20200319032222.GK29911@bogus/

Fix it.

Cc Linus Walleij <[email protected]>
Cc Rob Herring <[email protected]>

I think I was instructed to use dsi-controller@ at some point but I suppose it was a misunderstanding.

Yours,
Linus Walleij
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reviewed-by on v2 5/36
#16 lore raw

Re: [PATCH v2 05/36] dt-bindings: display: convert arm,versatile-tft-panel to DT Schema

In reply to Sam Ravnborg
Quoted 7 lines · Sam Ravnborg

v2:
- Fix entry in MAINTAINERS

Cc Linus Walleij <[email protected]>
Cc Thierry Reding <[email protected]>
Cc Sam Ravnborg <[email protected]>

Yours,
Linus Walleij
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

Re: [PATCH v2 02/36] dt-bindings: display: look for dsi* nodes in dsi-controller

In reply to Linus Walleij

Hi Linus.

Quoted 11 lines · Linus Walleij
Quoted 9 lines · Sam Ravnborg

Rob wrote:

Uhhh, it's looking for dsi-controller(@.*)? which is not the common case found in dts files. We should fix that to dsi(@.*)?.

See: https://lore.kernel.org/dri-devel/20200319032222.GK29911@bogus/

Fix it.

Quoted 7 lines
Quoted 3 lines
Cc Linus Walleij <[email protected]>
Cc Rob Herring <[email protected]>

I think I was instructed to use dsi-controller@ at some point but I suppose it was a misunderstanding.

I have already applied this and most other patches. I tried to post a follow-up on the first mail to tell so, but it was flagged as spam.

So this and your other feddback from today did not hit mainline - sorry. But thanks anyway!

Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

maintainer
#9 lore raw

Re: [PATCH v2 02/36] dt-bindings: display: look for dsi* nodes in dsi-controller

In reply to Linus Walleij
Quoted 10 lines · Linus Walleij
Quoted 7 lines · Sam Ravnborg

Rob wrote:

Uhhh, it's looking for dsi-controller(@.*)? which is not the common case found in dts files. We should fix that to dsi(@.*)?.

See: https://lore.kernel.org/dri-devel/20200319032222.GK29911@bogus/

Quoted 8 lines
Quoted 5 lines

Fix it.

Cc Linus Walleij <[email protected]>
Cc Rob Herring <[email protected]>

I think I was instructed to use dsi-controller@ at some point but I suppose it was a misunderstanding.

Probably my fault. We've been nice and inconsistent on naming patterns. I always have to double check whether it is 'gpio-controller@' or 'gpio@'... The answer is always whatever has the most hits in dts files.

Rob
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel