diff options
Diffstat (limited to 'arch/arm')
26 files changed, 3146 insertions, 319 deletions
diff --git a/arch/arm/boot/compressed/head-xscale.S b/arch/arm/boot/compressed/head-xscale.S index 67ea99ef6521..dd3fbd6766e1 100644 --- a/arch/arm/boot/compressed/head-xscale.S +++ b/arch/arm/boot/compressed/head-xscale.S | |||
@@ -33,10 +33,6 @@ __XScale_start: | |||
33 | bic r0, r0, #0x1000 @ clear Icache | 33 | bic r0, r0, #0x1000 @ clear Icache |
34 | mcr p15, 0, r0, c1, c0, 0 | 34 | mcr p15, 0, r0, c1, c0, 0 |
35 | 35 | ||
36 | #ifdef CONFIG_ARCH_COTULLA_IDP | ||
37 | mov r7, #MACH_TYPE_COTULLA_IDP | ||
38 | #endif | ||
39 | |||
40 | #ifdef CONFIG_ARCH_IXP2000 | 36 | #ifdef CONFIG_ARCH_IXP2000 |
41 | mov r1, #-1 | 37 | mov r1, #-1 |
42 | mov r0, #0xd6000000 | 38 | mov r0, #0xd6000000 |
diff --git a/arch/arm/configs/ezx_defconfig b/arch/arm/configs/ezx_defconfig new file mode 100644 index 000000000000..2a84d557adc2 --- /dev/null +++ b/arch/arm/configs/ezx_defconfig | |||
@@ -0,0 +1,1614 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.26-rc3 | ||
4 | # Mon Jul 7 17:52:21 2008 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | CONFIG_HAVE_PWM=y | ||
8 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | ||
9 | CONFIG_GENERIC_GPIO=y | ||
10 | CONFIG_GENERIC_TIME=y | ||
11 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
12 | CONFIG_MMU=y | ||
13 | # CONFIG_NO_IOPORT is not set | ||
14 | CONFIG_GENERIC_HARDIRQS=y | ||
15 | CONFIG_STACKTRACE_SUPPORT=y | ||
16 | CONFIG_LOCKDEP_SUPPORT=y | ||
17 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
18 | CONFIG_HARDIRQS_SW_RESEND=y | ||
19 | CONFIG_GENERIC_IRQ_PROBE=y | ||
20 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
21 | # CONFIG_ARCH_HAS_ILOG2_U32 is not set | ||
22 | # CONFIG_ARCH_HAS_ILOG2_U64 is not set | ||
23 | CONFIG_GENERIC_HWEIGHT=y | ||
24 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
25 | CONFIG_ARCH_SUPPORTS_AOUT=y | ||
26 | CONFIG_ZONE_DMA=y | ||
27 | CONFIG_ARCH_MTD_XIP=y | ||
28 | CONFIG_VECTORS_BASE=0xffff0000 | ||
29 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
30 | |||
31 | # | ||
32 | # General setup | ||
33 | # | ||
34 | CONFIG_EXPERIMENTAL=y | ||
35 | CONFIG_BROKEN_ON_SMP=y | ||
36 | CONFIG_LOCK_KERNEL=y | ||
37 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
38 | CONFIG_LOCALVERSION="-ezxdev" | ||
39 | # CONFIG_LOCALVERSION_AUTO is not set | ||
40 | CONFIG_SWAP=y | ||
41 | CONFIG_SYSVIPC=y | ||
42 | CONFIG_SYSVIPC_SYSCTL=y | ||
43 | # CONFIG_POSIX_MQUEUE is not set | ||
44 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
45 | # CONFIG_TASKSTATS is not set | ||
46 | # CONFIG_AUDIT is not set | ||
47 | CONFIG_IKCONFIG=y | ||
48 | CONFIG_IKCONFIG_PROC=y | ||
49 | CONFIG_LOG_BUF_SHIFT=14 | ||
50 | # CONFIG_CGROUPS is not set | ||
51 | CONFIG_GROUP_SCHED=y | ||
52 | CONFIG_FAIR_GROUP_SCHED=y | ||
53 | # CONFIG_RT_GROUP_SCHED is not set | ||
54 | CONFIG_USER_SCHED=y | ||
55 | # CONFIG_CGROUP_SCHED is not set | ||
56 | CONFIG_SYSFS_DEPRECATED=y | ||
57 | CONFIG_SYSFS_DEPRECATED_V2=y | ||
58 | # CONFIG_RELAY is not set | ||
59 | # CONFIG_NAMESPACES is not set | ||
60 | # CONFIG_BLK_DEV_INITRD is not set | ||
61 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
62 | CONFIG_SYSCTL=y | ||
63 | CONFIG_EMBEDDED=y | ||
64 | CONFIG_UID16=y | ||
65 | CONFIG_SYSCTL_SYSCALL=y | ||
66 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
67 | CONFIG_KALLSYMS=y | ||
68 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
69 | CONFIG_HOTPLUG=y | ||
70 | CONFIG_PRINTK=y | ||
71 | CONFIG_BUG=y | ||
72 | CONFIG_ELF_CORE=y | ||
73 | # CONFIG_COMPAT_BRK is not set | ||
74 | CONFIG_BASE_FULL=y | ||
75 | CONFIG_FUTEX=y | ||
76 | CONFIG_ANON_INODES=y | ||
77 | CONFIG_EPOLL=y | ||
78 | CONFIG_SIGNALFD=y | ||
79 | CONFIG_TIMERFD=y | ||
80 | CONFIG_EVENTFD=y | ||
81 | CONFIG_SHMEM=y | ||
82 | CONFIG_VM_EVENT_COUNTERS=y | ||
83 | CONFIG_SLAB=y | ||
84 | # CONFIG_SLUB is not set | ||
85 | # CONFIG_SLOB is not set | ||
86 | # CONFIG_PROFILING is not set | ||
87 | # CONFIG_MARKERS is not set | ||
88 | CONFIG_HAVE_OPROFILE=y | ||
89 | # CONFIG_KPROBES is not set | ||
90 | CONFIG_HAVE_KPROBES=y | ||
91 | CONFIG_HAVE_KRETPROBES=y | ||
92 | # CONFIG_HAVE_DMA_ATTRS is not set | ||
93 | CONFIG_PROC_PAGE_MONITOR=y | ||
94 | CONFIG_SLABINFO=y | ||
95 | CONFIG_RT_MUTEXES=y | ||
96 | # CONFIG_TINY_SHMEM is not set | ||
97 | CONFIG_BASE_SMALL=0 | ||
98 | CONFIG_MODULES=y | ||
99 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
100 | CONFIG_MODULE_UNLOAD=y | ||
101 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
102 | CONFIG_MODVERSIONS=y | ||
103 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
104 | CONFIG_KMOD=y | ||
105 | CONFIG_BLOCK=y | ||
106 | # CONFIG_LBD is not set | ||
107 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
108 | # CONFIG_LSF is not set | ||
109 | # CONFIG_BLK_DEV_BSG is not set | ||
110 | |||
111 | # | ||
112 | # IO Schedulers | ||
113 | # | ||
114 | CONFIG_IOSCHED_NOOP=y | ||
115 | # CONFIG_IOSCHED_AS is not set | ||
116 | CONFIG_IOSCHED_DEADLINE=y | ||
117 | # CONFIG_IOSCHED_CFQ is not set | ||
118 | # CONFIG_DEFAULT_AS is not set | ||
119 | CONFIG_DEFAULT_DEADLINE=y | ||
120 | # CONFIG_DEFAULT_CFQ is not set | ||
121 | # CONFIG_DEFAULT_NOOP is not set | ||
122 | CONFIG_DEFAULT_IOSCHED="deadline" | ||
123 | CONFIG_CLASSIC_RCU=y | ||
124 | |||
125 | # | ||
126 | # System Type | ||
127 | # | ||
128 | # CONFIG_ARCH_AAEC2000 is not set | ||
129 | # CONFIG_ARCH_INTEGRATOR is not set | ||
130 | # CONFIG_ARCH_REALVIEW is not set | ||
131 | # CONFIG_ARCH_VERSATILE is not set | ||
132 | # CONFIG_ARCH_AT91 is not set | ||
133 | # CONFIG_ARCH_CLPS7500 is not set | ||
134 | # CONFIG_ARCH_CLPS711X is not set | ||
135 | # CONFIG_ARCH_CO285 is not set | ||
136 | # CONFIG_ARCH_EBSA110 is not set | ||
137 | # CONFIG_ARCH_EP93XX is not set | ||
138 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
139 | # CONFIG_ARCH_NETX is not set | ||
140 | # CONFIG_ARCH_H720X is not set | ||
141 | # CONFIG_ARCH_IMX is not set | ||
142 | # CONFIG_ARCH_IOP13XX is not set | ||
143 | # CONFIG_ARCH_IOP32X is not set | ||
144 | # CONFIG_ARCH_IOP33X is not set | ||
145 | # CONFIG_ARCH_IXP23XX is not set | ||
146 | # CONFIG_ARCH_IXP2000 is not set | ||
147 | # CONFIG_ARCH_IXP4XX is not set | ||
148 | # CONFIG_ARCH_L7200 is not set | ||
149 | # CONFIG_ARCH_KS8695 is not set | ||
150 | # CONFIG_ARCH_NS9XXX is not set | ||
151 | # CONFIG_ARCH_MXC is not set | ||
152 | # CONFIG_ARCH_ORION5X is not set | ||
153 | # CONFIG_ARCH_PNX4008 is not set | ||
154 | CONFIG_ARCH_PXA=y | ||
155 | # CONFIG_ARCH_RPC is not set | ||
156 | # CONFIG_ARCH_SA1100 is not set | ||
157 | # CONFIG_ARCH_S3C2410 is not set | ||
158 | # CONFIG_ARCH_SHARK is not set | ||
159 | # CONFIG_ARCH_LH7A40X is not set | ||
160 | # CONFIG_ARCH_DAVINCI is not set | ||
161 | # CONFIG_ARCH_OMAP is not set | ||
162 | # CONFIG_ARCH_MSM7X00A is not set | ||
163 | |||
164 | # | ||
165 | # Intel PXA2xx/PXA3xx Implementations | ||
166 | # | ||
167 | # CONFIG_ARCH_GUMSTIX is not set | ||
168 | # CONFIG_ARCH_LUBBOCK is not set | ||
169 | # CONFIG_MACH_LOGICPD_PXA270 is not set | ||
170 | # CONFIG_MACH_MAINSTONE is not set | ||
171 | # CONFIG_ARCH_PXA_IDP is not set | ||
172 | # CONFIG_PXA_SHARPSL is not set | ||
173 | # CONFIG_ARCH_PXA_ESERIES is not set | ||
174 | # CONFIG_MACH_TRIZEPS4 is not set | ||
175 | # CONFIG_MACH_EM_X270 is not set | ||
176 | # CONFIG_MACH_COLIBRI is not set | ||
177 | # CONFIG_MACH_ZYLONITE is not set | ||
178 | # CONFIG_MACH_LITTLETON is not set | ||
179 | # CONFIG_MACH_ARMCORE is not set | ||
180 | # CONFIG_MACH_MAGICIAN is not set | ||
181 | # CONFIG_MACH_PCM027 is not set | ||
182 | CONFIG_PXA_EZX=y | ||
183 | CONFIG_MACH_EZX_A780=y | ||
184 | CONFIG_MACH_EZX_E680=y | ||
185 | CONFIG_MACH_EZX_A1200=y | ||
186 | CONFIG_MACH_EZX_A910=y | ||
187 | CONFIG_MACH_EZX_E6=y | ||
188 | CONFIG_MACH_EZX_E2=y | ||
189 | CONFIG_PXA27x=y | ||
190 | CONFIG_PXA_SSP=y | ||
191 | CONFIG_PXA_PWM=y | ||
192 | |||
193 | # | ||
194 | # Boot options | ||
195 | # | ||
196 | |||
197 | # | ||
198 | # Power management | ||
199 | # | ||
200 | |||
201 | # | ||
202 | # Processor Type | ||
203 | # | ||
204 | CONFIG_CPU_32=y | ||
205 | CONFIG_CPU_XSCALE=y | ||
206 | CONFIG_CPU_32v5=y | ||
207 | CONFIG_CPU_ABRT_EV5T=y | ||
208 | CONFIG_CPU_PABRT_NOIFAR=y | ||
209 | CONFIG_CPU_CACHE_VIVT=y | ||
210 | CONFIG_CPU_TLB_V4WBI=y | ||
211 | CONFIG_CPU_CP15=y | ||
212 | CONFIG_CPU_CP15_MMU=y | ||
213 | |||
214 | # | ||
215 | # Processor Features | ||
216 | # | ||
217 | CONFIG_ARM_THUMB=y | ||
218 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
219 | # CONFIG_OUTER_CACHE is not set | ||
220 | CONFIG_IWMMXT=y | ||
221 | CONFIG_XSCALE_PMU=y | ||
222 | |||
223 | # | ||
224 | # Bus support | ||
225 | # | ||
226 | # CONFIG_PCI_SYSCALL is not set | ||
227 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
228 | # CONFIG_PCCARD is not set | ||
229 | |||
230 | # | ||
231 | # Kernel Features | ||
232 | # | ||
233 | CONFIG_TICK_ONESHOT=y | ||
234 | # CONFIG_NO_HZ is not set | ||
235 | CONFIG_HIGH_RES_TIMERS=y | ||
236 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
237 | CONFIG_PREEMPT=y | ||
238 | CONFIG_HZ=100 | ||
239 | CONFIG_AEABI=y | ||
240 | CONFIG_OABI_COMPAT=y | ||
241 | # CONFIG_ARCH_DISCONTIGMEM_ENABLE is not set | ||
242 | CONFIG_SELECT_MEMORY_MODEL=y | ||
243 | CONFIG_FLATMEM_MANUAL=y | ||
244 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
245 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
246 | CONFIG_FLATMEM=y | ||
247 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
248 | # CONFIG_SPARSEMEM_STATIC is not set | ||
249 | # CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set | ||
250 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
251 | CONFIG_SPLIT_PTLOCK_CPUS=4096 | ||
252 | # CONFIG_RESOURCES_64BIT is not set | ||
253 | CONFIG_ZONE_DMA_FLAG=1 | ||
254 | CONFIG_BOUNCE=y | ||
255 | CONFIG_VIRT_TO_BUS=y | ||
256 | CONFIG_ALIGNMENT_TRAP=y | ||
257 | |||
258 | # | ||
259 | # Boot options | ||
260 | # | ||
261 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
262 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
263 | CONFIG_CMDLINE="console=tty1 root=/dev/mmcblk0p2 rootfstype=ext2 rootdelay=1 ip=192.168.0.202:192.168.0.200:192.168.0.200:255.255.255.0 debug" | ||
264 | # CONFIG_XIP_KERNEL is not set | ||
265 | CONFIG_KEXEC=y | ||
266 | CONFIG_ATAGS_PROC=y | ||
267 | |||
268 | # | ||
269 | # CPU Frequency scaling | ||
270 | # | ||
271 | # CONFIG_CPU_FREQ is not set | ||
272 | |||
273 | # | ||
274 | # Floating point emulation | ||
275 | # | ||
276 | |||
277 | # | ||
278 | # At least one emulation must be selected | ||
279 | # | ||
280 | CONFIG_FPE_NWFPE=y | ||
281 | # CONFIG_FPE_NWFPE_XP is not set | ||
282 | # CONFIG_FPE_FASTFPE is not set | ||
283 | |||
284 | # | ||
285 | # Userspace binary formats | ||
286 | # | ||
287 | CONFIG_BINFMT_ELF=y | ||
288 | CONFIG_BINFMT_AOUT=m | ||
289 | CONFIG_BINFMT_MISC=m | ||
290 | |||
291 | # | ||
292 | # Power management options | ||
293 | # | ||
294 | CONFIG_PM=y | ||
295 | # CONFIG_PM_DEBUG is not set | ||
296 | CONFIG_PM_SLEEP=y | ||
297 | CONFIG_SUSPEND=y | ||
298 | CONFIG_SUSPEND_FREEZER=y | ||
299 | CONFIG_APM_EMULATION=y | ||
300 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
301 | |||
302 | # | ||
303 | # Networking | ||
304 | # | ||
305 | CONFIG_NET=y | ||
306 | |||
307 | # | ||
308 | # Networking options | ||
309 | # | ||
310 | CONFIG_PACKET=y | ||
311 | CONFIG_PACKET_MMAP=y | ||
312 | CONFIG_UNIX=y | ||
313 | CONFIG_XFRM=y | ||
314 | # CONFIG_XFRM_USER is not set | ||
315 | # CONFIG_XFRM_SUB_POLICY is not set | ||
316 | # CONFIG_XFRM_MIGRATE is not set | ||
317 | # CONFIG_XFRM_STATISTICS is not set | ||
318 | # CONFIG_NET_KEY is not set | ||
319 | CONFIG_INET=y | ||
320 | # CONFIG_IP_MULTICAST is not set | ||
321 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
322 | CONFIG_IP_FIB_HASH=y | ||
323 | CONFIG_IP_PNP=y | ||
324 | CONFIG_IP_PNP_DHCP=y | ||
325 | CONFIG_IP_PNP_BOOTP=y | ||
326 | CONFIG_IP_PNP_RARP=y | ||
327 | # CONFIG_NET_IPIP is not set | ||
328 | # CONFIG_NET_IPGRE is not set | ||
329 | # CONFIG_ARPD is not set | ||
330 | CONFIG_SYN_COOKIES=y | ||
331 | # CONFIG_INET_AH is not set | ||
332 | # CONFIG_INET_ESP is not set | ||
333 | # CONFIG_INET_IPCOMP is not set | ||
334 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
335 | CONFIG_INET_TUNNEL=m | ||
336 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
337 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
338 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
339 | # CONFIG_INET_LRO is not set | ||
340 | # CONFIG_INET_DIAG is not set | ||
341 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
342 | CONFIG_TCP_CONG_CUBIC=y | ||
343 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
344 | # CONFIG_TCP_MD5SIG is not set | ||
345 | # CONFIG_IP_VS is not set | ||
346 | CONFIG_IPV6=m | ||
347 | # CONFIG_IPV6_PRIVACY is not set | ||
348 | # CONFIG_IPV6_ROUTER_PREF is not set | ||
349 | # CONFIG_IPV6_OPTIMISTIC_DAD is not set | ||
350 | CONFIG_INET6_AH=m | ||
351 | CONFIG_INET6_ESP=m | ||
352 | CONFIG_INET6_IPCOMP=m | ||
353 | CONFIG_IPV6_MIP6=m | ||
354 | CONFIG_INET6_XFRM_TUNNEL=m | ||
355 | CONFIG_INET6_TUNNEL=m | ||
356 | CONFIG_INET6_XFRM_MODE_TRANSPORT=m | ||
357 | CONFIG_INET6_XFRM_MODE_TUNNEL=m | ||
358 | CONFIG_INET6_XFRM_MODE_BEET=m | ||
359 | # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set | ||
360 | CONFIG_IPV6_SIT=m | ||
361 | CONFIG_IPV6_NDISC_NODETYPE=y | ||
362 | CONFIG_IPV6_TUNNEL=m | ||
363 | CONFIG_IPV6_MULTIPLE_TABLES=y | ||
364 | CONFIG_IPV6_SUBTREES=y | ||
365 | # CONFIG_IPV6_MROUTE is not set | ||
366 | # CONFIG_NETWORK_SECMARK is not set | ||
367 | CONFIG_NETFILTER=y | ||
368 | # CONFIG_NETFILTER_DEBUG is not set | ||
369 | CONFIG_NETFILTER_ADVANCED=y | ||
370 | CONFIG_BRIDGE_NETFILTER=y | ||
371 | |||
372 | # | ||
373 | # Core Netfilter Configuration | ||
374 | # | ||
375 | CONFIG_NETFILTER_NETLINK=m | ||
376 | CONFIG_NETFILTER_NETLINK_QUEUE=m | ||
377 | CONFIG_NETFILTER_NETLINK_LOG=m | ||
378 | CONFIG_NF_CONNTRACK=m | ||
379 | CONFIG_NF_CT_ACCT=y | ||
380 | CONFIG_NF_CONNTRACK_MARK=y | ||
381 | CONFIG_NF_CONNTRACK_EVENTS=y | ||
382 | # CONFIG_NF_CT_PROTO_DCCP is not set | ||
383 | CONFIG_NF_CT_PROTO_GRE=m | ||
384 | CONFIG_NF_CT_PROTO_SCTP=m | ||
385 | CONFIG_NF_CT_PROTO_UDPLITE=m | ||
386 | CONFIG_NF_CONNTRACK_AMANDA=m | ||
387 | CONFIG_NF_CONNTRACK_FTP=m | ||
388 | CONFIG_NF_CONNTRACK_H323=m | ||
389 | CONFIG_NF_CONNTRACK_IRC=m | ||
390 | CONFIG_NF_CONNTRACK_NETBIOS_NS=m | ||
391 | CONFIG_NF_CONNTRACK_PPTP=m | ||
392 | CONFIG_NF_CONNTRACK_SANE=m | ||
393 | CONFIG_NF_CONNTRACK_SIP=m | ||
394 | CONFIG_NF_CONNTRACK_TFTP=m | ||
395 | CONFIG_NF_CT_NETLINK=m | ||
396 | CONFIG_NETFILTER_XTABLES=m | ||
397 | CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m | ||
398 | # CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set | ||
399 | # CONFIG_NETFILTER_XT_TARGET_DSCP is not set | ||
400 | CONFIG_NETFILTER_XT_TARGET_MARK=m | ||
401 | CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m | ||
402 | CONFIG_NETFILTER_XT_TARGET_NFLOG=m | ||
403 | # CONFIG_NETFILTER_XT_TARGET_NOTRACK is not set | ||
404 | # CONFIG_NETFILTER_XT_TARGET_RATEEST is not set | ||
405 | # CONFIG_NETFILTER_XT_TARGET_TRACE is not set | ||
406 | CONFIG_NETFILTER_XT_TARGET_TCPMSS=m | ||
407 | # CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set | ||
408 | CONFIG_NETFILTER_XT_MATCH_COMMENT=m | ||
409 | CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m | ||
410 | CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m | ||
411 | CONFIG_NETFILTER_XT_MATCH_CONNMARK=m | ||
412 | CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m | ||
413 | CONFIG_NETFILTER_XT_MATCH_DCCP=m | ||
414 | CONFIG_NETFILTER_XT_MATCH_DSCP=m | ||
415 | CONFIG_NETFILTER_XT_MATCH_ESP=m | ||
416 | CONFIG_NETFILTER_XT_MATCH_HELPER=m | ||
417 | # CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set | ||
418 | CONFIG_NETFILTER_XT_MATCH_LENGTH=m | ||
419 | CONFIG_NETFILTER_XT_MATCH_LIMIT=m | ||
420 | CONFIG_NETFILTER_XT_MATCH_MAC=m | ||
421 | CONFIG_NETFILTER_XT_MATCH_MARK=m | ||
422 | # CONFIG_NETFILTER_XT_MATCH_OWNER is not set | ||
423 | CONFIG_NETFILTER_XT_MATCH_POLICY=m | ||
424 | CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m | ||
425 | # CONFIG_NETFILTER_XT_MATCH_PHYSDEV is not set | ||
426 | CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m | ||
427 | CONFIG_NETFILTER_XT_MATCH_QUOTA=m | ||
428 | # CONFIG_NETFILTER_XT_MATCH_RATEEST is not set | ||
429 | CONFIG_NETFILTER_XT_MATCH_REALM=m | ||
430 | CONFIG_NETFILTER_XT_MATCH_SCTP=m | ||
431 | CONFIG_NETFILTER_XT_MATCH_STATE=m | ||
432 | CONFIG_NETFILTER_XT_MATCH_STATISTIC=m | ||
433 | CONFIG_NETFILTER_XT_MATCH_STRING=m | ||
434 | CONFIG_NETFILTER_XT_MATCH_TCPMSS=m | ||
435 | CONFIG_NETFILTER_XT_MATCH_TIME=m | ||
436 | CONFIG_NETFILTER_XT_MATCH_U32=m | ||
437 | CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m | ||
438 | |||
439 | # | ||
440 | # IP: Netfilter Configuration | ||
441 | # | ||
442 | CONFIG_NF_CONNTRACK_IPV4=m | ||
443 | CONFIG_NF_CONNTRACK_PROC_COMPAT=y | ||
444 | CONFIG_IP_NF_QUEUE=m | ||
445 | CONFIG_IP_NF_IPTABLES=m | ||
446 | CONFIG_IP_NF_MATCH_RECENT=m | ||
447 | CONFIG_IP_NF_MATCH_ECN=m | ||
448 | CONFIG_IP_NF_MATCH_AH=m | ||
449 | CONFIG_IP_NF_MATCH_TTL=m | ||
450 | CONFIG_IP_NF_MATCH_ADDRTYPE=m | ||
451 | CONFIG_IP_NF_FILTER=m | ||
452 | CONFIG_IP_NF_TARGET_REJECT=m | ||
453 | CONFIG_IP_NF_TARGET_LOG=m | ||
454 | CONFIG_IP_NF_TARGET_ULOG=m | ||
455 | CONFIG_NF_NAT=m | ||
456 | CONFIG_NF_NAT_NEEDED=y | ||
457 | CONFIG_IP_NF_TARGET_MASQUERADE=m | ||
458 | CONFIG_IP_NF_TARGET_REDIRECT=m | ||
459 | CONFIG_IP_NF_TARGET_NETMAP=m | ||
460 | CONFIG_NF_NAT_SNMP_BASIC=m | ||
461 | CONFIG_NF_NAT_PROTO_GRE=m | ||
462 | CONFIG_NF_NAT_PROTO_UDPLITE=m | ||
463 | CONFIG_NF_NAT_PROTO_SCTP=m | ||
464 | CONFIG_NF_NAT_FTP=m | ||
465 | CONFIG_NF_NAT_IRC=m | ||
466 | CONFIG_NF_NAT_TFTP=m | ||
467 | CONFIG_NF_NAT_AMANDA=m | ||
468 | CONFIG_NF_NAT_PPTP=m | ||
469 | CONFIG_NF_NAT_H323=m | ||
470 | CONFIG_NF_NAT_SIP=m | ||
471 | CONFIG_IP_NF_MANGLE=m | ||
472 | CONFIG_IP_NF_TARGET_ECN=m | ||
473 | CONFIG_IP_NF_TARGET_TTL=m | ||
474 | CONFIG_IP_NF_TARGET_CLUSTERIP=m | ||
475 | CONFIG_IP_NF_RAW=m | ||
476 | CONFIG_IP_NF_ARPTABLES=m | ||
477 | CONFIG_IP_NF_ARPFILTER=m | ||
478 | CONFIG_IP_NF_ARP_MANGLE=m | ||
479 | |||
480 | # | ||
481 | # IPv6: Netfilter Configuration | ||
482 | # | ||
483 | CONFIG_NF_CONNTRACK_IPV6=m | ||
484 | CONFIG_IP6_NF_QUEUE=m | ||
485 | CONFIG_IP6_NF_IPTABLES=m | ||
486 | CONFIG_IP6_NF_MATCH_RT=m | ||
487 | CONFIG_IP6_NF_MATCH_OPTS=m | ||
488 | CONFIG_IP6_NF_MATCH_FRAG=m | ||
489 | CONFIG_IP6_NF_MATCH_HL=m | ||
490 | CONFIG_IP6_NF_MATCH_IPV6HEADER=m | ||
491 | CONFIG_IP6_NF_MATCH_AH=m | ||
492 | CONFIG_IP6_NF_MATCH_MH=m | ||
493 | CONFIG_IP6_NF_MATCH_EUI64=m | ||
494 | CONFIG_IP6_NF_FILTER=m | ||
495 | CONFIG_IP6_NF_TARGET_LOG=m | ||
496 | CONFIG_IP6_NF_TARGET_REJECT=m | ||
497 | CONFIG_IP6_NF_MANGLE=m | ||
498 | CONFIG_IP6_NF_TARGET_HL=m | ||
499 | CONFIG_IP6_NF_RAW=m | ||
500 | |||
501 | # | ||
502 | # Bridge: Netfilter Configuration | ||
503 | # | ||
504 | # CONFIG_BRIDGE_NF_EBTABLES is not set | ||
505 | # CONFIG_IP_DCCP is not set | ||
506 | # CONFIG_IP_SCTP is not set | ||
507 | # CONFIG_TIPC is not set | ||
508 | # CONFIG_ATM is not set | ||
509 | CONFIG_BRIDGE=m | ||
510 | # CONFIG_VLAN_8021Q is not set | ||
511 | # CONFIG_DECNET is not set | ||
512 | CONFIG_LLC=m | ||
513 | # CONFIG_LLC2 is not set | ||
514 | # CONFIG_IPX is not set | ||
515 | # CONFIG_ATALK is not set | ||
516 | # CONFIG_X25 is not set | ||
517 | # CONFIG_LAPB is not set | ||
518 | # CONFIG_ECONET is not set | ||
519 | # CONFIG_WAN_ROUTER is not set | ||
520 | # CONFIG_NET_SCHED is not set | ||
521 | CONFIG_NET_CLS_ROUTE=y | ||
522 | CONFIG_NET_SCH_FIFO=y | ||
523 | |||
524 | # | ||
525 | # Network testing | ||
526 | # | ||
527 | # CONFIG_NET_PKTGEN is not set | ||
528 | # CONFIG_HAMRADIO is not set | ||
529 | # CONFIG_CAN is not set | ||
530 | # CONFIG_IRDA is not set | ||
531 | CONFIG_BT=y | ||
532 | CONFIG_BT_L2CAP=m | ||
533 | CONFIG_BT_SCO=y | ||
534 | CONFIG_BT_RFCOMM=m | ||
535 | CONFIG_BT_RFCOMM_TTY=y | ||
536 | CONFIG_BT_BNEP=m | ||
537 | CONFIG_BT_BNEP_MC_FILTER=y | ||
538 | CONFIG_BT_BNEP_PROTO_FILTER=y | ||
539 | CONFIG_BT_HIDP=m | ||
540 | |||
541 | # | ||
542 | # Bluetooth device drivers | ||
543 | # | ||
544 | # CONFIG_BT_HCIUSB is not set | ||
545 | # CONFIG_BT_HCIBTUSB is not set | ||
546 | # CONFIG_BT_HCIBTSDIO is not set | ||
547 | CONFIG_BT_HCIUART=y | ||
548 | CONFIG_BT_HCIUART_H4=y | ||
549 | # CONFIG_BT_HCIUART_BCSP is not set | ||
550 | # CONFIG_BT_HCIUART_LL is not set | ||
551 | # CONFIG_BT_HCIBCM203X is not set | ||
552 | # CONFIG_BT_HCIBPA10X is not set | ||
553 | # CONFIG_BT_HCIBFUSB is not set | ||
554 | # CONFIG_BT_HCIVHCI is not set | ||
555 | # CONFIG_AF_RXRPC is not set | ||
556 | CONFIG_FIB_RULES=y | ||
557 | |||
558 | # | ||
559 | # Wireless | ||
560 | # | ||
561 | CONFIG_CFG80211=m | ||
562 | CONFIG_NL80211=y | ||
563 | CONFIG_WIRELESS_EXT=y | ||
564 | CONFIG_MAC80211=m | ||
565 | |||
566 | # | ||
567 | # Rate control algorithm selection | ||
568 | # | ||
569 | CONFIG_MAC80211_RC_DEFAULT_PID=y | ||
570 | # CONFIG_MAC80211_RC_DEFAULT_NONE is not set | ||
571 | |||
572 | # | ||
573 | # Selecting 'y' for an algorithm will | ||
574 | # | ||
575 | |||
576 | # | ||
577 | # build the algorithm into mac80211. | ||
578 | # | ||
579 | CONFIG_MAC80211_RC_DEFAULT="pid" | ||
580 | CONFIG_MAC80211_RC_PID=y | ||
581 | # CONFIG_MAC80211_MESH is not set | ||
582 | CONFIG_MAC80211_LEDS=y | ||
583 | # CONFIG_MAC80211_DEBUG_PACKET_ALIGNMENT is not set | ||
584 | # CONFIG_MAC80211_DEBUG is not set | ||
585 | CONFIG_IEEE80211=m | ||
586 | # CONFIG_IEEE80211_DEBUG is not set | ||
587 | CONFIG_IEEE80211_CRYPT_WEP=m | ||
588 | CONFIG_IEEE80211_CRYPT_CCMP=m | ||
589 | CONFIG_IEEE80211_CRYPT_TKIP=m | ||
590 | # CONFIG_RFKILL is not set | ||
591 | # CONFIG_NET_9P is not set | ||
592 | |||
593 | # | ||
594 | # Device Drivers | ||
595 | # | ||
596 | |||
597 | # | ||
598 | # Generic Driver Options | ||
599 | # | ||
600 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
601 | CONFIG_STANDALONE=y | ||
602 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
603 | CONFIG_FW_LOADER=m | ||
604 | # CONFIG_SYS_HYPERVISOR is not set | ||
605 | CONFIG_CONNECTOR=m | ||
606 | CONFIG_MTD=y | ||
607 | # CONFIG_MTD_DEBUG is not set | ||
608 | # CONFIG_MTD_CONCAT is not set | ||
609 | CONFIG_MTD_PARTITIONS=y | ||
610 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
611 | # CONFIG_MTD_CMDLINE_PARTS is not set | ||
612 | # CONFIG_MTD_AFS_PARTS is not set | ||
613 | # CONFIG_MTD_AR7_PARTS is not set | ||
614 | |||
615 | # | ||
616 | # User Modules And Translation Layers | ||
617 | # | ||
618 | CONFIG_MTD_CHAR=y | ||
619 | # CONFIG_MTD_BLKDEVS is not set | ||
620 | # CONFIG_MTD_BLOCK is not set | ||
621 | # CONFIG_MTD_BLOCK_RO is not set | ||
622 | # CONFIG_FTL is not set | ||
623 | # CONFIG_NFTL is not set | ||
624 | # CONFIG_INFTL is not set | ||
625 | # CONFIG_RFD_FTL is not set | ||
626 | # CONFIG_SSFDC is not set | ||
627 | # CONFIG_MTD_OOPS is not set | ||
628 | |||
629 | # | ||
630 | # RAM/ROM/Flash chip drivers | ||
631 | # | ||
632 | CONFIG_MTD_CFI=y | ||
633 | # CONFIG_MTD_JEDECPROBE is not set | ||
634 | CONFIG_MTD_GEN_PROBE=y | ||
635 | CONFIG_MTD_CFI_ADV_OPTIONS=y | ||
636 | CONFIG_MTD_CFI_NOSWAP=y | ||
637 | # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set | ||
638 | # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set | ||
639 | CONFIG_MTD_CFI_GEOMETRY=y | ||
640 | # CONFIG_MTD_MAP_BANK_WIDTH_1 is not set | ||
641 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
642 | # CONFIG_MTD_MAP_BANK_WIDTH_4 is not set | ||
643 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
644 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
645 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
646 | CONFIG_MTD_CFI_I1=y | ||
647 | # CONFIG_MTD_CFI_I2 is not set | ||
648 | # CONFIG_MTD_CFI_I4 is not set | ||
649 | # CONFIG_MTD_CFI_I8 is not set | ||
650 | # CONFIG_MTD_OTP is not set | ||
651 | CONFIG_MTD_CFI_INTELEXT=y | ||
652 | # CONFIG_MTD_CFI_AMDSTD is not set | ||
653 | # CONFIG_MTD_CFI_STAA is not set | ||
654 | CONFIG_MTD_CFI_UTIL=y | ||
655 | # CONFIG_MTD_RAM is not set | ||
656 | # CONFIG_MTD_ROM is not set | ||
657 | # CONFIG_MTD_ABSENT is not set | ||
658 | CONFIG_MTD_XIP=y | ||
659 | |||
660 | # | ||
661 | # Mapping drivers for chip access | ||
662 | # | ||
663 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
664 | CONFIG_MTD_PHYSMAP=y | ||
665 | CONFIG_MTD_PHYSMAP_START=0x0 | ||
666 | CONFIG_MTD_PHYSMAP_LEN=0x0 | ||
667 | CONFIG_MTD_PHYSMAP_BANKWIDTH=2 | ||
668 | # CONFIG_MTD_PXA2XX is not set | ||
669 | # CONFIG_MTD_ARM_INTEGRATOR is not set | ||
670 | # CONFIG_MTD_SHARP_SL is not set | ||
671 | # CONFIG_MTD_PLATRAM is not set | ||
672 | |||
673 | # | ||
674 | # Self-contained MTD device drivers | ||
675 | # | ||
676 | # CONFIG_MTD_DATAFLASH is not set | ||
677 | # CONFIG_MTD_M25P80 is not set | ||
678 | # CONFIG_MTD_SLRAM is not set | ||
679 | # CONFIG_MTD_PHRAM is not set | ||
680 | # CONFIG_MTD_MTDRAM is not set | ||
681 | # CONFIG_MTD_BLOCK2MTD is not set | ||
682 | |||
683 | # | ||
684 | # Disk-On-Chip Device Drivers | ||
685 | # | ||
686 | # CONFIG_MTD_DOC2000 is not set | ||
687 | # CONFIG_MTD_DOC2001 is not set | ||
688 | # CONFIG_MTD_DOC2001PLUS is not set | ||
689 | # CONFIG_MTD_NAND is not set | ||
690 | # CONFIG_MTD_ONENAND is not set | ||
691 | |||
692 | # | ||
693 | # UBI - Unsorted block images | ||
694 | # | ||
695 | # CONFIG_MTD_UBI is not set | ||
696 | # CONFIG_PARPORT is not set | ||
697 | CONFIG_BLK_DEV=y | ||
698 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
699 | CONFIG_BLK_DEV_LOOP=m | ||
700 | CONFIG_BLK_DEV_CRYPTOLOOP=m | ||
701 | CONFIG_BLK_DEV_NBD=m | ||
702 | # CONFIG_BLK_DEV_UB is not set | ||
703 | CONFIG_BLK_DEV_RAM=m | ||
704 | CONFIG_BLK_DEV_RAM_COUNT=16 | ||
705 | CONFIG_BLK_DEV_RAM_SIZE=4096 | ||
706 | # CONFIG_BLK_DEV_XIP is not set | ||
707 | # CONFIG_CDROM_PKTCDVD is not set | ||
708 | # CONFIG_ATA_OVER_ETH is not set | ||
709 | CONFIG_MISC_DEVICES=y | ||
710 | # CONFIG_EEPROM_93CX6 is not set | ||
711 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
712 | CONFIG_HAVE_IDE=y | ||
713 | # CONFIG_IDE is not set | ||
714 | |||
715 | # | ||
716 | # SCSI device support | ||
717 | # | ||
718 | # CONFIG_RAID_ATTRS is not set | ||
719 | # CONFIG_SCSI is not set | ||
720 | # CONFIG_SCSI_DMA is not set | ||
721 | # CONFIG_SCSI_NETLINK is not set | ||
722 | # CONFIG_ATA is not set | ||
723 | # CONFIG_MD is not set | ||
724 | CONFIG_NETDEVICES=y | ||
725 | # CONFIG_NETDEVICES_MULTIQUEUE is not set | ||
726 | CONFIG_DUMMY=y | ||
727 | # CONFIG_BONDING is not set | ||
728 | # CONFIG_MACVLAN is not set | ||
729 | # CONFIG_EQUALIZER is not set | ||
730 | # CONFIG_TUN is not set | ||
731 | # CONFIG_VETH is not set | ||
732 | # CONFIG_NET_ETHERNET is not set | ||
733 | # CONFIG_NETDEV_1000 is not set | ||
734 | # CONFIG_NETDEV_10000 is not set | ||
735 | |||
736 | # | ||
737 | # Wireless LAN | ||
738 | # | ||
739 | # CONFIG_WLAN_PRE80211 is not set | ||
740 | # CONFIG_WLAN_80211 is not set | ||
741 | # CONFIG_IWLWIFI_LEDS is not set | ||
742 | |||
743 | # | ||
744 | # USB Network Adapters | ||
745 | # | ||
746 | # CONFIG_USB_CATC is not set | ||
747 | # CONFIG_USB_KAWETH is not set | ||
748 | # CONFIG_USB_PEGASUS is not set | ||
749 | # CONFIG_USB_RTL8150 is not set | ||
750 | # CONFIG_USB_USBNET is not set | ||
751 | # CONFIG_WAN is not set | ||
752 | CONFIG_PPP=m | ||
753 | CONFIG_PPP_MULTILINK=y | ||
754 | CONFIG_PPP_FILTER=y | ||
755 | CONFIG_PPP_ASYNC=m | ||
756 | CONFIG_PPP_SYNC_TTY=m | ||
757 | CONFIG_PPP_DEFLATE=m | ||
758 | CONFIG_PPP_BSDCOMP=m | ||
759 | # CONFIG_PPP_MPPE is not set | ||
760 | # CONFIG_PPPOE is not set | ||
761 | # CONFIG_PPPOL2TP is not set | ||
762 | # CONFIG_SLIP is not set | ||
763 | CONFIG_SLHC=m | ||
764 | # CONFIG_NETCONSOLE is not set | ||
765 | # CONFIG_NETPOLL is not set | ||
766 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
767 | # CONFIG_ISDN is not set | ||
768 | |||
769 | # | ||
770 | # Input device support | ||
771 | # | ||
772 | CONFIG_INPUT=y | ||
773 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
774 | # CONFIG_INPUT_POLLDEV is not set | ||
775 | |||
776 | # | ||
777 | # Userland interfaces | ||
778 | # | ||
779 | # CONFIG_INPUT_MOUSEDEV is not set | ||
780 | # CONFIG_INPUT_JOYDEV is not set | ||
781 | CONFIG_INPUT_EVDEV=y | ||
782 | # CONFIG_INPUT_EVBUG is not set | ||
783 | # CONFIG_INPUT_APMPOWER is not set | ||
784 | |||
785 | # | ||
786 | # Input Device Drivers | ||
787 | # | ||
788 | CONFIG_INPUT_KEYBOARD=y | ||
789 | # CONFIG_KEYBOARD_ATKBD is not set | ||
790 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
791 | # CONFIG_KEYBOARD_LKKBD is not set | ||
792 | # CONFIG_KEYBOARD_XTKBD is not set | ||
793 | # CONFIG_KEYBOARD_NEWTON is not set | ||
794 | # CONFIG_KEYBOARD_STOWAWAY is not set | ||
795 | CONFIG_KEYBOARD_PXA27x=y | ||
796 | CONFIG_KEYBOARD_GPIO=y | ||
797 | # CONFIG_INPUT_MOUSE is not set | ||
798 | # CONFIG_INPUT_JOYSTICK is not set | ||
799 | # CONFIG_INPUT_TABLET is not set | ||
800 | CONFIG_INPUT_TOUCHSCREEN=y | ||
801 | # CONFIG_TOUCHSCREEN_ADS7846 is not set | ||
802 | # CONFIG_TOUCHSCREEN_FUJITSU is not set | ||
803 | # CONFIG_TOUCHSCREEN_GUNZE is not set | ||
804 | # CONFIG_TOUCHSCREEN_ELO is not set | ||
805 | # CONFIG_TOUCHSCREEN_MTOUCH is not set | ||
806 | # CONFIG_TOUCHSCREEN_MK712 is not set | ||
807 | # CONFIG_TOUCHSCREEN_PENMOUNT is not set | ||
808 | # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set | ||
809 | # CONFIG_TOUCHSCREEN_TOUCHWIN is not set | ||
810 | # CONFIG_TOUCHSCREEN_UCB1400 is not set | ||
811 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set | ||
812 | CONFIG_TOUCHSCREEN_PCAP=y | ||
813 | CONFIG_INPUT_MISC=y | ||
814 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
815 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
816 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
817 | # CONFIG_INPUT_POWERMATE is not set | ||
818 | # CONFIG_INPUT_YEALINK is not set | ||
819 | CONFIG_INPUT_UINPUT=y | ||
820 | |||
821 | # | ||
822 | # Hardware I/O ports | ||
823 | # | ||
824 | # CONFIG_SERIO is not set | ||
825 | # CONFIG_GAMEPORT is not set | ||
826 | |||
827 | # | ||
828 | # Character devices | ||
829 | # | ||
830 | CONFIG_VT=y | ||
831 | CONFIG_VT_CONSOLE=y | ||
832 | CONFIG_HW_CONSOLE=y | ||
833 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
834 | CONFIG_DEVKMEM=y | ||
835 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
836 | |||
837 | # | ||
838 | # Serial drivers | ||
839 | # | ||
840 | # CONFIG_SERIAL_8250 is not set | ||
841 | |||
842 | # | ||
843 | # Non-8250 serial port support | ||
844 | # | ||
845 | CONFIG_SERIAL_PXA=y | ||
846 | CONFIG_SERIAL_PXA_CONSOLE=y | ||
847 | CONFIG_SERIAL_CORE=y | ||
848 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
849 | CONFIG_UNIX98_PTYS=y | ||
850 | CONFIG_LEGACY_PTYS=y | ||
851 | CONFIG_LEGACY_PTY_COUNT=8 | ||
852 | # CONFIG_IPMI_HANDLER is not set | ||
853 | CONFIG_HW_RANDOM=y | ||
854 | # CONFIG_NVRAM is not set | ||
855 | # CONFIG_R3964 is not set | ||
856 | # CONFIG_RAW_DRIVER is not set | ||
857 | # CONFIG_TCG_TPM is not set | ||
858 | CONFIG_I2C=y | ||
859 | CONFIG_I2C_BOARDINFO=y | ||
860 | CONFIG_I2C_CHARDEV=y | ||
861 | |||
862 | # | ||
863 | # I2C Hardware Bus support | ||
864 | # | ||
865 | # CONFIG_I2C_GPIO is not set | ||
866 | CONFIG_I2C_PXA=y | ||
867 | # CONFIG_I2C_PXA_SLAVE is not set | ||
868 | # CONFIG_I2C_OCORES is not set | ||
869 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
870 | # CONFIG_I2C_SIMTEC is not set | ||
871 | # CONFIG_I2C_TAOS_EVM is not set | ||
872 | # CONFIG_I2C_STUB is not set | ||
873 | # CONFIG_I2C_TINY_USB is not set | ||
874 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
875 | |||
876 | # | ||
877 | # Miscellaneous I2C Chip support | ||
878 | # | ||
879 | # CONFIG_DS1682 is not set | ||
880 | # CONFIG_SENSORS_EEPROM is not set | ||
881 | # CONFIG_SENSORS_PCF8574 is not set | ||
882 | # CONFIG_PCF8575 is not set | ||
883 | # CONFIG_SENSORS_PCF8591 is not set | ||
884 | # CONFIG_TPS65010 is not set | ||
885 | # CONFIG_SENSORS_MAX6875 is not set | ||
886 | # CONFIG_SENSORS_TSL2550 is not set | ||
887 | # CONFIG_I2C_DEBUG_CORE is not set | ||
888 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
889 | # CONFIG_I2C_DEBUG_BUS is not set | ||
890 | # CONFIG_I2C_DEBUG_CHIP is not set | ||
891 | CONFIG_SPI=y | ||
892 | CONFIG_SPI_MASTER=y | ||
893 | |||
894 | # | ||
895 | # SPI Master Controller Drivers | ||
896 | # | ||
897 | # CONFIG_SPI_BITBANG is not set | ||
898 | CONFIG_SPI_PXA2XX=m | ||
899 | |||
900 | # | ||
901 | # SPI Protocol Masters | ||
902 | # | ||
903 | # CONFIG_SPI_AT25 is not set | ||
904 | # CONFIG_SPI_SPIDEV is not set | ||
905 | # CONFIG_SPI_TLE62X0 is not set | ||
906 | CONFIG_HAVE_GPIO_LIB=y | ||
907 | |||
908 | # | ||
909 | # GPIO Support | ||
910 | # | ||
911 | |||
912 | # | ||
913 | # I2C GPIO expanders: | ||
914 | # | ||
915 | # CONFIG_GPIO_PCA953X is not set | ||
916 | # CONFIG_GPIO_PCF857X is not set | ||
917 | |||
918 | # | ||
919 | # SPI GPIO expanders: | ||
920 | # | ||
921 | # CONFIG_GPIO_MCP23S08 is not set | ||
922 | # CONFIG_W1 is not set | ||
923 | # CONFIG_POWER_SUPPLY is not set | ||
924 | # CONFIG_HWMON is not set | ||
925 | # CONFIG_WATCHDOG is not set | ||
926 | |||
927 | # | ||
928 | # Sonics Silicon Backplane | ||
929 | # | ||
930 | CONFIG_SSB_POSSIBLE=y | ||
931 | # CONFIG_SSB is not set | ||
932 | |||
933 | # | ||
934 | # Multifunction device drivers | ||
935 | # | ||
936 | # CONFIG_MFD_CORE is not set | ||
937 | # CONFIG_MFD_SM501 is not set | ||
938 | # CONFIG_MFD_ASIC3 is not set | ||
939 | # CONFIG_HTC_EGPIO is not set | ||
940 | # CONFIG_HTC_PASIC3 is not set | ||
941 | # CONFIG_MFD_TC6393XB is not set | ||
942 | CONFIG_EZX_PCAP=y | ||
943 | |||
944 | # | ||
945 | # Multimedia devices | ||
946 | # | ||
947 | |||
948 | # | ||
949 | # Multimedia core support | ||
950 | # | ||
951 | CONFIG_VIDEO_DEV=m | ||
952 | CONFIG_VIDEO_V4L2_COMMON=m | ||
953 | CONFIG_VIDEO_ALLOW_V4L1=y | ||
954 | CONFIG_VIDEO_V4L1_COMPAT=y | ||
955 | # CONFIG_DVB_CORE is not set | ||
956 | CONFIG_VIDEO_MEDIA=m | ||
957 | |||
958 | # | ||
959 | # Multimedia drivers | ||
960 | # | ||
961 | # CONFIG_MEDIA_ATTACH is not set | ||
962 | CONFIG_MEDIA_TUNER=m | ||
963 | # CONFIG_MEDIA_TUNER_CUSTOMIZE is not set | ||
964 | CONFIG_MEDIA_TUNER_SIMPLE=m | ||
965 | CONFIG_MEDIA_TUNER_TDA8290=m | ||
966 | CONFIG_MEDIA_TUNER_TDA9887=m | ||
967 | CONFIG_MEDIA_TUNER_TEA5761=m | ||
968 | CONFIG_MEDIA_TUNER_TEA5767=m | ||
969 | CONFIG_MEDIA_TUNER_MT20XX=m | ||
970 | CONFIG_MEDIA_TUNER_XC2028=m | ||
971 | CONFIG_MEDIA_TUNER_XC5000=m | ||
972 | CONFIG_VIDEO_V4L2=m | ||
973 | CONFIG_VIDEO_V4L1=m | ||
974 | CONFIG_VIDEO_CAPTURE_DRIVERS=y | ||
975 | # CONFIG_VIDEO_ADV_DEBUG is not set | ||
976 | CONFIG_VIDEO_HELPER_CHIPS_AUTO=y | ||
977 | # CONFIG_VIDEO_VIVI is not set | ||
978 | # CONFIG_VIDEO_CPIA is not set | ||
979 | # CONFIG_VIDEO_CPIA2 is not set | ||
980 | # CONFIG_VIDEO_SAA5246A is not set | ||
981 | # CONFIG_VIDEO_SAA5249 is not set | ||
982 | # CONFIG_TUNER_3036 is not set | ||
983 | # CONFIG_V4L_USB_DRIVERS is not set | ||
984 | # CONFIG_SOC_CAMERA is not set | ||
985 | # CONFIG_VIDEO_PXA27x is not set | ||
986 | CONFIG_RADIO_ADAPTERS=y | ||
987 | # CONFIG_USB_DSBR is not set | ||
988 | # CONFIG_USB_SI470X is not set | ||
989 | # CONFIG_DAB is not set | ||
990 | |||
991 | # | ||
992 | # Graphics support | ||
993 | # | ||
994 | # CONFIG_VGASTATE is not set | ||
995 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
996 | CONFIG_FB=y | ||
997 | # CONFIG_FIRMWARE_EDID is not set | ||
998 | # CONFIG_FB_DDC is not set | ||
999 | CONFIG_FB_CFB_FILLRECT=y | ||
1000 | CONFIG_FB_CFB_COPYAREA=y | ||
1001 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
1002 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
1003 | # CONFIG_FB_SYS_FILLRECT is not set | ||
1004 | # CONFIG_FB_SYS_COPYAREA is not set | ||
1005 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
1006 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
1007 | # CONFIG_FB_SYS_FOPS is not set | ||
1008 | # CONFIG_FB_SVGALIB is not set | ||
1009 | # CONFIG_FB_MACMODES is not set | ||
1010 | # CONFIG_FB_BACKLIGHT is not set | ||
1011 | # CONFIG_FB_MODE_HELPERS is not set | ||
1012 | # CONFIG_FB_TILEBLITTING is not set | ||
1013 | |||
1014 | # | ||
1015 | # Frame buffer hardware drivers | ||
1016 | # | ||
1017 | # CONFIG_FB_UVESA is not set | ||
1018 | # CONFIG_FB_S1D13XXX is not set | ||
1019 | CONFIG_FB_PXA=y | ||
1020 | # CONFIG_FB_PXA_SMARTPANEL is not set | ||
1021 | CONFIG_FB_PXA_PARAMETERS=y | ||
1022 | # CONFIG_FB_MBX is not set | ||
1023 | # CONFIG_FB_AM200EPD is not set | ||
1024 | # CONFIG_FB_VIRTUAL is not set | ||
1025 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
1026 | # CONFIG_LCD_CLASS_DEVICE is not set | ||
1027 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
1028 | # CONFIG_BACKLIGHT_CORGI is not set | ||
1029 | CONFIG_BACKLIGHT_PWM=y | ||
1030 | |||
1031 | # | ||
1032 | # Display device support | ||
1033 | # | ||
1034 | # CONFIG_DISPLAY_SUPPORT is not set | ||
1035 | |||
1036 | # | ||
1037 | # Console display driver support | ||
1038 | # | ||
1039 | # CONFIG_VGA_CONSOLE is not set | ||
1040 | CONFIG_DUMMY_CONSOLE=y | ||
1041 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
1042 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
1043 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | ||
1044 | CONFIG_FONTS=y | ||
1045 | # CONFIG_FONT_8x8 is not set | ||
1046 | # CONFIG_FONT_8x16 is not set | ||
1047 | # CONFIG_FONT_6x11 is not set | ||
1048 | # CONFIG_FONT_7x14 is not set | ||
1049 | # CONFIG_FONT_PEARL_8x8 is not set | ||
1050 | # CONFIG_FONT_ACORN_8x8 is not set | ||
1051 | CONFIG_FONT_MINI_4x6=y | ||
1052 | # CONFIG_FONT_SUN8x16 is not set | ||
1053 | # CONFIG_FONT_SUN12x22 is not set | ||
1054 | # CONFIG_FONT_10x18 is not set | ||
1055 | # CONFIG_LOGO is not set | ||
1056 | |||
1057 | # | ||
1058 | # Sound | ||
1059 | # | ||
1060 | CONFIG_SOUND=y | ||
1061 | |||
1062 | # | ||
1063 | # Advanced Linux Sound Architecture | ||
1064 | # | ||
1065 | CONFIG_SND=y | ||
1066 | CONFIG_SND_TIMER=y | ||
1067 | CONFIG_SND_PCM=y | ||
1068 | # CONFIG_SND_SEQUENCER is not set | ||
1069 | CONFIG_SND_OSSEMUL=y | ||
1070 | CONFIG_SND_MIXER_OSS=y | ||
1071 | CONFIG_SND_PCM_OSS=y | ||
1072 | CONFIG_SND_PCM_OSS_PLUGINS=y | ||
1073 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
1074 | CONFIG_SND_SUPPORT_OLD_API=y | ||
1075 | CONFIG_SND_VERBOSE_PROCFS=y | ||
1076 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
1077 | # CONFIG_SND_DEBUG is not set | ||
1078 | |||
1079 | # | ||
1080 | # Generic devices | ||
1081 | # | ||
1082 | # CONFIG_SND_DUMMY is not set | ||
1083 | # CONFIG_SND_MTPAV is not set | ||
1084 | # CONFIG_SND_SERIAL_U16550 is not set | ||
1085 | # CONFIG_SND_MPU401 is not set | ||
1086 | |||
1087 | # | ||
1088 | # ALSA ARM devices | ||
1089 | # | ||
1090 | # CONFIG_SND_PXA2XX_AC97 is not set | ||
1091 | |||
1092 | # | ||
1093 | # SPI devices | ||
1094 | # | ||
1095 | |||
1096 | # | ||
1097 | # USB devices | ||
1098 | # | ||
1099 | # CONFIG_SND_USB_AUDIO is not set | ||
1100 | # CONFIG_SND_USB_CAIAQ is not set | ||
1101 | |||
1102 | # | ||
1103 | # System on Chip audio support | ||
1104 | # | ||
1105 | CONFIG_SND_SOC=y | ||
1106 | CONFIG_SND_PXA2XX_SOC=y | ||
1107 | |||
1108 | # | ||
1109 | # ALSA SoC audio for Freescale SOCs | ||
1110 | # | ||
1111 | |||
1112 | # | ||
1113 | # SoC Audio for the Texas Instruments OMAP | ||
1114 | # | ||
1115 | |||
1116 | # | ||
1117 | # Open Sound System | ||
1118 | # | ||
1119 | # CONFIG_SOUND_PRIME is not set | ||
1120 | CONFIG_HID_SUPPORT=y | ||
1121 | CONFIG_HID=y | ||
1122 | # CONFIG_HID_DEBUG is not set | ||
1123 | # CONFIG_HIDRAW is not set | ||
1124 | |||
1125 | # | ||
1126 | # USB Input Devices | ||
1127 | # | ||
1128 | # CONFIG_USB_HID is not set | ||
1129 | |||
1130 | # | ||
1131 | # USB HID Boot Protocol drivers | ||
1132 | # | ||
1133 | # CONFIG_USB_KBD is not set | ||
1134 | # CONFIG_USB_MOUSE is not set | ||
1135 | CONFIG_USB_SUPPORT=y | ||
1136 | CONFIG_USB_ARCH_HAS_HCD=y | ||
1137 | CONFIG_USB_ARCH_HAS_OHCI=y | ||
1138 | # CONFIG_USB_ARCH_HAS_EHCI is not set | ||
1139 | CONFIG_USB=y | ||
1140 | # CONFIG_USB_DEBUG is not set | ||
1141 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
1142 | |||
1143 | # | ||
1144 | # Miscellaneous USB options | ||
1145 | # | ||
1146 | # CONFIG_USB_DEVICEFS is not set | ||
1147 | # CONFIG_USB_DEVICE_CLASS is not set | ||
1148 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
1149 | # CONFIG_USB_SUSPEND is not set | ||
1150 | # CONFIG_USB_OTG is not set | ||
1151 | # CONFIG_USB_OTG_WHITELIST is not set | ||
1152 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
1153 | |||
1154 | # | ||
1155 | # USB Host Controller Drivers | ||
1156 | # | ||
1157 | # CONFIG_USB_C67X00_HCD is not set | ||
1158 | # CONFIG_USB_ISP116X_HCD is not set | ||
1159 | # CONFIG_USB_ISP1760_HCD is not set | ||
1160 | CONFIG_USB_OHCI_HCD=y | ||
1161 | # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set | ||
1162 | # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set | ||
1163 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
1164 | # CONFIG_USB_SL811_HCD is not set | ||
1165 | # CONFIG_USB_R8A66597_HCD is not set | ||
1166 | |||
1167 | # | ||
1168 | # USB Device Class drivers | ||
1169 | # | ||
1170 | # CONFIG_USB_ACM is not set | ||
1171 | # CONFIG_USB_PRINTER is not set | ||
1172 | |||
1173 | # | ||
1174 | # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' | ||
1175 | # | ||
1176 | |||
1177 | # | ||
1178 | # may also be needed; see USB_STORAGE Help for more information | ||
1179 | # | ||
1180 | # CONFIG_USB_LIBUSUAL is not set | ||
1181 | |||
1182 | # | ||
1183 | # USB Imaging devices | ||
1184 | # | ||
1185 | # CONFIG_USB_MDC800 is not set | ||
1186 | # CONFIG_USB_MON is not set | ||
1187 | |||
1188 | # | ||
1189 | # USB port drivers | ||
1190 | # | ||
1191 | # CONFIG_USB_SERIAL is not set | ||
1192 | |||
1193 | # | ||
1194 | # USB Miscellaneous drivers | ||
1195 | # | ||
1196 | # CONFIG_USB_EMI62 is not set | ||
1197 | # CONFIG_USB_EMI26 is not set | ||
1198 | # CONFIG_USB_ADUTUX is not set | ||
1199 | # CONFIG_USB_AUERSWALD is not set | ||
1200 | # CONFIG_USB_RIO500 is not set | ||
1201 | # CONFIG_USB_LEGOTOWER is not set | ||
1202 | # CONFIG_USB_LCD is not set | ||
1203 | # CONFIG_USB_BERRY_CHARGE is not set | ||
1204 | # CONFIG_USB_LED is not set | ||
1205 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
1206 | # CONFIG_USB_CYTHERM is not set | ||
1207 | # CONFIG_USB_PHIDGET is not set | ||
1208 | # CONFIG_USB_IDMOUSE is not set | ||
1209 | # CONFIG_USB_FTDI_ELAN is not set | ||
1210 | # CONFIG_USB_APPLEDISPLAY is not set | ||
1211 | # CONFIG_USB_LD is not set | ||
1212 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
1213 | # CONFIG_USB_IOWARRIOR is not set | ||
1214 | CONFIG_USB_GADGET=y | ||
1215 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
1216 | CONFIG_USB_GADGET_SELECTED=y | ||
1217 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
1218 | # CONFIG_USB_GADGET_ATMEL_USBA is not set | ||
1219 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
1220 | # CONFIG_USB_GADGET_NET2280 is not set | ||
1221 | # CONFIG_USB_GADGET_PXA25X is not set | ||
1222 | # CONFIG_USB_GADGET_M66592 is not set | ||
1223 | CONFIG_USB_GADGET_PXA27X=y | ||
1224 | CONFIG_USB_PXA27X=y | ||
1225 | # CONFIG_USB_GADGET_GOKU is not set | ||
1226 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
1227 | # CONFIG_USB_GADGET_OMAP is not set | ||
1228 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
1229 | # CONFIG_USB_GADGET_AT91 is not set | ||
1230 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
1231 | # CONFIG_USB_GADGET_DUALSPEED is not set | ||
1232 | # CONFIG_USB_ZERO is not set | ||
1233 | CONFIG_USB_ETH=y | ||
1234 | # CONFIG_USB_ETH_RNDIS is not set | ||
1235 | # CONFIG_USB_GADGETFS is not set | ||
1236 | # CONFIG_USB_FILE_STORAGE is not set | ||
1237 | # CONFIG_USB_G_SERIAL is not set | ||
1238 | # CONFIG_USB_MIDI_GADGET is not set | ||
1239 | # CONFIG_USB_G_PRINTER is not set | ||
1240 | CONFIG_MMC=y | ||
1241 | # CONFIG_MMC_DEBUG is not set | ||
1242 | CONFIG_MMC_UNSAFE_RESUME=y | ||
1243 | |||
1244 | # | ||
1245 | # MMC/SD Card Drivers | ||
1246 | # | ||
1247 | CONFIG_MMC_BLOCK=y | ||
1248 | CONFIG_MMC_BLOCK_BOUNCE=y | ||
1249 | CONFIG_SDIO_UART=y | ||
1250 | |||
1251 | # | ||
1252 | # MMC/SD Host Controller Drivers | ||
1253 | # | ||
1254 | CONFIG_MMC_PXA=y | ||
1255 | # CONFIG_MMC_SPI is not set | ||
1256 | CONFIG_NEW_LEDS=y | ||
1257 | CONFIG_LEDS_CLASS=y | ||
1258 | |||
1259 | # | ||
1260 | # LED drivers | ||
1261 | # | ||
1262 | # CONFIG_LEDS_GPIO is not set | ||
1263 | |||
1264 | # | ||
1265 | # LED Triggers | ||
1266 | # | ||
1267 | CONFIG_LEDS_TRIGGERS=y | ||
1268 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
1269 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
1270 | # CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set | ||
1271 | CONFIG_RTC_LIB=y | ||
1272 | CONFIG_RTC_CLASS=y | ||
1273 | CONFIG_RTC_HCTOSYS=y | ||
1274 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1275 | # CONFIG_RTC_DEBUG is not set | ||
1276 | |||
1277 | # | ||
1278 | # RTC interfaces | ||
1279 | # | ||
1280 | CONFIG_RTC_INTF_SYSFS=y | ||
1281 | CONFIG_RTC_INTF_PROC=y | ||
1282 | CONFIG_RTC_INTF_DEV=y | ||
1283 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
1284 | # CONFIG_RTC_DRV_TEST is not set | ||
1285 | |||
1286 | # | ||
1287 | # I2C RTC drivers | ||
1288 | # | ||
1289 | # CONFIG_RTC_DRV_DS1307 is not set | ||
1290 | # CONFIG_RTC_DRV_DS1374 is not set | ||
1291 | # CONFIG_RTC_DRV_DS1672 is not set | ||
1292 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
1293 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1294 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1295 | # CONFIG_RTC_DRV_X1205 is not set | ||
1296 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
1297 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1298 | # CONFIG_RTC_DRV_M41T80 is not set | ||
1299 | # CONFIG_RTC_DRV_S35390A is not set | ||
1300 | |||
1301 | # | ||
1302 | # SPI RTC drivers | ||
1303 | # | ||
1304 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
1305 | # CONFIG_RTC_DRV_R9701 is not set | ||
1306 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
1307 | |||
1308 | # | ||
1309 | # Platform RTC drivers | ||
1310 | # | ||
1311 | # CONFIG_RTC_DRV_CMOS is not set | ||
1312 | # CONFIG_RTC_DRV_DS1511 is not set | ||
1313 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1314 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1315 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1316 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1317 | # CONFIG_RTC_DRV_M48T59 is not set | ||
1318 | # CONFIG_RTC_DRV_V3020 is not set | ||
1319 | |||
1320 | # | ||
1321 | # on-CPU RTC drivers | ||
1322 | # | ||
1323 | CONFIG_RTC_DRV_SA1100=m | ||
1324 | # CONFIG_UIO is not set | ||
1325 | |||
1326 | # | ||
1327 | # File systems | ||
1328 | # | ||
1329 | CONFIG_EXT2_FS=y | ||
1330 | # CONFIG_EXT2_FS_XATTR is not set | ||
1331 | # CONFIG_EXT2_FS_XIP is not set | ||
1332 | CONFIG_EXT3_FS=m | ||
1333 | CONFIG_EXT3_FS_XATTR=y | ||
1334 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
1335 | # CONFIG_EXT3_FS_SECURITY is not set | ||
1336 | # CONFIG_EXT4DEV_FS is not set | ||
1337 | CONFIG_JBD=m | ||
1338 | CONFIG_FS_MBCACHE=y | ||
1339 | CONFIG_REISERFS_FS=m | ||
1340 | # CONFIG_REISERFS_CHECK is not set | ||
1341 | # CONFIG_REISERFS_PROC_INFO is not set | ||
1342 | CONFIG_REISERFS_FS_XATTR=y | ||
1343 | CONFIG_REISERFS_FS_POSIX_ACL=y | ||
1344 | CONFIG_REISERFS_FS_SECURITY=y | ||
1345 | # CONFIG_JFS_FS is not set | ||
1346 | CONFIG_FS_POSIX_ACL=y | ||
1347 | CONFIG_XFS_FS=m | ||
1348 | # CONFIG_XFS_QUOTA is not set | ||
1349 | # CONFIG_XFS_POSIX_ACL is not set | ||
1350 | # CONFIG_XFS_RT is not set | ||
1351 | # CONFIG_XFS_DEBUG is not set | ||
1352 | # CONFIG_OCFS2_FS is not set | ||
1353 | CONFIG_DNOTIFY=y | ||
1354 | CONFIG_INOTIFY=y | ||
1355 | CONFIG_INOTIFY_USER=y | ||
1356 | # CONFIG_QUOTA is not set | ||
1357 | CONFIG_AUTOFS_FS=y | ||
1358 | CONFIG_AUTOFS4_FS=y | ||
1359 | CONFIG_FUSE_FS=m | ||
1360 | |||
1361 | # | ||
1362 | # CD-ROM/DVD Filesystems | ||
1363 | # | ||
1364 | CONFIG_ISO9660_FS=m | ||
1365 | CONFIG_JOLIET=y | ||
1366 | CONFIG_ZISOFS=y | ||
1367 | # CONFIG_UDF_FS is not set | ||
1368 | |||
1369 | # | ||
1370 | # DOS/FAT/NT Filesystems | ||
1371 | # | ||
1372 | CONFIG_FAT_FS=m | ||
1373 | CONFIG_MSDOS_FS=m | ||
1374 | CONFIG_VFAT_FS=m | ||
1375 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
1376 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
1377 | # CONFIG_NTFS_FS is not set | ||
1378 | |||
1379 | # | ||
1380 | # Pseudo filesystems | ||
1381 | # | ||
1382 | CONFIG_PROC_FS=y | ||
1383 | CONFIG_PROC_SYSCTL=y | ||
1384 | CONFIG_SYSFS=y | ||
1385 | CONFIG_TMPFS=y | ||
1386 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
1387 | # CONFIG_HUGETLB_PAGE is not set | ||
1388 | # CONFIG_CONFIGFS_FS is not set | ||
1389 | |||
1390 | # | ||
1391 | # Miscellaneous filesystems | ||
1392 | # | ||
1393 | # CONFIG_ADFS_FS is not set | ||
1394 | # CONFIG_AFFS_FS is not set | ||
1395 | # CONFIG_HFS_FS is not set | ||
1396 | # CONFIG_HFSPLUS_FS is not set | ||
1397 | # CONFIG_BEFS_FS is not set | ||
1398 | # CONFIG_BFS_FS is not set | ||
1399 | # CONFIG_EFS_FS is not set | ||
1400 | # CONFIG_JFFS2_FS is not set | ||
1401 | CONFIG_CRAMFS=m | ||
1402 | # CONFIG_VXFS_FS is not set | ||
1403 | # CONFIG_MINIX_FS is not set | ||
1404 | # CONFIG_HPFS_FS is not set | ||
1405 | # CONFIG_QNX4FS_FS is not set | ||
1406 | # CONFIG_ROMFS_FS is not set | ||
1407 | # CONFIG_SYSV_FS is not set | ||
1408 | # CONFIG_UFS_FS is not set | ||
1409 | CONFIG_NETWORK_FILESYSTEMS=y | ||
1410 | CONFIG_NFS_FS=y | ||
1411 | CONFIG_NFS_V3=y | ||
1412 | CONFIG_NFS_V3_ACL=y | ||
1413 | # CONFIG_NFS_V4 is not set | ||
1414 | CONFIG_NFSD=m | ||
1415 | CONFIG_NFSD_V2_ACL=y | ||
1416 | CONFIG_NFSD_V3=y | ||
1417 | CONFIG_NFSD_V3_ACL=y | ||
1418 | # CONFIG_NFSD_V4 is not set | ||
1419 | # CONFIG_ROOT_NFS is not set | ||
1420 | CONFIG_LOCKD=y | ||
1421 | CONFIG_LOCKD_V4=y | ||
1422 | CONFIG_EXPORTFS=m | ||
1423 | CONFIG_NFS_ACL_SUPPORT=y | ||
1424 | CONFIG_NFS_COMMON=y | ||
1425 | CONFIG_SUNRPC=y | ||
1426 | # CONFIG_SUNRPC_BIND34 is not set | ||
1427 | # CONFIG_RPCSEC_GSS_KRB5 is not set | ||
1428 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
1429 | CONFIG_SMB_FS=m | ||
1430 | # CONFIG_SMB_NLS_DEFAULT is not set | ||
1431 | CONFIG_CIFS=m | ||
1432 | CONFIG_CIFS_STATS=y | ||
1433 | # CONFIG_CIFS_STATS2 is not set | ||
1434 | CONFIG_CIFS_WEAK_PW_HASH=y | ||
1435 | CONFIG_CIFS_XATTR=y | ||
1436 | CONFIG_CIFS_POSIX=y | ||
1437 | # CONFIG_CIFS_DEBUG2 is not set | ||
1438 | # CONFIG_CIFS_EXPERIMENTAL is not set | ||
1439 | # CONFIG_NCP_FS is not set | ||
1440 | # CONFIG_CODA_FS is not set | ||
1441 | # CONFIG_AFS_FS is not set | ||
1442 | |||
1443 | # | ||
1444 | # Partition Types | ||
1445 | # | ||
1446 | # CONFIG_PARTITION_ADVANCED is not set | ||
1447 | CONFIG_MSDOS_PARTITION=y | ||
1448 | CONFIG_NLS=y | ||
1449 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
1450 | CONFIG_NLS_CODEPAGE_437=m | ||
1451 | CONFIG_NLS_CODEPAGE_737=m | ||
1452 | CONFIG_NLS_CODEPAGE_775=m | ||
1453 | CONFIG_NLS_CODEPAGE_850=m | ||
1454 | CONFIG_NLS_CODEPAGE_852=m | ||
1455 | CONFIG_NLS_CODEPAGE_855=m | ||
1456 | CONFIG_NLS_CODEPAGE_857=m | ||
1457 | CONFIG_NLS_CODEPAGE_860=m | ||
1458 | CONFIG_NLS_CODEPAGE_861=m | ||
1459 | CONFIG_NLS_CODEPAGE_862=m | ||
1460 | CONFIG_NLS_CODEPAGE_863=m | ||
1461 | CONFIG_NLS_CODEPAGE_864=m | ||
1462 | CONFIG_NLS_CODEPAGE_865=m | ||
1463 | CONFIG_NLS_CODEPAGE_866=m | ||
1464 | CONFIG_NLS_CODEPAGE_869=m | ||
1465 | CONFIG_NLS_CODEPAGE_936=m | ||
1466 | CONFIG_NLS_CODEPAGE_950=m | ||
1467 | CONFIG_NLS_CODEPAGE_932=m | ||
1468 | CONFIG_NLS_CODEPAGE_949=m | ||
1469 | CONFIG_NLS_CODEPAGE_874=m | ||
1470 | CONFIG_NLS_ISO8859_8=m | ||
1471 | CONFIG_NLS_CODEPAGE_1250=m | ||
1472 | CONFIG_NLS_CODEPAGE_1251=m | ||
1473 | CONFIG_NLS_ASCII=m | ||
1474 | CONFIG_NLS_ISO8859_1=m | ||
1475 | CONFIG_NLS_ISO8859_2=m | ||
1476 | CONFIG_NLS_ISO8859_3=m | ||
1477 | CONFIG_NLS_ISO8859_4=m | ||
1478 | CONFIG_NLS_ISO8859_5=m | ||
1479 | CONFIG_NLS_ISO8859_6=m | ||
1480 | CONFIG_NLS_ISO8859_7=m | ||
1481 | CONFIG_NLS_ISO8859_9=m | ||
1482 | CONFIG_NLS_ISO8859_13=m | ||
1483 | CONFIG_NLS_ISO8859_14=m | ||
1484 | CONFIG_NLS_ISO8859_15=m | ||
1485 | CONFIG_NLS_KOI8_R=m | ||
1486 | CONFIG_NLS_KOI8_U=m | ||
1487 | CONFIG_NLS_UTF8=m | ||
1488 | # CONFIG_DLM is not set | ||
1489 | |||
1490 | # | ||
1491 | # Kernel hacking | ||
1492 | # | ||
1493 | # CONFIG_PRINTK_TIME is not set | ||
1494 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
1495 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
1496 | CONFIG_FRAME_WARN=1024 | ||
1497 | # CONFIG_MAGIC_SYSRQ is not set | ||
1498 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1499 | # CONFIG_DEBUG_FS is not set | ||
1500 | # CONFIG_HEADERS_CHECK is not set | ||
1501 | # CONFIG_DEBUG_KERNEL is not set | ||
1502 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
1503 | CONFIG_FRAME_POINTER=y | ||
1504 | # CONFIG_SAMPLES is not set | ||
1505 | # CONFIG_DEBUG_USER is not set | ||
1506 | |||
1507 | # | ||
1508 | # Security options | ||
1509 | # | ||
1510 | # CONFIG_KEYS is not set | ||
1511 | # CONFIG_SECURITY is not set | ||
1512 | # CONFIG_SECURITY_FILE_CAPABILITIES is not set | ||
1513 | CONFIG_CRYPTO=y | ||
1514 | |||
1515 | # | ||
1516 | # Crypto core or helper | ||
1517 | # | ||
1518 | CONFIG_CRYPTO_ALGAPI=m | ||
1519 | CONFIG_CRYPTO_AEAD=m | ||
1520 | CONFIG_CRYPTO_BLKCIPHER=m | ||
1521 | CONFIG_CRYPTO_HASH=m | ||
1522 | CONFIG_CRYPTO_MANAGER=m | ||
1523 | CONFIG_CRYPTO_GF128MUL=m | ||
1524 | CONFIG_CRYPTO_NULL=m | ||
1525 | CONFIG_CRYPTO_CRYPTD=m | ||
1526 | CONFIG_CRYPTO_AUTHENC=m | ||
1527 | CONFIG_CRYPTO_TEST=m | ||
1528 | |||
1529 | # | ||
1530 | # Authenticated Encryption with Associated Data | ||
1531 | # | ||
1532 | # CONFIG_CRYPTO_CCM is not set | ||
1533 | # CONFIG_CRYPTO_GCM is not set | ||
1534 | # CONFIG_CRYPTO_SEQIV is not set | ||
1535 | |||
1536 | # | ||
1537 | # Block modes | ||
1538 | # | ||
1539 | CONFIG_CRYPTO_CBC=m | ||
1540 | # CONFIG_CRYPTO_CTR is not set | ||
1541 | # CONFIG_CRYPTO_CTS is not set | ||
1542 | CONFIG_CRYPTO_ECB=m | ||
1543 | CONFIG_CRYPTO_LRW=m | ||
1544 | CONFIG_CRYPTO_PCBC=m | ||
1545 | CONFIG_CRYPTO_XTS=m | ||
1546 | |||
1547 | # | ||
1548 | # Hash modes | ||
1549 | # | ||
1550 | CONFIG_CRYPTO_HMAC=m | ||
1551 | CONFIG_CRYPTO_XCBC=m | ||
1552 | |||
1553 | # | ||
1554 | # Digest | ||
1555 | # | ||
1556 | CONFIG_CRYPTO_CRC32C=m | ||
1557 | CONFIG_CRYPTO_MD4=m | ||
1558 | CONFIG_CRYPTO_MD5=m | ||
1559 | CONFIG_CRYPTO_MICHAEL_MIC=m | ||
1560 | CONFIG_CRYPTO_SHA1=m | ||
1561 | CONFIG_CRYPTO_SHA256=m | ||
1562 | CONFIG_CRYPTO_SHA512=m | ||
1563 | CONFIG_CRYPTO_TGR192=m | ||
1564 | # CONFIG_CRYPTO_WP512 is not set | ||
1565 | |||
1566 | # | ||
1567 | # Ciphers | ||
1568 | # | ||
1569 | CONFIG_CRYPTO_AES=m | ||
1570 | # CONFIG_CRYPTO_ANUBIS is not set | ||
1571 | CONFIG_CRYPTO_ARC4=m | ||
1572 | CONFIG_CRYPTO_BLOWFISH=m | ||
1573 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
1574 | CONFIG_CRYPTO_CAST5=m | ||
1575 | CONFIG_CRYPTO_CAST6=m | ||
1576 | CONFIG_CRYPTO_DES=m | ||
1577 | CONFIG_CRYPTO_FCRYPT=m | ||
1578 | CONFIG_CRYPTO_KHAZAD=m | ||
1579 | # CONFIG_CRYPTO_SALSA20 is not set | ||
1580 | CONFIG_CRYPTO_SEED=m | ||
1581 | CONFIG_CRYPTO_SERPENT=m | ||
1582 | CONFIG_CRYPTO_TEA=m | ||
1583 | CONFIG_CRYPTO_TWOFISH=m | ||
1584 | CONFIG_CRYPTO_TWOFISH_COMMON=m | ||
1585 | |||
1586 | # | ||
1587 | # Compression | ||
1588 | # | ||
1589 | CONFIG_CRYPTO_DEFLATE=m | ||
1590 | # CONFIG_CRYPTO_LZO is not set | ||
1591 | CONFIG_CRYPTO_HW=y | ||
1592 | |||
1593 | # | ||
1594 | # Library routines | ||
1595 | # | ||
1596 | CONFIG_BITREVERSE=y | ||
1597 | # CONFIG_GENERIC_FIND_FIRST_BIT is not set | ||
1598 | # CONFIG_GENERIC_FIND_NEXT_BIT is not set | ||
1599 | CONFIG_CRC_CCITT=m | ||
1600 | CONFIG_CRC16=m | ||
1601 | # CONFIG_CRC_ITU_T is not set | ||
1602 | CONFIG_CRC32=y | ||
1603 | # CONFIG_CRC7 is not set | ||
1604 | CONFIG_LIBCRC32C=m | ||
1605 | CONFIG_ZLIB_INFLATE=m | ||
1606 | CONFIG_ZLIB_DEFLATE=m | ||
1607 | CONFIG_TEXTSEARCH=y | ||
1608 | CONFIG_TEXTSEARCH_KMP=m | ||
1609 | CONFIG_TEXTSEARCH_BM=m | ||
1610 | CONFIG_TEXTSEARCH_FSM=m | ||
1611 | CONFIG_PLIST=y | ||
1612 | CONFIG_HAS_IOMEM=y | ||
1613 | CONFIG_HAS_IOPORT=y | ||
1614 | CONFIG_HAS_DMA=y | ||
diff --git a/arch/arm/kernel/init_task.c b/arch/arm/kernel/init_task.c index bd4ef53bc6b9..8b8c9d38a761 100644 --- a/arch/arm/kernel/init_task.c +++ b/arch/arm/kernel/init_task.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <asm/pgtable.h> | 13 | #include <asm/pgtable.h> |
14 | 14 | ||
15 | static struct fs_struct init_fs = INIT_FS; | 15 | static struct fs_struct init_fs = INIT_FS; |
16 | static struct files_struct init_files = INIT_FILES; | ||
17 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); | 16 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); |
18 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); | 17 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); |
19 | struct mm_struct init_mm = INIT_MM(init_mm); | 18 | struct mm_struct init_mm = INIT_MM(init_mm); |
diff --git a/arch/arm/mach-at91/at91x40.c b/arch/arm/mach-at91/at91x40.c index 1de121fc55f4..f44647738ee4 100644 --- a/arch/arm/mach-at91/at91x40.c +++ b/arch/arm/mach-at91/at91x40.c | |||
@@ -16,16 +16,32 @@ | |||
16 | #include <asm/mach/arch.h> | 16 | #include <asm/mach/arch.h> |
17 | #include <asm/arch/at91x40.h> | 17 | #include <asm/arch/at91x40.h> |
18 | #include <asm/arch/at91_st.h> | 18 | #include <asm/arch/at91_st.h> |
19 | #include <asm/arch/timex.h> | ||
19 | #include "generic.h" | 20 | #include "generic.h" |
20 | 21 | ||
21 | /* | 22 | /* |
22 | * This is used in the gpio code, stub locally. | 23 | * Export the clock functions for the AT91X40. Some external code common |
24 | * to all AT91 family parts relys on this, like the gpio and serial support. | ||
23 | */ | 25 | */ |
24 | int clk_enable(struct clk *clk) | 26 | int clk_enable(struct clk *clk) |
25 | { | 27 | { |
26 | return 0; | 28 | return 0; |
27 | } | 29 | } |
28 | 30 | ||
31 | void clk_disable(struct clk *clk) | ||
32 | { | ||
33 | } | ||
34 | |||
35 | unsigned long clk_get_rate(struct clk *clk) | ||
36 | { | ||
37 | return AT91X40_MASTER_CLOCK; | ||
38 | } | ||
39 | |||
40 | struct clk *clk_get(struct device *dev, const char *id) | ||
41 | { | ||
42 | return NULL; | ||
43 | } | ||
44 | |||
29 | void __init at91x40_initialize(unsigned long main_clock) | 45 | void __init at91x40_initialize(unsigned long main_clock) |
30 | { | 46 | { |
31 | at91_extern_irq = (1 << AT91X40_ID_IRQ0) | (1 << AT91X40_ID_IRQ1) | 47 | at91_extern_irq = (1 << AT91X40_ID_IRQ0) | (1 << AT91X40_ID_IRQ1) |
diff --git a/arch/arm/mach-integrator/impd1.c b/arch/arm/mach-integrator/impd1.c index 92d79fb39311..62e653a3ea1a 100644 --- a/arch/arm/mach-integrator/impd1.c +++ b/arch/arm/mach-integrator/impd1.c | |||
@@ -369,7 +369,8 @@ static int impd1_probe(struct lm_device *dev) | |||
369 | 369 | ||
370 | lm_set_drvdata(dev, impd1); | 370 | lm_set_drvdata(dev, impd1); |
371 | 371 | ||
372 | printk("IM-PD1 found at 0x%08lx\n", dev->resource.start); | 372 | printk("IM-PD1 found at 0x%08lx\n", |
373 | (unsigned long)dev->resource.start); | ||
373 | 374 | ||
374 | for (i = 0; i < ARRAY_SIZE(impd1->vcos); i++) { | 375 | for (i = 0; i < ARRAY_SIZE(impd1->vcos); i++) { |
375 | impd1->vcos[i].owner = THIS_MODULE, | 376 | impd1->vcos[i].owner = THIS_MODULE, |
diff --git a/arch/arm/mach-integrator/pci_v3.c b/arch/arm/mach-integrator/pci_v3.c index d55fa4e9bb43..c07f497000ca 100644 --- a/arch/arm/mach-integrator/pci_v3.c +++ b/arch/arm/mach-integrator/pci_v3.c | |||
@@ -405,7 +405,6 @@ v3_pci_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | |||
405 | addr, fsr, pc, instr, __raw_readl(SC_LBFADDR), __raw_readl(SC_LBFCODE) & 255, | 405 | addr, fsr, pc, instr, __raw_readl(SC_LBFADDR), __raw_readl(SC_LBFCODE) & 255, |
406 | v3_readb(V3_LB_ISTAT)); | 406 | v3_readb(V3_LB_ISTAT)); |
407 | printk(KERN_DEBUG "%s", buf); | 407 | printk(KERN_DEBUG "%s", buf); |
408 | printascii(buf); | ||
409 | #endif | 408 | #endif |
410 | 409 | ||
411 | v3_writeb(V3_LB_ISTAT, 0); | 410 | v3_writeb(V3_LB_ISTAT, 0); |
@@ -447,6 +446,7 @@ static irqreturn_t v3_irq(int dummy, void *devid) | |||
447 | unsigned long pc = instruction_pointer(regs); | 446 | unsigned long pc = instruction_pointer(regs); |
448 | unsigned long instr = *(unsigned long *)pc; | 447 | unsigned long instr = *(unsigned long *)pc; |
449 | char buf[128]; | 448 | char buf[128]; |
449 | extern void printascii(const char *); | ||
450 | 450 | ||
451 | sprintf(buf, "V3 int %d: pc=0x%08lx [%08lx] LBFADDR=%08x LBFCODE=%02x " | 451 | sprintf(buf, "V3 int %d: pc=0x%08lx [%08lx] LBFADDR=%08x LBFCODE=%02x " |
452 | "ISTAT=%02x\n", IRQ_AP_V3INT, pc, instr, | 452 | "ISTAT=%02x\n", IRQ_AP_V3INT, pc, instr, |
diff --git a/arch/arm/mach-omap1/board-palmte.c b/arch/arm/mach-omap1/board-palmte.c index a0b16a7e8a04..a4d20127a60e 100644 --- a/arch/arm/mach-omap1/board-palmte.c +++ b/arch/arm/mach-omap1/board-palmte.c | |||
@@ -24,7 +24,6 @@ | |||
24 | #include <linux/mtd/mtd.h> | 24 | #include <linux/mtd/mtd.h> |
25 | #include <linux/mtd/partitions.h> | 25 | #include <linux/mtd/partitions.h> |
26 | #include <linux/spi/spi.h> | 26 | #include <linux/spi/spi.h> |
27 | #include <linux/spi/tsc2102.h> | ||
28 | #include <linux/interrupt.h> | 27 | #include <linux/interrupt.h> |
29 | #include <linux/apm-emulation.h> | 28 | #include <linux/apm-emulation.h> |
30 | 29 | ||
@@ -315,14 +314,6 @@ static void palmte_get_power_status(struct apm_power_info *info, int *battery) | |||
315 | #define palmte_get_power_status NULL | 314 | #define palmte_get_power_status NULL |
316 | #endif | 315 | #endif |
317 | 316 | ||
318 | static struct tsc2102_config palmte_tsc2102_config = { | ||
319 | .use_internal = 0, | ||
320 | .monitor = TSC_BAT1 | TSC_AUX | TSC_TEMP, | ||
321 | .temp_at25c = { 2200, 2615 }, | ||
322 | .apm_report = palmte_get_power_status, | ||
323 | .alsa_config = &palmte_alsa_config, | ||
324 | }; | ||
325 | |||
326 | static struct omap_board_config_kernel palmte_config[] __initdata = { | 317 | static struct omap_board_config_kernel palmte_config[] __initdata = { |
327 | { OMAP_TAG_USB, &palmte_usb_config }, | 318 | { OMAP_TAG_USB, &palmte_usb_config }, |
328 | { OMAP_TAG_MMC, &palmte_mmc_config }, | 319 | { OMAP_TAG_MMC, &palmte_mmc_config }, |
@@ -336,7 +327,6 @@ static struct spi_board_info palmte_spi_info[] __initdata = { | |||
336 | .bus_num = 2, /* uWire (officially) */ | 327 | .bus_num = 2, /* uWire (officially) */ |
337 | .chip_select = 0, /* As opposed to 3 */ | 328 | .chip_select = 0, /* As opposed to 3 */ |
338 | .irq = OMAP_GPIO_IRQ(PALMTE_PINTDAV_GPIO), | 329 | .irq = OMAP_GPIO_IRQ(PALMTE_PINTDAV_GPIO), |
339 | .platform_data = &palmte_tsc2102_config, | ||
340 | .max_speed_hz = 8000000, | 330 | .max_speed_hz = 8000000, |
341 | }, | 331 | }, |
342 | }; | 332 | }; |
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index faa2c3f6c1af..1a7ceb8866f9 100644 --- a/arch/arm/mach-pxa/Kconfig +++ b/arch/arm/mach-pxa/Kconfig | |||
@@ -189,7 +189,6 @@ config MACH_ARMCORE | |||
189 | 189 | ||
190 | config MACH_MAGICIAN | 190 | config MACH_MAGICIAN |
191 | bool "Enable HTC Magician Support" | 191 | bool "Enable HTC Magician Support" |
192 | depends on ARCH_PXA | ||
193 | select PXA27x | 192 | select PXA27x |
194 | select IWMMXT | 193 | select IWMMXT |
195 | 194 | ||
@@ -199,6 +198,20 @@ config MACH_PCM027 | |||
199 | select IWMMXT | 198 | select IWMMXT |
200 | select PXA_SSP | 199 | select PXA_SSP |
201 | 200 | ||
201 | config ARCH_PXA_PALM | ||
202 | bool "PXA based Palm PDAs" | ||
203 | select HAVE_PWM | ||
204 | |||
205 | config MACH_PALMTX | ||
206 | bool "Palm T|X" | ||
207 | default y | ||
208 | depends on ARCH_PXA_PALM | ||
209 | select PXA27x | ||
210 | select IWMMXT | ||
211 | help | ||
212 | Say Y here if you intend to run this kernel on a Palm T|X | ||
213 | handheld computer. | ||
214 | |||
202 | config MACH_PCM990_BASEBOARD | 215 | config MACH_PCM990_BASEBOARD |
203 | bool "PHYTEC PCM-990 development board" | 216 | bool "PHYTEC PCM-990 development board" |
204 | select HAVE_PWM | 217 | select HAVE_PWM |
@@ -220,6 +233,42 @@ config PCM990_DISPLAY_NONE | |||
220 | endchoice | 233 | endchoice |
221 | 234 | ||
222 | 235 | ||
236 | config PXA_EZX | ||
237 | bool "Motorola EZX Platform" | ||
238 | select PXA27x | ||
239 | select IWMMXT | ||
240 | select HAVE_PWM | ||
241 | |||
242 | config MACH_EZX_A780 | ||
243 | bool "Motorola EZX A780" | ||
244 | default y | ||
245 | depends on PXA_EZX | ||
246 | |||
247 | config MACH_EZX_E680 | ||
248 | bool "Motorola EZX E680" | ||
249 | default y | ||
250 | depends on PXA_EZX | ||
251 | |||
252 | config MACH_EZX_A1200 | ||
253 | bool "Motorola EZX A1200" | ||
254 | default y | ||
255 | depends on PXA_EZX | ||
256 | |||
257 | config MACH_EZX_A910 | ||
258 | bool "Motorola EZX A910" | ||
259 | default y | ||
260 | depends on PXA_EZX | ||
261 | |||
262 | config MACH_EZX_E6 | ||
263 | bool "Motorola EZX E6" | ||
264 | default y | ||
265 | depends on PXA_EZX | ||
266 | |||
267 | config MACH_EZX_E2 | ||
268 | bool "Motorola EZX E2" | ||
269 | default y | ||
270 | depends on PXA_EZX | ||
271 | |||
223 | endmenu | 272 | endmenu |
224 | 273 | ||
225 | config PXA25x | 274 | config PXA25x |
diff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile index c4dfbe87fc4e..0865236513c7 100644 --- a/arch/arm/mach-pxa/Makefile +++ b/arch/arm/mach-pxa/Makefile | |||
@@ -37,6 +37,7 @@ obj-$(CONFIG_MACH_TOSA) += tosa.o | |||
37 | obj-$(CONFIG_MACH_EM_X270) += em-x270.o | 37 | obj-$(CONFIG_MACH_EM_X270) += em-x270.o |
38 | obj-$(CONFIG_MACH_MAGICIAN) += magician.o | 38 | obj-$(CONFIG_MACH_MAGICIAN) += magician.o |
39 | obj-$(CONFIG_ARCH_PXA_ESERIES) += eseries.o | 39 | obj-$(CONFIG_ARCH_PXA_ESERIES) += eseries.o |
40 | obj-$(CONFIG_MACH_PALMTX)+= palmtx.o | ||
40 | 41 | ||
41 | ifeq ($(CONFIG_MACH_ZYLONITE),y) | 42 | ifeq ($(CONFIG_MACH_ZYLONITE),y) |
42 | obj-y += zylonite.o | 43 | obj-y += zylonite.o |
@@ -46,6 +47,7 @@ endif | |||
46 | obj-$(CONFIG_MACH_LITTLETON) += littleton.o | 47 | obj-$(CONFIG_MACH_LITTLETON) += littleton.o |
47 | 48 | ||
48 | obj-$(CONFIG_MACH_ARMCORE) += cm-x270.o | 49 | obj-$(CONFIG_MACH_ARMCORE) += cm-x270.o |
50 | obj-$(CONFIG_PXA_EZX) += ezx.o | ||
49 | 51 | ||
50 | # Support for blinky lights | 52 | # Support for blinky lights |
51 | led-y := leds.o | 53 | led-y := leds.o |
diff --git a/arch/arm/mach-pxa/cm-x270-pci.c b/arch/arm/mach-pxa/cm-x270-pci.c index 319c9ff3ab9a..bcf0cde6ccc9 100644 --- a/arch/arm/mach-pxa/cm-x270-pci.c +++ b/arch/arm/mach-pxa/cm-x270-pci.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Bits taken from various places. | 6 | * Bits taken from various places. |
7 | * | 7 | * |
8 | * Copyright (C) 2007 Compulab, Ltd. | 8 | * Copyright (C) 2007, 2008 Compulab, Ltd. |
9 | * Mike Rapoport <mike@compulab.co.il> | 9 | * Mike Rapoport <mike@compulab.co.il> |
10 | * | 10 | * |
11 | * This program is free software; you can redistribute it and/or modify | 11 | * This program is free software; you can redistribute it and/or modify |
@@ -19,16 +19,16 @@ | |||
19 | #include <linux/device.h> | 19 | #include <linux/device.h> |
20 | #include <linux/platform_device.h> | 20 | #include <linux/platform_device.h> |
21 | #include <linux/irq.h> | 21 | #include <linux/irq.h> |
22 | #include <linux/gpio.h> | ||
22 | 23 | ||
23 | #include <asm/mach/pci.h> | 24 | #include <asm/mach/pci.h> |
24 | #include <asm/arch/cm-x270.h> | ||
25 | #include <asm/arch/pxa-regs.h> | 25 | #include <asm/arch/pxa-regs.h> |
26 | #include <asm/arch/pxa2xx-gpio.h> | ||
27 | #include <asm/mach-types.h> | 26 | #include <asm/mach-types.h> |
28 | 27 | ||
29 | #include <asm/hardware/it8152.h> | 28 | #include <asm/hardware/it8152.h> |
30 | 29 | ||
31 | unsigned long it8152_base_address = CMX270_IT8152_VIRT; | 30 | unsigned long it8152_base_address; |
31 | static int cmx270_it8152_irq_gpio; | ||
32 | 32 | ||
33 | /* | 33 | /* |
34 | * Only first 64MB of memory can be accessed via PCI. | 34 | * Only first 64MB of memory can be accessed via PCI. |
@@ -42,7 +42,7 @@ void __init cmx270_pci_adjust_zones(int node, unsigned long *zone_size, | |||
42 | unsigned int sz = SZ_64M >> PAGE_SHIFT; | 42 | unsigned int sz = SZ_64M >> PAGE_SHIFT; |
43 | 43 | ||
44 | if (machine_is_armcore()) { | 44 | if (machine_is_armcore()) { |
45 | pr_info("Adjusting zones for CM-x270\n"); | 45 | pr_info("Adjusting zones for CM-X270\n"); |
46 | 46 | ||
47 | /* | 47 | /* |
48 | * Only adjust if > 64M on current system | 48 | * Only adjust if > 64M on current system |
@@ -60,19 +60,20 @@ void __init cmx270_pci_adjust_zones(int node, unsigned long *zone_size, | |||
60 | static void cmx270_it8152_irq_demux(unsigned int irq, struct irq_desc *desc) | 60 | static void cmx270_it8152_irq_demux(unsigned int irq, struct irq_desc *desc) |
61 | { | 61 | { |
62 | /* clear our parent irq */ | 62 | /* clear our parent irq */ |
63 | GEDR(GPIO_IT8152_IRQ) = GPIO_bit(GPIO_IT8152_IRQ); | 63 | GEDR(cmx270_it8152_irq_gpio) = GPIO_bit(cmx270_it8152_irq_gpio); |
64 | 64 | ||
65 | it8152_irq_demux(irq, desc); | 65 | it8152_irq_demux(irq, desc); |
66 | } | 66 | } |
67 | 67 | ||
68 | void __cmx270_pci_init_irq(void) | 68 | void __cmx270_pci_init_irq(int irq_gpio) |
69 | { | 69 | { |
70 | it8152_init_irq(); | 70 | it8152_init_irq(); |
71 | pxa_gpio_mode(IRQ_TO_GPIO(GPIO_IT8152_IRQ)); | ||
72 | set_irq_type(IRQ_GPIO(GPIO_IT8152_IRQ), IRQT_RISING); | ||
73 | 71 | ||
74 | set_irq_chained_handler(IRQ_GPIO(GPIO_IT8152_IRQ), | 72 | cmx270_it8152_irq_gpio = irq_gpio; |
75 | cmx270_it8152_irq_demux); | 73 | |
74 | set_irq_type(gpio_to_irq(irq_gpio), IRQT_RISING); | ||
75 | |||
76 | set_irq_chained_handler(gpio_to_irq(irq_gpio), cmx270_it8152_irq_demux); | ||
76 | } | 77 | } |
77 | 78 | ||
78 | #ifdef CONFIG_PM | 79 | #ifdef CONFIG_PM |
@@ -115,8 +116,8 @@ static int __init cmx270_pci_map_irq(struct pci_dev *dev, u8 slot, u8 pin) | |||
115 | 116 | ||
116 | /* | 117 | /* |
117 | Here comes the ugly part. The routing is baseboard specific, | 118 | Here comes the ugly part. The routing is baseboard specific, |
118 | but defining a platform for each possible base of CM-x270 is | 119 | but defining a platform for each possible base of CM-X270 is |
119 | unrealistic. Here we keep mapping for ATXBase and SB-x270. | 120 | unrealistic. Here we keep mapping for ATXBase and SB-X270. |
120 | */ | 121 | */ |
121 | /* ATXBASE PCI slot */ | 122 | /* ATXBASE PCI slot */ |
122 | if (slot == 7) | 123 | if (slot == 7) |
diff --git a/arch/arm/mach-pxa/cm-x270-pci.h b/arch/arm/mach-pxa/cm-x270-pci.h index ffe37b66f9a0..48f532f4cb51 100644 --- a/arch/arm/mach-pxa/cm-x270-pci.h +++ b/arch/arm/mach-pxa/cm-x270-pci.h | |||
@@ -1,13 +1,13 @@ | |||
1 | extern void __cmx270_pci_init_irq(void); | 1 | extern void __cmx270_pci_init_irq(int irq_gpio); |
2 | extern void __cmx270_pci_suspend(void); | 2 | extern void __cmx270_pci_suspend(void); |
3 | extern void __cmx270_pci_resume(void); | 3 | extern void __cmx270_pci_resume(void); |
4 | 4 | ||
5 | #ifdef CONFIG_PCI | 5 | #ifdef CONFIG_PCI |
6 | #define cmx270_pci_init_irq __cmx270_pci_init_irq | 6 | #define cmx270_pci_init_irq(x) __cmx270_pci_init_irq(x) |
7 | #define cmx270_pci_suspend __cmx270_pci_suspend | 7 | #define cmx270_pci_suspend(x) __cmx270_pci_suspend(x) |
8 | #define cmx270_pci_resume __cmx270_pci_resume | 8 | #define cmx270_pci_resume(x) __cmx270_pci_resume(x) |
9 | #else | 9 | #else |
10 | #define cmx270_pci_init_irq() do {} while (0) | 10 | #define cmx270_pci_init_irq(x) do {} while (0) |
11 | #define cmx270_pci_suspend() do {} while (0) | 11 | #define cmx270_pci_suspend(x) do {} while (0) |
12 | #define cmx270_pci_resume() do {} while (0) | 12 | #define cmx270_pci_resume(x) do {} while (0) |
13 | #endif | 13 | #endif |
diff --git a/arch/arm/mach-pxa/cm-x270.c b/arch/arm/mach-pxa/cm-x270.c index b3c3fd72d045..402e807eae54 100644 --- a/arch/arm/mach-pxa/cm-x270.c +++ b/arch/arm/mach-pxa/cm-x270.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * linux/arch/arm/mach-pxa/cm-x270.c | 2 | * linux/arch/arm/mach-pxa/cm-x270.c |
3 | * | 3 | * |
4 | * Copyright (C) 2007 CompuLab, Ltd. | 4 | * Copyright (C) 2007, 2008 CompuLab, Ltd. |
5 | * Mike Rapoport <mike@compulab.co.il> | 5 | * Mike Rapoport <mike@compulab.co.il> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
@@ -9,44 +9,156 @@ | |||
9 | * published by the Free Software Foundation. | 9 | * published by the Free Software Foundation. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/types.h> | ||
13 | #include <linux/pm.h> | ||
14 | #include <linux/fb.h> | ||
15 | #include <linux/platform_device.h> | 12 | #include <linux/platform_device.h> |
16 | #include <linux/irq.h> | ||
17 | #include <linux/sysdev.h> | 13 | #include <linux/sysdev.h> |
18 | #include <linux/io.h> | 14 | #include <linux/irq.h> |
19 | #include <linux/delay.h> | 15 | #include <linux/gpio.h> |
20 | 16 | ||
21 | #include <linux/dm9000.h> | 17 | #include <linux/dm9000.h> |
22 | #include <linux/rtc-v3020.h> | 18 | #include <linux/rtc-v3020.h> |
23 | #include <linux/serial_8250.h> | ||
24 | |||
25 | #include <video/mbxfb.h> | 19 | #include <video/mbxfb.h> |
20 | #include <linux/leds.h> | ||
26 | 21 | ||
27 | #include <asm/mach/arch.h> | 22 | #include <asm/mach/arch.h> |
28 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
29 | #include <asm/mach/map.h> | 24 | #include <asm/mach/map.h> |
30 | 25 | ||
31 | #include <asm/arch/pxa-regs.h> | ||
32 | #include <asm/arch/pxa2xx-regs.h> | 26 | #include <asm/arch/pxa2xx-regs.h> |
33 | #include <asm/arch/pxa2xx-gpio.h> | 27 | #include <asm/arch/mfp-pxa27x.h> |
28 | #include <asm/arch/pxa-regs.h> | ||
34 | #include <asm/arch/audio.h> | 29 | #include <asm/arch/audio.h> |
35 | #include <asm/arch/pxafb.h> | 30 | #include <asm/arch/pxafb.h> |
36 | #include <asm/arch/ohci.h> | 31 | #include <asm/arch/ohci.h> |
37 | #include <asm/arch/mmc.h> | 32 | #include <asm/arch/mmc.h> |
38 | #include <asm/arch/bitfield.h> | 33 | #include <asm/arch/bitfield.h> |
39 | #include <asm/arch/cm-x270.h> | ||
40 | 34 | ||
41 | #include <asm/hardware/it8152.h> | 35 | #include <asm/hardware/it8152.h> |
42 | 36 | ||
43 | #include "generic.h" | 37 | #include "generic.h" |
44 | #include "cm-x270-pci.h" | 38 | #include "cm-x270-pci.h" |
45 | 39 | ||
40 | /* virtual addresses for statically mapped regions */ | ||
41 | #define CMX270_VIRT_BASE (0xe8000000) | ||
42 | #define CMX270_IT8152_VIRT (CMX270_VIRT_BASE) | ||
43 | |||
46 | #define RTC_PHYS_BASE (PXA_CS1_PHYS + (5 << 22)) | 44 | #define RTC_PHYS_BASE (PXA_CS1_PHYS + (5 << 22)) |
47 | #define DM9000_PHYS_BASE (PXA_CS1_PHYS + (6 << 22)) | 45 | #define DM9000_PHYS_BASE (PXA_CS1_PHYS + (6 << 22)) |
48 | 46 | ||
49 | static struct resource cmx270_dm9k_resource[] = { | 47 | /* GPIO IRQ usage */ |
48 | #define GPIO10_ETHIRQ (10) | ||
49 | #define GPIO22_IT8152_IRQ (22) | ||
50 | #define GPIO83_MMC_IRQ (83) | ||
51 | #define GPIO95_GFXIRQ (95) | ||
52 | |||
53 | #define CMX270_ETHIRQ IRQ_GPIO(GPIO10_ETHIRQ) | ||
54 | #define CMX270_IT8152_IRQ IRQ_GPIO(GPIO22_IT8152_IRQ) | ||
55 | #define CMX270_MMC_IRQ IRQ_GPIO(GPIO83_MMC_IRQ) | ||
56 | #define CMX270_GFXIRQ IRQ_GPIO(GPIO95_GFXIRQ) | ||
57 | |||
58 | /* MMC power enable */ | ||
59 | #define GPIO105_MMC_POWER (105) | ||
60 | |||
61 | static unsigned long cmx270_pin_config[] = { | ||
62 | /* AC'97 */ | ||
63 | GPIO28_AC97_BITCLK, | ||
64 | GPIO29_AC97_SDATA_IN_0, | ||
65 | GPIO30_AC97_SDATA_OUT, | ||
66 | GPIO31_AC97_SYNC, | ||
67 | GPIO98_AC97_SYSCLK, | ||
68 | GPIO113_AC97_nRESET, | ||
69 | |||
70 | /* BTUART */ | ||
71 | GPIO42_BTUART_RXD, | ||
72 | GPIO43_BTUART_TXD, | ||
73 | GPIO44_BTUART_CTS, | ||
74 | GPIO45_BTUART_RTS, | ||
75 | |||
76 | /* STUART */ | ||
77 | GPIO46_STUART_RXD, | ||
78 | GPIO47_STUART_TXD, | ||
79 | |||
80 | /* MCI controller */ | ||
81 | GPIO32_MMC_CLK, | ||
82 | GPIO112_MMC_CMD, | ||
83 | GPIO92_MMC_DAT_0, | ||
84 | GPIO109_MMC_DAT_1, | ||
85 | GPIO110_MMC_DAT_2, | ||
86 | GPIO111_MMC_DAT_3, | ||
87 | |||
88 | /* LCD */ | ||
89 | GPIO58_LCD_LDD_0, | ||
90 | GPIO59_LCD_LDD_1, | ||
91 | GPIO60_LCD_LDD_2, | ||
92 | GPIO61_LCD_LDD_3, | ||
93 | GPIO62_LCD_LDD_4, | ||
94 | GPIO63_LCD_LDD_5, | ||
95 | GPIO64_LCD_LDD_6, | ||
96 | GPIO65_LCD_LDD_7, | ||
97 | GPIO66_LCD_LDD_8, | ||
98 | GPIO67_LCD_LDD_9, | ||
99 | GPIO68_LCD_LDD_10, | ||
100 | GPIO69_LCD_LDD_11, | ||
101 | GPIO70_LCD_LDD_12, | ||
102 | GPIO71_LCD_LDD_13, | ||
103 | GPIO72_LCD_LDD_14, | ||
104 | GPIO73_LCD_LDD_15, | ||
105 | GPIO74_LCD_FCLK, | ||
106 | GPIO75_LCD_LCLK, | ||
107 | GPIO76_LCD_PCLK, | ||
108 | GPIO77_LCD_BIAS, | ||
109 | |||
110 | /* I2C */ | ||
111 | GPIO117_I2C_SCL, | ||
112 | GPIO118_I2C_SDA, | ||
113 | |||
114 | /* SSP1 */ | ||
115 | GPIO23_SSP1_SCLK, | ||
116 | GPIO24_SSP1_SFRM, | ||
117 | GPIO25_SSP1_TXD, | ||
118 | GPIO26_SSP1_RXD, | ||
119 | |||
120 | /* SSP2 */ | ||
121 | GPIO19_SSP2_SCLK, | ||
122 | GPIO14_SSP2_SFRM, | ||
123 | GPIO87_SSP2_TXD, | ||
124 | GPIO88_SSP2_RXD, | ||
125 | |||
126 | /* PC Card */ | ||
127 | GPIO48_nPOE, | ||
128 | GPIO49_nPWE, | ||
129 | GPIO50_nPIOR, | ||
130 | GPIO51_nPIOW, | ||
131 | GPIO85_nPCE_1, | ||
132 | GPIO54_nPCE_2, | ||
133 | GPIO55_nPREG, | ||
134 | GPIO56_nPWAIT, | ||
135 | GPIO57_nIOIS16, | ||
136 | |||
137 | /* SDRAM and local bus */ | ||
138 | GPIO15_nCS_1, | ||
139 | GPIO78_nCS_2, | ||
140 | GPIO79_nCS_3, | ||
141 | GPIO80_nCS_4, | ||
142 | GPIO33_nCS_5, | ||
143 | GPIO49_nPWE, | ||
144 | GPIO18_RDY, | ||
145 | |||
146 | /* GPIO */ | ||
147 | GPIO0_GPIO | WAKEUP_ON_EDGE_BOTH, | ||
148 | GPIO105_GPIO | MFP_LPM_DRIVE_HIGH, /* MMC/SD power */ | ||
149 | GPIO53_GPIO, /* PC card reset */ | ||
150 | |||
151 | /* NAND controls */ | ||
152 | GPIO11_GPIO | MFP_LPM_DRIVE_HIGH, /* NAND CE# */ | ||
153 | GPIO89_GPIO, /* NAND Ready/Busy */ | ||
154 | |||
155 | /* interrupts */ | ||
156 | GPIO10_GPIO, /* DM9000 interrupt */ | ||
157 | GPIO83_GPIO, /* MMC card detect */ | ||
158 | }; | ||
159 | |||
160 | #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE) | ||
161 | static struct resource cmx270_dm9000_resource[] = { | ||
50 | [0] = { | 162 | [0] = { |
51 | .start = DM9000_PHYS_BASE, | 163 | .start = DM9000_PHYS_BASE, |
52 | .end = DM9000_PHYS_BASE + 4, | 164 | .end = DM9000_PHYS_BASE + 4, |
@@ -60,35 +172,49 @@ static struct resource cmx270_dm9k_resource[] = { | |||
60 | [2] = { | 172 | [2] = { |
61 | .start = CMX270_ETHIRQ, | 173 | .start = CMX270_ETHIRQ, |
62 | .end = CMX270_ETHIRQ, | 174 | .end = CMX270_ETHIRQ, |
63 | .flags = IORESOURCE_IRQ, | 175 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, |
64 | } | 176 | } |
65 | }; | 177 | }; |
66 | 178 | ||
67 | /* for the moment we limit ourselves to 32bit IO until some | 179 | static struct dm9000_plat_data cmx270_dm9000_platdata = { |
68 | * better IO routines can be written and tested | ||
69 | */ | ||
70 | static struct dm9000_plat_data cmx270_dm9k_platdata = { | ||
71 | .flags = DM9000_PLATF_32BITONLY, | 180 | .flags = DM9000_PLATF_32BITONLY, |
72 | }; | 181 | }; |
73 | 182 | ||
74 | /* Ethernet device */ | 183 | static struct platform_device cmx270_dm9000_device = { |
75 | static struct platform_device cmx270_device_dm9k = { | ||
76 | .name = "dm9000", | 184 | .name = "dm9000", |
77 | .id = 0, | 185 | .id = 0, |
78 | .num_resources = ARRAY_SIZE(cmx270_dm9k_resource), | 186 | .num_resources = ARRAY_SIZE(cmx270_dm9000_resource), |
79 | .resource = cmx270_dm9k_resource, | 187 | .resource = cmx270_dm9000_resource, |
80 | .dev = { | 188 | .dev = { |
81 | .platform_data = &cmx270_dm9k_platdata, | 189 | .platform_data = &cmx270_dm9000_platdata, |
82 | } | 190 | } |
83 | }; | 191 | }; |
84 | 192 | ||
85 | /* touchscreen controller */ | 193 | static void __init cmx270_init_dm9000(void) |
194 | { | ||
195 | platform_device_register(&cmx270_dm9000_device); | ||
196 | } | ||
197 | #else | ||
198 | static inline void cmx270_init_dm9000(void) {} | ||
199 | #endif | ||
200 | |||
201 | /* UCB1400 touchscreen controller */ | ||
202 | #if defined(CONFIG_TOUCHSCREEN_UCB1400) || defined(CONFIG_TOUCHSCREEN_UCB1400_MODULE) | ||
86 | static struct platform_device cmx270_ts_device = { | 203 | static struct platform_device cmx270_ts_device = { |
87 | .name = "ucb1400_ts", | 204 | .name = "ucb1400_ts", |
88 | .id = -1, | 205 | .id = -1, |
89 | }; | 206 | }; |
90 | 207 | ||
91 | /* RTC */ | 208 | static void __init cmx270_init_touchscreen(void) |
209 | { | ||
210 | platform_device_register(&cmx270_ts_device); | ||
211 | } | ||
212 | #else | ||
213 | static inline void cmx270_init_touchscreen(void) {} | ||
214 | #endif | ||
215 | |||
216 | /* V3020 RTC */ | ||
217 | #if defined(CONFIG_RTC_DRV_V3020) || defined(CONFIG_RTC_DRV_V3020_MODULE) | ||
92 | static struct resource cmx270_v3020_resource[] = { | 218 | static struct resource cmx270_v3020_resource[] = { |
93 | [0] = { | 219 | [0] = { |
94 | .start = RTC_PHYS_BASE, | 220 | .start = RTC_PHYS_BASE, |
@@ -111,28 +237,67 @@ static struct platform_device cmx270_rtc_device = { | |||
111 | } | 237 | } |
112 | }; | 238 | }; |
113 | 239 | ||
114 | /* | 240 | static void __init cmx270_init_rtc(void) |
115 | * CM-X270 LEDs | 241 | { |
116 | */ | 242 | platform_device_register(&cmx270_rtc_device); |
243 | } | ||
244 | #else | ||
245 | static inline void cmx270_init_rtc(void) {} | ||
246 | #endif | ||
247 | |||
248 | /* CM-X270 LEDs */ | ||
249 | #if defined(CONFIG_LEDS_GPIO) || defined(CONFIG_LEDS_GPIO_MODULE) | ||
250 | static struct gpio_led cmx270_leds[] = { | ||
251 | [0] = { | ||
252 | .name = "cm-x270:red", | ||
253 | .default_trigger = "nand-disk", | ||
254 | .gpio = 93, | ||
255 | .active_low = 1, | ||
256 | }, | ||
257 | [1] = { | ||
258 | .name = "cm-x270:green", | ||
259 | .default_trigger = "heartbeat", | ||
260 | .gpio = 94, | ||
261 | .active_low = 1, | ||
262 | }, | ||
263 | }; | ||
264 | |||
265 | static struct gpio_led_platform_data cmx270_gpio_led_pdata = { | ||
266 | .num_leds = ARRAY_SIZE(cmx270_leds), | ||
267 | .leds = cmx270_leds, | ||
268 | }; | ||
269 | |||
117 | static struct platform_device cmx270_led_device = { | 270 | static struct platform_device cmx270_led_device = { |
118 | .name = "cm-x270-led", | 271 | .name = "leds-gpio", |
119 | .id = -1, | 272 | .id = -1, |
273 | .dev = { | ||
274 | .platform_data = &cmx270_gpio_led_pdata, | ||
275 | }, | ||
120 | }; | 276 | }; |
121 | 277 | ||
278 | static void __init cmx270_init_leds(void) | ||
279 | { | ||
280 | platform_device_register(&cmx270_led_device); | ||
281 | } | ||
282 | #else | ||
283 | static inline void cmx270_init_leds(void) {} | ||
284 | #endif | ||
285 | |||
122 | /* 2700G graphics */ | 286 | /* 2700G graphics */ |
287 | #if defined(CONFIG_FB_MBX) || defined(CONFIG_FB_MBX_MODULE) | ||
123 | static u64 fb_dma_mask = ~(u64)0; | 288 | static u64 fb_dma_mask = ~(u64)0; |
124 | 289 | ||
125 | static struct resource cmx270_2700G_resource[] = { | 290 | static struct resource cmx270_2700G_resource[] = { |
126 | /* frame buffer memory including ODFB and External SDRAM */ | 291 | /* frame buffer memory including ODFB and External SDRAM */ |
127 | [0] = { | 292 | [0] = { |
128 | .start = MARATHON_PHYS, | 293 | .start = PXA_CS2_PHYS, |
129 | .end = MARATHON_PHYS + 0x02000000, | 294 | .end = PXA_CS2_PHYS + 0x01ffffff, |
130 | .flags = IORESOURCE_MEM, | 295 | .flags = IORESOURCE_MEM, |
131 | }, | 296 | }, |
132 | /* Marathon registers */ | 297 | /* Marathon registers */ |
133 | [1] = { | 298 | [1] = { |
134 | .start = MARATHON_PHYS + 0x03fe0000, | 299 | .start = PXA_CS2_PHYS + 0x03fe0000, |
135 | .end = MARATHON_PHYS + 0x03ffffff, | 300 | .end = PXA_CS2_PHYS + 0x03ffffff, |
136 | .flags = IORESOURCE_MEM, | 301 | .flags = IORESOURCE_MEM, |
137 | }, | 302 | }, |
138 | }; | 303 | }; |
@@ -200,43 +365,15 @@ static struct platform_device cmx270_2700G = { | |||
200 | .id = -1, | 365 | .id = -1, |
201 | }; | 366 | }; |
202 | 367 | ||
203 | static u64 ata_dma_mask = ~(u64)0; | 368 | static void __init cmx270_init_2700G(void) |
204 | 369 | { | |
205 | static struct platform_device cmx270_ata = { | 370 | platform_device_register(&cmx270_2700G); |
206 | .name = "pata_cm_x270", | 371 | } |
207 | .id = -1, | 372 | #else |
208 | .dev = { | 373 | static inline void cmx270_init_2700G(void) {} |
209 | .dma_mask = &ata_dma_mask, | 374 | #endif |
210 | .coherent_dma_mask = 0xffffffff, | ||
211 | }, | ||
212 | }; | ||
213 | |||
214 | /* platform devices */ | ||
215 | static struct platform_device *platform_devices[] __initdata = { | ||
216 | &cmx270_device_dm9k, | ||
217 | &cmx270_rtc_device, | ||
218 | &cmx270_2700G, | ||
219 | &cmx270_led_device, | ||
220 | &cmx270_ts_device, | ||
221 | &cmx270_ata, | ||
222 | }; | ||
223 | |||
224 | /* Map PCI companion and IDE/General Purpose CS statically */ | ||
225 | static struct map_desc cmx270_io_desc[] __initdata = { | ||
226 | [0] = { /* IDE/general purpose space */ | ||
227 | .virtual = CMX270_IDE104_VIRT, | ||
228 | .pfn = __phys_to_pfn(CMX270_IDE104_PHYS), | ||
229 | .length = SZ_64M - SZ_8M, | ||
230 | .type = MT_DEVICE | ||
231 | }, | ||
232 | [1] = { /* PCI bridge */ | ||
233 | .virtual = CMX270_IT8152_VIRT, | ||
234 | .pfn = __phys_to_pfn(CMX270_IT8152_PHYS), | ||
235 | .length = SZ_64M, | ||
236 | .type = MT_DEVICE | ||
237 | }, | ||
238 | }; | ||
239 | 375 | ||
376 | #if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE) | ||
240 | /* | 377 | /* |
241 | Display definitions | 378 | Display definitions |
242 | keep these for backwards compatibility, although symbolic names (as | 379 | keep these for backwards compatibility, although symbolic names (as |
@@ -446,7 +583,16 @@ static int __init cmx270_set_display(char *str) | |||
446 | */ | 583 | */ |
447 | __setup("monitor=", cmx270_set_display); | 584 | __setup("monitor=", cmx270_set_display); |
448 | 585 | ||
586 | static void __init cmx270_init_display(void) | ||
587 | { | ||
588 | set_pxa_fb_info(cmx270_display); | ||
589 | } | ||
590 | #else | ||
591 | static inline void cmx270_init_display(void) {} | ||
592 | #endif | ||
593 | |||
449 | /* PXA27x OHCI controller setup */ | 594 | /* PXA27x OHCI controller setup */ |
595 | #if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE) | ||
450 | static int cmx270_ohci_init(struct device *dev) | 596 | static int cmx270_ohci_init(struct device *dev) |
451 | { | 597 | { |
452 | /* Set the Power Control Polarity Low */ | 598 | /* Set the Power Control Polarity Low */ |
@@ -461,35 +607,37 @@ static struct pxaohci_platform_data cmx270_ohci_platform_data = { | |||
461 | .init = cmx270_ohci_init, | 607 | .init = cmx270_ohci_init, |
462 | }; | 608 | }; |
463 | 609 | ||
610 | static void __init cmx270_init_ohci(void) | ||
611 | { | ||
612 | pxa_set_ohci_info(&cmx270_ohci_platform_data); | ||
613 | } | ||
614 | #else | ||
615 | static inline void cmx270_init_ohci(void) {} | ||
616 | #endif | ||
464 | 617 | ||
618 | #if defined(CONFIG_MMC) || defined(CONFIG_MMC_MODULE) | ||
465 | static int cmx270_mci_init(struct device *dev, | 619 | static int cmx270_mci_init(struct device *dev, |
466 | irq_handler_t cmx270_detect_int, | 620 | irq_handler_t cmx270_detect_int, |
467 | void *data) | 621 | void *data) |
468 | { | 622 | { |
469 | int err; | 623 | int err; |
470 | 624 | ||
471 | /* | 625 | err = gpio_request(GPIO105_MMC_POWER, "MMC/SD power"); |
472 | * setup GPIO for PXA27x MMC controller | 626 | if (err) { |
473 | */ | 627 | dev_warn(dev, "power gpio unavailable\n"); |
474 | pxa_gpio_mode(GPIO32_MMCCLK_MD); | 628 | return err; |
475 | pxa_gpio_mode(GPIO112_MMCCMD_MD); | 629 | } |
476 | pxa_gpio_mode(GPIO92_MMCDAT0_MD); | ||
477 | pxa_gpio_mode(GPIO109_MMCDAT1_MD); | ||
478 | pxa_gpio_mode(GPIO110_MMCDAT2_MD); | ||
479 | pxa_gpio_mode(GPIO111_MMCDAT3_MD); | ||
480 | |||
481 | /* SB-X270 uses GPIO105 as SD power enable */ | ||
482 | pxa_gpio_mode(105 | GPIO_OUT); | ||
483 | 630 | ||
484 | /* card detect IRQ on GPIO 83 */ | 631 | gpio_direction_output(GPIO105_MMC_POWER, 0); |
485 | pxa_gpio_mode(IRQ_TO_GPIO(CMX270_MMC_IRQ)); | ||
486 | 632 | ||
487 | err = request_irq(CMX270_MMC_IRQ, cmx270_detect_int, | 633 | err = request_irq(CMX270_MMC_IRQ, cmx270_detect_int, |
488 | IRQF_DISABLED | IRQF_TRIGGER_FALLING, | 634 | IRQF_DISABLED | IRQF_TRIGGER_FALLING, |
489 | "MMC card detect", data); | 635 | "MMC card detect", data); |
490 | if (err) | 636 | if (err) { |
491 | printk(KERN_ERR "cmx270_mci_init: MMC/SD: can't" | 637 | gpio_free(GPIO105_MMC_POWER); |
492 | " request MMC card detect IRQ\n"); | 638 | dev_err(dev, "cmx270_mci_init: MMC/SD: can't" |
639 | " request MMC card detect IRQ\n"); | ||
640 | } | ||
493 | 641 | ||
494 | return err; | 642 | return err; |
495 | } | 643 | } |
@@ -499,17 +647,18 @@ static void cmx270_mci_setpower(struct device *dev, unsigned int vdd) | |||
499 | struct pxamci_platform_data *p_d = dev->platform_data; | 647 | struct pxamci_platform_data *p_d = dev->platform_data; |
500 | 648 | ||
501 | if ((1 << vdd) & p_d->ocr_mask) { | 649 | if ((1 << vdd) & p_d->ocr_mask) { |
502 | printk(KERN_DEBUG "%s: on\n", __func__); | 650 | dev_dbg(dev, "power on\n"); |
503 | GPCR(105) = GPIO_bit(105); | 651 | gpio_set_value(GPIO105_MMC_POWER, 0); |
504 | } else { | 652 | } else { |
505 | GPSR(105) = GPIO_bit(105); | 653 | gpio_set_value(GPIO105_MMC_POWER, 1); |
506 | printk(KERN_DEBUG "%s: off\n", __func__); | 654 | dev_dbg(dev, "power off\n"); |
507 | } | 655 | } |
508 | } | 656 | } |
509 | 657 | ||
510 | static void cmx270_mci_exit(struct device *dev, void *data) | 658 | static void cmx270_mci_exit(struct device *dev, void *data) |
511 | { | 659 | { |
512 | free_irq(CMX270_MMC_IRQ, data); | 660 | free_irq(CMX270_MMC_IRQ, data); |
661 | gpio_free(GPIO105_MMC_POWER); | ||
513 | } | 662 | } |
514 | 663 | ||
515 | static struct pxamci_platform_data cmx270_mci_platform_data = { | 664 | static struct pxamci_platform_data cmx270_mci_platform_data = { |
@@ -519,6 +668,14 @@ static struct pxamci_platform_data cmx270_mci_platform_data = { | |||
519 | .exit = cmx270_mci_exit, | 668 | .exit = cmx270_mci_exit, |
520 | }; | 669 | }; |
521 | 670 | ||
671 | static void __init cmx270_init_mmc(void) | ||
672 | { | ||
673 | pxa_set_mci_info(&cmx270_mci_platform_data); | ||
674 | } | ||
675 | #else | ||
676 | static inline void cmx270_init_mmc(void) {} | ||
677 | #endif | ||
678 | |||
522 | #ifdef CONFIG_PM | 679 | #ifdef CONFIG_PM |
523 | static unsigned long sleep_save_msc[10]; | 680 | static unsigned long sleep_save_msc[10]; |
524 | 681 | ||
@@ -580,53 +737,63 @@ static int __init cmx270_pm_init(void) | |||
580 | static int __init cmx270_pm_init(void) { return 0; } | 737 | static int __init cmx270_pm_init(void) { return 0; } |
581 | #endif | 738 | #endif |
582 | 739 | ||
583 | static void __init cmx270_init(void) | 740 | #if defined(CONFIG_SND_PXA2XX_AC97) || defined(CONFIG_SND_PXA2XX_AC97_MODULE) |
741 | static void __init cmx270_init_ac97(void) | ||
584 | { | 742 | { |
585 | cmx270_pm_init(); | ||
586 | |||
587 | set_pxa_fb_info(cmx270_display); | ||
588 | |||
589 | /* register CM-X270 platform devices */ | ||
590 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); | ||
591 | pxa_set_ac97_info(NULL); | 743 | pxa_set_ac97_info(NULL); |
744 | } | ||
745 | #else | ||
746 | static inline void cmx270_init_ac97(void) {} | ||
747 | #endif | ||
592 | 748 | ||
593 | /* set MCI and OHCI platform parameters */ | 749 | static void __init cmx270_init(void) |
594 | pxa_set_mci_info(&cmx270_mci_platform_data); | 750 | { |
595 | pxa_set_ohci_info(&cmx270_ohci_platform_data); | 751 | cmx270_pm_init(); |
596 | |||
597 | /* This enables the STUART */ | ||
598 | pxa_gpio_mode(GPIO46_STRXD_MD); | ||
599 | pxa_gpio_mode(GPIO47_STTXD_MD); | ||
600 | 752 | ||
601 | /* This enables the BTUART */ | 753 | pxa2xx_mfp_config(ARRAY_AND_SIZE(cmx270_pin_config)); |
602 | pxa_gpio_mode(GPIO42_BTRXD_MD); | 754 | |
603 | pxa_gpio_mode(GPIO43_BTTXD_MD); | 755 | cmx270_init_dm9000(); |
604 | pxa_gpio_mode(GPIO44_BTCTS_MD); | 756 | cmx270_init_rtc(); |
605 | pxa_gpio_mode(GPIO45_BTRTS_MD); | 757 | cmx270_init_display(); |
758 | cmx270_init_mmc(); | ||
759 | cmx270_init_ohci(); | ||
760 | cmx270_init_ac97(); | ||
761 | cmx270_init_touchscreen(); | ||
762 | cmx270_init_leds(); | ||
763 | cmx270_init_2700G(); | ||
606 | } | 764 | } |
607 | 765 | ||
608 | static void __init cmx270_init_irq(void) | 766 | static void __init cmx270_init_irq(void) |
609 | { | 767 | { |
610 | pxa27x_init_irq(); | 768 | pxa27x_init_irq(); |
611 | 769 | ||
770 | cmx270_pci_init_irq(GPIO22_IT8152_IRQ); | ||
771 | } | ||
612 | 772 | ||
613 | cmx270_pci_init_irq(); | 773 | #ifdef CONFIG_PCI |
774 | /* Map PCI companion statically */ | ||
775 | static struct map_desc cmx270_io_desc[] __initdata = { | ||
776 | [0] = { /* PCI bridge */ | ||
777 | .virtual = CMX270_IT8152_VIRT, | ||
778 | .pfn = __phys_to_pfn(PXA_CS4_PHYS), | ||
779 | .length = SZ_64M, | ||
780 | .type = MT_DEVICE | ||
781 | }, | ||
782 | }; | ||
614 | 783 | ||
615 | /* Setup interrupt for dm9000 */ | 784 | static void __init cmx270_map_io(void) |
616 | pxa_gpio_mode(IRQ_TO_GPIO(CMX270_ETHIRQ)); | 785 | { |
617 | set_irq_type(CMX270_ETHIRQ, IRQT_RISING); | 786 | pxa_map_io(); |
787 | iotable_init(cmx270_io_desc, ARRAY_SIZE(cmx270_io_desc)); | ||
618 | 788 | ||
619 | /* Setup interrupt for 2700G */ | 789 | it8152_base_address = CMX270_IT8152_VIRT; |
620 | pxa_gpio_mode(IRQ_TO_GPIO(CMX270_GFXIRQ)); | ||
621 | set_irq_type(CMX270_GFXIRQ, IRQT_FALLING); | ||
622 | } | 790 | } |
623 | 791 | #else | |
624 | static void __init cmx270_map_io(void) | 792 | static void __init cmx270_map_io(void) |
625 | { | 793 | { |
626 | pxa_map_io(); | 794 | pxa_map_io(); |
627 | iotable_init(cmx270_io_desc, ARRAY_SIZE(cmx270_io_desc)); | ||
628 | } | 795 | } |
629 | 796 | #endif | |
630 | 797 | ||
631 | MACHINE_START(ARMCORE, "Compulab CM-x270") | 798 | MACHINE_START(ARMCORE, "Compulab CM-x270") |
632 | .boot_params = 0xa0000100, | 799 | .boot_params = 0xa0000100, |
diff --git a/arch/arm/mach-pxa/em-x270.c b/arch/arm/mach-pxa/em-x270.c index e23865affc0c..e5cc6ca63c75 100644 --- a/arch/arm/mach-pxa/em-x270.c +++ b/arch/arm/mach-pxa/em-x270.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Support for CompuLab EM-x270 platform | 2 | * Support for CompuLab EM-X270 platform |
3 | * | 3 | * |
4 | * Copyright (C) 2007 CompuLab, Ltd. | 4 | * Copyright (C) 2007, 2008 CompuLab, Ltd. |
5 | * Author: Mike Rapoport <mike@compulab.co.il> | 5 | * Author: Mike Rapoport <mike@compulab.co.il> |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
@@ -14,31 +14,159 @@ | |||
14 | 14 | ||
15 | #include <linux/dm9000.h> | 15 | #include <linux/dm9000.h> |
16 | #include <linux/rtc-v3020.h> | 16 | #include <linux/rtc-v3020.h> |
17 | |||
18 | #include <linux/mtd/nand.h> | 17 | #include <linux/mtd/nand.h> |
19 | #include <linux/mtd/partitions.h> | 18 | #include <linux/mtd/partitions.h> |
19 | #include <linux/input.h> | ||
20 | #include <linux/gpio_keys.h> | ||
21 | #include <linux/gpio.h> | ||
20 | 22 | ||
21 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
22 | |||
23 | #include <asm/mach/arch.h> | 24 | #include <asm/mach/arch.h> |
24 | 25 | ||
26 | #include <asm/arch/mfp-pxa27x.h> | ||
25 | #include <asm/arch/pxa-regs.h> | 27 | #include <asm/arch/pxa-regs.h> |
26 | #include <asm/arch/pxa2xx-gpio.h> | ||
27 | #include <asm/arch/pxa27x-udc.h> | 28 | #include <asm/arch/pxa27x-udc.h> |
28 | #include <asm/arch/audio.h> | 29 | #include <asm/arch/audio.h> |
29 | #include <asm/arch/pxafb.h> | 30 | #include <asm/arch/pxafb.h> |
30 | #include <asm/arch/ohci.h> | 31 | #include <asm/arch/ohci.h> |
31 | #include <asm/arch/mmc.h> | 32 | #include <asm/arch/mmc.h> |
32 | #include <asm/arch/bitfield.h> | 33 | #include <asm/arch/pxa27x_keypad.h> |
33 | 34 | ||
34 | #include "generic.h" | 35 | #include "generic.h" |
35 | 36 | ||
36 | /* GPIO IRQ usage */ | 37 | /* GPIO IRQ usage */ |
37 | #define EM_X270_MMC_PD (105) | 38 | #define GPIO41_ETHIRQ (41) |
38 | #define EM_X270_ETHIRQ IRQ_GPIO(41) | 39 | #define GPIO13_MMC_CD (13) |
39 | #define EM_X270_MMC_IRQ IRQ_GPIO(13) | 40 | #define EM_X270_ETHIRQ IRQ_GPIO(GPIO41_ETHIRQ) |
41 | #define EM_X270_MMC_CD IRQ_GPIO(GPIO13_MMC_CD) | ||
42 | |||
43 | /* NAND control GPIOs */ | ||
44 | #define GPIO11_NAND_CS (11) | ||
45 | #define GPIO56_NAND_RB (56) | ||
46 | |||
47 | static unsigned long em_x270_pin_config[] = { | ||
48 | /* AC'97 */ | ||
49 | GPIO28_AC97_BITCLK, | ||
50 | GPIO29_AC97_SDATA_IN_0, | ||
51 | GPIO30_AC97_SDATA_OUT, | ||
52 | GPIO31_AC97_SYNC, | ||
53 | GPIO98_AC97_SYSCLK, | ||
54 | GPIO113_AC97_nRESET, | ||
55 | |||
56 | /* BTUART */ | ||
57 | GPIO42_BTUART_RXD, | ||
58 | GPIO43_BTUART_TXD, | ||
59 | GPIO44_BTUART_CTS, | ||
60 | GPIO45_BTUART_RTS, | ||
61 | |||
62 | /* STUART */ | ||
63 | GPIO46_STUART_RXD, | ||
64 | GPIO47_STUART_TXD, | ||
65 | |||
66 | /* MCI controller */ | ||
67 | GPIO32_MMC_CLK, | ||
68 | GPIO112_MMC_CMD, | ||
69 | GPIO92_MMC_DAT_0, | ||
70 | GPIO109_MMC_DAT_1, | ||
71 | GPIO110_MMC_DAT_2, | ||
72 | GPIO111_MMC_DAT_3, | ||
73 | |||
74 | /* LCD */ | ||
75 | GPIO58_LCD_LDD_0, | ||
76 | GPIO59_LCD_LDD_1, | ||
77 | GPIO60_LCD_LDD_2, | ||
78 | GPIO61_LCD_LDD_3, | ||
79 | GPIO62_LCD_LDD_4, | ||
80 | GPIO63_LCD_LDD_5, | ||
81 | GPIO64_LCD_LDD_6, | ||
82 | GPIO65_LCD_LDD_7, | ||
83 | GPIO66_LCD_LDD_8, | ||
84 | GPIO67_LCD_LDD_9, | ||
85 | GPIO68_LCD_LDD_10, | ||
86 | GPIO69_LCD_LDD_11, | ||
87 | GPIO70_LCD_LDD_12, | ||
88 | GPIO71_LCD_LDD_13, | ||
89 | GPIO72_LCD_LDD_14, | ||
90 | GPIO73_LCD_LDD_15, | ||
91 | GPIO74_LCD_FCLK, | ||
92 | GPIO75_LCD_LCLK, | ||
93 | GPIO76_LCD_PCLK, | ||
94 | GPIO77_LCD_BIAS, | ||
95 | |||
96 | /* QCI */ | ||
97 | GPIO84_CIF_FV, | ||
98 | GPIO25_CIF_LV, | ||
99 | GPIO53_CIF_MCLK, | ||
100 | GPIO54_CIF_PCLK, | ||
101 | GPIO81_CIF_DD_0, | ||
102 | GPIO55_CIF_DD_1, | ||
103 | GPIO51_CIF_DD_2, | ||
104 | GPIO50_CIF_DD_3, | ||
105 | GPIO52_CIF_DD_4, | ||
106 | GPIO48_CIF_DD_5, | ||
107 | GPIO17_CIF_DD_6, | ||
108 | GPIO12_CIF_DD_7, | ||
109 | |||
110 | /* I2C */ | ||
111 | GPIO117_I2C_SCL, | ||
112 | GPIO118_I2C_SDA, | ||
113 | |||
114 | /* Keypad */ | ||
115 | GPIO100_KP_MKIN_0 | WAKEUP_ON_LEVEL_HIGH, | ||
116 | GPIO101_KP_MKIN_1 | WAKEUP_ON_LEVEL_HIGH, | ||
117 | GPIO102_KP_MKIN_2 | WAKEUP_ON_LEVEL_HIGH, | ||
118 | GPIO34_KP_MKIN_3 | WAKEUP_ON_LEVEL_HIGH, | ||
119 | GPIO39_KP_MKIN_4 | WAKEUP_ON_LEVEL_HIGH, | ||
120 | GPIO99_KP_MKIN_5 | WAKEUP_ON_LEVEL_HIGH, | ||
121 | GPIO91_KP_MKIN_6 | WAKEUP_ON_LEVEL_HIGH, | ||
122 | GPIO36_KP_MKIN_7 | WAKEUP_ON_LEVEL_HIGH, | ||
123 | GPIO103_KP_MKOUT_0, | ||
124 | GPIO104_KP_MKOUT_1, | ||
125 | GPIO105_KP_MKOUT_2, | ||
126 | GPIO106_KP_MKOUT_3, | ||
127 | GPIO107_KP_MKOUT_4, | ||
128 | GPIO108_KP_MKOUT_5, | ||
129 | GPIO96_KP_MKOUT_6, | ||
130 | GPIO22_KP_MKOUT_7, | ||
131 | |||
132 | /* SSP1 */ | ||
133 | GPIO26_SSP1_RXD, | ||
134 | GPIO23_SSP1_SCLK, | ||
135 | GPIO24_SSP1_SFRM, | ||
136 | GPIO57_SSP1_TXD, | ||
137 | |||
138 | /* SSP2 */ | ||
139 | GPIO19_SSP2_SCLK, | ||
140 | GPIO14_SSP2_SFRM, | ||
141 | GPIO89_SSP2_TXD, | ||
142 | GPIO88_SSP2_RXD, | ||
143 | |||
144 | /* SDRAM and local bus */ | ||
145 | GPIO15_nCS_1, | ||
146 | GPIO78_nCS_2, | ||
147 | GPIO79_nCS_3, | ||
148 | GPIO80_nCS_4, | ||
149 | GPIO49_nPWE, | ||
150 | GPIO18_RDY, | ||
151 | |||
152 | /* GPIO */ | ||
153 | GPIO1_GPIO | WAKEUP_ON_EDGE_BOTH, | ||
154 | |||
155 | /* power controls */ | ||
156 | GPIO20_GPIO | MFP_LPM_DRIVE_LOW, /* GPRS_PWEN */ | ||
157 | GPIO115_GPIO | MFP_LPM_DRIVE_LOW, /* WLAN_PWEN */ | ||
158 | |||
159 | /* NAND controls */ | ||
160 | GPIO11_GPIO | MFP_LPM_DRIVE_HIGH, /* NAND CE# */ | ||
161 | GPIO56_GPIO, /* NAND Ready/Busy */ | ||
162 | |||
163 | /* interrupts */ | ||
164 | GPIO13_GPIO, /* MMC card detect */ | ||
165 | GPIO41_GPIO, /* DM9000 interrupt */ | ||
166 | }; | ||
40 | 167 | ||
41 | static struct resource em_x270_dm9k_resource[] = { | 168 | #if defined(CONFIG_DM9000) || defined(CONFIG_DM9000_MODULE) |
169 | static struct resource em_x270_dm9000_resource[] = { | ||
42 | [0] = { | 170 | [0] = { |
43 | .start = PXA_CS2_PHYS, | 171 | .start = PXA_CS2_PHYS, |
44 | .end = PXA_CS2_PHYS + 3, | 172 | .end = PXA_CS2_PHYS + 3, |
@@ -52,36 +180,34 @@ static struct resource em_x270_dm9k_resource[] = { | |||
52 | [2] = { | 180 | [2] = { |
53 | .start = EM_X270_ETHIRQ, | 181 | .start = EM_X270_ETHIRQ, |
54 | .end = EM_X270_ETHIRQ, | 182 | .end = EM_X270_ETHIRQ, |
55 | .flags = IORESOURCE_IRQ, | 183 | .flags = IORESOURCE_IRQ | IORESOURCE_IRQ_HIGHEDGE, |
56 | } | 184 | } |
57 | }; | 185 | }; |
58 | 186 | ||
59 | /* for the moment we limit ourselves to 32bit IO until some | 187 | static struct dm9000_plat_data em_x270_dm9000_platdata = { |
60 | * better IO routines can be written and tested | ||
61 | */ | ||
62 | static struct dm9000_plat_data em_x270_dm9k_platdata = { | ||
63 | .flags = DM9000_PLATF_32BITONLY, | 188 | .flags = DM9000_PLATF_32BITONLY, |
64 | }; | 189 | }; |
65 | 190 | ||
66 | /* Ethernet device */ | 191 | static struct platform_device em_x270_dm9000 = { |
67 | static struct platform_device em_x270_dm9k = { | ||
68 | .name = "dm9000", | 192 | .name = "dm9000", |
69 | .id = 0, | 193 | .id = 0, |
70 | .num_resources = ARRAY_SIZE(em_x270_dm9k_resource), | 194 | .num_resources = ARRAY_SIZE(em_x270_dm9000_resource), |
71 | .resource = em_x270_dm9k_resource, | 195 | .resource = em_x270_dm9000_resource, |
72 | .dev = { | 196 | .dev = { |
73 | .platform_data = &em_x270_dm9k_platdata, | 197 | .platform_data = &em_x270_dm9000_platdata, |
74 | } | 198 | } |
75 | }; | 199 | }; |
76 | 200 | ||
77 | /* WM9712 touchscreen controller. Hopefully the driver will make it to | 201 | static void __init em_x270_init_dm9000(void) |
78 | * the mainstream sometime */ | 202 | { |
79 | static struct platform_device em_x270_ts = { | 203 | platform_device_register(&em_x270_dm9000); |
80 | .name = "wm97xx-ts", | 204 | } |
81 | .id = -1, | 205 | #else |
82 | }; | 206 | static inline void em_x270_init_dm9000(void) {} |
207 | #endif | ||
83 | 208 | ||
84 | /* RTC */ | 209 | /* V3020 RTC */ |
210 | #if defined(CONFIG_RTC_DRV_V3020) || defined(CONFIG_RTC_DRV_V3020_MODULE) | ||
85 | static struct resource em_x270_v3020_resource[] = { | 211 | static struct resource em_x270_v3020_resource[] = { |
86 | [0] = { | 212 | [0] = { |
87 | .start = PXA_CS4_PHYS, | 213 | .start = PXA_CS4_PHYS, |
@@ -104,20 +230,26 @@ static struct platform_device em_x270_rtc = { | |||
104 | } | 230 | } |
105 | }; | 231 | }; |
106 | 232 | ||
107 | /* NAND flash */ | 233 | static void __init em_x270_init_rtc(void) |
108 | #define GPIO_NAND_CS (11) | 234 | { |
109 | #define GPIO_NAND_RB (56) | 235 | platform_device_register(&em_x270_rtc); |
236 | } | ||
237 | #else | ||
238 | static inline void em_x270_init_rtc(void) {} | ||
239 | #endif | ||
110 | 240 | ||
241 | /* NAND flash */ | ||
242 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) | ||
111 | static inline void nand_cs_on(void) | 243 | static inline void nand_cs_on(void) |
112 | { | 244 | { |
113 | GPCR(GPIO_NAND_CS) = GPIO_bit(GPIO_NAND_CS); | 245 | gpio_set_value(GPIO11_NAND_CS, 0); |
114 | } | 246 | } |
115 | 247 | ||
116 | static void nand_cs_off(void) | 248 | static void nand_cs_off(void) |
117 | { | 249 | { |
118 | dsb(); | 250 | dsb(); |
119 | 251 | ||
120 | GPSR(GPIO_NAND_CS) = GPIO_bit(GPIO_NAND_CS); | 252 | gpio_set_value(GPIO11_NAND_CS, 1); |
121 | } | 253 | } |
122 | 254 | ||
123 | /* hardware specific access to control-lines */ | 255 | /* hardware specific access to control-lines */ |
@@ -157,7 +289,7 @@ static int em_x270_nand_device_ready(struct mtd_info *mtd) | |||
157 | { | 289 | { |
158 | dsb(); | 290 | dsb(); |
159 | 291 | ||
160 | return GPLR(GPIO_NAND_RB) & GPIO_bit(GPIO_NAND_RB); | 292 | return gpio_get_value(GPIO56_NAND_RB); |
161 | } | 293 | } |
162 | 294 | ||
163 | static struct mtd_partition em_x270_partition_info[] = { | 295 | static struct mtd_partition em_x270_partition_info[] = { |
@@ -210,16 +342,35 @@ static struct platform_device em_x270_nand = { | |||
210 | } | 342 | } |
211 | }; | 343 | }; |
212 | 344 | ||
213 | /* platform devices */ | 345 | static void __init em_x270_init_nand(void) |
214 | static struct platform_device *platform_devices[] __initdata = { | 346 | { |
215 | &em_x270_dm9k, | 347 | int err; |
216 | &em_x270_ts, | ||
217 | &em_x270_rtc, | ||
218 | &em_x270_nand, | ||
219 | }; | ||
220 | 348 | ||
349 | err = gpio_request(GPIO11_NAND_CS, "NAND CS"); | ||
350 | if (err) { | ||
351 | pr_warning("EM-X270: failed to request NAND CS gpio\n"); | ||
352 | return; | ||
353 | } | ||
354 | |||
355 | gpio_direction_output(GPIO11_NAND_CS, 1); | ||
356 | |||
357 | err = gpio_request(GPIO56_NAND_RB, "NAND R/B"); | ||
358 | if (err) { | ||
359 | pr_warning("EM-X270: failed to request NAND R/B gpio\n"); | ||
360 | gpio_free(GPIO11_NAND_CS); | ||
361 | return; | ||
362 | } | ||
363 | |||
364 | gpio_direction_input(GPIO56_NAND_RB); | ||
365 | |||
366 | platform_device_register(&em_x270_nand); | ||
367 | } | ||
368 | #else | ||
369 | static inline void em_x270_init_nand(void) {} | ||
370 | #endif | ||
221 | 371 | ||
222 | /* PXA27x OHCI controller setup */ | 372 | /* PXA27x OHCI controller setup */ |
373 | #if defined(CONFIG_USB_OHCI_HCD) || defined(CONFIG_USB_OHCI_HCD_MODULE) | ||
223 | static int em_x270_ohci_init(struct device *dev) | 374 | static int em_x270_ohci_init(struct device *dev) |
224 | { | 375 | { |
225 | /* Set the Power Control Polarity Low */ | 376 | /* Set the Power Control Polarity Low */ |
@@ -237,27 +388,23 @@ static struct pxaohci_platform_data em_x270_ohci_platform_data = { | |||
237 | .init = em_x270_ohci_init, | 388 | .init = em_x270_ohci_init, |
238 | }; | 389 | }; |
239 | 390 | ||
391 | static void __init em_x270_init_ohci(void) | ||
392 | { | ||
393 | pxa_set_ohci_info(&em_x270_ohci_platform_data); | ||
394 | } | ||
395 | #else | ||
396 | static inline void em_x270_init_ohci(void) {} | ||
397 | #endif | ||
240 | 398 | ||
399 | /* MCI controller setup */ | ||
400 | #if defined(CONFIG_MMC) || defined(CONFIG_MMC_MODULE) | ||
241 | static int em_x270_mci_init(struct device *dev, | 401 | static int em_x270_mci_init(struct device *dev, |
242 | irq_handler_t em_x270_detect_int, | 402 | irq_handler_t em_x270_detect_int, |
243 | void *data) | 403 | void *data) |
244 | { | 404 | { |
245 | int err; | 405 | int err = request_irq(EM_X270_MMC_CD, em_x270_detect_int, |
246 | 406 | IRQF_DISABLED | IRQF_TRIGGER_FALLING, | |
247 | /* setup GPIO for PXA27x MMC controller */ | 407 | "MMC card detect", data); |
248 | pxa_gpio_mode(GPIO32_MMCCLK_MD); | ||
249 | pxa_gpio_mode(GPIO112_MMCCMD_MD); | ||
250 | pxa_gpio_mode(GPIO92_MMCDAT0_MD); | ||
251 | pxa_gpio_mode(GPIO109_MMCDAT1_MD); | ||
252 | pxa_gpio_mode(GPIO110_MMCDAT2_MD); | ||
253 | pxa_gpio_mode(GPIO111_MMCDAT3_MD); | ||
254 | |||
255 | /* EM-X270 uses GPIO13 as SD power enable */ | ||
256 | pxa_gpio_mode(EM_X270_MMC_PD | GPIO_OUT); | ||
257 | |||
258 | err = request_irq(EM_X270_MMC_IRQ, em_x270_detect_int, | ||
259 | IRQF_DISABLED | IRQF_TRIGGER_FALLING, | ||
260 | "MMC card detect", data); | ||
261 | if (err) { | 408 | if (err) { |
262 | printk(KERN_ERR "%s: can't request MMC card detect IRQ: %d\n", | 409 | printk(KERN_ERR "%s: can't request MMC card detect IRQ: %d\n", |
263 | __func__, err); | 410 | __func__, err); |
@@ -279,7 +426,8 @@ static void em_x270_mci_setpower(struct device *dev, unsigned int vdd) | |||
279 | 426 | ||
280 | static void em_x270_mci_exit(struct device *dev, void *data) | 427 | static void em_x270_mci_exit(struct device *dev, void *data) |
281 | { | 428 | { |
282 | free_irq(EM_X270_MMC_IRQ, data); | 429 | int irq = gpio_to_irq(GPIO13_MMC_CD); |
430 | free_irq(irq, data); | ||
283 | } | 431 | } |
284 | 432 | ||
285 | static struct pxamci_platform_data em_x270_mci_platform_data = { | 433 | static struct pxamci_platform_data em_x270_mci_platform_data = { |
@@ -289,7 +437,16 @@ static struct pxamci_platform_data em_x270_mci_platform_data = { | |||
289 | .exit = em_x270_mci_exit, | 437 | .exit = em_x270_mci_exit, |
290 | }; | 438 | }; |
291 | 439 | ||
440 | static void __init em_x270_init_mmc(void) | ||
441 | { | ||
442 | pxa_set_mci_info(&em_x270_mci_platform_data); | ||
443 | } | ||
444 | #else | ||
445 | static inline void em_x270_init_mmc(void) {} | ||
446 | #endif | ||
447 | |||
292 | /* LCD 480x640 */ | 448 | /* LCD 480x640 */ |
449 | #if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE) | ||
293 | static struct pxafb_mode_info em_x270_lcd_mode = { | 450 | static struct pxafb_mode_info em_x270_lcd_mode = { |
294 | .pixclock = 50000, | 451 | .pixclock = 50000, |
295 | .bpp = 16, | 452 | .bpp = 16, |
@@ -307,40 +464,96 @@ static struct pxafb_mode_info em_x270_lcd_mode = { | |||
307 | static struct pxafb_mach_info em_x270_lcd = { | 464 | static struct pxafb_mach_info em_x270_lcd = { |
308 | .modes = &em_x270_lcd_mode, | 465 | .modes = &em_x270_lcd_mode, |
309 | .num_modes = 1, | 466 | .num_modes = 1, |
310 | .cmap_inverse = 0, | 467 | .lcd_conn = LCD_COLOR_TFT_16BPP, |
311 | .cmap_static = 0, | ||
312 | .lccr0 = LCCR0_PAS, | ||
313 | .lccr3 = LCCR3_PixClkDiv(0x01) | LCCR3_Acb(0xff), | ||
314 | }; | 468 | }; |
315 | 469 | static void __init em_x270_init_lcd(void) | |
316 | static void __init em_x270_init(void) | ||
317 | { | 470 | { |
318 | /* setup LCD */ | ||
319 | set_pxa_fb_info(&em_x270_lcd); | 471 | set_pxa_fb_info(&em_x270_lcd); |
472 | } | ||
473 | #else | ||
474 | static inline void em_x270_init_lcd(void) {} | ||
475 | #endif | ||
320 | 476 | ||
321 | /* register EM-X270 platform devices */ | 477 | #if defined(CONFIG_SND_PXA2XX_AC97) || defined(CONFIG_SND_PXA2XX_AC97_MODULE) |
322 | platform_add_devices(platform_devices, ARRAY_SIZE(platform_devices)); | 478 | static void __init em_x270_init_ac97(void) |
479 | { | ||
323 | pxa_set_ac97_info(NULL); | 480 | pxa_set_ac97_info(NULL); |
481 | } | ||
482 | #else | ||
483 | static inline void em_x270_init_ac97(void) {} | ||
484 | #endif | ||
485 | |||
486 | #if defined(CONFIG_KEYBOARD_PXA27x) || defined(CONFIG_KEYBOARD_PXA27x_MODULE) | ||
487 | static unsigned int em_x270_matrix_keys[] = { | ||
488 | KEY(0, 0, KEY_A), KEY(1, 0, KEY_UP), KEY(2, 1, KEY_B), | ||
489 | KEY(0, 2, KEY_LEFT), KEY(1, 1, KEY_ENTER), KEY(2, 0, KEY_RIGHT), | ||
490 | KEY(0, 1, KEY_C), KEY(1, 2, KEY_DOWN), KEY(2, 2, KEY_D), | ||
491 | }; | ||
324 | 492 | ||
325 | /* set MCI and OHCI platform parameters */ | 493 | struct pxa27x_keypad_platform_data em_x270_keypad_info = { |
326 | pxa_set_mci_info(&em_x270_mci_platform_data); | 494 | /* code map for the matrix keys */ |
327 | pxa_set_ohci_info(&em_x270_ohci_platform_data); | 495 | .matrix_key_rows = 3, |
496 | .matrix_key_cols = 3, | ||
497 | .matrix_key_map = em_x270_matrix_keys, | ||
498 | .matrix_key_map_size = ARRAY_SIZE(em_x270_matrix_keys), | ||
499 | }; | ||
500 | |||
501 | static void __init em_x270_init_keypad(void) | ||
502 | { | ||
503 | pxa_set_keypad_info(&em_x270_keypad_info); | ||
504 | } | ||
505 | #else | ||
506 | static inline void em_x270_init_keypad(void) {} | ||
507 | #endif | ||
328 | 508 | ||
329 | /* setup STUART GPIOs */ | 509 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
330 | pxa_gpio_mode(GPIO46_STRXD_MD); | 510 | static struct gpio_keys_button gpio_keys_button[] = { |
331 | pxa_gpio_mode(GPIO47_STTXD_MD); | 511 | [0] = { |
512 | .desc = "sleep/wakeup", | ||
513 | .code = KEY_SUSPEND, | ||
514 | .type = EV_PWR, | ||
515 | .gpio = 1, | ||
516 | .wakeup = 1, | ||
517 | }, | ||
518 | }; | ||
332 | 519 | ||
333 | /* setup BTUART GPIOs */ | 520 | static struct gpio_keys_platform_data em_x270_gpio_keys_data = { |
334 | pxa_gpio_mode(GPIO42_BTRXD_MD); | 521 | .buttons = gpio_keys_button, |
335 | pxa_gpio_mode(GPIO43_BTTXD_MD); | 522 | .nbuttons = 1, |
336 | pxa_gpio_mode(GPIO44_BTCTS_MD); | 523 | }; |
337 | pxa_gpio_mode(GPIO45_BTRTS_MD); | ||
338 | 524 | ||
339 | /* Setup interrupt for dm9000 */ | 525 | static struct platform_device em_x270_gpio_keys = { |
340 | set_irq_type(EM_X270_ETHIRQ, IRQT_RISING); | 526 | .name = "gpio-keys", |
527 | .id = -1, | ||
528 | .dev = { | ||
529 | .platform_data = &em_x270_gpio_keys_data, | ||
530 | }, | ||
531 | }; | ||
532 | |||
533 | static void __init em_x270_init_gpio_keys(void) | ||
534 | { | ||
535 | platform_device_register(&em_x270_gpio_keys); | ||
536 | } | ||
537 | #else | ||
538 | static inline void em_x270_init_gpio_keys(void) {} | ||
539 | #endif | ||
540 | |||
541 | static void __init em_x270_init(void) | ||
542 | { | ||
543 | pxa2xx_mfp_config(ARRAY_AND_SIZE(em_x270_pin_config)); | ||
544 | |||
545 | em_x270_init_dm9000(); | ||
546 | em_x270_init_rtc(); | ||
547 | em_x270_init_nand(); | ||
548 | em_x270_init_lcd(); | ||
549 | em_x270_init_mmc(); | ||
550 | em_x270_init_ohci(); | ||
551 | em_x270_init_keypad(); | ||
552 | em_x270_init_gpio_keys(); | ||
553 | em_x270_init_ac97(); | ||
341 | } | 554 | } |
342 | 555 | ||
343 | MACHINE_START(EM_X270, "Compulab EM-x270") | 556 | MACHINE_START(EM_X270, "Compulab EM-X270") |
344 | .boot_params = 0xa0000100, | 557 | .boot_params = 0xa0000100, |
345 | .phys_io = 0x40000000, | 558 | .phys_io = 0x40000000, |
346 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | 559 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, |
diff --git a/arch/arm/mach-pxa/ezx.c b/arch/arm/mach-pxa/ezx.c new file mode 100644 index 000000000000..0143eed65398 --- /dev/null +++ b/arch/arm/mach-pxa/ezx.c | |||
@@ -0,0 +1,220 @@ | |||
1 | /* | ||
2 | * ezx.c - Common code for the EZX platform. | ||
3 | * | ||
4 | * Copyright (C) 2005-2006 Harald Welte <laforge@openezx.org>, | ||
5 | * 2007-2008 Daniel Ribeiro <drwyrm@gmail.com>, | ||
6 | * 2007-2008 Stefan Schmidt <stefan@datenfreihafen.org> | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | */ | ||
13 | |||
14 | #include <linux/kernel.h> | ||
15 | #include <linux/init.h> | ||
16 | #include <linux/platform_device.h> | ||
17 | #include <linux/delay.h> | ||
18 | #include <linux/pwm_backlight.h> | ||
19 | |||
20 | #include <asm/setup.h> | ||
21 | #include <asm/arch/pxafb.h> | ||
22 | #include <asm/arch/ohci.h> | ||
23 | #include <asm/arch/i2c.h> | ||
24 | |||
25 | #include <asm/arch/mfp-pxa27x.h> | ||
26 | #include <asm/arch/pxa-regs.h> | ||
27 | #include <asm/arch/pxa2xx-regs.h> | ||
28 | #include <asm/mach-types.h> | ||
29 | #include <asm/mach/arch.h> | ||
30 | |||
31 | #include "devices.h" | ||
32 | #include "generic.h" | ||
33 | |||
34 | static struct platform_pwm_backlight_data ezx_backlight_data = { | ||
35 | .pwm_id = 0, | ||
36 | .max_brightness = 1023, | ||
37 | .dft_brightness = 1023, | ||
38 | .pwm_period_ns = 78770, | ||
39 | }; | ||
40 | |||
41 | static struct platform_device ezx_backlight_device = { | ||
42 | .name = "pwm-backlight", | ||
43 | .dev = { | ||
44 | .parent = &pxa27x_device_pwm0.dev, | ||
45 | .platform_data = &ezx_backlight_data, | ||
46 | }, | ||
47 | }; | ||
48 | |||
49 | static struct pxafb_mode_info mode_ezx_old = { | ||
50 | .pixclock = 150000, | ||
51 | .xres = 240, | ||
52 | .yres = 320, | ||
53 | .bpp = 16, | ||
54 | .hsync_len = 10, | ||
55 | .left_margin = 20, | ||
56 | .right_margin = 10, | ||
57 | .vsync_len = 2, | ||
58 | .upper_margin = 3, | ||
59 | .lower_margin = 2, | ||
60 | .sync = 0, | ||
61 | }; | ||
62 | |||
63 | static struct pxafb_mach_info ezx_fb_info_1 = { | ||
64 | .modes = &mode_ezx_old, | ||
65 | .num_modes = 1, | ||
66 | .lcd_conn = LCD_COLOR_TFT_16BPP, | ||
67 | }; | ||
68 | |||
69 | static struct pxafb_mode_info mode_72r89803y01 = { | ||
70 | .pixclock = 192308, | ||
71 | .xres = 240, | ||
72 | .yres = 320, | ||
73 | .bpp = 32, | ||
74 | .depth = 18, | ||
75 | .hsync_len = 10, | ||
76 | .left_margin = 20, | ||
77 | .right_margin = 10, | ||
78 | .vsync_len = 2, | ||
79 | .upper_margin = 3, | ||
80 | .lower_margin = 2, | ||
81 | .sync = 0, | ||
82 | }; | ||
83 | |||
84 | static struct pxafb_mach_info ezx_fb_info_2 = { | ||
85 | .modes = &mode_72r89803y01, | ||
86 | .num_modes = 1, | ||
87 | .lcd_conn = LCD_COLOR_TFT_18BPP, | ||
88 | }; | ||
89 | |||
90 | static struct platform_device *devices[] __initdata = { | ||
91 | &ezx_backlight_device, | ||
92 | }; | ||
93 | |||
94 | static unsigned long ezx_pin_config[] __initdata = { | ||
95 | /* PWM backlight */ | ||
96 | GPIO16_PWM0_OUT, | ||
97 | |||
98 | /* BTUART */ | ||
99 | GPIO42_BTUART_RXD, | ||
100 | GPIO43_BTUART_TXD, | ||
101 | GPIO44_BTUART_CTS, | ||
102 | GPIO45_BTUART_RTS, | ||
103 | |||
104 | /* STUART */ | ||
105 | GPIO46_STUART_RXD, | ||
106 | GPIO47_STUART_TXD, | ||
107 | |||
108 | /* For A780 support (connected with Neptune GSM chip) */ | ||
109 | GPIO30_USB_P3_2, /* ICL_TXENB */ | ||
110 | GPIO31_USB_P3_6, /* ICL_VPOUT */ | ||
111 | GPIO90_USB_P3_5, /* ICL_VPIN */ | ||
112 | GPIO91_USB_P3_1, /* ICL_XRXD */ | ||
113 | GPIO56_USB_P3_4, /* ICL_VMOUT */ | ||
114 | GPIO113_USB_P3_3, /* /ICL_VMIN */ | ||
115 | }; | ||
116 | |||
117 | static void __init ezx_init(void) | ||
118 | { | ||
119 | pxa2xx_mfp_config(ARRAY_AND_SIZE(ezx_pin_config)); | ||
120 | pxa_set_i2c_info(NULL); | ||
121 | if (machine_is_ezx_a780() || machine_is_ezx_e680()) | ||
122 | set_pxa_fb_info(&ezx_fb_info_1); | ||
123 | else | ||
124 | set_pxa_fb_info(&ezx_fb_info_2); | ||
125 | |||
126 | platform_add_devices(devices, ARRAY_SIZE(devices)); | ||
127 | } | ||
128 | |||
129 | static void __init ezx_fixup(struct machine_desc *desc, struct tag *tags, | ||
130 | char **cmdline, struct meminfo *mi) | ||
131 | { | ||
132 | /* We have two ram chips. First one with 32MB at 0xA0000000 and a second | ||
133 | * 16MB one at 0xAC000000 | ||
134 | */ | ||
135 | mi->nr_banks = 2; | ||
136 | mi->bank[0].start = 0xa0000000; | ||
137 | mi->bank[0].node = 0; | ||
138 | mi->bank[0].size = (32*1024*1024); | ||
139 | mi->bank[1].start = 0xac000000; | ||
140 | mi->bank[1].node = 1; | ||
141 | mi->bank[1].size = (16*1024*1024); | ||
142 | } | ||
143 | |||
144 | #ifdef CONFIG_MACH_EZX_A780 | ||
145 | MACHINE_START(EZX_A780, "Motorola EZX A780") | ||
146 | .phys_io = 0x40000000, | ||
147 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
148 | .fixup = ezx_fixup, | ||
149 | .boot_params = 0xa0000100, | ||
150 | .map_io = pxa_map_io, | ||
151 | .init_irq = pxa27x_init_irq, | ||
152 | .timer = &pxa_timer, | ||
153 | .init_machine = &ezx_init, | ||
154 | MACHINE_END | ||
155 | #endif | ||
156 | |||
157 | #ifdef CONFIG_MACH_EZX_E680 | ||
158 | MACHINE_START(EZX_E680, "Motorola EZX E680") | ||
159 | .phys_io = 0x40000000, | ||
160 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
161 | .fixup = ezx_fixup, | ||
162 | .boot_params = 0xa0000100, | ||
163 | .map_io = pxa_map_io, | ||
164 | .init_irq = pxa27x_init_irq, | ||
165 | .timer = &pxa_timer, | ||
166 | .init_machine = &ezx_init, | ||
167 | MACHINE_END | ||
168 | #endif | ||
169 | |||
170 | #ifdef CONFIG_MACH_EZX_A1200 | ||
171 | MACHINE_START(EZX_A1200, "Motorola EZX A1200") | ||
172 | .phys_io = 0x40000000, | ||
173 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
174 | .fixup = ezx_fixup, | ||
175 | .boot_params = 0xa0000100, | ||
176 | .map_io = pxa_map_io, | ||
177 | .init_irq = pxa27x_init_irq, | ||
178 | .timer = &pxa_timer, | ||
179 | .init_machine = &ezx_init, | ||
180 | MACHINE_END | ||
181 | #endif | ||
182 | |||
183 | #ifdef CONFIG_MACH_EZX_A910 | ||
184 | MACHINE_START(EZX_A910, "Motorola EZX A910") | ||
185 | .phys_io = 0x40000000, | ||
186 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
187 | .fixup = ezx_fixup, | ||
188 | .boot_params = 0xa0000100, | ||
189 | .map_io = pxa_map_io, | ||
190 | .init_irq = pxa27x_init_irq, | ||
191 | .timer = &pxa_timer, | ||
192 | .init_machine = &ezx_init, | ||
193 | MACHINE_END | ||
194 | #endif | ||
195 | |||
196 | #ifdef CONFIG_MACH_EZX_E6 | ||
197 | MACHINE_START(EZX_E6, "Motorola EZX E6") | ||
198 | .phys_io = 0x40000000, | ||
199 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
200 | .fixup = ezx_fixup, | ||
201 | .boot_params = 0xa0000100, | ||
202 | .map_io = pxa_map_io, | ||
203 | .init_irq = pxa27x_init_irq, | ||
204 | .timer = &pxa_timer, | ||
205 | .init_machine = &ezx_init, | ||
206 | MACHINE_END | ||
207 | #endif | ||
208 | |||
209 | #ifdef CONFIG_MACH_EZX_E2 | ||
210 | MACHINE_START(EZX_E2, "Motorola EZX E2") | ||
211 | .phys_io = 0x40000000, | ||
212 | .io_pg_offst = (io_p2v(0x40000000) >> 18) & 0xfffc, | ||
213 | .fixup = ezx_fixup, | ||
214 | .boot_params = 0xa0000100, | ||
215 | .map_io = pxa_map_io, | ||
216 | .init_irq = pxa27x_init_irq, | ||
217 | .timer = &pxa_timer, | ||
218 | .init_machine = &ezx_init, | ||
219 | MACHINE_END | ||
220 | #endif | ||
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 01b2fa790217..bad5821be41a 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c | |||
@@ -17,17 +17,15 @@ | |||
17 | #include <linux/init.h> | 17 | #include <linux/init.h> |
18 | #include <linux/platform_device.h> | 18 | #include <linux/platform_device.h> |
19 | #include <linux/delay.h> | 19 | #include <linux/delay.h> |
20 | #include <linux/gpio.h> | ||
20 | #include <linux/gpio_keys.h> | 21 | #include <linux/gpio_keys.h> |
21 | #include <linux/input.h> | 22 | #include <linux/input.h> |
22 | #include <linux/mfd/htc-egpio.h> | 23 | #include <linux/mfd/htc-egpio.h> |
23 | #include <linux/mfd/htc-pasic3.h> | 24 | #include <linux/mfd/htc-pasic3.h> |
24 | #include <linux/mtd/mtd.h> | ||
25 | #include <linux/mtd/map.h> | ||
26 | #include <linux/mtd/physmap.h> | 25 | #include <linux/mtd/physmap.h> |
27 | #include <linux/pda_power.h> | 26 | #include <linux/pda_power.h> |
28 | #include <linux/pwm_backlight.h> | 27 | #include <linux/pwm_backlight.h> |
29 | 28 | ||
30 | #include <asm/gpio.h> | ||
31 | #include <asm/hardware.h> | 29 | #include <asm/hardware.h> |
32 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
33 | #include <asm/mach/arch.h> | 31 | #include <asm/mach/arch.h> |
@@ -44,7 +42,7 @@ | |||
44 | #include "devices.h" | 42 | #include "devices.h" |
45 | #include "generic.h" | 43 | #include "generic.h" |
46 | 44 | ||
47 | static unsigned long magician_pin_config[] = { | 45 | static unsigned long magician_pin_config[] __initdata = { |
48 | 46 | ||
49 | /* SDRAM and Static Memory I/O Signals */ | 47 | /* SDRAM and Static Memory I/O Signals */ |
50 | GPIO20_nSDCS_2, | 48 | GPIO20_nSDCS_2, |
@@ -399,6 +397,7 @@ static struct platform_pwm_backlight_data backlight_data = { | |||
399 | 397 | ||
400 | static struct platform_device backlight = { | 398 | static struct platform_device backlight = { |
401 | .name = "pwm-backlight", | 399 | .name = "pwm-backlight", |
400 | .id = -1, | ||
402 | .dev = { | 401 | .dev = { |
403 | .parent = &pxa27x_device_pwm0.dev, | 402 | .parent = &pxa27x_device_pwm0.dev, |
404 | .platform_data = &backlight_data, | 403 | .platform_data = &backlight_data, |
@@ -511,6 +510,37 @@ static struct platform_device pasic3 = { | |||
511 | * External power | 510 | * External power |
512 | */ | 511 | */ |
513 | 512 | ||
513 | static int power_supply_init(struct device *dev) | ||
514 | { | ||
515 | int ret; | ||
516 | |||
517 | ret = gpio_request(EGPIO_MAGICIAN_CABLE_STATE_AC, "CABLE_STATE_AC"); | ||
518 | if (ret) | ||
519 | goto err_cs_ac; | ||
520 | ret = gpio_request(EGPIO_MAGICIAN_CABLE_STATE_USB, "CABLE_STATE_USB"); | ||
521 | if (ret) | ||
522 | goto err_cs_usb; | ||
523 | ret = gpio_request(EGPIO_MAGICIAN_CHARGE_EN, "CHARGE_EN"); | ||
524 | if (ret) | ||
525 | goto err_chg_en; | ||
526 | ret = gpio_request(GPIO30_MAGICIAN_nCHARGE_EN, "nCHARGE_EN"); | ||
527 | if (!ret) | ||
528 | ret = gpio_direction_output(GPIO30_MAGICIAN_nCHARGE_EN, 0); | ||
529 | if (ret) | ||
530 | goto err_nchg_en; | ||
531 | |||
532 | return 0; | ||
533 | |||
534 | err_nchg_en: | ||
535 | gpio_free(EGPIO_MAGICIAN_CHARGE_EN); | ||
536 | err_chg_en: | ||
537 | gpio_free(EGPIO_MAGICIAN_CABLE_STATE_USB); | ||
538 | err_cs_usb: | ||
539 | gpio_free(EGPIO_MAGICIAN_CABLE_STATE_AC); | ||
540 | err_cs_ac: | ||
541 | return ret; | ||
542 | } | ||
543 | |||
514 | static int magician_is_ac_online(void) | 544 | static int magician_is_ac_online(void) |
515 | { | 545 | { |
516 | return gpio_get_value(EGPIO_MAGICIAN_CABLE_STATE_AC); | 546 | return gpio_get_value(EGPIO_MAGICIAN_CABLE_STATE_AC); |
@@ -527,14 +557,24 @@ static void magician_set_charge(int flags) | |||
527 | gpio_set_value(EGPIO_MAGICIAN_CHARGE_EN, flags); | 557 | gpio_set_value(EGPIO_MAGICIAN_CHARGE_EN, flags); |
528 | } | 558 | } |
529 | 559 | ||
560 | static void power_supply_exit(struct device *dev) | ||
561 | { | ||
562 | gpio_free(GPIO30_MAGICIAN_nCHARGE_EN); | ||
563 | gpio_free(EGPIO_MAGICIAN_CHARGE_EN); | ||
564 | gpio_free(EGPIO_MAGICIAN_CABLE_STATE_USB); | ||
565 | gpio_free(EGPIO_MAGICIAN_CABLE_STATE_AC); | ||
566 | } | ||
567 | |||
530 | static char *magician_supplicants[] = { | 568 | static char *magician_supplicants[] = { |
531 | "ds2760-battery.0", "backup-battery" | 569 | "ds2760-battery.0", "backup-battery" |
532 | }; | 570 | }; |
533 | 571 | ||
534 | static struct pda_power_pdata power_supply_info = { | 572 | static struct pda_power_pdata power_supply_info = { |
573 | .init = power_supply_init, | ||
535 | .is_ac_online = magician_is_ac_online, | 574 | .is_ac_online = magician_is_ac_online, |
536 | .is_usb_online = magician_is_usb_online, | 575 | .is_usb_online = magician_is_usb_online, |
537 | .set_charge = magician_set_charge, | 576 | .set_charge = magician_set_charge, |
577 | .exit = power_supply_exit, | ||
538 | .supplied_to = magician_supplicants, | 578 | .supplied_to = magician_supplicants, |
539 | .num_supplicants = ARRAY_SIZE(magician_supplicants), | 579 | .num_supplicants = ARRAY_SIZE(magician_supplicants), |
540 | }; | 580 | }; |
diff --git a/arch/arm/mach-pxa/palmtx.c b/arch/arm/mach-pxa/palmtx.c new file mode 100644 index 000000000000..408657a24f8c --- /dev/null +++ b/arch/arm/mach-pxa/palmtx.c | |||
@@ -0,0 +1,416 @@ | |||
1 | /* | ||
2 | * Hardware definitions for PalmTX | ||
3 | * | ||
4 | * Author: Marek Vasut <marek.vasut@gmail.com> | ||
5 | * | ||
6 | * Based on work of: | ||
7 | * Alex Osborne <ato@meshy.org> | ||
8 | * Cristiano P. <cristianop@users.sourceforge.net> | ||
9 | * Jan Herman <2hp@seznam.cz> | ||
10 | * Michal Hrusecky | ||
11 | * | ||
12 | * This program is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of the GNU General Public License version 2 as | ||
14 | * published by the Free Software Foundation. | ||
15 | * | ||
16 | * (find more info at www.hackndev.com) | ||
17 | * | ||
18 | */ | ||
19 | |||
20 | #include <linux/platform_device.h> | ||
21 | #include <linux/delay.h> | ||
22 | #include <linux/irq.h> | ||
23 | #include <linux/gpio_keys.h> | ||
24 | #include <linux/input.h> | ||
25 | #include <linux/pda_power.h> | ||
26 | #include <linux/pwm_backlight.h> | ||
27 | #include <linux/gpio.h> | ||
28 | |||
29 | #include <asm/mach-types.h> | ||
30 | #include <asm/mach/arch.h> | ||
31 | #include <asm/mach/map.h> | ||
32 | |||
33 | #include <asm/arch/audio.h> | ||
34 | #include <asm/arch/palmtx.h> | ||
35 | #include <asm/arch/mmc.h> | ||
36 | #include <asm/arch/pxafb.h> | ||
37 | #include <asm/arch/pxa-regs.h> | ||
38 | #include <asm/arch/mfp-pxa27x.h> | ||
39 | #include <asm/arch/irda.h> | ||
40 | #include <asm/arch/pxa27x_keypad.h> | ||
41 | #include <asm/arch/udc.h> | ||
42 | |||
43 | #include "generic.h" | ||
44 | #include "devices.h" | ||
45 | |||
46 | /****************************************************************************** | ||
47 | * Pin configuration | ||
48 | ******************************************************************************/ | ||
49 | static unsigned long palmtx_pin_config[] __initdata = { | ||
50 | /* MMC */ | ||
51 | GPIO32_MMC_CLK, | ||
52 | GPIO92_MMC_DAT_0, | ||
53 | GPIO109_MMC_DAT_1, | ||
54 | GPIO110_MMC_DAT_2, | ||
55 | GPIO111_MMC_DAT_3, | ||
56 | GPIO112_MMC_CMD, | ||
57 | |||
58 | /* AC97 */ | ||
59 | GPIO28_AC97_BITCLK, | ||
60 | GPIO29_AC97_SDATA_IN_0, | ||
61 | GPIO30_AC97_SDATA_OUT, | ||
62 | GPIO31_AC97_SYNC, | ||
63 | |||
64 | /* IrDA */ | ||
65 | GPIO46_FICP_RXD, | ||
66 | GPIO47_FICP_TXD, | ||
67 | |||
68 | /* PWM */ | ||
69 | GPIO16_PWM0_OUT, | ||
70 | |||
71 | /* USB */ | ||
72 | GPIO13_GPIO, | ||
73 | |||
74 | /* PCMCIA */ | ||
75 | GPIO48_nPOE, | ||
76 | GPIO49_nPWE, | ||
77 | GPIO50_nPIOR, | ||
78 | GPIO51_nPIOW, | ||
79 | GPIO85_nPCE_1, | ||
80 | GPIO54_nPCE_2, | ||
81 | GPIO79_PSKTSEL, | ||
82 | GPIO55_nPREG, | ||
83 | GPIO56_nPWAIT, | ||
84 | GPIO57_nIOIS16, | ||
85 | }; | ||
86 | |||
87 | /****************************************************************************** | ||
88 | * SD/MMC card controller | ||
89 | ******************************************************************************/ | ||
90 | static int palmtx_mci_init(struct device *dev, irq_handler_t palmtx_detect_int, | ||
91 | void *data) | ||
92 | { | ||
93 | int err = 0; | ||
94 | |||
95 | /* Setup an interrupt for detecting card insert/remove events */ | ||
96 | err = request_irq(IRQ_GPIO_PALMTX_SD_DETECT_N, palmtx_detect_int, | ||
97 | IRQF_DISABLED | IRQF_SAMPLE_RANDOM | | ||
98 | IRQF_TRIGGER_FALLING | IRQF_TRIGGER_RISING, | ||
99 | "SD/MMC card detect", data); | ||
100 | if (err) { | ||
101 | printk(KERN_ERR "%s: cannot request SD/MMC card detect IRQ\n", | ||
102 | __func__); | ||
103 | return err; | ||
104 | } | ||
105 | |||
106 | err = gpio_request(GPIO_NR_PALMTX_SD_POWER, "SD_POWER"); | ||
107 | if (err) | ||
108 | goto pwr_err; | ||
109 | |||
110 | err = gpio_request(GPIO_NR_PALMTX_SD_READONLY, "SD_READONLY"); | ||
111 | if (err) | ||
112 | goto ro_err; | ||
113 | |||
114 | printk(KERN_DEBUG "%s: irq registered\n", __func__); | ||
115 | |||
116 | return 0; | ||
117 | |||
118 | ro_err: | ||
119 | gpio_free(GPIO_NR_PALMTX_SD_POWER); | ||
120 | pwr_err: | ||
121 | free_irq(IRQ_GPIO_PALMTX_SD_DETECT_N, data); | ||
122 | return err; | ||
123 | } | ||
124 | |||
125 | static void palmtx_mci_exit(struct device *dev, void *data) | ||
126 | { | ||
127 | gpio_free(GPIO_NR_PALMTX_SD_READONLY); | ||
128 | gpio_free(GPIO_NR_PALMTX_SD_POWER); | ||
129 | free_irq(IRQ_GPIO_PALMTX_SD_DETECT_N, data); | ||
130 | } | ||
131 | |||
132 | static void palmtx_mci_power(struct device *dev, unsigned int vdd) | ||
133 | { | ||
134 | struct pxamci_platform_data *p_d = dev->platform_data; | ||
135 | gpio_set_value(GPIO_NR_PALMTX_SD_POWER, p_d->ocr_mask & (1 << vdd)); | ||
136 | } | ||
137 | |||
138 | static int palmtx_mci_get_ro(struct device *dev) | ||
139 | { | ||
140 | return gpio_get_value(GPIO_NR_PALMTX_SD_READONLY); | ||
141 | } | ||
142 | |||
143 | static struct pxamci_platform_data palmtx_mci_platform_data = { | ||
144 | .ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34, | ||
145 | .setpower = palmtx_mci_power, | ||
146 | .get_ro = palmtx_mci_get_ro, | ||
147 | .init = palmtx_mci_init, | ||
148 | .exit = palmtx_mci_exit, | ||
149 | }; | ||
150 | |||
151 | /****************************************************************************** | ||
152 | * GPIO keyboard | ||
153 | ******************************************************************************/ | ||
154 | static unsigned int palmtx_matrix_keys[] = { | ||
155 | KEY(0, 0, KEY_POWER), | ||
156 | KEY(0, 1, KEY_F1), | ||
157 | KEY(0, 2, KEY_ENTER), | ||
158 | |||
159 | KEY(1, 0, KEY_F2), | ||
160 | KEY(1, 1, KEY_F3), | ||
161 | KEY(1, 2, KEY_F4), | ||
162 | |||
163 | KEY(2, 0, KEY_UP), | ||
164 | KEY(2, 2, KEY_DOWN), | ||
165 | |||
166 | KEY(3, 0, KEY_RIGHT), | ||
167 | KEY(3, 2, KEY_LEFT), | ||
168 | |||
169 | }; | ||
170 | |||
171 | static struct pxa27x_keypad_platform_data palmtx_keypad_platform_data = { | ||
172 | .matrix_key_rows = 4, | ||
173 | .matrix_key_cols = 3, | ||
174 | .matrix_key_map = palmtx_matrix_keys, | ||
175 | .matrix_key_map_size = ARRAY_SIZE(palmtx_matrix_keys), | ||
176 | |||
177 | .debounce_interval = 30, | ||
178 | }; | ||
179 | |||
180 | /****************************************************************************** | ||
181 | * GPIO keys | ||
182 | ******************************************************************************/ | ||
183 | static struct gpio_keys_button palmtx_pxa_buttons[] = { | ||
184 | {KEY_F8, GPIO_NR_PALMTX_HOTSYNC_BUTTON_N, 1, "HotSync Button" }, | ||
185 | }; | ||
186 | |||
187 | static struct gpio_keys_platform_data palmtx_pxa_keys_data = { | ||
188 | .buttons = palmtx_pxa_buttons, | ||
189 | .nbuttons = ARRAY_SIZE(palmtx_pxa_buttons), | ||
190 | }; | ||
191 | |||
192 | static struct platform_device palmtx_pxa_keys = { | ||
193 | .name = "gpio-keys", | ||
194 | .id = -1, | ||
195 | .dev = { | ||
196 | .platform_data = &palmtx_pxa_keys_data, | ||
197 | }, | ||
198 | }; | ||
199 | |||
200 | /****************************************************************************** | ||
201 | * Backlight | ||
202 | ******************************************************************************/ | ||
203 | static int palmtx_backlight_init(struct device *dev) | ||
204 | { | ||
205 | int ret; | ||
206 | |||
207 | ret = gpio_request(GPIO_NR_PALMTX_BL_POWER, "BL POWER"); | ||
208 | if (ret) | ||
209 | goto err; | ||
210 | ret = gpio_request(GPIO_NR_PALMTX_LCD_POWER, "LCD POWER"); | ||
211 | if (ret) | ||
212 | goto err2; | ||
213 | |||
214 | return 0; | ||
215 | err2: | ||
216 | gpio_free(GPIO_NR_PALMTX_BL_POWER); | ||
217 | err: | ||
218 | return ret; | ||
219 | } | ||
220 | |||
221 | static int palmtx_backlight_notify(int brightness) | ||
222 | { | ||
223 | gpio_set_value(GPIO_NR_PALMTX_BL_POWER, brightness); | ||
224 | gpio_set_value(GPIO_NR_PALMTX_LCD_POWER, brightness); | ||
225 | return brightness; | ||
226 | } | ||
227 | |||
228 | static void palmtx_backlight_exit(struct device *dev) | ||
229 | { | ||
230 | gpio_free(GPIO_NR_PALMTX_BL_POWER); | ||
231 | gpio_free(GPIO_NR_PALMTX_LCD_POWER); | ||
232 | } | ||
233 | |||
234 | static struct platform_pwm_backlight_data palmtx_backlight_data = { | ||
235 | .pwm_id = 0, | ||
236 | .max_brightness = PALMTX_MAX_INTENSITY, | ||
237 | .dft_brightness = PALMTX_MAX_INTENSITY, | ||
238 | .pwm_period_ns = PALMTX_PERIOD_NS, | ||
239 | .init = palmtx_backlight_init, | ||
240 | .notify = palmtx_backlight_notify, | ||
241 | .exit = palmtx_backlight_exit, | ||
242 | }; | ||
243 | |||
244 | static struct platform_device palmtx_backlight = { | ||
245 | .name = "pwm-backlight", | ||
246 | .dev = { | ||
247 | .parent = &pxa27x_device_pwm0.dev, | ||
248 | .platform_data = &palmtx_backlight_data, | ||
249 | }, | ||
250 | }; | ||
251 | |||
252 | /****************************************************************************** | ||
253 | * IrDA | ||
254 | ******************************************************************************/ | ||
255 | static void palmtx_irda_transceiver_mode(struct device *dev, int mode) | ||
256 | { | ||
257 | gpio_set_value(GPIO_NR_PALMTX_IR_DISABLE, mode & IR_OFF); | ||
258 | pxa2xx_transceiver_mode(dev, mode); | ||
259 | } | ||
260 | |||
261 | static struct pxaficp_platform_data palmtx_ficp_platform_data = { | ||
262 | .transceiver_cap = IR_SIRMODE | IR_FIRMODE | IR_OFF, | ||
263 | .transceiver_mode = palmtx_irda_transceiver_mode, | ||
264 | }; | ||
265 | |||
266 | /****************************************************************************** | ||
267 | * UDC | ||
268 | ******************************************************************************/ | ||
269 | static void palmtx_udc_command(int cmd) | ||
270 | { | ||
271 | gpio_set_value(GPIO_NR_PALMTX_USB_POWER, !cmd); | ||
272 | udelay(50); | ||
273 | gpio_set_value(GPIO_NR_PALMTX_USB_PULLUP, !cmd); | ||
274 | } | ||
275 | |||
276 | static struct pxa2xx_udc_mach_info palmtx_udc_info __initdata = { | ||
277 | .gpio_vbus = GPIO_NR_PALMTX_USB_DETECT_N, | ||
278 | .gpio_vbus_inverted = 1, | ||
279 | .udc_command = palmtx_udc_command, | ||
280 | }; | ||
281 | |||
282 | /****************************************************************************** | ||
283 | * Power supply | ||
284 | ******************************************************************************/ | ||
285 | static int power_supply_init(struct device *dev) | ||
286 | { | ||
287 | int ret; | ||
288 | |||
289 | ret = gpio_request(GPIO_NR_PALMTX_POWER_DETECT, "CABLE_STATE_AC"); | ||
290 | if (ret) | ||
291 | goto err_cs_ac; | ||
292 | |||
293 | ret = gpio_request(GPIO_NR_PALMTX_USB_DETECT_N, "CABLE_STATE_USB"); | ||
294 | if (ret) | ||
295 | goto err_cs_usb; | ||
296 | |||
297 | return 0; | ||
298 | |||
299 | err_cs_usb: | ||
300 | gpio_free(GPIO_NR_PALMTX_POWER_DETECT); | ||
301 | err_cs_ac: | ||
302 | return ret; | ||
303 | } | ||
304 | |||
305 | static int palmtx_is_ac_online(void) | ||
306 | { | ||
307 | return gpio_get_value(GPIO_NR_PALMTX_POWER_DETECT); | ||
308 | } | ||
309 | |||
310 | static int palmtx_is_usb_online(void) | ||
311 | { | ||
312 | return !gpio_get_value(GPIO_NR_PALMTX_USB_DETECT_N); | ||
313 | } | ||
314 | |||
315 | static void power_supply_exit(struct device *dev) | ||
316 | { | ||
317 | gpio_free(GPIO_NR_PALMTX_USB_DETECT_N); | ||
318 | gpio_free(GPIO_NR_PALMTX_POWER_DETECT); | ||
319 | } | ||
320 | |||
321 | static char *palmtx_supplicants[] = { | ||
322 | "main-battery", | ||
323 | }; | ||
324 | |||
325 | static struct pda_power_pdata power_supply_info = { | ||
326 | .init = power_supply_init, | ||
327 | .is_ac_online = palmtx_is_ac_online, | ||
328 | .is_usb_online = palmtx_is_usb_online, | ||
329 | .exit = power_supply_exit, | ||
330 | .supplied_to = palmtx_supplicants, | ||
331 | .num_supplicants = ARRAY_SIZE(palmtx_supplicants), | ||
332 | }; | ||
333 | |||
334 | static struct platform_device power_supply = { | ||
335 | .name = "pda-power", | ||
336 | .id = -1, | ||
337 | .dev = { | ||
338 | .platform_data = &power_supply_info, | ||
339 | }, | ||
340 | }; | ||
341 | |||
342 | /****************************************************************************** | ||
343 | * Framebuffer | ||
344 | ******************************************************************************/ | ||
345 | static struct pxafb_mode_info palmtx_lcd_modes[] = { | ||
346 | { | ||
347 | .pixclock = 57692, | ||
348 | .xres = 320, | ||
349 | .yres = 480, | ||
350 | .bpp = 16, | ||
351 | |||
352 | .left_margin = 32, | ||
353 | .right_margin = 1, | ||
354 | .upper_margin = 7, | ||
355 | .lower_margin = 1, | ||
356 | |||
357 | .hsync_len = 4, | ||
358 | .vsync_len = 1, | ||
359 | }, | ||
360 | }; | ||
361 | |||
362 | static struct pxafb_mach_info palmtx_lcd_screen = { | ||
363 | .modes = palmtx_lcd_modes, | ||
364 | .num_modes = ARRAY_SIZE(palmtx_lcd_modes), | ||
365 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL, | ||
366 | }; | ||
367 | |||
368 | /****************************************************************************** | ||
369 | * Machine init | ||
370 | ******************************************************************************/ | ||
371 | static struct platform_device *devices[] __initdata = { | ||
372 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | ||
373 | &palmtx_pxa_keys, | ||
374 | #endif | ||
375 | &palmtx_backlight, | ||
376 | &power_supply, | ||
377 | }; | ||
378 | |||
379 | static struct map_desc palmtx_io_desc[] __initdata = { | ||
380 | { | ||
381 | .virtual = PALMTX_PCMCIA_VIRT, | ||
382 | .pfn = __phys_to_pfn(PALMTX_PCMCIA_PHYS), | ||
383 | .length = PALMTX_PCMCIA_SIZE, | ||
384 | .type = MT_DEVICE | ||
385 | }, | ||
386 | }; | ||
387 | |||
388 | static void __init palmtx_map_io(void) | ||
389 | { | ||
390 | pxa_map_io(); | ||
391 | iotable_init(palmtx_io_desc, ARRAY_SIZE(palmtx_io_desc)); | ||
392 | } | ||
393 | |||
394 | static void __init palmtx_init(void) | ||
395 | { | ||
396 | pxa2xx_mfp_config(ARRAY_AND_SIZE(palmtx_pin_config)); | ||
397 | |||
398 | set_pxa_fb_info(&palmtx_lcd_screen); | ||
399 | pxa_set_mci_info(&palmtx_mci_platform_data); | ||
400 | pxa_set_udc_info(&palmtx_udc_info); | ||
401 | pxa_set_ac97_info(NULL); | ||
402 | pxa_set_ficp_info(&palmtx_ficp_platform_data); | ||
403 | pxa_set_keypad_info(&palmtx_keypad_platform_data); | ||
404 | |||
405 | platform_add_devices(devices, ARRAY_SIZE(devices)); | ||
406 | } | ||
407 | |||
408 | MACHINE_START(PALMTX, "Palm T|X") | ||
409 | .phys_io = PALMTX_PHYS_IO_START, | ||
410 | .io_pg_offst = io_p2v(0x40000000), | ||
411 | .boot_params = 0xa0000100, | ||
412 | .map_io = palmtx_map_io, | ||
413 | .init_irq = pxa27x_init_irq, | ||
414 | .timer = &pxa_timer, | ||
415 | .init_machine = palmtx_init | ||
416 | MACHINE_END | ||
diff --git a/arch/arm/mach-pxa/pcm990-baseboard.c b/arch/arm/mach-pxa/pcm990-baseboard.c index 5d87c7c866e4..30023b00e476 100644 --- a/arch/arm/mach-pxa/pcm990-baseboard.c +++ b/arch/arm/mach-pxa/pcm990-baseboard.c | |||
@@ -33,14 +33,30 @@ | |||
33 | #include <asm/arch/camera.h> | 33 | #include <asm/arch/camera.h> |
34 | #include <asm/mach/map.h> | 34 | #include <asm/mach/map.h> |
35 | #include <asm/arch/pxa-regs.h> | 35 | #include <asm/arch/pxa-regs.h> |
36 | #include <asm/arch/pxa2xx-gpio.h> | ||
37 | #include <asm/arch/audio.h> | 36 | #include <asm/arch/audio.h> |
38 | #include <asm/arch/mmc.h> | 37 | #include <asm/arch/mmc.h> |
39 | #include <asm/arch/ohci.h> | 38 | #include <asm/arch/ohci.h> |
40 | #include <asm/arch/pcm990_baseboard.h> | 39 | #include <asm/arch/pcm990_baseboard.h> |
41 | #include <asm/arch/pxafb.h> | 40 | #include <asm/arch/pxafb.h> |
41 | #include <asm/arch/mfp-pxa27x.h> | ||
42 | 42 | ||
43 | #include "devices.h" | 43 | #include "devices.h" |
44 | #include "generic.h" | ||
45 | |||
46 | static unsigned long pcm990_pin_config[] __initdata = { | ||
47 | /* MMC */ | ||
48 | GPIO32_MMC_CLK, | ||
49 | GPIO112_MMC_CMD, | ||
50 | GPIO92_MMC_DAT_0, | ||
51 | GPIO109_MMC_DAT_1, | ||
52 | GPIO110_MMC_DAT_2, | ||
53 | GPIO111_MMC_DAT_3, | ||
54 | /* USB */ | ||
55 | GPIO88_USBH1_PWR, | ||
56 | GPIO89_USBH1_PEN, | ||
57 | /* PWM0 */ | ||
58 | GPIO16_PWM0_OUT, | ||
59 | }; | ||
44 | 60 | ||
45 | /* | 61 | /* |
46 | * pcm990_lcd_power - control power supply to the LCD | 62 | * pcm990_lcd_power - control power supply to the LCD |
@@ -277,16 +293,6 @@ static int pcm990_mci_init(struct device *dev, irq_handler_t mci_detect_int, | |||
277 | { | 293 | { |
278 | int err; | 294 | int err; |
279 | 295 | ||
280 | /* | ||
281 | * enable GPIO for PXA27x MMC controller | ||
282 | */ | ||
283 | pxa_gpio_mode(GPIO32_MMCCLK_MD); | ||
284 | pxa_gpio_mode(GPIO112_MMCCMD_MD); | ||
285 | pxa_gpio_mode(GPIO92_MMCDAT0_MD); | ||
286 | pxa_gpio_mode(GPIO109_MMCDAT1_MD); | ||
287 | pxa_gpio_mode(GPIO110_MMCDAT2_MD); | ||
288 | pxa_gpio_mode(GPIO111_MMCDAT3_MD); | ||
289 | |||
290 | err = request_irq(PCM027_MMCDET_IRQ, mci_detect_int, IRQF_DISABLED, | 296 | err = request_irq(PCM027_MMCDET_IRQ, mci_detect_int, IRQF_DISABLED, |
291 | "MMC card detect", data); | 297 | "MMC card detect", data); |
292 | if (err) | 298 | if (err) |
@@ -333,8 +339,6 @@ static struct pxamci_platform_data pcm990_mci_platform_data = { | |||
333 | */ | 339 | */ |
334 | static int pcm990_ohci_init(struct device *dev) | 340 | static int pcm990_ohci_init(struct device *dev) |
335 | { | 341 | { |
336 | pxa_gpio_mode(PCM990_USB_OVERCURRENT); | ||
337 | pxa_gpio_mode(PCM990_USB_PWR_EN); | ||
338 | /* | 342 | /* |
339 | * disable USB port 2 and 3 | 343 | * disable USB port 2 and 3 |
340 | * power sense is active low | 344 | * power sense is active low |
@@ -361,23 +365,27 @@ static struct pxaohci_platform_data pcm990_ohci_platform_data = { | |||
361 | * PXA27x Camera specific stuff | 365 | * PXA27x Camera specific stuff |
362 | */ | 366 | */ |
363 | #if defined(CONFIG_VIDEO_PXA27x) || defined(CONFIG_VIDEO_PXA27x_MODULE) | 367 | #if defined(CONFIG_VIDEO_PXA27x) || defined(CONFIG_VIDEO_PXA27x_MODULE) |
368 | static unsigned long pcm990_camera_pin_config[] = { | ||
369 | /* CIF */ | ||
370 | GPIO98_CIF_DD_0, | ||
371 | GPIO105_CIF_DD_1, | ||
372 | GPIO104_CIF_DD_2, | ||
373 | GPIO103_CIF_DD_3, | ||
374 | GPIO95_CIF_DD_4, | ||
375 | GPIO94_CIF_DD_5, | ||
376 | GPIO93_CIF_DD_6, | ||
377 | GPIO108_CIF_DD_7, | ||
378 | GPIO107_CIF_DD_8, | ||
379 | GPIO106_CIF_DD_9, | ||
380 | GPIO42_CIF_MCLK, | ||
381 | GPIO45_CIF_PCLK, | ||
382 | GPIO43_CIF_FV, | ||
383 | GPIO44_CIF_LV, | ||
384 | }; | ||
385 | |||
364 | static int pcm990_pxacamera_init(struct device *dev) | 386 | static int pcm990_pxacamera_init(struct device *dev) |
365 | { | 387 | { |
366 | pxa_gpio_mode(GPIO98_CIF_DD_0_MD); | 388 | pxa2xx_mfp_config(ARRAY_AND_SIZE(pcm990_camera_pin_config)); |
367 | pxa_gpio_mode(GPIO105_CIF_DD_1_MD); | ||
368 | pxa_gpio_mode(GPIO104_CIF_DD_2_MD); | ||
369 | pxa_gpio_mode(GPIO103_CIF_DD_3_MD); | ||
370 | pxa_gpio_mode(GPIO95_CIF_DD_4_MD); | ||
371 | pxa_gpio_mode(GPIO94_CIF_DD_5_MD); | ||
372 | pxa_gpio_mode(GPIO93_CIF_DD_6_MD); | ||
373 | pxa_gpio_mode(GPIO108_CIF_DD_7_MD); | ||
374 | pxa_gpio_mode(GPIO107_CIF_DD_8_MD); | ||
375 | pxa_gpio_mode(GPIO106_CIF_DD_9_MD); | ||
376 | pxa_gpio_mode(GPIO42_CIF_MCLK_MD); | ||
377 | pxa_gpio_mode(GPIO45_CIF_PCLK_MD); | ||
378 | pxa_gpio_mode(GPIO43_CIF_FV_MD); | ||
379 | pxa_gpio_mode(GPIO44_CIF_LV_MD); | ||
380 | |||
381 | return 0; | 389 | return 0; |
382 | } | 390 | } |
383 | 391 | ||
@@ -449,8 +457,10 @@ static struct map_desc pcm990_io_desc[] __initdata = { | |||
449 | */ | 457 | */ |
450 | void __init pcm990_baseboard_init(void) | 458 | void __init pcm990_baseboard_init(void) |
451 | { | 459 | { |
460 | pxa2xx_mfp_config(ARRAY_AND_SIZE(pcm990_pin_config)); | ||
461 | |||
452 | /* register CPLD access */ | 462 | /* register CPLD access */ |
453 | iotable_init(pcm990_io_desc, ARRAY_SIZE(pcm990_io_desc)); | 463 | iotable_init(ARRAY_AND_SIZE(pcm990_io_desc)); |
454 | 464 | ||
455 | /* register CPLD's IRQ controller */ | 465 | /* register CPLD's IRQ controller */ |
456 | pcm990_init_irq(); | 466 | pcm990_init_irq(); |
@@ -458,7 +468,6 @@ void __init pcm990_baseboard_init(void) | |||
458 | #ifndef CONFIG_PCM990_DISPLAY_NONE | 468 | #ifndef CONFIG_PCM990_DISPLAY_NONE |
459 | set_pxa_fb_info(&pcm990_fbinfo); | 469 | set_pxa_fb_info(&pcm990_fbinfo); |
460 | #endif | 470 | #endif |
461 | pxa_gpio_mode(GPIO16_PWM0_MD); | ||
462 | platform_device_register(&pcm990_backlight_device); | 471 | platform_device_register(&pcm990_backlight_device); |
463 | 472 | ||
464 | /* MMC */ | 473 | /* MMC */ |
@@ -473,9 +482,8 @@ void __init pcm990_baseboard_init(void) | |||
473 | #if defined(CONFIG_VIDEO_PXA27x) || defined(CONFIG_VIDEO_PXA27x_MODULE) | 482 | #if defined(CONFIG_VIDEO_PXA27x) || defined(CONFIG_VIDEO_PXA27x_MODULE) |
474 | pxa_set_camera_info(&pcm990_pxacamera_platform_data); | 483 | pxa_set_camera_info(&pcm990_pxacamera_platform_data); |
475 | 484 | ||
476 | i2c_register_board_info(0, pcm990_i2c_devices, | 485 | i2c_register_board_info(0, ARRAY_AND_SIZE(pcm990_i2c_devices)); |
477 | ARRAY_SIZE(pcm990_i2c_devices)); | ||
478 | #endif | 486 | #endif |
479 | 487 | ||
480 | printk(KERN_INFO"PCM-990 Evaluation baseboard initialized\n"); | 488 | printk(KERN_INFO "PCM-990 Evaluation baseboard initialized\n"); |
481 | } | 489 | } |
diff --git a/arch/arm/mach-pxa/spitz.c b/arch/arm/mach-pxa/spitz.c index dace3820f1ee..e7d0fcd9b43f 100644 --- a/arch/arm/mach-pxa/spitz.c +++ b/arch/arm/mach-pxa/spitz.c | |||
@@ -38,7 +38,6 @@ | |||
38 | #include <asm/arch/pxa-regs.h> | 38 | #include <asm/arch/pxa-regs.h> |
39 | #include <asm/arch/pxa2xx-regs.h> | 39 | #include <asm/arch/pxa2xx-regs.h> |
40 | #include <asm/arch/pxa2xx-gpio.h> | 40 | #include <asm/arch/pxa2xx-gpio.h> |
41 | #include <asm/arch/pxa27x-udc.h> | ||
42 | #include <asm/arch/irda.h> | 41 | #include <asm/arch/irda.h> |
43 | #include <asm/arch/mmc.h> | 42 | #include <asm/arch/mmc.h> |
44 | #include <asm/arch/ohci.h> | 43 | #include <asm/arch/ohci.h> |
diff --git a/arch/arm/mach-pxa/ssp.c b/arch/arm/mach-pxa/ssp.c index 00af7f2fed66..0bb31982fb6f 100644 --- a/arch/arm/mach-pxa/ssp.c +++ b/arch/arm/mach-pxa/ssp.c | |||
@@ -330,7 +330,7 @@ struct ssp_device *ssp_request(int port, const char *label) | |||
330 | 330 | ||
331 | mutex_unlock(&ssp_lock); | 331 | mutex_unlock(&ssp_lock); |
332 | 332 | ||
333 | if (ssp->port_id != port) | 333 | if (&ssp->node == &ssp_list) |
334 | return NULL; | 334 | return NULL; |
335 | 335 | ||
336 | return ssp; | 336 | return ssp; |
diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index c2cbd66db814..ab4a9f579913 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c | |||
@@ -467,8 +467,8 @@ static struct platform_device *devices[] __initdata = { | |||
467 | 467 | ||
468 | static void tosa_poweroff(void) | 468 | static void tosa_poweroff(void) |
469 | { | 469 | { |
470 | pxa_gpio_mode(TOSA_GPIO_ON_RESET | GPIO_OUT); | 470 | gpio_direction_output(TOSA_GPIO_ON_RESET, 0); |
471 | GPSR(TOSA_GPIO_ON_RESET) = GPIO_bit(TOSA_GPIO_ON_RESET); | 471 | gpio_set_value(TOSA_GPIO_ON_RESET, 1); |
472 | 472 | ||
473 | mdelay(1000); | 473 | mdelay(1000); |
474 | arm_machine_restart('h'); | 474 | arm_machine_restart('h'); |
diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index 661a2358ac22..27f63d5d3a7b 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c | |||
@@ -374,7 +374,7 @@ static struct resource bast_dm9k_resource[] = { | |||
374 | [2] = { | 374 | [2] = { |
375 | .start = IRQ_DM9000, | 375 | .start = IRQ_DM9000, |
376 | .end = IRQ_DM9000, | 376 | .end = IRQ_DM9000, |
377 | .flags = IORESOURCE_IRQ, | 377 | .flags = IORESOURCE_IRQ | IRQF_TRIGGER_HIGH, |
378 | } | 378 | } |
379 | 379 | ||
380 | }; | 380 | }; |
diff --git a/arch/arm/mach-s3c2410/mach-vr1000.c b/arch/arm/mach-s3c2410/mach-vr1000.c index c56423373ff3..4c4b5c4207c4 100644 --- a/arch/arm/mach-s3c2410/mach-vr1000.c +++ b/arch/arm/mach-s3c2410/mach-vr1000.c | |||
@@ -263,7 +263,7 @@ static struct resource vr1000_dm9k0_resource[] = { | |||
263 | [2] = { | 263 | [2] = { |
264 | .start = IRQ_VR1000_DM9000A, | 264 | .start = IRQ_VR1000_DM9000A, |
265 | .end = IRQ_VR1000_DM9000A, | 265 | .end = IRQ_VR1000_DM9000A, |
266 | .flags = IORESOURCE_IRQ | 266 | .flags = IORESOURCE_IRQ | IRQF_TRIGGER_HIGH, |
267 | } | 267 | } |
268 | 268 | ||
269 | }; | 269 | }; |
@@ -282,7 +282,7 @@ static struct resource vr1000_dm9k1_resource[] = { | |||
282 | [2] = { | 282 | [2] = { |
283 | .start = IRQ_VR1000_DM9000N, | 283 | .start = IRQ_VR1000_DM9000N, |
284 | .end = IRQ_VR1000_DM9000N, | 284 | .end = IRQ_VR1000_DM9000N, |
285 | .flags = IORESOURCE_IRQ | 285 | .flags = IORESOURCE_IRQ | IRQF_TRIGGER_HIGH, |
286 | } | 286 | } |
287 | }; | 287 | }; |
288 | 288 | ||
diff --git a/arch/arm/mach-sa1100/collie.c b/arch/arm/mach-sa1100/collie.c index 6496eb645cee..2f772a3965c4 100644 --- a/arch/arm/mach-sa1100/collie.c +++ b/arch/arm/mach-sa1100/collie.c | |||
@@ -225,26 +225,28 @@ static void __init collie_init(void) | |||
225 | int ret = 0; | 225 | int ret = 0; |
226 | 226 | ||
227 | /* cpu initialize */ | 227 | /* cpu initialize */ |
228 | GAFR = ( GPIO_SSP_TXD | \ | 228 | GAFR = GPIO_SSP_TXD | GPIO_SSP_SCLK | GPIO_SSP_SFRM | GPIO_SSP_CLK | |
229 | GPIO_SSP_SCLK | GPIO_SSP_SFRM | GPIO_SSP_CLK | GPIO_TIC_ACK | \ | 229 | GPIO_MCP_CLK | GPIO_32_768kHz; |
230 | GPIO_32_768kHz ); | 230 | |
231 | 231 | GPDR = GPIO_LDD8 | GPIO_LDD9 | GPIO_LDD10 | GPIO_LDD11 | GPIO_LDD12 | | |
232 | GPDR = ( GPIO_LDD8 | GPIO_LDD9 | GPIO_LDD10 | GPIO_LDD11 | GPIO_LDD12 | \ | 232 | GPIO_LDD13 | GPIO_LDD14 | GPIO_LDD15 | GPIO_SSP_TXD | |
233 | GPIO_LDD13 | GPIO_LDD14 | GPIO_LDD15 | GPIO_SSP_TXD | \ | 233 | GPIO_SSP_SCLK | GPIO_SSP_SFRM | GPIO_SDLC_SCLK | |
234 | GPIO_SSP_SCLK | GPIO_SSP_SFRM | GPIO_SDLC_SCLK | \ | 234 | COLLIE_GPIO_UCB1x00_RESET | COLLIE_GPIO_nMIC_ON | |
235 | GPIO_SDLC_AAF | GPIO_UART_SCLK1 | GPIO_32_768kHz ); | 235 | COLLIE_GPIO_nREMOCON_ON | GPIO_32_768kHz; |
236 | GPLR = GPIO_GPIO18; | 236 | |
237 | 237 | PPDR = PPC_LDD0 | PPC_LDD1 | PPC_LDD2 | PPC_LDD3 | PPC_LDD4 | PPC_LDD5 | | |
238 | // PPC pin setting | 238 | PPC_LDD6 | PPC_LDD7 | PPC_L_PCLK | PPC_L_LCLK | PPC_L_FCLK | PPC_L_BIAS | |
239 | PPDR = ( PPC_LDD0 | PPC_LDD1 | PPC_LDD2 | PPC_LDD3 | PPC_LDD4 | PPC_LDD5 | \ | 239 | PPC_TXD1 | PPC_TXD2 | PPC_TXD3 | PPC_TXD4 | PPC_SCLK | PPC_SFRM; |
240 | PPC_LDD6 | PPC_LDD7 | PPC_L_PCLK | PPC_L_LCLK | PPC_L_FCLK | PPC_L_BIAS | \ | 240 | |
241 | PPC_TXD1 | PPC_TXD2 | PPC_RXD2 | PPC_TXD3 | PPC_TXD4 | PPC_SCLK | PPC_SFRM ); | 241 | PWER = COLLIE_GPIO_AC_IN | COLLIE_GPIO_CO | COLLIE_GPIO_ON_KEY | |
242 | 242 | COLLIE_GPIO_WAKEUP | COLLIE_GPIO_nREMOCON_INT | PWER_RTC; | |
243 | PSDR = ( PPC_RXD1 | PPC_RXD2 | PPC_RXD3 | PPC_RXD4 ); | 243 | |
244 | 244 | PGSR = COLLIE_GPIO_nREMOCON_ON; | |
245 | GAFR |= GPIO_32_768kHz; | 245 | |
246 | GPDR |= GPIO_32_768kHz; | 246 | PSDR = PPC_RXD1 | PPC_RXD2 | PPC_RXD3 | PPC_RXD4; |
247 | TUCR = TUCR_32_768kHz; | 247 | |
248 | PCFR = PCFR_OPDE; | ||
249 | |||
248 | 250 | ||
249 | platform_scoop_config = &collie_pcmcia_config; | 251 | platform_scoop_config = &collie_pcmcia_config; |
250 | 252 | ||
diff --git a/arch/arm/plat-omap/clock.c b/arch/arm/plat-omap/clock.c index 2946c193a7d6..2db5580048d8 100644 --- a/arch/arm/plat-omap/clock.c +++ b/arch/arm/plat-omap/clock.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/clk.h> | 21 | #include <linux/clk.h> |
22 | #include <linux/mutex.h> | 22 | #include <linux/mutex.h> |
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | #include <linux/cpufreq.h> | ||
24 | 25 | ||
25 | #include <asm/io.h> | 26 | #include <asm/io.h> |
26 | 27 | ||
diff --git a/arch/arm/plat-s3c24xx/s3c244x.c b/arch/arm/plat-s3c24xx/s3c244x.c index f197bb3a2366..2f01af5f64c4 100644 --- a/arch/arm/plat-s3c24xx/s3c244x.c +++ b/arch/arm/plat-s3c24xx/s3c244x.c | |||
@@ -65,6 +65,7 @@ void __init s3c244x_map_io(struct map_desc *mach_desc, int size) | |||
65 | 65 | ||
66 | /* rename any peripherals used differing from the s3c2410 */ | 66 | /* rename any peripherals used differing from the s3c2410 */ |
67 | 67 | ||
68 | s3c_device_sdi.name = "s3c2440-sdi"; | ||
68 | s3c_device_i2c.name = "s3c2440-i2c"; | 69 | s3c_device_i2c.name = "s3c2440-i2c"; |
69 | s3c_device_nand.name = "s3c2440-nand"; | 70 | s3c_device_nand.name = "s3c2440-nand"; |
70 | s3c_device_usbgadget.name = "s3c2440-usbgadget"; | 71 | s3c_device_usbgadget.name = "s3c2440-usbgadget"; |
diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types index 207a8b5a0c4a..0be5630ff568 100644 --- a/arch/arm/tools/mach-types +++ b/arch/arm/tools/mach-types | |||
@@ -12,7 +12,7 @@ | |||
12 | # | 12 | # |
13 | # http://www.arm.linux.org.uk/developer/machines/?action=new | 13 | # http://www.arm.linux.org.uk/developer/machines/?action=new |
14 | # | 14 | # |
15 | # Last update: Sat Apr 19 11:23:38 2008 | 15 | # Last update: Mon Jul 7 16:25:39 2008 |
16 | # | 16 | # |
17 | # machine_is_xxx CONFIG_xxxx MACH_TYPE_xxx number | 17 | # machine_is_xxx CONFIG_xxxx MACH_TYPE_xxx number |
18 | # | 18 | # |
@@ -560,7 +560,6 @@ husky MACH_HUSKY HUSKY 543 | |||
560 | boxer MACH_BOXER BOXER 544 | 560 | boxer MACH_BOXER BOXER 544 |
561 | shepherd MACH_SHEPHERD SHEPHERD 545 | 561 | shepherd MACH_SHEPHERD SHEPHERD 545 |
562 | aml42800aa MACH_AML42800AA AML42800AA 546 | 562 | aml42800aa MACH_AML42800AA AML42800AA 546 |
563 | ml674001 MACH_MACH_TYPE_ML674001 MACH_TYPE_ML674001 547 | ||
564 | lpc2294 MACH_LPC2294 LPC2294 548 | 563 | lpc2294 MACH_LPC2294 LPC2294 548 |
565 | switchgrass MACH_SWITCHGRASS SWITCHGRASS 549 | 564 | switchgrass MACH_SWITCHGRASS SWITCHGRASS 549 |
566 | ens_cmu MACH_ENS_CMU ENS_CMU 550 | 565 | ens_cmu MACH_ENS_CMU ENS_CMU 550 |
@@ -748,7 +747,6 @@ anubis MACH_ANUBIS ANUBIS 734 | |||
748 | ite8152 MACH_ITE8152 ITE8152 735 | 747 | ite8152 MACH_ITE8152 ITE8152 735 |
749 | lpc3xxx MACH_LPC3XXX LPC3XXX 736 | 748 | lpc3xxx MACH_LPC3XXX LPC3XXX 736 |
750 | puppeteer MACH_PUPPETEER PUPPETEER 737 | 749 | puppeteer MACH_PUPPETEER PUPPETEER 737 |
751 | vt001 MACH_MACH_VADATECH MACH_VADATECH 738 | ||
752 | e570 MACH_E570 E570 739 | 750 | e570 MACH_E570 E570 739 |
753 | x50 MACH_X50 X50 740 | 751 | x50 MACH_X50 X50 740 |
754 | recon MACH_RECON RECON 741 | 752 | recon MACH_RECON RECON 741 |
@@ -839,7 +837,7 @@ ccxp270 MACH_CCXP CCXP 825 | |||
839 | omap_gsample MACH_OMAP_GSAMPLE OMAP_GSAMPLE 826 | 837 | omap_gsample MACH_OMAP_GSAMPLE OMAP_GSAMPLE 826 |
840 | realview_eb MACH_REALVIEW_EB REALVIEW_EB 827 | 838 | realview_eb MACH_REALVIEW_EB REALVIEW_EB 827 |
841 | samoa MACH_SAMOA SAMOA 828 | 839 | samoa MACH_SAMOA SAMOA 828 |
842 | t3xscale MACH_T3XSCALE T3XSCALE 829 | 840 | palmt3 MACH_PALMT3 PALMT3 829 |
843 | i878 MACH_I878 I878 830 | 841 | i878 MACH_I878 I878 830 |
844 | borzoi MACH_BORZOI BORZOI 831 | 842 | borzoi MACH_BORZOI BORZOI 831 |
845 | gecko MACH_GECKO GECKO 832 | 843 | gecko MACH_GECKO GECKO 832 |
@@ -895,7 +893,7 @@ mio8390 MACH_MIO8390 MIO8390 881 | |||
895 | omi_board MACH_OMI_BOARD OMI_BOARD 882 | 893 | omi_board MACH_OMI_BOARD OMI_BOARD 882 |
896 | mx21civ MACH_MX21CIV MX21CIV 883 | 894 | mx21civ MACH_MX21CIV MX21CIV 883 |
897 | mahi_cdac MACH_MAHI_CDAC MAHI_CDAC 884 | 895 | mahi_cdac MACH_MAHI_CDAC MAHI_CDAC 884 |
898 | xscale_palmtx MACH_XSCALE_PALMTX XSCALE_PALMTX 885 | 896 | palmtx MACH_PALMTX PALMTX 885 |
899 | s3c2413 MACH_S3C2413 S3C2413 887 | 897 | s3c2413 MACH_S3C2413 S3C2413 887 |
900 | samsys_ep0 MACH_SAMSYS_EP0 SAMSYS_EP0 888 | 898 | samsys_ep0 MACH_SAMSYS_EP0 SAMSYS_EP0 888 |
901 | wg302v1 MACH_WG302V1 WG302V1 889 | 899 | wg302v1 MACH_WG302V1 WG302V1 889 |
@@ -918,7 +916,7 @@ nxdb500 MACH_NXDB500 NXDB500 905 | |||
918 | apf9328 MACH_APF9328 APF9328 906 | 916 | apf9328 MACH_APF9328 APF9328 906 |
919 | omap_wipoq MACH_OMAP_WIPOQ OMAP_WIPOQ 907 | 917 | omap_wipoq MACH_OMAP_WIPOQ OMAP_WIPOQ 907 |
920 | omap_twip MACH_OMAP_TWIP OMAP_TWIP 908 | 918 | omap_twip MACH_OMAP_TWIP OMAP_TWIP 908 |
921 | xscale_treo650 MACH_XSCALE_PALMTREO650 XSCALE_PALMTREO650 909 | 919 | palmtreo650 MACH_PALMTREO650 PALMTREO650 909 |
922 | acumen MACH_ACUMEN ACUMEN 910 | 920 | acumen MACH_ACUMEN ACUMEN 910 |
923 | xp100 MACH_XP100 XP100 911 | 921 | xp100 MACH_XP100 XP100 911 |
924 | fs2410 MACH_FS2410 FS2410 912 | 922 | fs2410 MACH_FS2410 FS2410 912 |
@@ -926,8 +924,8 @@ pxa270_cerf MACH_PXA270_CERF PXA270_CERF 913 | |||
926 | sq2ftlpalm MACH_SQ2FTLPALM SQ2FTLPALM 914 | 924 | sq2ftlpalm MACH_SQ2FTLPALM SQ2FTLPALM 914 |
927 | bsemserver MACH_BSEMSERVER BSEMSERVER 915 | 925 | bsemserver MACH_BSEMSERVER BSEMSERVER 915 |
928 | netclient MACH_NETCLIENT NETCLIENT 916 | 926 | netclient MACH_NETCLIENT NETCLIENT 916 |
929 | xscale_palmtt5 MACH_XSCALE_PALMTT5 XSCALE_PALMTT5 917 | 927 | palmt5 MACH_PALMT5 PALMT5 917 |
930 | xscale_palmtc MACH_OMAP_PALMTC OMAP_PALMTC 918 | 928 | palmtc MACH_PALMTC PALMTC 918 |
931 | omap_apollon MACH_OMAP_APOLLON OMAP_APOLLON 919 | 929 | omap_apollon MACH_OMAP_APOLLON OMAP_APOLLON 919 |
932 | mxc30030evb MACH_MXC30030EVB MXC30030EVB 920 | 930 | mxc30030evb MACH_MXC30030EVB MXC30030EVB 920 |
933 | rea_2d MACH_REA_2D REA_2D 921 | 931 | rea_2d MACH_REA_2D REA_2D 921 |
@@ -1220,7 +1218,6 @@ empca400 MACH_EMPCA400 EMPCA400 1211 | |||
1220 | em7210 MACH_EM7210 EM7210 1212 | 1218 | em7210 MACH_EM7210 EM7210 1212 |
1221 | htchermes MACH_HTCHERMES HTCHERMES 1213 | 1219 | htchermes MACH_HTCHERMES HTCHERMES 1213 |
1222 | eti_c1 MACH_ETI_C1 ETI_C1 1214 | 1220 | eti_c1 MACH_ETI_C1 ETI_C1 1214 |
1223 | mach_dep2410 MACH_MACH_DEP2410 MACH_DEP2410 1215 | ||
1224 | ac100 MACH_AC100 AC100 1216 | 1221 | ac100 MACH_AC100 AC100 1216 |
1225 | sneetch MACH_SNEETCH SNEETCH 1217 | 1222 | sneetch MACH_SNEETCH SNEETCH 1217 |
1226 | studentmate MACH_STUDENTMATE STUDENTMATE 1218 | 1223 | studentmate MACH_STUDENTMATE STUDENTMATE 1218 |
@@ -1421,10 +1418,10 @@ looxc550 MACH_LOOXC550 LOOXC550 1417 | |||
1421 | cnty_titan MACH_CNTY_TITAN CNTY_TITAN 1418 | 1418 | cnty_titan MACH_CNTY_TITAN CNTY_TITAN 1418 |
1422 | app3xx MACH_APP3XX APP3XX 1419 | 1419 | app3xx MACH_APP3XX APP3XX 1419 |
1423 | sideoatsgrama MACH_SIDEOATSGRAMA SIDEOATSGRAMA 1420 | 1420 | sideoatsgrama MACH_SIDEOATSGRAMA SIDEOATSGRAMA 1420 |
1424 | xscale_palmt700p MACH_XSCALE_PALMT700P XSCALE_PALMT700P 1421 | 1421 | palmtreo700p MACH_PALMTREO700P PALMTREO700P 1421 |
1425 | xscale_palmt700w MACH_XSCALE_PALMT700W XSCALE_PALMT700W 1422 | 1422 | palmtreo700w MACH_PALMTREO700W PALMTREO700W 1422 |
1426 | xscale_palmt750 MACH_XSCALE_PALMT750 XSCALE_PALMT750 1423 | 1423 | palmtreo750 MACH_PALMTREO750 PALMTREO750 1423 |
1427 | xscale_palmt755p MACH_XSCALE_PALMT755P XSCALE_PALMT755P 1424 | 1424 | palmtreo755p MACH_PALMTREO755P PALMTREO755P 1424 |
1428 | ezreganut9200 MACH_EZREGANUT9200 EZREGANUT9200 1425 | 1425 | ezreganut9200 MACH_EZREGANUT9200 EZREGANUT9200 1425 |
1429 | sarge MACH_SARGE SARGE 1426 | 1426 | sarge MACH_SARGE SARGE 1426 |
1430 | a696 MACH_A696 A696 1427 | 1427 | a696 MACH_A696 A696 1427 |
@@ -1463,7 +1460,7 @@ artemis MACH_ARTEMIS ARTEMIS 1462 | |||
1463 | htctitan MACH_HTCTITAN HTCTITAN 1463 | 1460 | htctitan MACH_HTCTITAN HTCTITAN 1463 |
1464 | qranium MACH_QRANIUM QRANIUM 1464 | 1461 | qranium MACH_QRANIUM QRANIUM 1464 |
1465 | adx_wsc2 MACH_ADX_WSC2 ADX_WSC2 1465 | 1462 | adx_wsc2 MACH_ADX_WSC2 ADX_WSC2 1465 |
1466 | adx_medcom MACH_ADX_MEDINET ADX_MEDINET 1466 | 1463 | adx_medcom MACH_ADX_MEDCOM ADX_MEDCOM 1466 |
1467 | bboard MACH_BBOARD BBOARD 1467 | 1464 | bboard MACH_BBOARD BBOARD 1467 |
1468 | cambria MACH_CAMBRIA CAMBRIA 1468 | 1465 | cambria MACH_CAMBRIA CAMBRIA 1468 |
1469 | mt7xxx MACH_MT7XXX MT7XXX 1469 | 1466 | mt7xxx MACH_MT7XXX MT7XXX 1469 |
@@ -1519,7 +1516,7 @@ wp188 MACH_WP188 WP188 1518 | |||
1519 | corsica MACH_CORSICA CORSICA 1519 | 1516 | corsica MACH_CORSICA CORSICA 1519 |
1520 | bigeye MACH_BIGEYE BIGEYE 1520 | 1517 | bigeye MACH_BIGEYE BIGEYE 1520 |
1521 | tll5000 MACH_TLL5000 TLL5000 1522 | 1518 | tll5000 MACH_TLL5000 TLL5000 1522 |
1522 | hni270 MACH_HNI_X270 HNI_X270 1523 | 1519 | bebot MACH_BEBOT BEBOT 1523 |
1523 | qong MACH_QONG QONG 1524 | 1520 | qong MACH_QONG QONG 1524 |
1524 | tcompact MACH_TCOMPACT TCOMPACT 1525 | 1521 | tcompact MACH_TCOMPACT TCOMPACT 1525 |
1525 | puma5 MACH_PUMA5 PUMA5 1526 | 1522 | puma5 MACH_PUMA5 PUMA5 1526 |
@@ -1636,7 +1633,6 @@ awlug4lcu MACH_AWLUG4LCU AWLUG4LCU 1637 | |||
1636 | palermoc MACH_PALERMOC PALERMOC 1638 | 1633 | palermoc MACH_PALERMOC PALERMOC 1638 |
1637 | omap_ldp MACH_OMAP_LDP OMAP_LDP 1639 | 1634 | omap_ldp MACH_OMAP_LDP OMAP_LDP 1639 |
1638 | ip500 MACH_IP500 IP500 1640 | 1635 | ip500 MACH_IP500 IP500 1640 |
1639 | mx35ads MACH_MACH_MX35ADS MACH_MX35ADS 1641 | ||
1640 | ase2 MACH_ASE2 ASE2 1642 | 1636 | ase2 MACH_ASE2 ASE2 1642 |
1641 | mx35evb MACH_MX35EVB MX35EVB 1643 | 1637 | mx35evb MACH_MX35EVB MX35EVB 1643 |
1642 | aml_m8050 MACH_AML_M8050 AML_M8050 1644 | 1638 | aml_m8050 MACH_AML_M8050 AML_M8050 1644 |
@@ -1647,7 +1643,7 @@ badger MACH_BADGER BADGER 1648 | |||
1647 | trizeps4wl MACH_TRIZEPS4WL TRIZEPS4WL 1649 | 1643 | trizeps4wl MACH_TRIZEPS4WL TRIZEPS4WL 1649 |
1648 | trizeps5 MACH_TRIZEPS5 TRIZEPS5 1650 | 1644 | trizeps5 MACH_TRIZEPS5 TRIZEPS5 1650 |
1649 | marlin MACH_MARLIN MARLIN 1651 | 1645 | marlin MACH_MARLIN MARLIN 1651 |
1650 | ts7800 MACH_TS7800 TS7800 1652 | 1646 | ts78xx MACH_TS78XX TS78XX 1652 |
1651 | hpipaq214 MACH_HPIPAQ214 HPIPAQ214 1653 | 1647 | hpipaq214 MACH_HPIPAQ214 HPIPAQ214 1653 |
1652 | at572d940dcm MACH_AT572D940DCM AT572D940DCM 1654 | 1648 | at572d940dcm MACH_AT572D940DCM AT572D940DCM 1654 |
1653 | ne1board MACH_NE1BOARD NE1BOARD 1655 | 1649 | ne1board MACH_NE1BOARD NE1BOARD 1655 |
@@ -1720,3 +1716,99 @@ htc_kaiser MACH_HTC_KAISER HTC_KAISER 1724 | |||
1720 | lg_ks20 MACH_LG_KS20 LG_KS20 1725 | 1716 | lg_ks20 MACH_LG_KS20 LG_KS20 1725 |
1721 | hhgps MACH_HHGPS HHGPS 1726 | 1717 | hhgps MACH_HHGPS HHGPS 1726 |
1722 | nokia_n810_wimax MACH_NOKIA_N810_WIMAX NOKIA_N810_WIMAX 1727 | 1718 | nokia_n810_wimax MACH_NOKIA_N810_WIMAX NOKIA_N810_WIMAX 1727 |
1719 | insight MACH_INSIGHT INSIGHT 1728 | ||
1720 | sapphire MACH_SAPPHIRE SAPPHIRE 1729 | ||
1721 | csb637xo MACH_CSB637XO CSB637XO 1730 | ||
1722 | evisiong MACH_EVISIONG EVISIONG 1731 | ||
1723 | stmp37xx MACH_STMP37XX STMP37XX 1732 | ||
1724 | stmp378x MACH_STMP38XX STMP38XX 1733 | ||
1725 | tnt MACH_TNT TNT 1734 | ||
1726 | tbxt MACH_TBXT TBXT 1735 | ||
1727 | playmate MACH_PLAYMATE PLAYMATE 1736 | ||
1728 | pns10 MACH_PNS10 PNS10 1737 | ||
1729 | eznavi MACH_EZNAVI EZNAVI 1738 | ||
1730 | ps4000 MACH_PS4000 PS4000 1739 | ||
1731 | ezx_a780 MACH_EZX_A780 EZX_A780 1740 | ||
1732 | ezx_e680 MACH_EZX_E680 EZX_E680 1741 | ||
1733 | ezx_a1200 MACH_EZX_A1200 EZX_A1200 1742 | ||
1734 | ezx_e6 MACH_EZX_E6 EZX_E6 1743 | ||
1735 | ezx_e2 MACH_EZX_E2 EZX_E2 1744 | ||
1736 | ezx_a910 MACH_EZX_A910 EZX_A910 1745 | ||
1737 | cwmx31 MACH_CWMX31 CWMX31 1746 | ||
1738 | sl2312 MACH_SL2312 SL2312 1747 | ||
1739 | blenny MACH_BLENNY BLENNY 1748 | ||
1740 | ds107 MACH_DS107 DS107 1749 | ||
1741 | dsx07 MACH_DSX07 DSX07 1750 | ||
1742 | picocom1 MACH_PICOCOM1 PICOCOM1 1751 | ||
1743 | lynx_wolverine MACH_LYNX_WOLVERINE LYNX_WOLVERINE 1752 | ||
1744 | ubisys_p9_sc19 MACH_UBISYS_P9_SC19 UBISYS_P9_SC19 1753 | ||
1745 | kratos_low MACH_KRATOS_LOW KRATOS_LOW 1754 | ||
1746 | m700 MACH_M700 M700 1755 | ||
1747 | edmini_v2 MACH_EDMINI_V2 EDMINI_V2 1756 | ||
1748 | zipit2 MACH_ZIPIT2 ZIPIT2 1757 | ||
1749 | hslfemtocell MACH_HSLFEMTOCELL HSLFEMTOCELL 1758 | ||
1750 | daintree_at91 MACH_DAINTREE_AT91 DAINTREE_AT91 1759 | ||
1751 | sg560usb MACH_SG560USB SG560USB 1760 | ||
1752 | omap3_pandora MACH_OMAP3_PANDORA OMAP3_PANDORA 1761 | ||
1753 | usr8200 MACH_USR8200 USR8200 1762 | ||
1754 | s1s65k MACH_S1S65K S1S65K 1763 | ||
1755 | s2s65a MACH_S2S65A S2S65A 1764 | ||
1756 | icore MACH_ICORE ICORE 1765 | ||
1757 | mss2 MACH_MSS2 MSS2 1766 | ||
1758 | belmont MACH_BELMONT BELMONT 1767 | ||
1759 | asusp525 MACH_ASUSP525 ASUSP525 1768 | ||
1760 | lb88rc8480 MACH_LB88RC8480 LB88RC8480 1769 | ||
1761 | hipxa MACH_HIPXA HIPXA 1770 | ||
1762 | mx25_3ds MACH_MX25_3DS MX25_3DS 1771 | ||
1763 | m800 MACH_M800 M800 1772 | ||
1764 | omap3530_lv_som MACH_OMAP3530_LV_SOM OMAP3530_LV_SOM 1773 | ||
1765 | prima_evb MACH_PRIMA_EVB PRIMA_EVB 1774 | ||
1766 | mx31bt1 MACH_MX31BT1 MX31BT1 1775 | ||
1767 | atlas4_evb MACH_ATLAS4_EVB ATLAS4_EVB 1776 | ||
1768 | mx31cicada MACH_MX31CICADA MX31CICADA 1777 | ||
1769 | mi424wr MACH_MI424WR MI424WR 1778 | ||
1770 | axs_ultrax MACH_AXS_ULTRAX AXS_ULTRAX 1779 | ||
1771 | at572d940deb MACH_AT572D940DEB AT572D940DEB 1780 | ||
1772 | davinci_da8xx_evm MACH_DAVINCI_DA8XX_EVM DAVINCI_DA8XX_EVM 1781 | ||
1773 | ep9302 MACH_EP9302 EP9302 1782 | ||
1774 | at572d940hfeb MACH_AT572D940HFEB AT572D940HFEB 1783 | ||
1775 | cybook3 MACH_CYBOOK3 CYBOOK3 1784 | ||
1776 | wdg002 MACH_WDG002 WDG002 1785 | ||
1777 | sg560adsl MACH_SG560ADSL SG560ADSL 1786 | ||
1778 | nextio_n2800_ica MACH_NEXTIO_N2800_ICA NEXTIO_N2800_ICA 1787 | ||
1779 | marvell_newdb MACH_MARVELL_NEWDB MARVELL_NEWDB 1789 | ||
1780 | vandihud MACH_VANDIHUD VANDIHUD 1790 | ||
1781 | magx_e8 MACH_MAGX_E8 MAGX_E8 1791 | ||
1782 | magx_z6 MACH_MAGX_Z6 MAGX_Z6 1792 | ||
1783 | magx_v8 MACH_MAGX_V8 MAGX_V8 1793 | ||
1784 | magx_u9 MACH_MAGX_U9 MAGX_U9 1794 | ||
1785 | toughcf08 MACH_TOUGHCF08 TOUGHCF08 1795 | ||
1786 | zw4400 MACH_ZW4400 ZW4400 1796 | ||
1787 | marat91 MACH_MARAT91 MARAT91 1797 | ||
1788 | overo MACH_OVERO OVERO 1798 | ||
1789 | at2440evb MACH_AT2440EVB AT2440EVB 1799 | ||
1790 | neocore926 MACH_NEOCORE926 NEOCORE926 1800 | ||
1791 | wnr854t MACH_WNR854T WNR854T 1801 | ||
1792 | imx27 MACH_IMX27 IMX27 1802 | ||
1793 | moose_db MACH_MOOSE_DB MOOSE_DB 1803 | ||
1794 | fab4 MACH_FAB4 FAB4 1804 | ||
1795 | htcdiamond MACH_HTCDIAMOND HTCDIAMOND 1805 | ||
1796 | fiona MACH_FIONA FIONA 1806 | ||
1797 | mxc30030_x MACH_MXC30030_X MXC30030_X 1807 | ||
1798 | bmp1000 MACH_BMP1000 BMP1000 1808 | ||
1799 | logi9200 MACH_LOGI9200 LOGI9200 1809 | ||
1800 | tqma31 MACH_TQMA31 TQMA31 1810 | ||
1801 | ccw9p9215js MACH_CCW9P9215JS CCW9P9215JS 1811 | ||
1802 | rd88f5181l_ge MACH_RD88F5181L_GE RD88F5181L_GE 1812 | ||
1803 | sifmain MACH_SIFMAIN SIFMAIN 1813 | ||
1804 | sam9_l9261 MACH_SAM9_L9261 SAM9_L9261 1814 | ||
1805 | cc9m2443js MACH_CC9M2443JS CC9M2443JS 1815 | ||
1806 | xaria300 MACH_XARIA300 XARIA300 1816 | ||
1807 | it9200 MACH_IT9200 IT9200 1817 | ||
1808 | rd88f5181l_fxo MACH_RD88F5181L_FXO RD88F5181L_FXO 1818 | ||
1809 | kriss_sensor MACH_KRISS_SENSOR KRISS_SENSOR 1819 | ||
1810 | pilz_pmi5 MACH_PILZ_PMI5 PILZ_PMI5 1820 | ||
1811 | jade MACH_JADE JADE 1821 | ||
1812 | ks8695_softplc MACH_KS8695_SOFTPLC KS8695_SOFTPLC 1822 | ||
1813 | gprisc4 MACH_GPRISC4 GPRISC4 1823 | ||
1814 | stamp9260 MACH_STAMP9260 STAMP9260 1824 | ||