rk30:phonepad:support i2c transmission in sram
[firefly-linux-kernel-4.4.55.git] / arch / arm / plat-rk / Kconfig
1 if PLAT_RK
2
3 choice DDR_TYPE
4         prompt "DDR Memory Type"
5         default DDR_TYPE_DDR3_DEFAULT 
6
7 config DDR_TYPE_DDRII
8         bool "DDRII"
9         help
10           Support for DDRII memory
11
12 config DDR_TYPE_LPDDR
13         bool "mobile DDR"
14         help
15           Support for mobile DDR, MCP device
16
17 config DDR_TYPE_DDR3_800D
18         bool "DDR3-800 5-5-5"
19
20 config DDR_TYPE_DDR3_800E
21         bool "DDR3-800 6-6-6"
22
23 config DDR_TYPE_DDR3_1066E
24         bool "DDR3-1066 6-6-6"
25
26 config DDR_TYPE_DDR3_1066F
27         bool "DDR3-1066 7-7-7"
28
29 config DDR_TYPE_DDR3_1066G
30         bool "DDR3-1066 8-8-8"
31
32 config DDR_TYPE_DDR3_1333F
33         bool "DDR3-1333 7-7-7"
34
35 config DDR_TYPE_DDR3_1333G
36         bool "DDR3-1333 8-8-8"
37
38 config DDR_TYPE_DDR3_1333H
39         bool "DDR3-1333 9-9-9"
40
41 config DDR_TYPE_DDR3_1333J
42         bool "DDR3-1333 10-10-10"
43
44 config DDR_TYPE_DDR3_1600G
45         bool "DDR3-1600 8-8-8"
46
47 config DDR_TYPE_DDR3_1600H
48         bool "DDR3-1600 9-9-9"
49
50 config DDR_TYPE_DDR3_1600J
51         bool "DDR3-1600 10-10-10"
52
53 config DDR_TYPE_DDR3_1600K
54         bool "DDR3-1600 11-11-11"
55
56 config DDR_TYPE_DDR3_1866J
57         bool "DDR3-1866 10-10-10"
58
59 config DDR_TYPE_DDR3_1866K
60         bool "DDR3-1866 11-11-11"
61
62 config DDR_TYPE_DDR3_1866L
63         bool "DDR3-1866 12-12-12"
64
65 config DDR_TYPE_DDR3_1866M
66         bool "DDR3-1866 13-13-13"
67
68 config DDR_TYPE_DDR3_2133K
69         bool "DDR3-2133 11-11-11"
70
71 config DDR_TYPE_DDR3_2133L
72         bool "DDR3-2133 12-12-12"
73
74 config DDR_TYPE_DDR3_2133M
75         bool "DDR3-2133 13-13-13"
76
77 config DDR_TYPE_DDR3_2133N
78         bool "DDR3-2133 14-14-14"
79
80 config DDR_TYPE_DDR3_DEFAULT
81         bool "DDR3 (Type default)"
82
83 endchoice
84
85 config DDR_SDRAM_FREQ
86         int "DDR SDRAM frequence (in MHz)"
87         default 400
88
89 config DDR_FREQ
90         bool "Enable DDR frequency scaling"
91         select RK_SRAM_DMA if ARCH_RK30
92
93 config DDR_TEST
94         bool "DDR Test"
95         depends on !ARCH_RK29
96         select CRC32
97         default y
98
99 config DVFS
100         bool "Enable dvfs"
101         depends on REGULATOR&&CPU_FREQ
102         default y
103
104 config RK_CLOCK_PROC
105         bool "/proc/clocks support"
106         depends on PROC_FS
107
108 if !ARCH_RK29
109 menu "Support for RK power manage"
110
111 config CLK_SWITCH_TO_32K
112         bool "Support clock switch to 32.768k"
113
114 config RK30_I2C_INSRAM
115         bool "Support i2c control interface in sram"
116         
117
118 endmenu
119 endif
120
121 config WIFI_CONTROL_FUNC
122         bool "Enable WiFi control function abstraction"
123         help
124           Enables Power/Reset/Carddetect function abstraction
125
126 config RK29_VPU
127         tristate "VPU (Video Processing Unit) service driver in kernel"
128         depends on ARCH_RK29 || ARCH_RK30
129         default m
130
131 config RK29_LAST_LOG
132         bool "Save the last kernel log on /proc/last_log"
133         depends on DEBUG_KERNEL && PRINTK
134         default y
135         help
136           It is only intended for debugging.
137
138 config RK_EARLY_PRINTK
139         bool "Early printk"
140         depends on PRINTK && !DEBUG_LL
141         default y
142         help
143           Say Y here if you want to have an early console using the
144           kernel low-level debugging functions.
145
146 config RK_DEBUG_UART
147         int "Debug UART"
148         default 1 if ARCH_RK29
149         default 2 if ARCH_RK30
150         help
151           Select a UART for debugging. -1 disable.
152
153 config RK_CONSOLE_THREAD
154         bool "Console write by thread"
155         depends on FIQ_DEBUGGER_CONSOLE
156         default y
157         help
158           Normal kernel printk will write out to UART by "kconsole" kthread
159
160 config RK_SRAM_DMA
161         bool "Sound DMA buffer in internal SRAM"
162         depends on ARCH_RK30
163
164 config RK_PL330_DMA
165         bool
166         select PL330
167         help
168           DMA API Driver for PL330 DMAC
169
170 endif