summaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorAnders Bauer <anders.bauer@stericsson.com>2011-05-17 15:22:59 +0200
committerUlf Hansson <ulf.hansson@stericsson.com>2011-09-19 15:15:35 +0200
commit54514061c53a2b8822a402a0ca65b832d937e516 (patch)
treeac05aa9354a9b2eec0d7ad507c9337dac94617b3 /include/video
parentec34d684f263c4585670ab9cc86866d1bbb0b17f (diff)
video: mcde: add support for generic write commands
This patch adds function mcde_dsi_generic_write, used for sending generic write commands to DSI display. ST-Ericsson ID: 334291 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: Not tested, ER 282779 Change-Id: I9c0bb3135321b7ab27067dc9d85a048bdce90f85 Signed-off-by: Anders Bauer <anders.bauer@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/23218 Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/mcde.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/video/mcde.h b/include/video/mcde.h
index 97eeef01c19..213f33e43fe 100644
--- a/include/video/mcde.h
+++ b/include/video/mcde.h
@@ -409,8 +409,9 @@ void mcde_ovly_put(struct mcde_ovly_state *ovly);
#define DCS_CMD_WRITE_START 0x2C
#define MCDE_MAX_DCS_READ 4
-#define MCDE_MAX_DCS_WRITE 15
+#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);