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