video: rockchip: VOP2 and HDMI output for RK3568
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | video: rockchip: Add VOP2 supportarch/ drivers/ drivers/ +2 more | +1138 | 0 replies | |
| 2/9 | arm: dts: rockchip: rk356x: Prerelocate VOP in U-Boot properarch/ | +4 | 0 replies | |
| 3/9 | video: rockchip: Add HDMI support for RK3568drivers/ drivers/ | +72 | 0 replies | |
| 4/9 | clk: rockchip: rk3568: Use assigned VPLL clock when possibledrivers/ | +5 | 0 replies | |
| 5/9 | video: rockchip: vop2: fix NULL register base in rk3568 probedrivers/ | +10 | 0 replies | |
| 6/9 | video: rockchip: rk3568: ungate the HDMI controller clocksdrivers/ | +17 | 0 replies | |
| 7/9 | video: rockchip: rk3568: bring up the HDMI PHY reference clockdrivers/ drivers/ | +33 | 0 replies | |
| 8/9 | video: rockchip: rk3568: power the HDMI PHY analog suppliesdrivers/ | +24 | 0 replies | |
| 9/9 | configs: nanopi-r5c: enable HDMI video outputconfigs/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] video: rockchip: VOP2 and HDMI output for RK3568
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
Signature · 1 line
2.55.0