add rk2906 feature
[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_RK29_K97
21         depends on ARCH_RK29
22         bool "ROCKCHIP Board Rk29 For K97"
23         help
24           Support for the ROCKCHIP Board For Rk29 K97.
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_PHONESDK
33         depends on ARCH_RK29
34         bool "ROCKCHIP Board Rk29 For Phone Sdk"
35         help
36           Support for the ROCKCHIP Board For Rk29 Phone Sdk.
37
38 config MACH_RK29_A22
39         depends on ARCH_RK29
40         bool "ROCKCHIP Board Rk29 For A22"
41         help
42           Support for the ROCKCHIP Board For A22.
43
44 config MACH_RK29_TD8801_V2
45         depends on ARCH_RK29
46         bool "ROCKCHIP Board Rk29 For TD8801_v2"
47         help
48           Support for the ROCKCHIP Board For TD8801_v2.
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_PHONE_Z5
63         depends on ARCH_RK29
64         bool "ROCKCHIP Board Rk29 For Z5"
65         help
66           Support for the ROCKCHIP Board For Z5.
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 MACH_RK29_2906
167         bool "ROCKCHIP RK2906 Feature"
168
169 config DDR_FREQ
170         bool "Enable DDR frequency scaling"
171
172 config DDR_RECONFIG
173         bool "Enable dynamic DDR reconfiguration (EXPERIMENTAL)"
174
175 config WIFI_CONTROL_FUNC
176         bool "Enable WiFi control function abstraction"
177         help
178           Enables Power/Reset/Carddetect function abstraction
179
180 menu "RK29 VPU (Video Processing Unit) support"
181
182 config RK29_VPU
183         bool "VPU service driver in kernel"
184         depends on ARCH_RK29
185         default y
186
187 config RK29_VPU_DEBUG
188         bool "RK29 VPU debugging"
189         depends on RK29_VPU != n
190         help
191           This is an option for the developers; most people should
192           say N here.  This enables RK29 VPU driver debugging.
193
194 endmenu
195
196 config RK29_JTAG
197         bool "Enable JTAG support (debug only)"
198         help
199           This is an option for SDK board. Always enable JTAG clock,
200           but consumes more power.
201
202 config RK29_LAST_LOG
203         bool "Save the last kernel log on /proc/last_log"
204         depends on DEBUG_KERNEL && PRINTK
205         default y
206         help
207           It is only intended for debugging.
208
209 menu "support for RK29 power manage "
210 config RK29_WORKING_POWER_MANAGEMENT
211         bool "Support power saving in working"
212         default n
213         help 
214           a series of measures to reduce working power
215
216 config RK29_CLK_SWITCH_TO_32K
217         bool "Support clock switch to 32.768k"
218         default n
219
220 config RK29_GPIO_SUSPEND
221         bool "Support gpio suspend"
222         default n
223
224 config RK29_NEON_POWERDOMAIN_SET
225         bool "Support neon powerdomain on and off"
226         default n
227
228 config RK29_SPI_INSRAM
229         tristate "Support spi control interface"
230         depends on REGULATOR_WM831X
231         default n
232 config RK29_I2C_INSRAM
233         tristate "Support i2c control interface"
234         depends on REGULATOR_WM831X
235         default n
236 config RK29_CHARGE_EARLYSUSPEND
237         bool "Support charge in low power"
238         default n
239 config RK29_PWM_INSRAM
240         tristate "Support pwm control interface"
241         depends on RK29_PWM_REGULATOR
242         default y
243 endmenu
244
245
246 endif