diff mbox

[RFC,v3,05/16] drm/panel: add CPU mode timings structure

Message ID 1398563412-21781-6-git-send-email-yj44.cho@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

YoungJun Cho April 27, 2014, 1:50 a.m. UTC
To support MIPI DSI command mode interface, the display controller
requires the CPU mode timings which is the panel specific data.

Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
---
 include/drm/drm_panel.h |   18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff mbox

Patch

diff --git a/include/drm/drm_panel.h b/include/drm/drm_panel.h
index c2ab77a..67e6871 100644
--- a/include/drm/drm_panel.h
+++ b/include/drm/drm_panel.h
@@ -46,6 +46,24 @@  struct drm_panel {
 	struct list_head list;
 };
 
+/**
+ * struct drm_panel_cpu_mode_timings - describe cpu mode timing settings
+ * @cs_setup: clock cycles for the active period of address signal is enabled
+ *	until chip select is enabled in CPU mode interface
+ * @wr_setup: clock cycles for the active period of CS signal is enabled until
+ *	write signal is enabled in CPU mode interface
+ * @wr_actve: clock cycles for the active period of CS is enabled in CPU mode
+ *	interface
+ * @wr_hold: clock cycles for the active period of CS is disabled until write
+ *	signal is disabled in CPU mode interface
+ */
+struct drm_panel_cpu_mode_timings {
+	unsigned int cs_setup;
+	unsigned int wr_setup;
+	unsigned int wr_active;
+	unsigned int wr_hold;
+};
+
 static inline int drm_panel_disable(struct drm_panel *panel)
 {
 	if (panel && panel->funcs && panel->funcs->disable)