All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/panel: st7701: add the Miyoo A30 panel
@ 2026-11-27  2:08 Romain TISSERAND
  2026-11-27  2:08   ` [PATCH 1/4] dt-bindings: display: panel: sitronix, st7701: " Romain TISSERAND
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Romain TISSERAND @ 2026-11-27  2:08 UTC (permalink / raw)
  To: Jagan Teki, Neil Armstrong, Jessica Zhang
  Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	dri-devel, devicetree, linux-kernel, sashiko-reviews

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-27  2:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27  2:08 [PATCH 0/4] drm/panel: st7701: add the Miyoo A30 panel Romain TISSERAND
2026-11-27  2:08 ` [PATCH 1/4] dt-bindings: display: panel: sitronix,st7701: make the port optional for DSI Romain TISSERAND
2026-11-27  2:08   ` [PATCH 1/4] dt-bindings: display: panel: sitronix, st7701: " Romain TISSERAND
2026-11-27  2:12   ` [PATCH 1/4] dt-bindings: display: panel: sitronix,st7701: " sashiko-bot
2026-11-27  2:08 ` [PATCH 2/4] dt-bindings: display: panel: sitronix,st7701: add the Miyoo A30 panel Romain TISSERAND
2026-11-27  2:08   ` [PATCH 2/4] dt-bindings: display: panel: sitronix, st7701: " Romain TISSERAND
2026-11-27  2:08 ` [PATCH 3/4] drm/panel: st7701: let a panel provide its own init sequence and DSI flags Romain TISSERAND
2026-11-27  2:08 ` [PATCH 4/4] drm/panel: st7701: add the Miyoo A30 panel Romain TISSERAND

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.