
This series provides HDMI enablement for the RK3399 and will support video console on the RK3399 either with VOP-lit or VOP-big: - pinctrl and clk support for the hdmi node - a refactoring of rk_vop.c and rk_hdmi.c to allow for the minor differences between the RK3288 and RK3399 VOP and HDMI blocks
To see the full series in the context of a working configuration (i.e. including DTS, defconfig, etc. and on top of the MIPI enablement change series from Rockchip), refer to https://git.theobroma-systems.com/puma-u-boot.git/log/?h=puma-hdmi-rfc
This has been tested (on top of Eric Gao's change series for MIPI-DSI) using 'bmp display' and 'setenv stdout vidconsole' on the RK3399-Q7 with various HDMI monitors, both for VOP-lit and VOP-big (setting the other one to 'disabled').
Changes in v2: - removed DEBUG from the patch (as was done in our production branches, but missing from the patch-prep branch) - updated SJG's comment (with a TODO for the RK3288) to reflect the new code structure
Philipp Tomsich (5): rockchip: clk: rk3399: allow requests for HDMI clocks rockchip: pinctrl: rk3399: add support for the HDMI I2C pins rockchip: video: rk3399: enable HDMI output (from the rk_vop) for the RK3399 rockchip: video: rk3399: add HDMI TX support on the RK3399 rockchip: dts: rk3399: enable HDMI output in the DTS
arch/arm/dts/rk3399.dtsi | 110 +++++++++++++++ arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 7 + arch/arm/include/asm/arch-rockchip/vop_rk3288.h | 11 ++ drivers/clk/rockchip/clk_rk3399.c | 7 + drivers/pinctrl/rockchip/pinctrl_rk3399.c | 26 ++++ drivers/video/rockchip/rk_hdmi.c | 164 +++++++++++++++++----- drivers/video/rockchip/rk_vop.c | 178 ++++++++++++++++++++---- 7 files changed, 438 insertions(+), 65 deletions(-)