All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Golle <daniel@makrotopia.org>
To: Simon Glass <sjg@chromium.org>,
	Philipp Tomsich <philipp.tomsich@vrull.eu>,
	Kever Yang <kever.yang@rock-chips.com>,
	Tom Rini <trini@konsulko.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Tianling Shen <cnsztl@gmail.com>, Jonas Karlman <jonas@kwiboo.se>,
	Lukasz Majewski <lukma@denx.de>,
	Anatolij Gustschin <ag.dev.uboot@gmail.com>,
	Dang Huynh <dang.huynh@mainlining.org>,
	Daniel Golle <daniel@makrotopia.org>, Peng Fan <peng.fan@nxp.com>,
	Patrice Chotard <patrice.chotard@foss.st.com>,
	Yao Zi <me@ziyao.cc>,
	u-boot@lists.denx.de
Subject: [PATCH 0/9] video: rockchip: VOP2 and HDMI output for RK3568
Date: Sun, 19 Jul 2026 02:58:43 +0100	[thread overview]
Message-ID: <cover.1784424101.git.daniel@makrotopia.org> (raw)

U-Boot has no video output support for the RK3568/RK3566 family: the
VOP2 display controller found in these SoCs (and newer Rockchip parts)
is unsupported, so boards cannot show a boot menu, the UEFI console or
any other firmware user interface on a locally attached display, while
the vendor firmware and the Linux kernel have long been able to drive
it.

This series brings up HDMI output on RK3568 in U-Boot proper so that a
plain monitor plus USB keyboard is enough to interact with the
firmware, using the NanoPi R5C as the reference board.

The VOP2 driver and the RK3568 HDMI glue were written by Dang Huynh,
modelled on the existing VOP support and the Linux driver. On top of
that, bring-up on real hardware showed that U-Boot must not rely on the
state left behind by earlier boot stages: the probe path is fixed to
map the right register base, and the HDMI controller clocks, the PHY
reference clock and the PHY analog supplies are now enabled explicitly
by the driver instead of assuming the BootROM, TPL or a previous
firmware left them on. The final patch enables video output on the
NanoPi R5C.

Dang Huynh (4):
  video: rockchip: Add VOP2 support
  arm: dts: rockchip: rk356x: Prerelocate VOP in U-Boot proper
  video: rockchip: Add HDMI support for RK3568
  clk: rockchip: rk3568: Use assigned VPLL clock when possible

Daniel Golle (5):
  video: rockchip: vop2: fix NULL register base in rk3568 probe
  video: rockchip: rk3568: ungate the HDMI controller clocks
  video: rockchip: rk3568: bring up the HDMI PHY reference clock
  video: rockchip: rk3568: power the HDMI PHY analog supplies
  configs: nanopi-r5c: enable HDMI video output

 arch/arm/dts/rk356x-u-boot.dtsi               |   4 +
 .../include/asm/arch-rockchip/vop_rk3568.h    | 280 ++++++++++
 configs/nanopi-r5c-rk3568_defconfig           |   4 +
 drivers/clk/rockchip/clk_rk3568.c             |  18 +-
 drivers/video/rockchip/Makefile               |   4 +-
 drivers/video/rockchip/rk3568_hdmi.c          | 125 +++++
 drivers/video/rockchip/rk3568_vop.c           | 270 +++++++++
 drivers/video/rockchip/rk_vop2.c              | 520 ++++++++++++++++++
 drivers/video/rockchip/rk_vop2.h              |  76 +++
 9 files changed, 1299 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-rockchip/vop_rk3568.h
 create mode 100644 drivers/video/rockchip/rk3568_hdmi.c
 create mode 100644 drivers/video/rockchip/rk3568_vop.c
 create mode 100644 drivers/video/rockchip/rk_vop2.c
 create mode 100644 drivers/video/rockchip/rk_vop2.h


base-commit: ece349ade2973e220f524ce59e59711cc919263f
-- 
2.55.0

             reply	other threads:[~2026-07-19  1:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-19  1:58 Daniel Golle [this message]
2026-07-19  1:58 ` [PATCH 1/9] video: rockchip: Add VOP2 support Daniel Golle
2026-07-19  1:58 ` [PATCH 2/9] arm: dts: rockchip: rk356x: Prerelocate VOP in U-Boot proper Daniel Golle
2026-07-19  1:59 ` [PATCH 3/9] video: rockchip: Add HDMI support for RK3568 Daniel Golle
2026-07-19  1:59 ` [PATCH 4/9] clk: rockchip: rk3568: Use assigned VPLL clock when possible Daniel Golle
2026-07-19  1:59 ` [PATCH 5/9] video: rockchip: vop2: fix NULL register base in rk3568 probe Daniel Golle
2026-07-19  1:59 ` [PATCH 6/9] video: rockchip: rk3568: ungate the HDMI controller clocks Daniel Golle
2026-07-19  2:00 ` [PATCH 7/9] video: rockchip: rk3568: bring up the HDMI PHY reference clock Daniel Golle
2026-07-19  2:00 ` [PATCH 8/9] video: rockchip: rk3568: power the HDMI PHY analog supplies Daniel Golle
2026-07-19  2:00 ` [PATCH 9/9] configs: nanopi-r5c: enable HDMI video output Daniel Golle
     [not found] ` <daniel@makrotopia.org>
2026-07-19 21:24   ` [PATCH 0/9] video: rockchip: VOP2 and HDMI output for RK3568 Stefan Monnier

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=cover.1784424101.git.daniel@makrotopia.org \
    --to=daniel@makrotopia.org \
    --cc=ag.dev.uboot@gmail.com \
    --cc=cnsztl@gmail.com \
    --cc=dang.huynh@mainlining.org \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=lukma@denx.de \
    --cc=me@ziyao.cc \
    --cc=patrice.chotard@foss.st.com \
    --cc=peng.fan@nxp.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.