diff options
author | Anders Bauer <anders.bauer@stericsson.com> | 2011-05-17 15:22:59 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@linaro.org> | 2011-07-22 15:49:53 +0200 |
commit | 15ff1af13a89951c1fa5b306edcdbee3ac04b272 (patch) | |
tree | 76525d0a6945d199c757734a80bcd30f35e02967 /include | |
parent | 43a93dea1dc12382d0a2582751e1a21109e689b1 (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.h | 3 |
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); |