aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/rockchip/rk_vop.c
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2017-03-20 23:01:22 +0100
committerSimon Glass <sjg@chromium.org>2017-04-04 20:01:57 -0600
commitcc232a9d07e7c4d2b9e217b182c857a23a672f0c (patch)
treed7ce58ff9962aa98d1d4e58614406e5d29f889b7 /drivers/video/rockchip/rk_vop.c
parent02a7d83301d5b5dfed387b8d16ff2882f6a5d9ed (diff)
downloadu-boot-cc232a9d07e7c4d2b9e217b182c857a23a672f0c.zip
u-boot-cc232a9d07e7c4d2b9e217b182c857a23a672f0c.tar.gz
u-boot-cc232a9d07e7c4d2b9e217b182c857a23a672f0c.tar.bz2
rockchip: video: Split out HDMI controller code
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@siol.net> Tested-by: Nickey Yang <nickey.yang@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video/rockchip/rk_vop.c')
-rw-r--r--drivers/video/rockchip/rk_vop.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c
index aeecb58..bc02f80 100644
--- a/drivers/video/rockchip/rk_vop.c
+++ b/drivers/video/rockchip/rk_vop.c
@@ -20,7 +20,6 @@
#include <asm/arch/cru_rk3288.h>
#include <asm/arch/grf_rk3288.h>
#include <asm/arch/edp_rk3288.h>
-#include <asm/arch/hdmi_rk3288.h>
#include <asm/arch/vop_rk3288.h>
#include <dm/device-internal.h>
#include <dm/uclass-internal.h>