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