summaryrefslogtreecommitdiff
path: root/include/video/panel-s6e8aa0.h
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-02-06 17:11:57 +0100
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:42:32 +0900
commit5a2e65deeb7ce0128dffe540ac71517655e52290 (patch)
treedca9d893bbab8edd32bed3ea7a74f2e8824a5db9 /include/video/panel-s6e8aa0.h
parent7edf30421cc7efb0c2403fc5b465f9c517ceb5ab (diff)
downloadlinux-3.10-5a2e65deeb7ce0128dffe540ac71517655e52290.tar.gz
linux-3.10-5a2e65deeb7ce0128dffe540ac71517655e52290.tar.bz2
linux-3.10-5a2e65deeb7ce0128dffe540ac71517655e52290.zip
video: display: Add panel-s6e8aa0 driver
This patch adds a CDF-compliant panel driver for S6E8AA0 DSI LCD panel. Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Diffstat (limited to 'include/video/panel-s6e8aa0.h')
-rw-r--r--include/video/panel-s6e8aa0.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/video/panel-s6e8aa0.h b/include/video/panel-s6e8aa0.h
new file mode 100644
index 00000000000..8a32de8e574
--- /dev/null
+++ b/include/video/panel-s6e8aa0.h
@@ -0,0 +1,42 @@
+/*
+ * Renesas R61505-based Display Panels
+ *
+ * Copyright (C) 2012 Renesas Solutions Corp.
+ *
+ * Contacts: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef __PANEL_S6E8AX0_H__
+#define __PANEL_S6E8AX0_H__
+
+#include <video/videomode.h>
+
+struct s6e8aa0_platform_data {
+ unsigned long width; /* Panel width in mm */
+ unsigned long height; /* Panel height in mm */
+ struct videomode mode;
+
+ /* reset lcd panel device. */
+ int (*reset)(struct device *dev);
+
+ /* it indicates whether lcd panel was enabled
+ from bootloader or not. */
+ int lcd_enabled;
+ /* it means delay for stable time when it becomes low to high
+ or high to low that is dependent on whether reset gpio is
+ low active or high active. */
+ unsigned int reset_delay;
+ /* stable time needing to become lcd power on. */
+ unsigned int power_on_delay;
+ /* stable time needing to become lcd power off. */
+ unsigned int init_delay;
+ /* panel is reversed */
+ bool flip_vertical;
+ bool flip_horizontal;
+};
+
+#endif /* __PANEL_S6E8AX0_H__ */