summaryrefslogtreecommitdiff
path: root/include/video/lcd_pwrctrl.h
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2013-01-23 17:38:04 +0400
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-01-23 17:38:04 +0400
commitbc9ae1d87086678defeeb3931c6f39ab8ed6e474 (patch)
treea629491a897c076f7f1808e910aac57df33fc62b /include/video/lcd_pwrctrl.h
parent05621cf0b35aae2b05078a37b572632517459ea7 (diff)
parent79668624e15d91a3b40143208cc884d8270942db (diff)
downloadlinux-topics-bc9ae1d87086678defeeb3931c6f39ab8ed6e474.tar.gz
Merge branch 'tracking-samslt-all' into merge-linux-linaro
Diffstat (limited to 'include/video/lcd_pwrctrl.h')
-rw-r--r--include/video/lcd_pwrctrl.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/video/lcd_pwrctrl.h b/include/video/lcd_pwrctrl.h
new file mode 100644
index 00000000000..924bfd22234
--- /dev/null
+++ b/include/video/lcd_pwrctrl.h
@@ -0,0 +1,24 @@
+/*
+ * Simple lcd panel power control driver.
+ *
+ * Copyright (c) 2011-2012 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2011-2012 Linaro Ltd.
+ *
+ * This driver is derived from platform-lcd.h which was written by
+ * Ben Dooks <ben@simtec.co.uk>
+ *
+ * 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.
+ *
+*/
+
+/**
+ * struct lcd_pwrctrl_data - platform data for lcd_pwrctrl driver.
+ * @gpio: GPIO number of the host system that connects to nRESET line.
+ * @invert: True, if output of gpio connected to nRESET should be inverted.
+ */
+struct lcd_pwrctrl_data {
+ int gpio;
+ bool invert;
+};