Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
sunxi: video: Add video driver for H3/H5/A64 SoC
This patch adds support for hdmi and composite output. It is designed in the same way as video driver for older Allwinner SoCs. HDMI: First it checks if monitor is attached. If it is, recommended timings are read from EDID. After that, DE2, TCON and HDMI are configured according to this timings. Composite output doesn't use any check if monitor is attached. This can be added later. 32MB of RAM is used for framebuffer. This is just enough to support 4K resolution. SimpleFB is also supported by this driver. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
- Loading branch information
Showing
with
1,797 additions
and 11 deletions.
- +12 −3 arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
- +490 −0 arch/arm/include/asm/arch-sunxi/display2.h
- +3 −3 board/sunxi/Kconfig
- +1 −0 drivers/video/Makefile
- +1,278 −0 drivers/video/sunxi_display2.c
- +12 −5 include/configs/sunxi-common.h
- +1 −0 scripts/config_whitelist.txt
Oops, something went wrong.