Devicetree
 help / color / mirror / Atom feed
From: Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>
To: Neil Armstrong <neil.armstrong@linaro.org>,
	Dmitry Baryshkov <lumag@kernel.org>,
	Robert Foss <rfoss@kernel.org>,
	Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Luca Ceresoli <luca.ceresoli@bootlin.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
	Heiko Stuebner <heiko@sntech.de>,
	dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	linux-rockchip@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Gianfranco Mariotti <gianfranco.mariotti94@gmail.com>
Subject: [PATCH 0/2] drm/bridge: Add Rockchip RK628 video interface bridge support
Date: Thu,  3 Dec 2026 02:33:22 +0100	[thread overview]
Message-ID: <20261203013324.30650-1-gianfranco.mariotti94@gmail.com> (raw)

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


             reply	other threads:[~2026-12-03  1:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03  1:33 Gianfranco Mariotti [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261203013324.30650-1-gianfranco.mariotti94@gmail.com \
    --to=gianfranco.mariotti94@gmail.com \
    --cc=Laurent.pinchart@ideasonboard.com \
    --cc=airlied@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=heiko@sntech.de \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=lumag@kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=rfoss@kernel.org \
    --cc=robh@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox