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