[PATCH 0/4] drm/panel: st7701: add the Miyoo A30 panel
From: Romain TISSERAND
Date: Thu Nov 26 2026 - 21:08:27 EST
The Miyoo A30 is an Allwinner A33 handheld with a 480x640 2-lane
MIPI-DSI panel driven by a Sitronix ST7701S.
Its stock init table doesn't fit the encoding st7701_init_sequence()
derives from the panel descriptor, and the panel doesn't work in the
burst mode the driver always uses. Patch 3 adds two optional descriptor
fields for that, a complete init sequence and the DSI mode flags; the
existing panels set neither and are unchanged. Patch 4 adds the panel,
patch 2 its compatible.
Patch 1 does for sitronix,st7701 what commit 2f50e0a0f9d3
("dt-bindings: display: panel: Make DSI panels port optional") did for
the other DSI panel bindings: the port becomes optional, and stays
required for the panel with an RGB input set up over SPI. The Allwinner
sun6i DSI host links its panel as a child node and has no output port.
The board devicetree will be sent to the sunxi tree separately.
Testing: each patch built with W=1 for arm (multi_v7_defconfig,
DRM_PANEL_SITRONIX_ST7701=y and =m) and arm64 (defconfig, =m), no
warnings; dt_binding_check clean for sitronix,st7701.yaml. Tested on a
Miyoo A30 on 6.18.54 and again on 7.3.1 with the same driver change
(A33 sun6i DSI): the panel comes up with a stable picture and correct
colours. The other
panels of the driver were not tested on hardware.
checkpatch --strict reports "Alignment should match open parenthesis"
for the continuation lines of the init table: they follow the style of
the existing tables in the driver (46 such checks in the current file).
Tool disclosure: this series was prepared with Claude Opus 5.5
(Anthropic) as a coding assistant, in an interactive session: it
extracted the stock init table, wrote the code, the split and the
messages. I reviewed and understand it, and tested it as described.
Romain TISSERAND (4):
dt-bindings: display: panel: sitronix,st7701: make the port optional
for DSI
dt-bindings: display: panel: sitronix,st7701: add the Miyoo A30 panel
drm/panel: st7701: let a panel provide its own init sequence and DSI
flags
drm/panel: st7701: add the Miyoo A30 panel
.../display/panel/sitronix,st7701.yaml | 13 +-
drivers/gpu/drm/panel/panel-sitronix-st7701.c | 115 +++++++++++++++++-
2 files changed, 122 insertions(+), 6 deletions(-)
base-commit: 53063c88338aa6125d43a7ce3ff1e0cf5066bad1
--
2.43.0