On 8 March 2017 at 16:34, Jernej Skrabec <[email protected]> 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 <[email protected]> > --- > > 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 <[email protected]> -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
