[PATCH v3 0/4] drm/panel: novatek-nt36536: add 40/24 Hz modes, fix lifecycle

From: Qianhui Xu

Date: Wed Dec 02 2026 - 04:09:37 EST


Changes in v3:
- patch 1: reorder the 40 Hz mode so the list stays highest to lowest
(120/60/40/30/24); patches 2-4 are unchanged since v2
Changes in v2:
- patches 2-4: add Fixes: and Cc: stable, the bugs are in the driver
since it was merged in v7.3
- patch 4: state in the commit message why the guard is not moved into
drm_panel_enable(): that function is void and "prepare never called" is
indistinguishable from "prepare failed", so panels whose bridge ops do
not call drm_panel_prepare() would be skipped as well

The 40 Hz and 24 Hz modes were measured on the panel. The lifecycle fixes
are build-tested and boot-tested on one board using this panel, not on
others.
*** AI-assistance disclosure ***
Prepared with the help of an LLM coding assistant. The author reviewed
every line, checked each claim against the source tree and ran the gates
quoted above; the design decisions and any errors are the author's.


Qianhui Xu (4):
drm/panel: novatek-nt36536: add 40Hz and 24Hz modes for CSOT
PP8807HB1-1
drm/panel: novatek-nt36536: finish setup before attaching DSI devices
drm/panel: novatek-nt36536: power off on any prepare failure
drm/panel: novatek-nt36536: reject enable when prepare failed

drivers/gpu/drm/panel/panel-novatek-nt36536.c | 74 +++++++++++++++----
1 file changed, 58 insertions(+), 16 deletions(-)

--
2.53.0