From: "Adil Hüsrev Tepe" <tadilhusrev@gmail.com>
To: Sumit Semwal <sumit.semwal@linaro.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Jessica Zhang <jesszhan0024@gmail.com>,
David Airlie <airlied@gmail.com>,
Simona Vetter <simona@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: "Krzysztof Kozlowski" <krzk@kernel.org>,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
"Michael McAllister" <me@michaelmcallister.org>,
phone-devel@vger.kernel.org, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
"Adil Hüsrev Tepe" <tadilhusrev@gmail.com>
Subject: [PATCH v5 1/2] dt-bindings: display: panel: novatek,nt36672a: Add NT36525 CSOT panel
Date: Sat, 05 Dec 2026 06:20:43 +0300 [thread overview]
Message-ID: <20261205-nt36525-v5-1-8c3f07ee3311@gmail.com> (raw)
In-Reply-To: <20261205-nt36525-v5-0-8c3f07ee3311@gmail.com>
The Samsung Galaxy XCover5 (SM-G525F) has a 720x1480 video mode DSI panel
made by CSOT that is built around the Novatek NT36525. It is a single
link panel with the same three supplies as the NT36672A panel described
here, so add it to this binding. Its reset line is active low.
The panel has no OF graph connection: it is only a child node of the DSI
host, whose binding does not require an output port. So "port" is not
required for this panel. The requirement is kept for the existing
NT36672A panel so that its schema does not change.
Signed-off-by: Adil Hüsrev Tepe <tadilhusrev@gmail.com>
---
Changes in v5:
- drop the new file novatek,nt36525.yaml and add the panel to
novatek,nt36672a.yaml
- rename the compatible from novatek,nt36525-xcover5 to
samsung,xcover5-csot-nt36525
- supplies follow this file: vddio, vddpos, vddneg (were vdd, vpos, vneg)
- port is not required for this panel
---
.../bindings/display/panel/novatek,nt36672a.yaml | 70 ++++++++++++++++------
1 file changed, 52 insertions(+), 18 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
index 5d16d851172..b7e077e0f48 100644
--- a/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
+++ b/Documentation/devicetree/bindings/display/panel/novatek,nt36672a.yaml
@@ -4,30 +4,34 @@
$id: http://devicetree.org/schemas/display/panel/novatek,nt36672a.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Novatek NT36672A based DSI display Panels
+title: Novatek NT36672A and NT36525 based DSI display Panels
maintainers:
- Sumit Semwal <sumit.semwal@linaro.org>
description: |
- The nt36672a IC from Novatek is a generic DSI Panel IC used to drive dsi
- panels.
- Right now, support is added only for a Tianma FHD+ LCD display panel with a
- resolution of 1080x2246. It is a video mode DSI panel.
-
-allOf:
- - $ref: panel-common.yaml#
+ The nt36672a and nt36525 ICs from Novatek are generic DSI Panel ICs used to
+ drive dsi panels. The following video mode DSI panels are described here:
+ - Tianma FHD+ LCD display panel with a resolution of 1080x2246, based on
+ the nt36672a
+ - CSOT HD+ LCD display panel with a resolution of 720x1480, based on the
+ nt36525, used in the Samsung Galaxy XCover5
properties:
compatible:
- items:
- - enum:
- - tianma,fhd-video
- - const: novatek,nt36672a
- description: This indicates the panel manufacturer of the panel that is
- in turn using the NT36672A panel driver. This compatible string
- determines how the NT36672A panel driver is configured for the indicated
- panel. The novatek,nt36672a compatible shall always be provided as a fallback.
+ oneOf:
+ - items:
+ - enum:
+ - tianma,fhd-video
+ - const: novatek,nt36672a
+ - items:
+ - enum:
+ - samsung,xcover5-csot-nt36525
+ - const: novatek,nt36525
+ description: The first compatible string identifies the panel, which
+ determines how the display controller has to be configured. The
+ compatible string of the Novatek IC that the panel is built around shall
+ always be provided as a fallback.
reg:
maxItems: 1
@@ -35,7 +39,8 @@ properties:
reset-gpios:
maxItems: 1
description: phandle of gpio for reset line - This should be 8mA, gpio
- can be configured using mux, pinctrl, pinctrl-names (active high)
+ can be configured using mux, pinctrl, pinctrl-names. Active high for the
+ Tianma panel, active low for the Samsung Galaxy XCover5 panel.
vddio-supply:
description: phandle of the regulator that provides the supply voltage
@@ -54,7 +59,17 @@ required:
- vddpos-supply
- vddneg-supply
- reset-gpios
- - port
+
+allOf:
+ - $ref: panel-common.yaml#
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: novatek,nt36672a
+ then:
+ required:
+ - port
unevaluatedProperties: false
@@ -84,4 +99,23 @@ examples:
};
};
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+
+ dsi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ panel@0 {
+ compatible = "samsung,xcover5-csot-nt36525", "novatek,nt36525";
+ reg = <0>;
+ vddio-supply = <&vdd_ldo28>;
+ vddpos-supply = <&lcd_vpos>;
+ vddneg-supply = <&lcd_vneg>;
+
+ backlight = <&lcd_backlight>;
+ reset-gpios = <&gpg2 4 GPIO_ACTIVE_LOW>;
+ };
+ };
+
...
--
2.53.0
next prev parent reply other threads:[~2026-12-05 3:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 3:20 [PATCH v5 0/2] drm/panel: Add Novatek NT36525 (Samsung Galaxy XCover5) Adil Hüsrev Tepe
2026-12-05 3:20 ` Adil Hüsrev Tepe [this message]
2026-12-05 3:20 ` [PATCH v5 2/2] drm/panel: Add Novatek NT36525 panel driver Adil Hüsrev Tepe
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=20261205-nt36525-v5-1-8c3f07ee3311@gmail.com \
--to=tadilhusrev@gmail.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=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=me@michaelmcallister.org \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=sumit.semwal@linaro.org \
--cc=tzimmermann@suse.de \
--cc=u.kleine-koenig@baylibre.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox