summaryrefslogtreecommitdiffstats
path: root/include/video/broadsheetfb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/video/broadsheetfb.h')
-rw-r--r--include/video/broadsheetfb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/video/broadsheetfb.h b/include/video/broadsheetfb.h
index d65b6689e92c..548d28f4ec67 100644
--- a/include/video/broadsheetfb.h
+++ b/include/video/broadsheetfb.h
@@ -29,6 +29,10 @@
#define BS_CMD_UPD_FULL 0x33
#define BS_CMD_UPD_GDRV_CLR 0x37
+/* Broadsheet register interface defines */
+#define BS_REG_REV 0x00
+#define BS_REG_PRC 0x02
+
/* Broadsheet pin interface specific defines */
#define BS_CS 0x01
#define BS_DC 0x02
@@ -46,6 +50,7 @@ struct broadsheetfb_par {
u16 (*read_reg)(struct broadsheetfb_par *, u16 reg);
wait_queue_head_t waitq;
int panel_index;
+ struct mutex io_lock;
};
/* board specific routines */
OpenPOWER on IntegriCloud