[PATCH 00/11] drm/sun4i: Add H616 display pipeline support

From: Jernej Skrabec

Date: Thu Nov 26 2026 - 16:44:59 EST


This series adds the remaining bits for the H616 display pipeline:
TCON TOP, TCON LCD (R40 style) and TCON TV support, HDMI PHY, display
engine compatible, DT nodes and HDMI enablement on several boards.

TCON LCD support also covers SoCs with the same die and full LCD
outputs, like T507: both TCON LCDs share one LVDS reset, so it is now
requested as shared, and TCON LCD1 programs the second LVDS PHY. TCON
TOP now also routes LCD TCONs to the LCD pins explicitly. Dual
link LVDS is not supported by the driver yet. As on R40, only two of
the four TCONs can be enabled at the same time, since there are two
mixers.

HDMI PHY tables follow the BSP: PLL settings per TMDS clock band, like
on H6, and BSP specific values at CEA clocks, including their 1000/1001
variants.

The series is based on linux-next, since DT patches touch boards which
were changed in sunxi dt-for-7.5.

Tested on T95 Max (X96 Mate DT) with a 4K monitor and with a HDMI
capture device: picture captured and checked at 25.175, 27, 40, 65,
80.14, 88.75, 108, 119, 148.5, 178.2 and 297 MHz. 4K60 at 594 and
593.41 MHz shows a clean picture on the monitor, which reports
scrambling, lock and no character errors over SCDC (channel 0, the only
one it reports).
All capture device EDID modes set and checked twice, plus 15 hotplug
cycles.
An earlier version of these patches was tested on MYD-YT507H (T507)
with an LVDS panel on TCON LCD0 and HDMI working at the same time.
Shared LVDS reset and TCON LCD1 (second LVDS PHY) changes are build
tested only.

Best regards,
Jernej

Jernej Skrabec (11):
dt-bindings: display: sun4i-tcon: Add R40 TCON LCD
dt-bindings: display: Add H616 display engine compatibles
drm/sun4i: Add support for H616 TCON TOP
drm/sun4i: tcon: Request LVDS reset as shared
drm/sun4i: tcon-top: Route LCD TCONs to the LCD pins
drm/sun4i: tcon: Add support for R40 LCD
drm/sun4i: Add H616 TCON TV support
drm/sun4i: Add support for H616 HDMI PHY
drm/sun4i: Add compatible for H616 display engine
arm64: dts: allwinner: h616: Add display pipeline
arm64: dts: allwinner: h616: Enable HDMI on several boards

.../bus/allwinner,sun50i-a64-de2.yaml | 20 +-
.../allwinner,sun4i-a10-display-engine.yaml | 4 +-
.../display/allwinner,sun4i-a10-tcon.yaml | 11 +
.../display/allwinner,sun8i-a83t-dw-hdmi.yaml | 4 +
.../allwinner,sun8i-a83t-hdmi-phy.yaml | 1 +
.../display/allwinner,sun8i-r40-tcon-top.yaml | 33 ++
.../dts/allwinner/sun50i-h313-tanix-tx1.dts | 30 ++
.../allwinner/sun50i-h616-orangepi-zero.dtsi | 25 ++
.../allwinner/sun50i-h616-orangepi-zero2.dts | 5 +
.../dts/allwinner/sun50i-h616-x96-mate.dts | 30 ++
.../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 420 ++++++++++++++++++
.../allwinner/sun50i-h618-orangepi-zero3.dts | 5 +
.../sun50i-h618-transpeed-8k618-t.dts | 30 ++
.../sun50i-h618-yuzukihd-chameleon.dts | 30 ++
drivers/gpu/drm/sun4i/sun4i_drv.c | 1 +
drivers/gpu/drm/sun4i/sun4i_tcon.c | 67 ++-
drivers/gpu/drm/sun4i/sun4i_tcon.h | 2 +
drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 170 +++++++
drivers/gpu/drm/sun4i/sun8i_tcon_top.c | 15 +-
drivers/gpu/drm/sun4i/sun8i_tcon_top.h | 3 +-
20 files changed, 895 insertions(+), 11 deletions(-)


base-commit: 3dd8c790a7b7027abdd568e36db5e82ffaea7c77
--
2.43.0