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