diff options
author | Anders Bauer <anders.bauer@stericsson.com> | 2011-05-17 15:22:59 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2012-01-05 10:18:01 +0000 |
commit | 3eb5da4562aebca558d95c77f38cbae6a8d68c14 (patch) | |
tree | 20c439432e4496426124113c9ca91ebad5d1668d /include | |
parent | 7ce7d01824fee6b89b72c5551873d99dcd65eb99 (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); |