[U-Boot] [PATCH 3/8] rockchip: video: Split out HDMI controller code
Simon Glass
sjg at chromium.org
Mon Mar 13 12:33:38 UTC 2017
On 8 March 2017 at 16:34, Jernej Skrabec <jernej.skrabec at siol.net> wrote:
> Designware HDMI controller and phy are used in other SoCs as well. Split
> out platform independent code.
>
> DW HDMI has 8 bit registers but they can be represented as 32 bit
> registers as well. Add support to select access mode.
>
> EDID reading code use reading by blocks which is not supported by other
> SoCs in general. Make it more general using byte by byte approach, which
> is also used in Linux driver.
>
> Finally, not all DW HDMI controllers are accompanied with DW HDMI phy.
> Support custom phys by making controller code independent from phy code.
>
> Signed-off-by: Jernej Skrabec <jernej.skrabec at siol.net>
> ---
>
> arch/arm/include/asm/arch-rockchip/hdmi_rk3288.h | 456 --------------
> drivers/video/dw_hdmi.c | 764 +++++++++++++++++++++++
> drivers/video/rockchip/Makefile | 2 +-
> drivers/video/rockchip/rk_hdmi.c | 757 +---------------------
> drivers/video/rockchip/rk_vop.c | 1 -
> include/dw_hdmi.h | 486 ++++++++++++++
> 6 files changed, 1275 insertions(+), 1191 deletions(-)
> delete mode 100644 arch/arm/include/asm/arch-rockchip/hdmi_rk3288.h
> create mode 100644 drivers/video/dw_hdmi.c
> create mode 100644 include/dw_hdmi.h
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list