OSDN Git Service

OMAPDSS: Add DT support to DSI
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 21 Aug 2012 12:35:42 +0000 (15:35 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 19 Mar 2014 09:03:08 +0000 (11:03 +0200)
commit6274a619780e62610edcec12cead023053767a6f
tree15bf63ab817e58fc65be2de9074555ab4b5f2e7c
parenta2207021f22d74cc0485042e296b016a2199e443
OMAPDSS: Add DT support to DSI

Add the code to make the DSI driver work with device tree on OMAP3 and
OMAP4.

A minor hack is needed at the moment in the DSI driver: the DSS driver
needs to know the ID number of a DSI device, as clocks are routed in
different ways to the DSI devices. At the moment we don't have any
proper way to manage this, so this patchs adds a simple lookup table
that is used to deduce the ID from the DSI device's base address.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dsi.c