aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lcd-property.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/lcd-property.h')
-rw-r--r--include/linux/lcd-property.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/linux/lcd-property.h b/include/linux/lcd-property.h
new file mode 100644
index 0000000..4c83076
--- /dev/null
+++ b/include/linux/lcd-property.h
@@ -0,0 +1,35 @@
+/*
+ * LCD panel property definitions.
+ *
+ * Copyright (c) 2012 Samsung Electronics
+ *
+ * Joongmock Shin <jmock.shin@samsung.com>
+ * Eunchul Kim <chulspro.kim@samsung.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 LCD_PROPERTY_H
+#define LCD_PROPERTY_H
+
+/* definition of flip */
+enum lcd_property_flip {
+ LCD_PROPERTY_FLIP_NONE = (0 << 0),
+ LCD_PROPERTY_FLIP_VERTICAL = (1 << 0),
+ LCD_PROPERTY_FLIP_HORIZONTAL = (1 << 1),
+};
+
+/*
+ * A structure for lcd property.
+ *
+ * @flip: flip information for each lcd.
+ * @dynamic_refresh: enable/disable dynamic refresh.
+ */
+struct lcd_property {
+ enum lcd_property_flip flip;
+ bool dynamic_refresh;
+};
+
+#endif /* LCD_PROPERTY_H */
+