Sumit Semwal 8613b0005d OMAP: DSS2: Represent DISPC register defines with channel as parameter
On OMAP4, we have a new DISPC channel for Overlay Manager LCD2. There is a set
of regsiters for LCD2 channel similar to the existing LCD channel, like
DISPC_CONTROL2, DISPC_DIVISOR2, DISPC_CONFIG2 and so on.

Introduce new enum members for LCD2 Channel and corresponding Overlay Manager
in display.h.

Represent the following DISPC register defines with channel as a parameter
to differentiate between LCD and LCD2 registers (and also DIGIT in some cases):

DISPC_DEFAULT_COLOR, DISPC_TRANS_COLOR, DISPC_TIMING_H, DISPC_TIMING_V,
DISPC_POL_FREQ, DISPC_DIVISOR, DISPC_SIZE_LCD, DISPC_DATA_CYCLEk,
DISPC_CPR_COEF_R, DISPC_CPR_COEF_G and DISPC_CPR_COEF_B

This parametrization helps in reducing the number of register defines for DISPC.
Replace the existing reads/writes to these registers in this new way.
Also, Introduce defines for registers DISPC_CONTROL2 and DISPC_CONFIG2 which
are used exclusively for LCD2 channel.

Signed-off-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Mukund Mittal <mmittal@ti.com>
Signed-off-by: Samreen <samreen@ti.com>
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
2011-01-10 11:09:54 +02:00
..
2011-01-06 11:38:19 -08:00
2010-10-15 15:53:27 +02:00
2010-11-15 22:40:38 +01:00
2010-10-27 18:03:08 -07:00
2010-12-22 12:57:27 +09:00
2010-08-09 11:25:17 +02:00
2010-08-09 11:25:17 +02:00
2010-05-03 15:42:58 +02:00
2010-12-24 12:33:55 +09:00
2011-01-06 15:48:13 +09:00
2010-05-25 08:07:09 -07:00
2010-02-27 18:31:16 +01:00
2010-02-27 18:31:14 +01:00
2010-03-12 15:52:34 -08:00
2010-10-09 17:07:23 +08:00
2010-12-21 01:05:43 +09:00
2010-05-25 08:07:09 -07:00
2010-12-21 01:05:43 +09:00
2010-05-27 09:12:42 -07:00
2010-05-25 08:07:09 -07:00
2010-06-16 18:05:05 +02:00
2011-01-06 18:10:09 +09:00
2010-02-27 18:31:13 +01:00
2010-02-27 18:31:13 +01:00
2010-08-16 15:14:03 +02:00
2010-05-25 08:07:08 -07:00
2010-05-25 08:07:08 -07:00