]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DSI: implement generic DSI pin config
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 28 Mar 2012 12:58:56 +0000 (15:58 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 9 May 2012 07:53:05 +0000 (10:53 +0300)
commit75bc87bbc42891bea2caa14856b8edda31b372bf
treec4b33461be5176e7c5ae7cc1590501b889f13ad1
parentec2e6072c45537ad1a5601b85e4198c0750a5dd0
OMAPDSS: DSI: implement generic DSI pin config

In preparation for device tree, this patch changes how the DSI pins are
configured. The current configuration method is only doable with board
files and the configuration data is OMAP specific.

This patch moves the configuration data to the panel's platform data,
and the data can easily be given via DT in the future. The configuration
data format is also changed to a generic one which should be suitable
for all platforms.

The new format is an array of pin numbers, where the array items start
from clock + and -, then data1 + and -, and so on. For example:

{
0, // pin num for clock lane +
1, // pin num for clock lane -
2, // pin num for data1 lane +
3, // pin num for data1 lane -
...
}

The pin numbers are translated by the DSI driver and used to configure
the hardware appropriately.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-4430sdp.c
drivers/video/omap2/displays/panel-taal.c
drivers/video/omap2/dss/dsi.c
include/video/omap-panel-nokia-dsi.h
include/video/omapdss.h