Skip to content

drm/panel: st7701: add the Miyoo A30 panel

Romain TISSERAND dri-devel linux-devicetree lkml sashiko-reviews 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: display: panel: sitronix,st7701: make the port optional for DSIDocumentation/devicetree/bindings/display/panel/sitronix,st7701.yaml+10 -10 replies
2/4dt-bindings: display: panel: sitronix,st7701: add the Miyoo A30 panelDocumentation/devicetree/bindings/display/panel/sitronix,st7701.yaml+2 -00 replies
3/4drm/panel: st7701: let a panel provide its own init sequence and DSI flagsdrivers/gpu/drm/panel/panel-sitronix-st7701.c+22 -50 replies
4/4drm/panel: st7701: add the Miyoo A30 paneldrivers/gpu/drm/panel/panel-sitronix-st7701.c+88 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] drm/panel: st7701: add the Miyoo A30 panel

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

Signature · 1 line
2.43.0