[PATCH v2 0/2] Add support for Zhunyi Z40046 LCD panel
From: Luca Leonardo Scorcia
Date: Fri Apr 17 2026 - 06:49:10 EST
The Zhunyi Z40046 is a 480x800 24-bit WVGA DSI panel based on the
Fitipower JD9161Z DSI controller found in the Xiaomi Mi Smart Clock
x04g, apparently in two different variants.
The Fitipower JD9161Z LCD driver IC is very similar to the Jadard
JD9365DA-H3, it just uses different initialization sequences. A
partial data sheet is available at [1].
The two initialization sequences for the panel have been extracted from
Android original firmware for the Xiaomi Smart Clock.
Variant -ctc tested on device. Variant -boe not tested.
Changes in v2:
- Double checked and fixed some mistakes in the reverse engineered
initialization sequences
- Changed the generic variant names -v1, -v2 into -ctc and -boe, as
they're described in the Android logs
- Fix alphabetical order in bindings and correct company name
v1:
https://lore.kernel.org/all/20260305195650.119196-1-l.scorcia@xxxxxxxxx/
[1] https://github.com/QuecPython/QuecPython_lib_bundles/blob/master/libraries/LCD/JD91651z/JD9161Z_DS_Preliminary_V0.01_20180803(1).pdf
Luca Leonardo Scorcia (2):
dt-bindings: display: panel: Add compatibles for Zhunyi Z40046
drm/panel: jd9365da: Support for Zhunyi Z40046 panels
.../display/panel/jadard,jd9365da-h3.yaml | 2 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
.../gpu/drm/panel/panel-jadard-jd9365da-h3.c | 313 ++++++++++++++++++
3 files changed, 317 insertions(+)
--
2.43.0