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