summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-02-05 15:57:50 +0100
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:42:32 +0900
commit7edf30421cc7efb0c2403fc5b465f9c517ceb5ab (patch)
treea5d0d71c3ffd27de80dbe70620c69e29c1ca2dfa /include
parenta662626dcf9b6f6c8707f24dd0a963b97b523dbe (diff)
downloadlinux-3.10-7edf30421cc7efb0c2403fc5b465f9c517ceb5ab.tar.gz
linux-3.10-7edf30421cc7efb0c2403fc5b465f9c517ceb5ab.tar.bz2
linux-3.10-7edf30421cc7efb0c2403fc5b465f9c517ceb5ab.zip
video: display: Add panel-s6d6aa1 driver
This patch adds a CDF-compliant panel driver for S6D6AA1 DSI LCD panel. Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/panel-s6d6aa1.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/video/panel-s6d6aa1.h b/include/video/panel-s6d6aa1.h
new file mode 100644
index 00000000000..2bc9ce231fc
--- /dev/null
+++ b/include/video/panel-s6d6aa1.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 s6d6aa1_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 power_off_delay;
+ /* panel is reversed */
+ bool flip_vertical;
+ bool flip_horizontal;
+};
+
+#endif /* __PANEL_S6E8AX0_H__ */