aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/samsung/s5p-dsim.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/samsung/s5p-dsim.h')
-rw-r--r--drivers/video/samsung/s5p-dsim.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/samsung/s5p-dsim.h b/drivers/video/samsung/s5p-dsim.h
index baf8f66..049e066 100644
--- a/drivers/video/samsung/s5p-dsim.h
+++ b/drivers/video/samsung/s5p-dsim.h
@@ -44,6 +44,7 @@ struct mipi_lcd_driver {
struct dsim_ops {
u8 (*cmd_write)(void *ptr, u32 data0, u32 data1, u32 data2);
int (*cmd_read)(void *ptr, u8 addr, u16 count, u8 *buf);
+ int (*cmd_dcs_read)(void *ptr, u8 addr, u16 count, u8 *buf);
void (*suspend)(void);
void (*resume)(void);
};
@@ -79,6 +80,8 @@ struct dsim_global {
struct delayed_work check_hs_toggle_work;
unsigned int dsim_toggle_per_frame_count;
+ spinlock_t slock;
+
struct dsim_ops *ops;
};