Skip to content

drm/bridge: Add Rockchip RK628 video interface bridge support

Gianfranco Mariotti dri-devel linux-arm-kernel linux-devicetree linux-rockchip lkml sashiko-reviews 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: display: bridge: Add Rockchip RK628 video interface bridgeDocumentation/devicetree/bindings/display/bridge/rockchip,rk628.yaml MAINTAINERS+261 -00 replies
2/2drm/bridge: Add Rockchip RK628 HDMI to LVDS bridge driverMAINTAINERS drivers/gpu/drm/bridge/Kconfig drivers/gpu/drm/bridge/Makefile +1 more+1925 -05 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/2] drm/bridge: Add Rockchip RK628 video interface bridge support

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 ([email protected]@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
Signature · 1 line
2.25.1