diff options
author | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2009-12-16 07:53:15 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2010-02-15 08:14:41 -0500 |
commit | 828c48f8c51ebfc2a00e1a834b0bc9e7fd35060f (patch) | |
tree | 616907853717f904d68196906ee654b7cadcdf00 /arch/arm/plat-omap | |
parent | 4f76502374ff91bc80a48a32cabb1009087a3b9d (diff) |
OMAP: DSS2: DSI: add helpers for DCS read/write
Add helper functions for most common DCS read and write operations.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/display.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/display.h b/arch/arm/plat-omap/include/plat/display.h index c66e464732df..47df5f6fbf89 100644 --- a/arch/arm/plat-omap/include/plat/display.h +++ b/arch/arm/plat-omap/include/plat/display.h | |||
@@ -233,8 +233,11 @@ int omap_rfbi_setup_te(enum omap_rfbi_te_mode mode, | |||
233 | void dsi_bus_lock(void); | 233 | void dsi_bus_lock(void); |
234 | void dsi_bus_unlock(void); | 234 | void dsi_bus_unlock(void); |
235 | int dsi_vc_dcs_write(int channel, u8 *data, int len); | 235 | int dsi_vc_dcs_write(int channel, u8 *data, int len); |
236 | int dsi_vc_dcs_write_0(int channel, u8 dcs_cmd); | ||
237 | int dsi_vc_dcs_write_1(int channel, u8 dcs_cmd, u8 param); | ||
236 | int dsi_vc_dcs_write_nosync(int channel, u8 *data, int len); | 238 | int dsi_vc_dcs_write_nosync(int channel, u8 *data, int len); |
237 | int dsi_vc_dcs_read(int channel, u8 dcs_cmd, u8 *buf, int buflen); | 239 | int dsi_vc_dcs_read(int channel, u8 dcs_cmd, u8 *buf, int buflen); |
240 | int dsi_vc_dcs_read_1(int channel, u8 dcs_cmd, u8 *data); | ||
238 | int dsi_vc_set_max_rx_packet_size(int channel, u16 len); | 241 | int dsi_vc_set_max_rx_packet_size(int channel, u16 len); |
239 | int dsi_vc_send_null(int channel); | 242 | int dsi_vc_send_null(int channel); |
240 | int dsi_vc_send_bta_sync(int channel); | 243 | int dsi_vc_send_bta_sync(int channel); |