]> git.karo-electronics.de Git - linux-beck.git/commit
OMAP: DSS2: Functions to request/release DSI VCs
authorArchit Taneja <archit@ti.com>
Wed, 2 Mar 2011 07:05:53 +0000 (12:35 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 Mar 2011 13:46:28 +0000 (15:46 +0200)
commit5ee3c1445dd89342ca8498c14afef82d0f76c794
tree7ff0119aa4b1962633d3edc5c1a81bf415ab8ad9
parent0a5835185420160f4fe8a6e1d1e42cd7efa07dc7
OMAP: DSS2: Functions to request/release DSI VCs

Introduce functions which request and release VC's. This will be used in panel
drivers in their probes.

omap_dsi_request_vc() takes in the pointer to the omap_dss_device, the VC_ID
parameter which goes into the header of the DSI packets, and returns a Virtual
channel number (or virtual channel register set) which it can use.

omap_dsi_set_vc_id() takes the omap_dss_device pointer, the Virtual Channel
number and the VC_ID that needs to be set for the specifed Virtual Channel.

omap_dsi_release_vc() takes the omap_dss_device pointer and the Virtual Channel
number that needs to be made free.

Initialisation of VC parameters is done in dsi_init().

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
arch/arm/plat-omap/include/plat/display.h
drivers/video/omap2/dss/dsi.c