]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: create DPI & SDI drivers
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 20 Feb 2012 14:57:37 +0000 (16:57 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 May 2012 11:44:51 +0000 (14:44 +0300)
commite004adf9f140018b7edea0205431ae859974ebdf
tree50cae3f775bc743299dc7285c758df599d2874cc
parent6dc1defa5910a4b0533c66170ffb3906101645a1
OMAPDSS: create DPI & SDI drivers

We currently have separate device/driver for each DSS HW module. The DPI
and SDI outputs are more or less parts of the DSS or DISPC hardware
modules, but in SW it makes sense to represent them as device/driver
pairs similarly to all the other outputs. This also makes sense for
device tree, as each node under dss will be a platform device, and
handling DPI & SDI somehow differently than the rest would just make the
code more complex.

This patch modifies the dpi.c and sdi.c to create drivers for the
platform devices.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/core.c
drivers/video/omap2/dss/dpi.c
drivers/video/omap2/dss/dss.c
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/sdi.c