aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnders Bauer <anders.bauer@stericsson.com>2011-05-17 15:22:59 +0200
committersaid m bagheri <ebgheri@steludxu2848.(none)>2011-06-17 13:42:12 +0200
commit757d98bacef2f7f4c8e32a923c8d6a8baf21f8e6 (patch)
treed940536843a9f37235b8031c9f284d8f8da17ecd /include
parent1817fafcccd5412d61c91bc4f867261e1587058d (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')
-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);