mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jayant Shekhar <jayant.shekhar@oss.qualcomm.com>
To: Neil Armstrong <neil.armstrong@linaro.org>,
	Jessica Zhang <jesszhan0024@gmail.com>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jayant Shekhar <jshekhar@oss.qualcomm.com>,
	Krzysztof Kozlowski <krzk@kernel.org>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Jayant Shekhar <jayant.shekhar@oss.qualcomm.com>
Subject: [PATCH v2 1/2] dt-bindings: display: panel: Add Novatek NT37802
Date: Mon, 09 Nov 2026 11:57:14 +0530	[thread overview]
Message-ID: <20261109-jshekhar-nt37802-v2-1-a8e9efdcabd7@oss.qualcomm.com> (raw)
In-Reply-To: <20261109-jshekhar-nt37802-v2-0-a8e9efdcabd7@oss.qualcomm.com>

Document the Novatek NT37802 AMOLED DSI command-mode panel.

Signed-off-by: Jayant Shekhar <jayant.shekhar@oss.qualcomm.com>
---
 .../bindings/display/panel/novatek,nt37801.yaml    | 49 ++++++++++++++++++++--
 1 file changed, 45 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt37801.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt37801.yaml
index 1b38c1d0af68..be318cc84d52 100644
--- a/Documentation/devicetree/bindings/display/panel/novatek,nt37801.yaml
+++ b/Documentation/devicetree/bindings/display/panel/novatek,nt37801.yaml
@@ -4,26 +4,30 @@
 $id: http://devicetree.org/schemas/display/panel/novatek,nt37801.yaml#
 $schema: http://devicetree.org/meta-schemas/core.yaml#
 
-title: Novatek NT37801 AMOLED DSI Panel
+title: Novatek NT37801 and NT37802 AMOLED DSI Panels
 
 maintainers:
   - Krzysztof Kozlowski <krzk@kernel.org>
 
 description:
-  Naming is inconclusive and different sources claim this is either Novatek
-  NT37801 or NT37810 AMOLED DSI Panel.
+  Naming is inconclusive and different sources claim the NT37801 panel is
+  either Novatek NT37801 or NT37810. The NT37802 panel uses the same common
+  DSI interface and regulator supplies, and additionally requires EXVDD.
 
 allOf:
   - $ref: panel-common.yaml#
 
 properties:
   compatible:
-    const: novatek,nt37801
+    enum:
+      - novatek,nt37801
+      - novatek,nt37802
 
   reg:
     maxItems: 1
     description: DSI virtual channel
 
+  exvdd-supply: true
   vci-supply: true
   vdd-supply: true
   vddio-supply: true
@@ -41,6 +45,18 @@ required:
 
 additionalProperties: false
 
+if:
+  properties:
+    compatible:
+      contains:
+        const: novatek,nt37802
+then:
+  required:
+    - exvdd-supply
+else:
+  properties:
+    exvdd-supply: false
+
 examples:
   - |
     #include <dt-bindings/gpio/gpio.h>
@@ -59,6 +75,31 @@ examples:
 
             reset-gpios = <&tlmm 98 GPIO_ACTIVE_LOW>;
 
+            port {
+                endpoint {
+                    remote-endpoint = <&dsi0_out>;
+                };
+            };
+        };
+    };
+  - |
+    #include <dt-bindings/gpio/gpio.h>
+
+    dsi {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        panel@0 {
+            compatible = "novatek,nt37802";
+            reg = <0>;
+
+            vci-supply = <&vreg_l13b_3p0>;
+            vdd-supply = <&vreg_l11b_1p2>;
+            vddio-supply = <&vreg_l12b_1p8>;
+            exvdd-supply = <&display_panel_vdd>;
+
+            reset-gpios = <&tlmm 210 GPIO_ACTIVE_LOW>;
+
             port {
                 endpoint {
                     remote-endpoint = <&dsi0_out>;

-- 
2.43.0


  reply	other threads:[~2026-11-09  6:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09  6:27 [PATCH v2 0/2] drm/panel: Add support for " Jayant Shekhar
2026-11-09  6:27 ` Jayant Shekhar [this message]
2026-11-09 13:18   ` [PATCH v2 1/2] dt-bindings: display: panel: Add " Krzysztof Kozlowski
2026-11-12  9:37     ` Jayant Shekhar
2026-11-13  7:49       ` Krzysztof Kozlowski
2026-11-09  6:27 ` [PATCH v2 2/2] drm/panel: Add driver for " Jayant Shekhar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261109-jshekhar-nt37802-v2-1-a8e9efdcabd7@oss.qualcomm.com \
    --to=jayant.shekhar@oss.qualcomm.com \
    --cc=airlied@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jesszhan0024@gmail.com \
    --cc=jshekhar@oss.qualcomm.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®