ARM: at91/pm_slowclock: remove the unused code related with SLOWDOWN_MASTER_CLOCK
[deliverable/linux.git] / arch / arm / mach-at91 / Kconfig
CommitLineData
8fc5ffa0
AV
1if ARCH_AT91
2
f090fb37
BB
3config HAVE_AT91_UTMI
4 bool
5
c84a61d8
BB
6config HAVE_AT91_USB_CLK
7 bool
8
c8a8c630
BB
9config COMMON_CLK_AT91
10 bool
c8a8c630
BB
11 select COMMON_CLK
12
a9c0688f
BB
13config HAVE_AT91_SMD
14 bool
15
bcc5fd49
AB
16config HAVE_AT91_H32MX
17 bool
18
8f4b4794
LD
19config SOC_SAMA5
20 bool
3b26f39b 21 select ATMEL_AIC5_IRQ
ef7eda2c 22 select COMMON_CLK_AT91
8f4b4794
LD
23 select CPU_V7
24 select GENERIC_CLOCKEVENTS
63e60368
AB
25 select MEMORY
26 select ATMEL_SDRAMC
8f4b4794 27
8fc5ffa0
AV
28menu "Atmel AT91 System-on-Chip"
29
8f0cdcc5
LD
30choice
31
32 prompt "Core type"
33
34config SOC_SAM_V4_V5
fe138c23 35 bool "ARM9 AT91SAM9/AT91RM9200"
8f0cdcc5 36 help
fe138c23
AB
37 Select this if you are using one of Atmel's AT91SAM9 or
38 AT91RM9200 SoC.
8f0cdcc5 39
8f4b4794
LD
40config SOC_SAM_V7
41 bool "Cortex A5"
42 help
43 Select this if you are using one of Atmel's SAMA5D3 SoC.
44
8f0cdcc5
LD
45endchoice
46
1e3ce2b8 47comment "Atmel AT91 Processor"
8fc5ffa0 48
8f4b4794
LD
49if SOC_SAM_V7
50config SOC_SAMA5D3
51 bool "SAMA5D3 family"
8f4b4794
LD
52 select SOC_SAMA5
53 select HAVE_FB_ATMEL
f090fb37 54 select HAVE_AT91_UTMI
a9c0688f 55 select HAVE_AT91_SMD
c84a61d8 56 select HAVE_AT91_USB_CLK
8f4b4794
LD
57 help
58 Select this if you are using one of Atmel's SAMA5D3 family SoC.
7f457160 59 This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
2dc850b6
NF
60
61config SOC_SAMA5D4
62 bool "SAMA5D4 family"
63 select SOC_SAMA5
2dc850b6
NF
64 select CLKSRC_MMIO
65 select CACHE_L2X0
2dc850b6
NF
66 select HAVE_FB_ATMEL
67 select HAVE_AT91_UTMI
68 select HAVE_AT91_SMD
69 select HAVE_AT91_USB_CLK
70 select HAVE_AT91_H32MX
71 help
72 Select this if you are using one of Atmel's SAMA5D4 family SoC.
8f4b4794
LD
73endif
74
8f0cdcc5 75if SOC_SAM_V4_V5
1e3ce2b8 76config SOC_AT91RM9200
8fc5ffa0 77 bool "AT91RM9200"
ef7eda2c
NF
78 select ATMEL_AIC_IRQ
79 select COMMON_CLK_AT91
c750815e 80 select CPU_ARM920T
5e802dfa 81 select GENERIC_CLOCKEVENTS
c84a61d8 82 select HAVE_AT91_USB_CLK
73a59c1c 83
2b019a43
AB
84config SOC_AT91SAM9
85 bool "AT91SAM9"
86 select ATMEL_AIC_IRQ
87 select ATMEL_SDRAMC
88 select COMMON_CLK_AT91
89 select CPU_ARM926T
90 select GENERIC_CLOCKEVENTS
a9c0688f 91 select HAVE_AT91_SMD
c84a61d8 92 select HAVE_AT91_USB_CLK
2b019a43 93 select HAVE_AT91_UTMI
74db4fb9 94 select HAVE_FB_ATMEL
2b019a43 95 select MEMORY
74db4fb9 96 help
2b019a43
AB
97 Select this if you are using one of those Atmel SoC:
98 AT91SAM9260
99 AT91SAM9261
100 AT91SAM9263
101 AT91SAM9G15
102 AT91SAM9G20
103 AT91SAM9G25
104 AT91SAM9G35
105 AT91SAM9G45
106 AT91SAM9G46
107 AT91SAM9M10
108 AT91SAM9M11
109 AT91SAM9N12
110 AT91SAM9RL
111 AT91SAM9X25
112 AT91SAM9X35
113 AT91SAM9XE
fe138c23
AB
114endif # SOC_SAM_V4_V5
115
8fc5ffa0 116comment "AT91 Feature Selections"
73a59c1c 117
eaad2db0
AV
118config AT91_SLOW_CLOCK
119 bool "Suspend-to-RAM disables main oscillator"
d2e46790 120 select SRAM
eaad2db0
AV
121 depends on SUSPEND
122 help
123 Select this if you want Suspend-to-RAM to save the most power
124 possible (without powering off the CPU) by disabling the PLLs
125 and main oscillator so that only the 32 KiHz clock is available.
126
127 When only that slow-clock is available, some peripherals lose
128 functionality. Many can't issue wakeup events unless faster
129 clocks are available. Some lose their operating state and
130 need to be completely re-initialized.
131
5248c657
DB
132config AT91_TIMER_HZ
133 int "Kernel HZ (jiffies per second)"
134 range 32 1024
135 depends on ARCH_AT91
e152015b 136 default "128" if SOC_AT91RM9200
5248c657
DB
137 default "100"
138 help
139 On AT91rm9200 chips where you're using a system clock derived
140 from the 32768 Hz hardware clock, this tick rate should divide
141 it exactly: use a power-of-two value, such as 128 or 256, to
142 reduce timing errors caused by rounding.
143
144 On AT91sam926x chips, or otherwise when using a higher precision
145 system clock (of at least several MHz), rounding is less of a
146 problem so it can be safer to use a decimal values like 100.
147
73a59c1c
SP
148endmenu
149
150endif
This page took 0.802686 seconds and 5 git commands to generate.