diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-03-28 12:58:56 (GMT) |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-05-09 07:53:05 (GMT) |
commit | e4a9e94cc58ed6e4efb02b80be3a9bf57f448d07 (patch) | |
tree | c4b33461be5176e7c5ae7cc1590501b889f13ad1 /mm | |
parent | 3acc797c1db2eb873b13a07f21fe9572af4b78ee (diff) | |
download | linux-e4a9e94cc58ed6e4efb02b80be3a9bf57f448d07.tar.xz |
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions