]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
OMAPDSS: DPI: Add support for multiple instances
authorArchit Taneja <archit@ti.com>
Tue, 6 May 2014 11:37:39 +0000 (17:07 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 12 Nov 2014 11:40:10 +0000 (13:40 +0200)
commitf7e38fe9e23c6311a96510d00c75c73fcf5d1e42
tree7fafdf98f27fe784160c13d790eec661867887b5
parentef691ff48bc838e9fca54b58dccac0a7c36a3130
OMAPDSS: DPI: Add support for multiple instances

Register DPI outputs, and assign the port_num to them as specified by the
'reg' property in the DPI ports in DT.

To support multiple DPI instances, dpi_get_channel needs to take the DPI
instance's port number to get the corresponding channel. Make it take this
argument. We just pass 0 in the non-DT path, since we don't support multiple
instances in the non-DT case.

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