add oppo P91 config
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-rk29 / Kconfig
1 if ARCH_RK29
2
3 choice
4         prompt "Select Board Type"
5         depends on ARCH_RK29
6         default MACH_RK29SDK
7
8 config MACH_RK29SDK
9         depends on ARCH_RK29
10         bool "ROCKCHIP Board Rk29 For Sdk"
11         help
12           Support for the ROCKCHIP Board For Rk29 Sdk.
13
14 config MACH_RK29SDK_DDR3
15         depends on ARCH_RK29
16         bool "ROCKCHIP Board Rk29 For DDR3 SDK"
17         help
18           Support for the ROCKCHIP Board For Rk29 Sdk.
19
20 config MACH_RK29WINACCORD
21         depends on ARCH_RK29
22         bool "ROCKCHIP Board Rk29 For Winaccord"
23         help
24           Support for the ROCKCHIP Board For Rk29 Winaccord.
25
26 config MACH_RK29FIH
27         depends on ARCH_RK29
28         bool "ROCKCHIP Board Rk29 For FIH"
29         help
30           Support for the ROCKCHIP Board For Rk29 FIH.
31
32 config MACH_RK29_MALATA
33         depends on ARCH_RK29
34         bool "ROCKCHIP Board Rk29 For Malata"
35         help
36           Support for the ROCKCHIP Board For Rk29 Malata.
37
38 config MACH_RK29_PHONESDK
39         depends on ARCH_RK29
40         bool "ROCKCHIP Board Rk29 For Phone Sdk"
41         help
42           Support for the ROCKCHIP Board For Rk29 Phone Sdk.
43
44 config MACH_RK29_A22
45         depends on ARCH_RK29
46         bool "ROCKCHIP Board Rk29 For A22"
47         help
48           Support for the ROCKCHIP Board For A22.
49
50 config MACH_RK29_PHONEPADSDK
51         depends on ARCH_RK29
52         bool "ROCKCHIP Board Rk29 For Phone Pad Sdk"
53         help
54           Support for the ROCKCHIP Board For Rk29 Phone Pad Sdk.
55           
56 config MACH_RK29_newton
57                 depends on ARCH_RK29
58                 bool "ROCKCHIP Board Rk29 For project newton"
59                 help
60                   Support for the ROCKCHIP Board For project newton.
61                   
62 config MACH_RK29_P91
63         depends on ARCH_RK29
64         bool "ROCKCHIP Board Rk29 For P91"
65         help
66           Support for the ROCKCHIP Board For Rk29 P91.
67           
68 endchoice
69
70 choice DDR_TYPE
71         prompt "DDR Memory Type"
72         default DDR_TYPE_DDR3_DEFAULT 
73
74 config DDR_TYPE_DDRII
75         bool "DDRII"
76         help
77           Support for DDRII memory
78
79 config DDR_TYPE_LPDDR
80         bool "mobile DDR"
81         help
82           Support for mobile DDR, MCP device
83
84 config DDR_TYPE_DDR3_800D
85         bool "DDR3-800 5-5-5"
86
87 config DDR_TYPE_DDR3_800E
88         bool "DDR3-800 6-6-6"
89
90 config DDR_TYPE_DDR3_1066E
91         bool "DDR3-1066 6-6-6"
92
93 config DDR_TYPE_DDR3_1066F
94         bool "DDR3-1066 7-7-7"
95
96 config DDR_TYPE_DDR3_1066G
97         bool "DDR3-1066 8-8-8"
98
99 config DDR_TYPE_DDR3_1333F
100         bool "DDR3-1333 7-7-7"
101
102 config DDR_TYPE_DDR3_1333G
103         bool "DDR3-1333 8-8-8"
104
105 config DDR_TYPE_DDR3_1333H
106         bool "DDR3-1333 9-9-9"
107
108 config DDR_TYPE_DDR3_1333J
109         bool "DDR3-1333 10-10-10"
110
111 config DDR_TYPE_DDR3_1600G
112         bool "DDR3-1600 8-8-8"
113
114 config DDR_TYPE_DDR3_1600H
115         bool "DDR3-1600 9-9-9"
116
117 config DDR_TYPE_DDR3_1600J
118         bool "DDR3-1600 10-10-10"
119
120 config DDR_TYPE_DDR3_1600K
121         bool "DDR3-1600 11-11-11"
122
123 config DDR_TYPE_DDR3_1866J
124         bool "DDR3-1866 10-10-10"
125
126 config DDR_TYPE_DDR3_1866K
127         bool "DDR3-1866 11-11-11"
128
129 config DDR_TYPE_DDR3_1866L
130         bool "DDR3-1866 12-12-12"
131
132 config DDR_TYPE_DDR3_1866M
133         bool "DDR3-1866 13-13-13"
134
135 config DDR_TYPE_DDR3_2133K
136         bool "DDR3-2133 11-11-11"
137
138 config DDR_TYPE_DDR3_2133L
139         bool "DDR3-2133 12-12-12"
140
141 config DDR_TYPE_DDR3_2133M
142         bool "DDR3-2133 13-13-13"
143
144 config DDR_TYPE_DDR3_2133N
145         bool "DDR3-2133 14-14-14"
146
147 config DDR_TYPE_DDR3_DEFAULT
148         bool "DDR3 (Type default)"
149
150 endchoice
151
152 config RK29_MEM_SIZE_M
153         int "DDR Memory size (in MB)"
154         default 512
155
156 config DDR_SDRAM_FREQ
157         int "DDR SDRAM frequence (in MHz)"
158         default 400
159
160 config DDR_RECONFIG
161         bool "Enable dynamic DDR reconfiguration (EXPERIMENTAL)"
162
163 config WIFI_CONTROL_FUNC
164         bool "Enable WiFi control function abstraction"
165         help
166           Enables Power/Reset/Carddetect function abstraction
167
168 menu "RK29 VPU (Video Processing Unit) support"
169
170 config RK29_VPU
171         bool
172         depends on ARCH_RK29
173         default y
174
175 config RK29_VPU_SERVICE
176         bool "VPU service driver in kernel"
177         depends on ARCH_RK29
178         default y
179
180 config RK29_VPU_OLD
181         bool "Old version for RK29 VPU (Video Processing Unit)"
182         depends on ARCH_RK29 && !RK29_VPU_SERVICE
183
184 config RK29_VPU_DEBUG
185         bool "RK29 VPU debugging"
186         depends on RK29_VPU != n
187         help
188           This is an option for the developers; most people should
189           say N here.  This enables RK29 VPU driver debugging.
190
191 endmenu
192
193 config RK29_JTAG
194         bool "Enable JTAG support (debug only)"
195         help
196           This is an option for SDK board. Always enable JTAG clock,
197           but consumes more power.
198
199 config RK29_LAST_LOG
200         bool "Save the last kernel log on /proc/last_log"
201         depends on DEBUG_KERNEL && PRINTK
202         default y
203         help
204           It is only intended for debugging.
205
206 menu "support for RK29 power manage "
207 config RK29_WORKING_POWER_MANAGEMENT
208         bool "Support power saving in working"
209         default n
210         help 
211           a series of measures to reduce working power
212
213 config RK29_CLK_SWITCH_TO_32K
214         bool "Support clock switch to 32.768k"
215         default n
216
217 config RK29_GPIO_SUSPEND
218         bool "Support gpio suspend"
219         default n
220
221 config RK29_SPI_INSRAM
222         tristate "Support spi control interface"
223         depends on REGULATOR_WM831X
224         default ns
225
226 config RK29_PWM_INSRAM
227         tristate "Support pwm control interface"
228         depends on RK29_PWM_REGULATOR
229         default y
230 endmenu
231
232
233 endif