1
linux/drivers/video/omap2/dss
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
..
core.c OMAP: DSS2: Use dss_features framework on DSS2 code 2010-10-22 23:21:04 +03:00
dispc.c OMAP: DSS2: Represent DISPC register defines with channel as parameter 2011-01-10 11:09:54 +02:00
display.c OMAP: DSS2: Remove extra return statement 2010-08-05 16:52:11 +03:00
dpi.c OMAP: DSS2: move timing functions 2010-02-24 14:31:28 +02:00
dsi.c OMAP: DSS2: DSI: Remove extra iounmap in error path 2010-10-22 23:21:05 +03:00
dss_features.c OMAP: DSS2: Add dss_features for omap4 and overlay manager related features 2011-01-10 11:09:54 +02:00
dss_features.h OMAP: DSS2: Add dss_features for omap4 and overlay manager related features 2011-01-10 11:09:54 +02:00
dss.c OMAP: DSS2: DSI: Wait for DSI PLL clocks to be active before selecting them 2010-08-05 16:51:49 +03:00
dss.h OMAP3630: DSS2: Enable Pre-Multiplied Alpha Support 2011-01-10 10:54:19 +02:00
Kconfig OMAP: DSS2: Add Kconfig option for DPI display type 2010-05-18 14:14:29 +03:00
Makefile OMAP: DSS2: Introduce dss_features files 2010-10-22 23:21:03 +03:00
manager.c OMAP3630: DSS2: Enable Pre-Multiplied Alpha Support 2011-01-10 10:54:19 +02:00
overlay.c OMAP3630: DSS2: Enable Pre-Multiplied Alpha Support 2011-01-10 10:54:19 +02:00
rfbi.c OMAP: DSS2: change manual update scaling setup 2010-08-05 16:52:03 +03:00
sdi.c OMAP: DSS2: Use vdds_sdi regulator supply in SDI 2010-05-18 14:14:29 +03:00
venc.c OMAP: DSS2: VENC: don't call platform_enable/disable() twice 2010-05-18 14:14:30 +03:00