[PATCH v3 0/2] drm/panel: add Novatek NT36525 (Samsung Galaxy XCover5)

From: Adil Hüsrev Tepe

Date: Tue Nov 17 2026 - 12:33:41 EST


This series adds a DRM panel driver and its DT binding for MIPI-DSI
video-mode panels based on the Novatek NT36525 controller, as fitted on
the Samsung Galaxy XCover5 (SM-G525F, Exynos850). The panel is 720x1480,
uses an active-low reset (RESX), and a DCS init sequence that mirrors
the stock Samsung bring-up. Backlight goes through drm_panel_of_backlight().

Patch 1 dt-bindings (compatible: "novatek,nt36525-xcover5",
"novatek,nt36525")
Patch 2 the panel driver

Apologies to Krzysztof for v2: I sent it as a diff on top of v1's own
(unmerged) patch instead of a complete, standalone patch against
mainline, which is exactly the git-management mistake you flagged. v3
resends both patches as full, self-contained patches that apply
directly to v7.4-rc1, with the v1 -> v2 -> v3 changelog moved below
each patch's "---" line instead of the commit message body (also
flagged by Andy Shevchenko on the related grip-sensor series, and
just as applicable here). No behavioural change from v2.

Tested on a Samsung Galaxy XCover5 running 7.4-rc1 plus this series
(re-confirmed 2026-11-17, kernel 7.4.0-rc1-00023-gdcb8b91fb779+ #30):
the DSI panel connector probes and reports "connected", debugfs
reports the reset gpio as ACTIVE LOW, and /sys/class/backlight/ is
present. checkpatch.pl and dt_binding_check are clean (bar the usual
new-file MAINTAINERS note; the files are covered by the DRM PANEL
DRIVERS wildcards).

Based on v7.4-rc1.

Tool usage
----------
This series was developed during XCover5 mainline bring-up with the help
of an AI coding assistant (Claude Code, Anthropic). The assistant converted
the vendor init stream to mipi_dsi_dcs_write_seq_multi(), drafted the driver
skeleton and the DT binding, and drafted these changelogs. I reviewed every
line, validated the binding (dt_binding_check, yamllint), tested the driver
on hardware, and take full responsibility for the contribution.
Prompt summary: "convert the XCover5 NT36525 vendor panel init into a
mainline drm_panel driver plus DT binding; keep it checkpatch- and
dt_binding_check-clean; test on the device." Review comments are welcome
and I will answer them myself.

Adil Hüsrev Tepe (2):
dt-bindings: display: panel: add Novatek NT36525
drm/panel: add Novatek NT36525 panel driver

.../display/panel/novatek,nt36525.yaml | 83 +++
drivers/gpu/drm/panel/Kconfig | 13 +
drivers/gpu/drm/panel/Makefile | 1 +
drivers/gpu/drm/panel/panel-novatek-nt36525.c | 491 ++++++++++++++++++
4 files changed, 588 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/panel/novatek,nt36525.yaml
create mode 100644 drivers/gpu/drm/panel/panel-novatek-nt36525.c

--
2.53.0