]> git.baikalelectronics.ru Git - kernel.git/commit
drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode
authorAndy Yan <andy.yan@rock-chips.com>
Fri, 5 Dec 2014 06:25:05 +0000 (14:25 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 6 Jan 2015 16:36:16 +0000 (17:36 +0100)
commit08334156d7c3b094dee0efe815943314fb6ddb8b
tree341c0519e5498f911035d7035f56ba675c4764b6
parent1064e5373ac1ff8590c35d23d1950cb5dbe04684
drm: imx: imx-hdmi: convert imx-hdmi to drm_bridge mode

IMX6 and Rockchip RK3288 and JZ4780 (Ingenic Xburst/MIPS)
use the interface compatible Designware HDMI IP, but they
also have some lightly differences, such as phy pll configuration,
register width, 4K support, clk useage, and the crtc mux configuration
is also platform specific.

To reuse the imx hdmi driver, convert it to drm_bridge

handle encoder in imx-hdmi_pltfm.c, as most of the encoder
operation are platform specific such as crtc select and
panel format set

This patch depends on Russell King's patch:
 drm: imx: convert imx-drm to use the generic DRM OF helper
 http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2014-July/053484.html

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Tested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/Makefile
drivers/gpu/drm/imx/imx-hdmi.c
drivers/gpu/drm/imx/imx-hdmi.h
drivers/gpu/drm/imx/imx-hdmi_pltfm.c [new file with mode: 0644]