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 -- 2.25.1
