aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/lcd-property.h
blob: 4c830760c5e62dc717044693087ee031528ba01c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 */