Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/bridge: Add Rockchip RK628 video interface bridge support
@ 2026-12-03  1:33 Gianfranco Mariotti
  2026-12-03  1:33 ` [PATCH 1/2] dt-bindings: display: bridge: Add Rockchip RK628 video interface bridge Gianfranco Mariotti
  2026-12-03  1:33 ` [PATCH 2/2] drm/bridge: Add Rockchip RK628 HDMI to LVDS bridge driver Gianfranco Mariotti
  0 siblings, 2 replies; 3+ messages in thread
From: Gianfranco Mariotti @ 2026-12-03  1:33 UTC (permalink / raw)
  To: Neil Armstrong, Dmitry Baryshkov, Robert Foss, Laurent Pinchart,
	Jernej Skrabec, Luca Ceresoli, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
	Simona Vetter, Heiko Stuebner, dri-devel, devicetree,
	linux-rockchip, linux-arm-kernel, linux-kernel,
	Gianfranco Mariotti

This series adds device tree bindings for the Rockchip RK628 (RK628D and
RK628F) multi-interface video bridge IC and an atomic DRM bridge driver
implementing HDMI-to-LVDS mode.

The RK628 integrates an HDMI 1.4/2.0 receiver, a bidirectional parallel
RGB/YUV/BT.1120 interface, an internal clock and reset unit (CRU) with
fractional dividers, a line-buffered post-processor (scaler, timing
generator, and CSC), a dual-channel combo TX PHY (LVDS, MIPI DSI, MIPI
CSI-2 TX, or GVI), and an HDMI 1.4/2.0 transmitter.

Patch 1 documents the complete hardware DT binding (port@0..port@4,
supplies, optional reference clock, interrupt, and reset) for
rockchip,rk628d and rockchip,rk628f so future support for the remaining
input/output interfaces can be added without DT ABI changes.

Patch 2 adds the atomic DRM bridge driver (drivers/gpu/drm/bridge/rockchip-rk628.c)
for the HDMI RX (port@0) to single- or dual-link LVDS TX (port@1,
port@2) pipeline, tested on NXP i.MX8MP hardware driving a 1920x1080
dual-link LVDS panel via RK628D.

Hardware note on HDMI RX vs. DVI framing:
Unlike simpler HDMI 1.4/DVI receivers, the RK628 HDMI receiver requires
true HDMI TMDS framing (preambles and guard bands) to lock symbol
alignment and color depth; raw DVI TMDS signalling is not supported.
When chained directly to an upstream HDMI transmitter bridge with
DRM_BRIDGE_ATTACH_NO_CONNECTOR (where no HDMI sink EDID/VSDB is read),
the upstream transmitter must emit HDMI framing rather than defaulting
to DVI mode.

Gianfranco Mariotti (2):
  dt-bindings: display: bridge: Add Rockchip RK628 video interface
    bridge
  drm/bridge: Add Rockchip RK628 HDMI to LVDS bridge driver

 .../display/bridge/rockchip,rk628.yaml        |  253 +++
 MAINTAINERS                                   |    9 +
 drivers/gpu/drm/bridge/Kconfig                |   16 +
 drivers/gpu/drm/bridge/Makefile               |    1 +
 drivers/gpu/drm/bridge/rockchip-rk628.c       | 1907 +++++++++++++++++
 5 files changed, 2186 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/rockchip,rk628.yaml
 create mode 100644 drivers/gpu/drm/bridge/rockchip-rk628.c

-- 
2.25.1



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

end of thread, other threads:[~2026-12-03  3:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  1:33 [PATCH 0/2] drm/bridge: Add Rockchip RK628 video interface bridge support Gianfranco Mariotti
2026-12-03  1:33 ` [PATCH 1/2] dt-bindings: display: bridge: Add Rockchip RK628 video interface bridge Gianfranco Mariotti
2026-12-03  1:33 ` [PATCH 2/2] drm/bridge: Add Rockchip RK628 HDMI to LVDS bridge driver Gianfranco Mariotti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox