• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *
3  * Copyright (C) 2017 ROCKCHIP, Inc.
4  *
5  * This software is licensed under the terms of the GNU General Public
6  * License version 2, as published by the Free Software Foundation, and
7  * may be copied, distributed, and modified under those terms.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  */
15 
16 #ifndef _DT_BINDINGS_SOC_ROCKCHIP_SYSTEM_STATUS_H
17 #define _DT_BINDINGS_SOC_ROCKCHIP_SYSTEM_STATUS_H
18 
19 #define SYS_STATUS_NORMAL	(1 << 0)
20 #define SYS_STATUS_SUSPEND	(1 << 1)
21 #define SYS_STATUS_IDLE		(1 << 2)
22 #define SYS_STATUS_REBOOT	(1 << 3)
23 #define SYS_STATUS_VIDEO_4K	(1 << 4)
24 #define SYS_STATUS_VIDEO_1080P	(1 << 5)
25 #define SYS_STATUS_GPU		(1 << 6)
26 #define SYS_STATUS_RGA		(1 << 7)
27 #define SYS_STATUS_CIF0		(1 << 8)
28 #define SYS_STATUS_CIF1		(1 << 9)
29 #define SYS_STATUS_LCDC0	(1 << 10)
30 #define SYS_STATUS_LCDC1	(1 << 11)
31 #define SYS_STATUS_BOOST	(1 << 12)
32 #define SYS_STATUS_PERFORMANCE	(1 << 13)
33 #define SYS_STATUS_ISP		(1 << 14)
34 #define SYS_STATUS_HDMI		(1 << 15)
35 #define SYS_STATUS_VIDEO_4K_10B	(1 << 16)
36 #define SYS_STATUS_LOW_POWER	(1 << 17)
37 
38 #define SYS_STATUS_VIDEO	(SYS_STATUS_VIDEO_4K | \
39 				 SYS_STATUS_VIDEO_1080P | \
40 				 SYS_STATUS_VIDEO_4K_10B)
41 #define SYS_STATUS_DUALVIEW	(SYS_STATUS_LCDC0 | SYS_STATUS_LCDC1)
42 
43 #define DMC_FREQ_LEVEL_LOW	(0x1 << 0)
44 #define DMC_FREQ_LEVEL_MID_LOW	(0x1 << 1)
45 #define DMC_FREQ_LEVEL_MID_HIGH	(0x1 << 2)
46 #define DMC_FREQ_LEVEL_HIGH	(0x1 << 3)
47 
48 #endif
49