summaryrefslogtreecommitdiff
path: root/include/video/mcde.h
diff options
context:
space:
mode:
authorNaveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>2011-08-26 21:33:14 +0530
committerPhilippe Langlais <philippe.langlais@linaro.org>2012-03-19 09:00:04 +0100
commit520c3c038fe00697e8f0e69d465b32e8ad8959f5 (patch)
tree3ecc2601861c918e45fe0d5ac1ad252eba936fa7 /include/video/mcde.h
parenta1f8ef0b3c41d10ed0f31c390fd07e8e1e7bfa86 (diff)
mcde:Migrate the patches for kernel3.0
Migrate the following commits for mcde driver files 0c80403 video: mcde: Add sony display support for DB5500 42c4245 Revert "video: mcde: Add sony display support for DB5500" 190e10f video: mcde: check for driver at suspend - resume 8a5da1e video: mcde: Configure channels and overlays for DB5500 4b15316 video: mcde: apply color conversion for DPI mode 409f44a video: mcde: Add sony display support for DB5500 585663b video: mcde: don't fail on no VANA 04ad4ac video: av8100: Add HDMI AVI Infoframe 7587405 video: mcde: Add DB5500 V2 support 91406cb video: mcde: remove PDP config 6bf7c79 video: mcde: fix suspend crash if no channel state 6d71d02 video: av8100: Add new firmware version de0af16 mcde: fix crash on unsupported hardware version 5d46943 video: mcde: remove mdelay in DSI write bc272e8 video: av8100: Reduce power consumption 2a22b39 video: mcde: enable mcde channel for DSI command b441a21 video: mcde: enable reading > 1 byte in DCS cmd ST-Ericsson ID: 352334 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Change-Id: If64e30ccb3bb789f0c6bc062d95623c4aad08be1 Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29549
Diffstat (limited to 'include/video/mcde.h')
-rw-r--r--include/video/mcde.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/video/mcde.h b/include/video/mcde.h
index 213f33e43fe..75992bf7d57 100644
--- a/include/video/mcde.h
+++ b/include/video/mcde.h
@@ -236,7 +236,7 @@ enum mcde_display_rotation {
#define MCDE_FIFO_AB_SIZE 640
#define MCDE_FIFO_C0C1_SIZE 160
-#define MCDE_PIXFETCH_LARGE_WTRMRKLVL 128
+#define MCDE_PIXFETCH_LARGE_WTRMRKLVL 256
#define MCDE_PIXFETCH_MEDIUM_WTRMRKLVL 64
#define MCDE_PIXFETCH_SMALL_WTRMRKLVL 16
@@ -251,6 +251,7 @@ enum mcde_display_rotation {
#define MCDE_AUTO_SYNC_WATCHDOG 5
/* Hardware versions */
+#define MCDE_CHIP_VERSION_4_0_4 4 /* U5500 V2 */
#define MCDE_CHIP_VERSION_1_0_4 3 /* U5500 V1 */
#define MCDE_CHIP_VERSION_3_0_8 2 /* U8500 V2 */
#define MCDE_CHIP_VERSION_3_0_5 1 /* U8500 V1 */
@@ -412,8 +413,11 @@ void mcde_ovly_put(struct mcde_ovly_state *ovly);
#define MCDE_MAX_DSI_DIRECT_CMD_WRITE 15
int mcde_dsi_generic_write(struct mcde_chnl_state *chnl, u8* para, int len);
-int mcde_dsi_dcs_write(struct mcde_chnl_state *chnl, u8 cmd, u8* data, int len);
-int mcde_dsi_dcs_read(struct mcde_chnl_state *chnl, u8 cmd, u8* data, int *len);
+int mcde_dsi_dcs_write(struct mcde_chnl_state *chnl,
+ u8 cmd, u8 *data, int len);
+int mcde_dsi_dcs_read(struct mcde_chnl_state *chnl,
+ u8 cmd, u32 *data, int *len);
+int mcde_dsi_set_max_pkt_size(struct mcde_chnl_state *chnl, int size);
/* MCDE */