sunxi: video: Convert lcdc to use struct display_timing
authorJernej Skrabec <jernej.skrabec@siol.net>
Mon, 27 Mar 2017 17:22:30 +0000 (19:22 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 20 Apr 2017 11:34:52 +0000 (13:34 +0200)
commit30ca20234e0cdce6e514ee6c1e73c97578efaea3
tree2fecaa9956e5ec08f842199168f1e602fd7c4731
parent5e023e7eb3c4dca6ddc2d7dbd862b5e781a6fbec
sunxi: video: Convert lcdc to use struct display_timing

Video driver for older Allwinner SoCs uses cfb console framework which
in turn uses struct ctfb_res_modes to hold timing informations. However,
DM video framework uses different structure - struct display_timing.

It makes more sense to convert lcdc to use new timing structure because
all new drivers should use DM video framework and older drivers might be
rewritten to use new framework too.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/include/asm/arch-sunxi/lcdc.h
drivers/video/sunxi/lcdc.c
drivers/video/sunxi/sunxi_display.c