The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: display: Split out simple dual-link DSI panels
@ 2026-12-02 19:35 Rob Herring (Arm)
  0 siblings, 0 replies; only message in thread
From: Rob Herring (Arm) @ 2026-12-02 19:35 UTC (permalink / raw)
  To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, David Airlie, Simona Vetter,
	Krzysztof Kozlowski, Conor Dooley, Thierry Reding, Sam Ravnborg
  Cc: dri-devel, devicetree, linux-kernel

The Kingdisplay KD097D04 uses two DSI links on RK3399 Scarlet. Move it
to a simple dual-link DSI panel binding that supports 2 graph input
ports.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../display/panel/panel-simple-dsi-dual.yaml  | 72 +++++++++++++++++++
 .../display/panel/panel-simple-dsi.yaml       |  2 -
 2 files changed, 72 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/panel/panel-simple-dsi-dual.yaml

diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi-dual.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi-dual.yaml
new file mode 100644
index 000000000000..71400833fc22
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi-dual.yaml
@@ -0,0 +1,72 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/panel/panel-simple-dsi-dual.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Simple dual-link DSI panels with a single power supply
+
+maintainers:
+  - Thierry Reding <thierry.reding@gmail.com>
+  - Sam Ravnborg <sam@ravnborg.org>
+
+allOf:
+  - $ref: panel-common-dual.yaml#
+
+properties:
+  compatible:
+    enum:
+        # Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel
+      - kingdisplay,kd097d04
+
+  reg:
+    maxItems: 1
+    description: DSI virtual channel
+
+  backlight: true
+  enable-gpios: true
+  power-supply: true
+  reset-gpios: true
+  ports: true
+
+required:
+  - compatible
+  - reg
+  - power-supply
+  - ports
+
+additionalProperties: false
+
+examples:
+  - |
+    dsi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        panel@0 {
+            compatible = "kingdisplay,kd097d04";
+            reg = <0>;
+            power-supply = <&vcc_lcd>;
+
+            ports {
+                #address-cells = <1>;
+                #size-cells = <0>;
+
+                port@0 {
+                    reg = <0>;
+
+                    endpoint {
+                        remote-endpoint = <&dsi0_out>;
+                    };
+                };
+
+                port@1 {
+                    reg = <1>;
+
+                    endpoint {
+                        remote-endpoint = <&dsi1_out>;
+                    };
+                };
+            };
+        };
+    };
diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml
index e1af3cbddc35..ae191bca494a 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml
@@ -43,8 +43,6 @@ properties:
       - khadas,ts050
         # Khadas TS050 V2 5" 1080x1920 LCD panel
       - khadas,ts050v2
-        # Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel
-      - kingdisplay,kd097d04
         # LG ACX467AKM-7 4.95" 1080×1920 LCD Panel
       - lg,acx467akm-7
         # LG Corporation 5" HD TFT LCD panel
-- 
2.53.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-02 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 19:35 [PATCH] dt-bindings: display: Split out simple dual-link DSI panels Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox