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 (no change since v3) Patch 2 the panel driver v4 addresses Uwe Kleine-König's v3 review comment: drop the unneeded <linux/mod_devicetable.h> include (it is pulled in transitively; this driver's of_device_id/MODULE_DEVICE_TABLE(of, ...) still build clean without it). Adding [email protected] to Cc per Ivon Argel's suggestion on the v3 thread, so the relevant ecosystem developers see it (not adding Ivon's own address; he asked not to be personally Cc'd). On Michael McAllister's offer to add Moto G10 (DJN NT36525B) support on top of this series: happy to see a follow-up patch once this base driver lands; I'll reply on-list separately rather than hold this series on it. Tested on a Samsung Galaxy XCover5 running 7.4-rc3 plus this series (re-confirmed 2026-11-20, kernel 7.4.0-rc3-00023-gdcb8b91fb779+ #32, after rebasing our local tree from 7.4.0-rc1 to the real 7.4-rc3 tag): the DSI panel connector probes and reports "connected", debugfs reports the reset gpio as ACTIVE LOW, and /sys/class/backlight/ is present and readable. 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-rc3. 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 | 490 ++++++++++++++++++ 4 files changed, 587 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
