This series adds VOP2 support to U-Boot and enable it for PineTab2. HDMI should work flawlessly but there's still some timings issue with DW MIPI DSI, perhaps that's something to look into later.
PATCH 4 and 7 requires get_display_timing patch[1]. This patch should should now be in master. There is a regression in clk_enable() call which breaks set_parent(), it is recommended to apply [2] for this series to work properly. [1]: https://lore.kernel.org/u-boot/20250220170629.228485-1-clamo...@gmail.com [2]: https://lore.kernel.org/u-boot/20250419090718.2469756-1-jo...@kwiboo.se Tested-by: Piotr Zalewski <pz010001011...@proton.me> Signed-off-by: Dang Huynh <danc...@riseup.net> --- Changes in v4: - Remove unnecessary clk_enable() as VOP clocks are enabled by TF-A - Adjust I2C clock configuration to match 24 MHz clock - Reorganize VOP node order - Link to v3: https://lore.kernel.org/r/20250412-vop2-pt2-v3-0-7c796db33...@riseup.net Changes in v3: - Renaming prefix from "rkvop" to "rkvop2" and similar - Win planes are platform-configurable - Link to v2: https://lore.kernel.org/r/20250223-vop2-pt2-v2-0-71350e482...@riseup.net Changes in v2: - Get display timings from video bridge (requires [1]) - Disable esmart and post before booting to OS - Enable avdd-0v9 and avdd-1v8 when probing HDMI. - Link to v1: https://lore.kernel.org/r/20250116-vop2-pt2-v1-0-c9d646b53...@riseup.net --- Dang Huynh (10): video: rockchip: dw-mipi-dsi: Depend on CONFIG_VIDEO_BRIDGE video: rockchip: dw-mipi-dsi: Add get_display_timing support video: Add BOE TH101MB31IG002-28A MIPI-DSI panel video: rockchip: Add VOP2 support video: rockchip: vop2: Add video bridge support dts: rockchip: rk356x: Prerelocate VOP in U-Boot proper configs: quartz64: Enable vidconsole video: rockchip: Add HDMI support for RK3568 configs: pinetab2-rk3566: Enable video and USB keyboard clk: rockchip: rk3568: Use assigned VPLL clock when possible Ondrej Jirman (2): video: rockchip: dw_mipi_dsi: Improve pixel clock calculations video: rockchip: dw_mipi_dsi: Proceed when external PHY is not defined arch/arm/dts/rk356x-u-boot.dtsi | 4 + arch/arm/include/asm/arch-rockchip/vop_rk3568.h | 280 ++++++++++++ configs/pinetab2-rk3566_defconfig | 10 + drivers/clk/rockchip/clk_rk3568.c | 6 +- drivers/video/Kconfig | 10 + drivers/video/Makefile | 1 + drivers/video/boe-th101mb31ig002-28a.c | 236 ++++++++++ drivers/video/rockchip/Kconfig | 2 +- drivers/video/rockchip/Makefile | 4 +- drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 45 +- drivers/video/rockchip/rk3568_hdmi.c | 71 +++ drivers/video/rockchip/rk3568_vop.c | 260 +++++++++++ drivers/video/rockchip/rk_vop2.c | 554 ++++++++++++++++++++++++ drivers/video/rockchip/rk_vop2.h | 76 ++++ include/configs/quartz64_rk3566.h | 5 +- 15 files changed, 1541 insertions(+), 23 deletions(-) --- base-commit: 9dbe8d889546efd6c1a3470092588b9b6820158f change-id: 20250114-vop2-pt2-755fb1991bb6 Best regards, -- Dang Huynh <danc...@riseup.net>