summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-08-16 09:38:37 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-08-16 09:38:37 +0200
commit3242ac8f0aa57039141dab9c58a9703215c46539 (patch)
tree1b23fe7d37b902d11f277fc285ac644ca49d0dc2 /recipes-kernel
parentf334b1b45976de0b71e2016885a43af312ce10b5 (diff)
downloadmeta-ti-3242ac8f0aa57039141dab9c58a9703215c46539.tar.gz
linux-davinci: remove obsolete patches
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-davinci/dm355-evm/defconfig1857
-rw-r--r--recipes-kernel/linux/linux-davinci/dm355-leopard/0001-dm355-leopard-add-board-file-based-on-board-dm355-e.patch345
-rw-r--r--recipes-kernel/linux/linux-davinci/dm355-leopard/defconfig1798
-rw-r--r--recipes-kernel/linux/linux-davinci/dm355-leopard/vfpe.patch143
-rw-r--r--recipes-kernel/linux/linux-davinci/dm365-evm/defconfig1864
-rw-r--r--recipes-kernel/linux/linux-davinci/dm6446-evm/defconfig1711
-rw-r--r--recipes-kernel/linux/linux-davinci/dm6467-evm/defconfig1956
-rw-r--r--recipes-kernel/linux/linux-davinci/dm6467t-evm/defconfig1953
-rw-r--r--recipes-kernel/linux/linux-davinci/omapl137/configs/da830_omapl137_defconfig1803
-rw-r--r--recipes-kernel/linux/linux-davinci/omapl137/defconfig1803
-rw-r--r--recipes-kernel/linux/linux-davinci/vfpe1.patch3928
-rw-r--r--recipes-kernel/linux/linux-davinci/vfpe2.patch200
-rw-r--r--recipes-kernel/linux/linux-davinci/vfpe3.patch2558
-rw-r--r--recipes-kernel/linux/linux-davinci/vfpe4.patch1660
-rw-r--r--recipes-kernel/linux/linux-davinci/vfpe5.patch132
-rw-r--r--recipes-kernel/linux/linux-davinci/vfpe6.patch224
-rw-r--r--recipes-kernel/linux/linux-davinci/vfpe7.patch283
17 files changed, 0 insertions, 24218 deletions
diff --git a/recipes-kernel/linux/linux-davinci/dm355-evm/defconfig b/recipes-kernel/linux/linux-davinci/dm355-evm/defconfig
deleted file mode 100644
index 9908e95c..00000000
--- a/recipes-kernel/linux/linux-davinci/dm355-evm/defconfig
+++ /dev/null
@@ -1,1857 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.32-rc2-davinci1
4# Fri Oct 30 16:52:22 2009
5#
6CONFIG_ARM=y
7CONFIG_SYS_SUPPORTS_APM_EMULATION=y
8CONFIG_GENERIC_GPIO=y
9CONFIG_GENERIC_TIME=y
10CONFIG_GENERIC_CLOCKEVENTS=y
11CONFIG_GENERIC_HARDIRQS=y
12CONFIG_STACKTRACE_SUPPORT=y
13CONFIG_HAVE_LATENCYTOP_SUPPORT=y
14CONFIG_LOCKDEP_SUPPORT=y
15CONFIG_TRACE_IRQFLAGS_SUPPORT=y
16CONFIG_HARDIRQS_SW_RESEND=y
17CONFIG_GENERIC_IRQ_PROBE=y
18CONFIG_RWSEM_GENERIC_SPINLOCK=y
19CONFIG_GENERIC_HWEIGHT=y
20CONFIG_GENERIC_CALIBRATE_DELAY=y
21CONFIG_ZONE_DMA=y
22CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
23CONFIG_VECTORS_BASE=0xffff0000
24CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
25CONFIG_CONSTRUCTORS=y
26
27#
28# General setup
29#
30CONFIG_EXPERIMENTAL=y
31CONFIG_BROKEN_ON_SMP=y
32CONFIG_LOCK_KERNEL=y
33CONFIG_INIT_ENV_ARG_LIMIT=32
34CONFIG_LOCALVERSION=""
35CONFIG_LOCALVERSION_AUTO=y
36# CONFIG_SWAP is not set
37CONFIG_SYSVIPC=y
38CONFIG_SYSVIPC_SYSCTL=y
39CONFIG_POSIX_MQUEUE=y
40CONFIG_POSIX_MQUEUE_SYSCTL=y
41# CONFIG_BSD_PROCESS_ACCT is not set
42# CONFIG_TASKSTATS is not set
43# CONFIG_AUDIT is not set
44
45#
46# RCU Subsystem
47#
48CONFIG_TREE_RCU=y
49# CONFIG_TREE_PREEMPT_RCU is not set
50# CONFIG_RCU_TRACE is not set
51CONFIG_RCU_FANOUT=32
52# CONFIG_RCU_FANOUT_EXACT is not set
53# CONFIG_TREE_RCU_TRACE is not set
54CONFIG_IKCONFIG=y
55CONFIG_IKCONFIG_PROC=y
56CONFIG_LOG_BUF_SHIFT=14
57CONFIG_GROUP_SCHED=y
58CONFIG_FAIR_GROUP_SCHED=y
59# CONFIG_RT_GROUP_SCHED is not set
60CONFIG_USER_SCHED=y
61# CONFIG_CGROUP_SCHED is not set
62# CONFIG_CGROUPS is not set
63# CONFIG_SYSFS_DEPRECATED_V2 is not set
64# CONFIG_RELAY is not set
65# CONFIG_NAMESPACES is not set
66CONFIG_BLK_DEV_INITRD=y
67CONFIG_INITRAMFS_SOURCE=""
68CONFIG_RD_GZIP=y
69# CONFIG_RD_BZIP2 is not set
70# CONFIG_RD_LZMA is not set
71CONFIG_CC_OPTIMIZE_FOR_SIZE=y
72CONFIG_SYSCTL=y
73CONFIG_ANON_INODES=y
74CONFIG_EMBEDDED=y
75CONFIG_UID16=y
76CONFIG_SYSCTL_SYSCALL=y
77CONFIG_KALLSYMS=y
78# CONFIG_KALLSYMS_ALL is not set
79# CONFIG_KALLSYMS_EXTRA_PASS is not set
80CONFIG_HOTPLUG=y
81CONFIG_PRINTK=y
82CONFIG_BUG=y
83CONFIG_ELF_CORE=y
84CONFIG_BASE_FULL=y
85CONFIG_FUTEX=y
86CONFIG_EPOLL=y
87CONFIG_SIGNALFD=y
88CONFIG_TIMERFD=y
89CONFIG_EVENTFD=y
90CONFIG_SHMEM=y
91CONFIG_AIO=y
92
93#
94# Kernel Performance Events And Counters
95#
96CONFIG_VM_EVENT_COUNTERS=y
97CONFIG_SLUB_DEBUG=y
98CONFIG_COMPAT_BRK=y
99# CONFIG_SLAB is not set
100CONFIG_SLUB=y
101# CONFIG_SLOB is not set
102# CONFIG_PROFILING is not set
103CONFIG_HAVE_OPROFILE=y
104# CONFIG_KPROBES is not set
105CONFIG_HAVE_KPROBES=y
106CONFIG_HAVE_KRETPROBES=y
107CONFIG_HAVE_CLK=y
108
109#
110# GCOV-based kernel profiling
111#
112# CONFIG_GCOV_KERNEL is not set
113# CONFIG_SLOW_WORK is not set
114CONFIG_HAVE_GENERIC_DMA_COHERENT=y
115CONFIG_SLABINFO=y
116CONFIG_RT_MUTEXES=y
117CONFIG_BASE_SMALL=0
118CONFIG_MODULES=y
119# CONFIG_MODULE_FORCE_LOAD is not set
120CONFIG_MODULE_UNLOAD=y
121CONFIG_MODULE_FORCE_UNLOAD=y
122CONFIG_MODVERSIONS=y
123# CONFIG_MODULE_SRCVERSION_ALL is not set
124CONFIG_BLOCK=y
125CONFIG_LBDAF=y
126# CONFIG_BLK_DEV_BSG is not set
127# CONFIG_BLK_DEV_INTEGRITY is not set
128
129#
130# IO Schedulers
131#
132CONFIG_IOSCHED_NOOP=y
133CONFIG_IOSCHED_AS=y
134# CONFIG_IOSCHED_DEADLINE is not set
135# CONFIG_IOSCHED_CFQ is not set
136CONFIG_DEFAULT_AS=y
137# CONFIG_DEFAULT_DEADLINE is not set
138# CONFIG_DEFAULT_CFQ is not set
139# CONFIG_DEFAULT_NOOP is not set
140CONFIG_DEFAULT_IOSCHED="anticipatory"
141# CONFIG_FREEZER is not set
142
143#
144# System Type
145#
146CONFIG_MMU=y
147# CONFIG_ARCH_AAEC2000 is not set
148# CONFIG_ARCH_INTEGRATOR is not set
149# CONFIG_ARCH_REALVIEW is not set
150# CONFIG_ARCH_VERSATILE is not set
151# CONFIG_ARCH_AT91 is not set
152# CONFIG_ARCH_CLPS711X is not set
153# CONFIG_ARCH_GEMINI is not set
154# CONFIG_ARCH_EBSA110 is not set
155# CONFIG_ARCH_EP93XX is not set
156# CONFIG_ARCH_FOOTBRIDGE is not set
157# CONFIG_ARCH_MXC is not set
158# CONFIG_ARCH_STMP3XXX is not set
159# CONFIG_ARCH_NETX is not set
160# CONFIG_ARCH_H720X is not set
161# CONFIG_ARCH_NOMADIK is not set
162# CONFIG_ARCH_IOP13XX is not set
163# CONFIG_ARCH_IOP32X is not set
164# CONFIG_ARCH_IOP33X is not set
165# CONFIG_ARCH_IXP23XX is not set
166# CONFIG_ARCH_IXP2000 is not set
167# CONFIG_ARCH_IXP4XX is not set
168# CONFIG_ARCH_L7200 is not set
169# CONFIG_ARCH_KIRKWOOD is not set
170# CONFIG_ARCH_LOKI is not set
171# CONFIG_ARCH_MV78XX0 is not set
172# CONFIG_ARCH_ORION5X is not set
173# CONFIG_ARCH_MMP is not set
174# CONFIG_ARCH_KS8695 is not set
175# CONFIG_ARCH_NS9XXX is not set
176# CONFIG_ARCH_W90X900 is not set
177# CONFIG_ARCH_PNX4008 is not set
178# CONFIG_ARCH_PXA is not set
179# CONFIG_ARCH_MSM is not set
180# CONFIG_ARCH_RPC is not set
181# CONFIG_ARCH_SA1100 is not set
182# CONFIG_ARCH_S3C2410 is not set
183# CONFIG_ARCH_S3C64XX is not set
184# CONFIG_ARCH_S5PC1XX is not set
185# CONFIG_ARCH_SHARK is not set
186# CONFIG_ARCH_LH7A40X is not set
187# CONFIG_ARCH_U300 is not set
188CONFIG_ARCH_DAVINCI=y
189# CONFIG_ARCH_OMAP is not set
190# CONFIG_ARCH_BCMRING is not set
191CONFIG_AINTC=y
192CONFIG_ARCH_DAVINCI_DMx=y
193
194#
195# TI DaVinci Implementations
196#
197
198#
199# DaVinci Core Type
200#
201# CONFIG_ARCH_DAVINCI_DM644x is not set
202CONFIG_ARCH_DAVINCI_DM355=y
203# CONFIG_ARCH_DAVINCI_DM646x is not set
204# CONFIG_ARCH_DAVINCI_DA830 is not set
205# CONFIG_ARCH_DAVINCI_DA850 is not set
206# CONFIG_ARCH_DAVINCI_DM365 is not set
207
208#
209# DaVinci Board Type
210#
211CONFIG_MACH_DAVINCI_DM355_EVM=y
212# CONFIG_MACH_DM355_LEOPARD is not set
213CONFIG_DAVINCI_MUX=y
214# CONFIG_DAVINCI_MUX_DEBUG is not set
215# CONFIG_DAVINCI_MUX_WARNINGS is not set
216CONFIG_DAVINCI_RESET_CLOCKS=y
217CONFIG_OSC_CLK_FREQ=27000000
218
219#
220# Processor Type
221#
222CONFIG_CPU_32=y
223CONFIG_CPU_ARM926T=y
224CONFIG_CPU_32v5=y
225CONFIG_CPU_ABRT_EV5TJ=y
226CONFIG_CPU_PABRT_NOIFAR=y
227CONFIG_CPU_CACHE_VIVT=y
228CONFIG_CPU_COPY_V4WB=y
229CONFIG_CPU_TLB_V4WBI=y
230CONFIG_CPU_CP15=y
231CONFIG_CPU_CP15_MMU=y
232
233#
234# Processor Features
235#
236CONFIG_ARM_THUMB=y
237# CONFIG_CPU_ICACHE_DISABLE is not set
238# CONFIG_CPU_DCACHE_DISABLE is not set
239# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
240# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
241CONFIG_ARM_L1_CACHE_SHIFT=5
242CONFIG_COMMON_CLKDEV=y
243CONFIG_FORCE_MAX_ZONEORDER=13
244
245#
246# Bus support
247#
248# CONFIG_PCI_SYSCALL is not set
249# CONFIG_ARCH_SUPPORTS_MSI is not set
250# CONFIG_PCCARD is not set
251
252#
253# Kernel Features
254#
255CONFIG_TICK_ONESHOT=y
256CONFIG_NO_HZ=y
257CONFIG_HIGH_RES_TIMERS=y
258CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
259CONFIG_VMSPLIT_3G=y
260# CONFIG_VMSPLIT_2G is not set
261# CONFIG_VMSPLIT_1G is not set
262CONFIG_PAGE_OFFSET=0xC0000000
263# CONFIG_PREEMPT_NONE is not set
264# CONFIG_PREEMPT_VOLUNTARY is not set
265CONFIG_PREEMPT=y
266CONFIG_HZ=100
267CONFIG_AEABI=y
268# CONFIG_OABI_COMPAT is not set
269# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
270# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
271# CONFIG_HIGHMEM is not set
272CONFIG_SELECT_MEMORY_MODEL=y
273CONFIG_FLATMEM_MANUAL=y
274# CONFIG_DISCONTIGMEM_MANUAL is not set
275# CONFIG_SPARSEMEM_MANUAL is not set
276CONFIG_FLATMEM=y
277CONFIG_FLAT_NODE_MEM_MAP=y
278CONFIG_PAGEFLAGS_EXTENDED=y
279CONFIG_SPLIT_PTLOCK_CPUS=4096
280# CONFIG_PHYS_ADDR_T_64BIT is not set
281CONFIG_ZONE_DMA_FLAG=1
282CONFIG_BOUNCE=y
283CONFIG_VIRT_TO_BUS=y
284CONFIG_HAVE_MLOCK=y
285CONFIG_HAVE_MLOCKED_PAGE_BIT=y
286# CONFIG_KSM is not set
287CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
288CONFIG_LEDS=y
289# CONFIG_LEDS_CPU is not set
290CONFIG_ALIGNMENT_TRAP=y
291# CONFIG_UACCESS_WITH_MEMCPY is not set
292
293#
294# Boot options
295#
296CONFIG_ZBOOT_ROM_TEXT=0x0
297CONFIG_ZBOOT_ROM_BSS=0x0
298CONFIG_CMDLINE=""
299# CONFIG_XIP_KERNEL is not set
300# CONFIG_KEXEC is not set
301
302#
303# CPU Power Management
304#
305# CONFIG_CPU_IDLE is not set
306
307#
308# Floating point emulation
309#
310
311#
312# At least one emulation must be selected
313#
314# CONFIG_VFP is not set
315
316#
317# Userspace binary formats
318#
319CONFIG_BINFMT_ELF=y
320# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
321CONFIG_HAVE_AOUT=y
322# CONFIG_BINFMT_AOUT is not set
323# CONFIG_BINFMT_MISC is not set
324
325#
326# Power management options
327#
328# CONFIG_PM is not set
329CONFIG_ARCH_SUSPEND_POSSIBLE=y
330CONFIG_NET=y
331
332#
333# Networking options
334#
335CONFIG_PACKET=y
336# CONFIG_PACKET_MMAP is not set
337CONFIG_UNIX=y
338CONFIG_XFRM=y
339# CONFIG_XFRM_USER is not set
340# CONFIG_XFRM_SUB_POLICY is not set
341# CONFIG_XFRM_MIGRATE is not set
342# CONFIG_XFRM_STATISTICS is not set
343# CONFIG_NET_KEY is not set
344CONFIG_INET=y
345# CONFIG_IP_MULTICAST is not set
346# CONFIG_IP_ADVANCED_ROUTER is not set
347CONFIG_IP_FIB_HASH=y
348CONFIG_IP_PNP=y
349CONFIG_IP_PNP_DHCP=y
350# CONFIG_IP_PNP_BOOTP is not set
351# CONFIG_IP_PNP_RARP is not set
352# CONFIG_NET_IPIP is not set
353# CONFIG_NET_IPGRE is not set
354# CONFIG_ARPD is not set
355# CONFIG_SYN_COOKIES is not set
356# CONFIG_INET_AH is not set
357# CONFIG_INET_ESP is not set
358# CONFIG_INET_IPCOMP is not set
359# CONFIG_INET_XFRM_TUNNEL is not set
360CONFIG_INET_TUNNEL=m
361CONFIG_INET_XFRM_MODE_TRANSPORT=y
362CONFIG_INET_XFRM_MODE_TUNNEL=y
363CONFIG_INET_XFRM_MODE_BEET=y
364# CONFIG_INET_LRO is not set
365CONFIG_INET_DIAG=y
366CONFIG_INET_TCP_DIAG=y
367# CONFIG_TCP_CONG_ADVANCED is not set
368CONFIG_TCP_CONG_CUBIC=y
369CONFIG_DEFAULT_TCP_CONG="cubic"
370# CONFIG_TCP_MD5SIG is not set
371CONFIG_IPV6=m
372# CONFIG_IPV6_PRIVACY is not set
373# CONFIG_IPV6_ROUTER_PREF is not set
374# CONFIG_IPV6_OPTIMISTIC_DAD is not set
375# CONFIG_INET6_AH is not set
376# CONFIG_INET6_ESP is not set
377# CONFIG_INET6_IPCOMP is not set
378# CONFIG_IPV6_MIP6 is not set
379# CONFIG_INET6_XFRM_TUNNEL is not set
380# CONFIG_INET6_TUNNEL is not set
381CONFIG_INET6_XFRM_MODE_TRANSPORT=m
382CONFIG_INET6_XFRM_MODE_TUNNEL=m
383CONFIG_INET6_XFRM_MODE_BEET=m
384# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
385CONFIG_IPV6_SIT=m
386CONFIG_IPV6_NDISC_NODETYPE=y
387# CONFIG_IPV6_TUNNEL is not set
388# CONFIG_IPV6_MULTIPLE_TABLES is not set
389# CONFIG_IPV6_MROUTE is not set
390# CONFIG_NETWORK_SECMARK is not set
391CONFIG_NETFILTER=y
392# CONFIG_NETFILTER_DEBUG is not set
393CONFIG_NETFILTER_ADVANCED=y
394
395#
396# Core Netfilter Configuration
397#
398# CONFIG_NETFILTER_NETLINK_QUEUE is not set
399# CONFIG_NETFILTER_NETLINK_LOG is not set
400# CONFIG_NF_CONNTRACK is not set
401# CONFIG_NETFILTER_XTABLES is not set
402# CONFIG_IP_VS is not set
403
404#
405# IP: Netfilter Configuration
406#
407# CONFIG_NF_DEFRAG_IPV4 is not set
408# CONFIG_IP_NF_QUEUE is not set
409# CONFIG_IP_NF_IPTABLES is not set
410# CONFIG_IP_NF_ARPTABLES is not set
411
412#
413# IPv6: Netfilter Configuration
414#
415# CONFIG_IP6_NF_QUEUE is not set
416# CONFIG_IP6_NF_IPTABLES is not set
417# CONFIG_IP_DCCP is not set
418# CONFIG_IP_SCTP is not set
419# CONFIG_RDS is not set
420# CONFIG_TIPC is not set
421# CONFIG_ATM is not set
422# CONFIG_BRIDGE is not set
423# CONFIG_NET_DSA is not set
424# CONFIG_VLAN_8021Q is not set
425# CONFIG_DECNET is not set
426# CONFIG_LLC2 is not set
427# CONFIG_IPX is not set
428# CONFIG_ATALK is not set
429# CONFIG_X25 is not set
430# CONFIG_LAPB is not set
431# CONFIG_ECONET is not set
432# CONFIG_WAN_ROUTER is not set
433# CONFIG_PHONET is not set
434# CONFIG_IEEE802154 is not set
435# CONFIG_NET_SCHED is not set
436# CONFIG_DCB is not set
437
438#
439# Network testing
440#
441# CONFIG_NET_PKTGEN is not set
442# CONFIG_HAMRADIO is not set
443# CONFIG_CAN is not set
444# CONFIG_IRDA is not set
445# CONFIG_BT is not set
446# CONFIG_AF_RXRPC is not set
447CONFIG_WIRELESS=y
448CONFIG_CFG80211=y
449# CONFIG_NL80211_TESTMODE is not set
450# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
451# CONFIG_CFG80211_REG_DEBUG is not set
452CONFIG_CFG80211_DEFAULT_PS=y
453CONFIG_CFG80211_DEFAULT_PS_VALUE=1
454# CONFIG_CFG80211_DEBUGFS is not set
455CONFIG_WIRELESS_OLD_REGULATORY=y
456CONFIG_WIRELESS_EXT=y
457CONFIG_WIRELESS_EXT_SYSFS=y
458CONFIG_LIB80211=y
459# CONFIG_LIB80211_DEBUG is not set
460# CONFIG_MAC80211 is not set
461# CONFIG_WIMAX is not set
462# CONFIG_RFKILL is not set
463# CONFIG_NET_9P is not set
464
465#
466# Device Drivers
467#
468
469#
470# Generic Driver Options
471#
472CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
473# CONFIG_DEVTMPFS is not set
474CONFIG_STANDALONE=y
475CONFIG_PREVENT_FIRMWARE_BUILD=y
476CONFIG_FW_LOADER=y
477CONFIG_FIRMWARE_IN_KERNEL=y
478CONFIG_EXTRA_FIRMWARE=""
479# CONFIG_DEBUG_DRIVER is not set
480# CONFIG_DEBUG_DEVRES is not set
481# CONFIG_SYS_HYPERVISOR is not set
482# CONFIG_CONNECTOR is not set
483CONFIG_MTD=y
484# CONFIG_MTD_DEBUG is not set
485CONFIG_MTD_TESTS=m
486# CONFIG_MTD_CONCAT is not set
487CONFIG_MTD_PARTITIONS=y
488# CONFIG_MTD_REDBOOT_PARTS is not set
489CONFIG_MTD_CMDLINE_PARTS=y
490# CONFIG_MTD_AFS_PARTS is not set
491# CONFIG_MTD_AR7_PARTS is not set
492
493#
494# User Modules And Translation Layers
495#
496CONFIG_MTD_CHAR=y
497CONFIG_MTD_BLKDEVS=y
498CONFIG_MTD_BLOCK=y
499# CONFIG_FTL is not set
500# CONFIG_NFTL is not set
501# CONFIG_INFTL is not set
502# CONFIG_RFD_FTL is not set
503# CONFIG_SSFDC is not set
504# CONFIG_MTD_OOPS is not set
505
506#
507# RAM/ROM/Flash chip drivers
508#
509# CONFIG_MTD_CFI is not set
510# CONFIG_MTD_JEDECPROBE is not set
511CONFIG_MTD_MAP_BANK_WIDTH_1=y
512CONFIG_MTD_MAP_BANK_WIDTH_2=y
513CONFIG_MTD_MAP_BANK_WIDTH_4=y
514# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
515# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
516# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
517CONFIG_MTD_CFI_I1=y
518CONFIG_MTD_CFI_I2=y
519# CONFIG_MTD_CFI_I4 is not set
520# CONFIG_MTD_CFI_I8 is not set
521# CONFIG_MTD_RAM is not set
522# CONFIG_MTD_ROM is not set
523# CONFIG_MTD_ABSENT is not set
524
525#
526# Mapping drivers for chip access
527#
528# CONFIG_MTD_COMPLEX_MAPPINGS is not set
529# CONFIG_MTD_PLATRAM is not set
530
531#
532# Self-contained MTD device drivers
533#
534# CONFIG_MTD_DATAFLASH is not set
535# CONFIG_MTD_M25P80 is not set
536# CONFIG_MTD_SST25L is not set
537# CONFIG_MTD_SLRAM is not set
538# CONFIG_MTD_PHRAM is not set
539# CONFIG_MTD_MTDRAM is not set
540# CONFIG_MTD_BLOCK2MTD is not set
541
542#
543# Disk-On-Chip Device Drivers
544#
545# CONFIG_MTD_DOC2000 is not set
546# CONFIG_MTD_DOC2001 is not set
547# CONFIG_MTD_DOC2001PLUS is not set
548CONFIG_MTD_NAND=y
549# CONFIG_MTD_NAND_VERIFY_WRITE is not set
550# CONFIG_MTD_NAND_ECC_SMC is not set
551# CONFIG_MTD_NAND_MUSEUM_IDS is not set
552# CONFIG_MTD_NAND_GPIO is not set
553CONFIG_MTD_NAND_IDS=y
554# CONFIG_MTD_NAND_DISKONCHIP is not set
555# CONFIG_MTD_NAND_NANDSIM is not set
556# CONFIG_MTD_NAND_PLATFORM is not set
557# CONFIG_MTD_ALAUDA is not set
558CONFIG_MTD_NAND_DAVINCI=y
559# CONFIG_MTD_ONENAND is not set
560
561#
562# LPDDR flash memory drivers
563#
564# CONFIG_MTD_LPDDR is not set
565
566#
567# UBI - Unsorted block images
568#
569# CONFIG_MTD_UBI is not set
570# CONFIG_PARPORT is not set
571CONFIG_BLK_DEV=y
572# CONFIG_BLK_DEV_COW_COMMON is not set
573CONFIG_BLK_DEV_LOOP=m
574# CONFIG_BLK_DEV_CRYPTOLOOP is not set
575# CONFIG_BLK_DEV_NBD is not set
576# CONFIG_BLK_DEV_UB is not set
577CONFIG_BLK_DEV_RAM=y
578CONFIG_BLK_DEV_RAM_COUNT=1
579CONFIG_BLK_DEV_RAM_SIZE=32768
580# CONFIG_BLK_DEV_XIP is not set
581# CONFIG_CDROM_PKTCDVD is not set
582# CONFIG_ATA_OVER_ETH is not set
583# CONFIG_MG_DISK is not set
584CONFIG_MISC_DEVICES=y
585# CONFIG_ICS932S401 is not set
586# CONFIG_ENCLOSURE_SERVICES is not set
587# CONFIG_ISL29003 is not set
588# CONFIG_C2PORT is not set
589
590#
591# EEPROM support
592#
593# CONFIG_EEPROM_AT24 is not set
594CONFIG_EEPROM_AT25=y
595# CONFIG_EEPROM_LEGACY is not set
596# CONFIG_EEPROM_MAX6875 is not set
597# CONFIG_EEPROM_93CX6 is not set
598CONFIG_HAVE_IDE=y
599# CONFIG_IDE is not set
600
601#
602# SCSI device support
603#
604# CONFIG_RAID_ATTRS is not set
605CONFIG_SCSI=y
606CONFIG_SCSI_DMA=y
607# CONFIG_SCSI_TGT is not set
608# CONFIG_SCSI_NETLINK is not set
609CONFIG_SCSI_PROC_FS=y
610
611#
612# SCSI support type (disk, tape, CD-ROM)
613#
614CONFIG_BLK_DEV_SD=y
615# CONFIG_CHR_DEV_ST is not set
616# CONFIG_CHR_DEV_OSST is not set
617# CONFIG_BLK_DEV_SR is not set
618# CONFIG_CHR_DEV_SG is not set
619# CONFIG_CHR_DEV_SCH is not set
620# CONFIG_SCSI_MULTI_LUN is not set
621# CONFIG_SCSI_CONSTANTS is not set
622# CONFIG_SCSI_LOGGING is not set
623# CONFIG_SCSI_SCAN_ASYNC is not set
624CONFIG_SCSI_WAIT_SCAN=m
625
626#
627# SCSI Transports
628#
629# CONFIG_SCSI_SPI_ATTRS is not set
630# CONFIG_SCSI_FC_ATTRS is not set
631# CONFIG_SCSI_ISCSI_ATTRS is not set
632# CONFIG_SCSI_SAS_LIBSAS is not set
633# CONFIG_SCSI_SRP_ATTRS is not set
634CONFIG_SCSI_LOWLEVEL=y
635# CONFIG_ISCSI_TCP is not set
636# CONFIG_LIBFC is not set
637# CONFIG_LIBFCOE is not set
638# CONFIG_SCSI_DEBUG is not set
639# CONFIG_SCSI_DH is not set
640# CONFIG_SCSI_OSD_INITIATOR is not set
641# CONFIG_ATA is not set
642# CONFIG_MD is not set
643CONFIG_NETDEVICES=y
644# CONFIG_DUMMY is not set
645# CONFIG_BONDING is not set
646# CONFIG_MACVLAN is not set
647# CONFIG_EQUALIZER is not set
648CONFIG_TUN=m
649# CONFIG_VETH is not set
650CONFIG_PHYLIB=y
651
652#
653# MII PHY device drivers
654#
655# CONFIG_MARVELL_PHY is not set
656# CONFIG_DAVICOM_PHY is not set
657# CONFIG_QSEMI_PHY is not set
658CONFIG_LXT_PHY=y
659# CONFIG_CICADA_PHY is not set
660# CONFIG_VITESSE_PHY is not set
661# CONFIG_SMSC_PHY is not set
662# CONFIG_BROADCOM_PHY is not set
663# CONFIG_ICPLUS_PHY is not set
664# CONFIG_REALTEK_PHY is not set
665# CONFIG_NATIONAL_PHY is not set
666# CONFIG_STE10XP is not set
667CONFIG_LSI_ET1011C_PHY=y
668# CONFIG_FIXED_PHY is not set
669# CONFIG_MDIO_BITBANG is not set
670CONFIG_NET_ETHERNET=y
671CONFIG_MII=y
672# CONFIG_AX88796 is not set
673# CONFIG_SMC91X is not set
674# CONFIG_TI_DAVINCI_EMAC is not set
675CONFIG_DM9000=y
676CONFIG_DM9000_DEBUGLEVEL=4
677# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
678# CONFIG_ENC28J60 is not set
679# CONFIG_ETHOC is not set
680# CONFIG_SMC911X is not set
681# CONFIG_SMSC911X is not set
682# CONFIG_DNET is not set
683# CONFIG_IBM_NEW_EMAC_ZMII is not set
684# CONFIG_IBM_NEW_EMAC_RGMII is not set
685# CONFIG_IBM_NEW_EMAC_TAH is not set
686# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
687# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
688# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
689# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
690# CONFIG_B44 is not set
691# CONFIG_KS8842 is not set
692# CONFIG_KS8851 is not set
693# CONFIG_NETDEV_1000 is not set
694# CONFIG_NETDEV_10000 is not set
695CONFIG_WLAN=y
696# CONFIG_WLAN_PRE80211 is not set
697CONFIG_WLAN_80211=y
698CONFIG_LIBERTAS=m
699# CONFIG_LIBERTAS_USB is not set
700CONFIG_LIBERTAS_SDIO=m
701# CONFIG_LIBERTAS_SPI is not set
702CONFIG_LIBERTAS_DEBUG=y
703# CONFIG_USB_ZD1201 is not set
704# CONFIG_USB_NET_RNDIS_WLAN is not set
705# CONFIG_ATH_COMMON is not set
706# CONFIG_HOSTAP is not set
707# CONFIG_IWM is not set
708
709#
710# Enable WiMAX (Networking options) to see the WiMAX drivers
711#
712
713#
714# USB Network Adapters
715#
716# CONFIG_USB_CATC is not set
717# CONFIG_USB_KAWETH is not set
718# CONFIG_USB_PEGASUS is not set
719# CONFIG_USB_RTL8150 is not set
720# CONFIG_USB_USBNET is not set
721# CONFIG_WAN is not set
722CONFIG_PPP=m
723# CONFIG_PPP_MULTILINK is not set
724# CONFIG_PPP_FILTER is not set
725CONFIG_PPP_ASYNC=m
726CONFIG_PPP_SYNC_TTY=m
727CONFIG_PPP_DEFLATE=m
728# CONFIG_PPP_BSDCOMP is not set
729# CONFIG_PPP_MPPE is not set
730# CONFIG_PPPOE is not set
731# CONFIG_PPPOL2TP is not set
732# CONFIG_SLIP is not set
733CONFIG_SLHC=m
734CONFIG_NETCONSOLE=y
735# CONFIG_NETCONSOLE_DYNAMIC is not set
736CONFIG_NETPOLL=y
737CONFIG_NETPOLL_TRAP=y
738CONFIG_NET_POLL_CONTROLLER=y
739# CONFIG_ISDN is not set
740# CONFIG_PHONE is not set
741
742#
743# Input device support
744#
745CONFIG_INPUT=y
746# CONFIG_INPUT_FF_MEMLESS is not set
747# CONFIG_INPUT_POLLDEV is not set
748
749#
750# Userland interfaces
751#
752# CONFIG_INPUT_MOUSEDEV is not set
753# CONFIG_INPUT_JOYDEV is not set
754CONFIG_INPUT_EVDEV=y
755CONFIG_INPUT_EVBUG=y
756
757#
758# Input Device Drivers
759#
760# CONFIG_INPUT_KEYBOARD is not set
761# CONFIG_INPUT_MOUSE is not set
762# CONFIG_INPUT_JOYSTICK is not set
763# CONFIG_INPUT_TABLET is not set
764# CONFIG_INPUT_TOUCHSCREEN is not set
765# CONFIG_INPUT_MISC is not set
766
767#
768# Hardware I/O ports
769#
770CONFIG_SERIO=y
771CONFIG_SERIO_SERPORT=y
772CONFIG_SERIO_LIBPS2=y
773# CONFIG_SERIO_RAW is not set
774# CONFIG_GAMEPORT is not set
775
776#
777# Character devices
778#
779CONFIG_VT=y
780CONFIG_CONSOLE_TRANSLATIONS=y
781# CONFIG_VT_CONSOLE is not set
782CONFIG_HW_CONSOLE=y
783# CONFIG_VT_HW_CONSOLE_BINDING is not set
784CONFIG_DEVKMEM=y
785# CONFIG_SERIAL_NONSTANDARD is not set
786
787#
788# Serial drivers
789#
790CONFIG_SERIAL_8250=y
791CONFIG_SERIAL_8250_CONSOLE=y
792CONFIG_SERIAL_8250_NR_UARTS=3
793CONFIG_SERIAL_8250_RUNTIME_UARTS=3
794# CONFIG_SERIAL_8250_EXTENDED is not set
795
796#
797# Non-8250 serial port support
798#
799# CONFIG_SERIAL_MAX3100 is not set
800CONFIG_SERIAL_CORE=y
801CONFIG_SERIAL_CORE_CONSOLE=y
802CONFIG_UNIX98_PTYS=y
803# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
804CONFIG_LEGACY_PTYS=y
805CONFIG_LEGACY_PTY_COUNT=256
806# CONFIG_IPMI_HANDLER is not set
807# CONFIG_HW_RANDOM is not set
808# CONFIG_R3964 is not set
809# CONFIG_RAW_DRIVER is not set
810# CONFIG_TCG_TPM is not set
811CONFIG_DM355_IPIPE=y
812CONFIG_IMP_PREVIEWER=y
813CONFIG_IMP_RESIZER=y
814# CONFIG_IMP_DEBUG is not set
815CONFIG_I2C=y
816CONFIG_I2C_BOARDINFO=y
817CONFIG_I2C_COMPAT=y
818CONFIG_I2C_CHARDEV=y
819CONFIG_I2C_HELPER_AUTO=y
820
821#
822# I2C Hardware Bus support
823#
824
825#
826# I2C system bus drivers (mostly embedded / system-on-chip)
827#
828CONFIG_I2C_DAVINCI=y
829# CONFIG_I2C_DESIGNWARE is not set
830# CONFIG_I2C_GPIO is not set
831# CONFIG_I2C_OCORES is not set
832# CONFIG_I2C_SIMTEC is not set
833
834#
835# External I2C/SMBus adapter drivers
836#
837# CONFIG_I2C_PARPORT_LIGHT is not set
838# CONFIG_I2C_TAOS_EVM is not set
839# CONFIG_I2C_TINY_USB is not set
840
841#
842# Other I2C/SMBus bus drivers
843#
844# CONFIG_I2C_PCA_PLATFORM is not set
845# CONFIG_I2C_STUB is not set
846
847#
848# Miscellaneous I2C Chip support
849#
850# CONFIG_DS1682 is not set
851# CONFIG_SENSORS_TSL2550 is not set
852# CONFIG_I2C_DEBUG_CORE is not set
853# CONFIG_I2C_DEBUG_ALGO is not set
854# CONFIG_I2C_DEBUG_BUS is not set
855# CONFIG_I2C_DEBUG_CHIP is not set
856CONFIG_SPI=y
857# CONFIG_SPI_DEBUG is not set
858CONFIG_SPI_MASTER=y
859
860#
861# SPI Master Controller Drivers
862#
863CONFIG_SPI_DAVINCI=y
864CONFIG_SPI_BITBANG=y
865# CONFIG_SPI_GPIO is not set
866
867#
868# SPI Protocol Masters
869#
870# CONFIG_SPI_SPIDEV is not set
871# CONFIG_SPI_TLE62X0 is not set
872
873#
874# PPS support
875#
876# CONFIG_PPS is not set
877CONFIG_ARCH_REQUIRE_GPIOLIB=y
878CONFIG_GPIOLIB=y
879# CONFIG_DEBUG_GPIO is not set
880# CONFIG_GPIO_SYSFS is not set
881
882#
883# Memory mapped GPIO expanders:
884#
885
886#
887# I2C GPIO expanders:
888#
889# CONFIG_GPIO_MAX732X is not set
890# CONFIG_GPIO_PCA953X is not set
891CONFIG_GPIO_PCF857X=y
892
893#
894# PCI GPIO expanders:
895#
896
897#
898# SPI GPIO expanders:
899#
900# CONFIG_GPIO_MAX7301 is not set
901# CONFIG_GPIO_MCP23S08 is not set
902# CONFIG_GPIO_MC33880 is not set
903
904#
905# AC97 GPIO expanders:
906#
907# CONFIG_W1 is not set
908# CONFIG_POWER_SUPPLY is not set
909CONFIG_HWMON=y
910# CONFIG_HWMON_VID is not set
911# CONFIG_HWMON_DEBUG_CHIP is not set
912
913#
914# Native drivers
915#
916# CONFIG_SENSORS_AD7414 is not set
917# CONFIG_SENSORS_AD7418 is not set
918# CONFIG_SENSORS_ADCXX is not set
919# CONFIG_SENSORS_ADM1021 is not set
920# CONFIG_SENSORS_ADM1025 is not set
921# CONFIG_SENSORS_ADM1026 is not set
922# CONFIG_SENSORS_ADM1029 is not set
923# CONFIG_SENSORS_ADM1031 is not set
924# CONFIG_SENSORS_ADM9240 is not set
925# CONFIG_SENSORS_ADT7462 is not set
926# CONFIG_SENSORS_ADT7470 is not set
927# CONFIG_SENSORS_ADT7473 is not set
928# CONFIG_SENSORS_ADT7475 is not set
929# CONFIG_SENSORS_ATXP1 is not set
930# CONFIG_SENSORS_DS1621 is not set
931# CONFIG_SENSORS_F71805F is not set
932# CONFIG_SENSORS_F71882FG is not set
933# CONFIG_SENSORS_F75375S is not set
934# CONFIG_SENSORS_G760A is not set
935# CONFIG_SENSORS_GL518SM is not set
936# CONFIG_SENSORS_GL520SM is not set
937# CONFIG_SENSORS_IT87 is not set
938# CONFIG_SENSORS_LM63 is not set
939# CONFIG_SENSORS_LM70 is not set
940# CONFIG_SENSORS_LM75 is not set
941# CONFIG_SENSORS_LM77 is not set
942# CONFIG_SENSORS_LM78 is not set
943# CONFIG_SENSORS_LM80 is not set
944# CONFIG_SENSORS_LM83 is not set
945# CONFIG_SENSORS_LM85 is not set
946# CONFIG_SENSORS_LM87 is not set
947# CONFIG_SENSORS_LM90 is not set
948# CONFIG_SENSORS_LM92 is not set
949# CONFIG_SENSORS_LM93 is not set
950# CONFIG_SENSORS_LTC4215 is not set
951# CONFIG_SENSORS_LTC4245 is not set
952# CONFIG_SENSORS_LM95241 is not set
953# CONFIG_SENSORS_MAX1111 is not set
954# CONFIG_SENSORS_MAX1619 is not set
955# CONFIG_SENSORS_MAX6650 is not set
956# CONFIG_SENSORS_PC87360 is not set
957# CONFIG_SENSORS_PC87427 is not set
958# CONFIG_SENSORS_PCF8591 is not set
959# CONFIG_SENSORS_SHT15 is not set
960# CONFIG_SENSORS_DME1737 is not set
961# CONFIG_SENSORS_SMSC47M1 is not set
962# CONFIG_SENSORS_SMSC47M192 is not set
963# CONFIG_SENSORS_SMSC47B397 is not set
964# CONFIG_SENSORS_ADS7828 is not set
965# CONFIG_SENSORS_THMC50 is not set
966# CONFIG_SENSORS_TMP401 is not set
967# CONFIG_SENSORS_TMP421 is not set
968# CONFIG_SENSORS_VT1211 is not set
969# CONFIG_SENSORS_W83781D is not set
970# CONFIG_SENSORS_W83791D is not set
971# CONFIG_SENSORS_W83792D is not set
972# CONFIG_SENSORS_W83793 is not set
973# CONFIG_SENSORS_W83L785TS is not set
974# CONFIG_SENSORS_W83L786NG is not set
975# CONFIG_SENSORS_W83627HF is not set
976# CONFIG_SENSORS_W83627EHF is not set
977# CONFIG_SENSORS_LIS3_SPI is not set
978# CONFIG_THERMAL is not set
979CONFIG_WATCHDOG=y
980# CONFIG_WATCHDOG_NOWAYOUT is not set
981
982#
983# Watchdog Device Drivers
984#
985# CONFIG_SOFT_WATCHDOG is not set
986CONFIG_DAVINCI_WATCHDOG=y
987
988#
989# USB-based Watchdog Cards
990#
991# CONFIG_USBPCWATCHDOG is not set
992CONFIG_SSB_POSSIBLE=y
993
994#
995# Sonics Silicon Backplane
996#
997# CONFIG_SSB is not set
998
999#
1000# Multifunction device drivers
1001#
1002# CONFIG_MFD_CORE is not set
1003# CONFIG_MFD_SM501 is not set
1004# CONFIG_MFD_ASIC3 is not set
1005CONFIG_MFD_DM355EVM_MSP=y
1006# CONFIG_HTC_EGPIO is not set
1007# CONFIG_HTC_PASIC3 is not set
1008# CONFIG_TPS65010 is not set
1009# CONFIG_TWL4030_CORE is not set
1010# CONFIG_MFD_TMIO is not set
1011# CONFIG_MFD_T7L66XB is not set
1012# CONFIG_MFD_TC6387XB is not set
1013# CONFIG_MFD_TC6393XB is not set
1014# CONFIG_PMIC_DA903X is not set
1015# CONFIG_MFD_WM8400 is not set
1016# CONFIG_MFD_WM831X is not set
1017# CONFIG_MFD_WM8350_I2C is not set
1018# CONFIG_MFD_PCF50633 is not set
1019# CONFIG_MFD_MC13783 is not set
1020# CONFIG_AB3100_CORE is not set
1021# CONFIG_EZX_PCAP is not set
1022# CONFIG_REGULATOR is not set
1023CONFIG_MEDIA_SUPPORT=y
1024
1025#
1026# Multimedia core support
1027#
1028CONFIG_VIDEO_DEV=y
1029CONFIG_VIDEO_V4L2_COMMON=y
1030# CONFIG_VIDEO_ALLOW_V4L1 is not set
1031# CONFIG_VIDEO_V4L1_COMPAT is not set
1032# CONFIG_DVB_CORE is not set
1033CONFIG_VIDEO_MEDIA=y
1034
1035#
1036# Multimedia drivers
1037#
1038# CONFIG_MEDIA_ATTACH is not set
1039CONFIG_MEDIA_TUNER=y
1040# CONFIG_MEDIA_TUNER_CUSTOMISE is not set
1041CONFIG_MEDIA_TUNER_SIMPLE=y
1042CONFIG_MEDIA_TUNER_TDA8290=y
1043CONFIG_MEDIA_TUNER_TDA9887=y
1044CONFIG_MEDIA_TUNER_TEA5761=y
1045CONFIG_MEDIA_TUNER_TEA5767=y
1046CONFIG_MEDIA_TUNER_MT20XX=y
1047CONFIG_MEDIA_TUNER_XC2028=y
1048CONFIG_MEDIA_TUNER_XC5000=y
1049CONFIG_MEDIA_TUNER_MC44S803=y
1050CONFIG_VIDEO_V4L2=y
1051CONFIG_VIDEOBUF_GEN=y
1052CONFIG_VIDEOBUF_VMALLOC=y
1053CONFIG_VIDEOBUF_DMA_CONTIG=y
1054CONFIG_VIDEO_CAPTURE_DRIVERS=y
1055# CONFIG_VIDEO_ADV_DEBUG is not set
1056# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
1057# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
1058
1059#
1060# Encoders/decoders and other helper chips
1061#
1062
1063#
1064# Audio decoders
1065#
1066# CONFIG_VIDEO_TVAUDIO is not set
1067# CONFIG_VIDEO_TDA7432 is not set
1068# CONFIG_VIDEO_TDA9840 is not set
1069# CONFIG_VIDEO_TDA9875 is not set
1070# CONFIG_VIDEO_TEA6415C is not set
1071# CONFIG_VIDEO_TEA6420 is not set
1072# CONFIG_VIDEO_MSP3400 is not set
1073# CONFIG_VIDEO_CS5345 is not set
1074# CONFIG_VIDEO_CS53L32A is not set
1075# CONFIG_VIDEO_M52790 is not set
1076# CONFIG_VIDEO_TLV320AIC23B is not set
1077# CONFIG_VIDEO_WM8775 is not set
1078# CONFIG_VIDEO_WM8739 is not set
1079# CONFIG_VIDEO_VP27SMPX is not set
1080
1081#
1082# RDS decoders
1083#
1084# CONFIG_VIDEO_SAA6588 is not set
1085
1086#
1087# Video decoders
1088#
1089# CONFIG_VIDEO_ADV7180 is not set
1090# CONFIG_VIDEO_BT819 is not set
1091# CONFIG_VIDEO_BT856 is not set
1092# CONFIG_VIDEO_BT866 is not set
1093# CONFIG_VIDEO_KS0127 is not set
1094# CONFIG_VIDEO_OV7670 is not set
1095# CONFIG_VIDEO_MT9V011 is not set
1096# CONFIG_VIDEO_TCM825X is not set
1097# CONFIG_VIDEO_SAA7110 is not set
1098# CONFIG_VIDEO_SAA711X is not set
1099# CONFIG_VIDEO_SAA717X is not set
1100CONFIG_VIDEO_TVP514X=y
1101# CONFIG_VIDEO_TVP5150 is not set
1102# CONFIG_VIDEO_TVP7002 is not set
1103# CONFIG_VIDEO_VPX3220 is not set
1104
1105#
1106# Video and audio decoders
1107#
1108# CONFIG_VIDEO_CX25840 is not set
1109
1110#
1111# MPEG video encoders
1112#
1113# CONFIG_VIDEO_CX2341X is not set
1114
1115#
1116# Video encoders
1117#
1118# CONFIG_VIDEO_SAA7127 is not set
1119# CONFIG_VIDEO_SAA7185 is not set
1120# CONFIG_VIDEO_ADV7170 is not set
1121# CONFIG_VIDEO_ADV7175 is not set
1122# CONFIG_VIDEO_THS7303 is not set
1123# CONFIG_VIDEO_THS7353 is not set
1124# CONFIG_VIDEO_ADV7343 is not set
1125# CONFIG_VIDEO_THS8200 is not set
1126
1127#
1128# Video improvement chips
1129#
1130# CONFIG_VIDEO_UPD64031A is not set
1131# CONFIG_VIDEO_UPD64083 is not set
1132CONFIG_VIDEO_DAVINCI_DISPLAY=y
1133CONFIG_DAVINCI_ENC_MNGR=y
1134CONFIG_ENC_MNGR_MAX_CHANNELS=1
1135CONFIG_DAVINCI_OSD=y
1136CONFIG_DAVINCI_VPBE_ENCODER=y
1137CONFIG_DAVINCI_LOGICPD_ENCODER=y
1138# CONFIG_DAVINCI_AVNET_ENCODER is not set
1139# CONFIG_VIDEO_VIVI is not set
1140CONFIG_VIDEO_VPSS_SYSTEM=y
1141CONFIG_VIDEO_VPFE_CAPTURE=y
1142CONFIG_VIDEO_DM355_CCDC=y
1143CONFIG_VIDEO_DM355_AF=y
1144CONFIG_VIDEO_DM355_AEW=y
1145# CONFIG_VIDEO_SAA5246A is not set
1146# CONFIG_VIDEO_SAA5249 is not set
1147# CONFIG_SOC_CAMERA is not set
1148CONFIG_SOC_CAMERA_MT9T031=y
1149# CONFIG_V4L_USB_DRIVERS is not set
1150# CONFIG_RADIO_ADAPTERS is not set
1151# CONFIG_DAB is not set
1152
1153#
1154# Graphics support
1155#
1156# CONFIG_VGASTATE is not set
1157CONFIG_VIDEO_OUTPUT_CONTROL=y
1158CONFIG_FB=y
1159# CONFIG_FIRMWARE_EDID is not set
1160# CONFIG_FB_DDC is not set
1161# CONFIG_FB_BOOT_VESA_SUPPORT is not set
1162CONFIG_FB_CFB_FILLRECT=y
1163CONFIG_FB_CFB_COPYAREA=y
1164CONFIG_FB_CFB_IMAGEBLIT=y
1165# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
1166# CONFIG_FB_SYS_FILLRECT is not set
1167# CONFIG_FB_SYS_COPYAREA is not set
1168# CONFIG_FB_SYS_IMAGEBLIT is not set
1169# CONFIG_FB_FOREIGN_ENDIAN is not set
1170# CONFIG_FB_SYS_FOPS is not set
1171# CONFIG_FB_SVGALIB is not set
1172# CONFIG_FB_MACMODES is not set
1173# CONFIG_FB_BACKLIGHT is not set
1174# CONFIG_FB_MODE_HELPERS is not set
1175# CONFIG_FB_TILEBLITTING is not set
1176
1177#
1178# Frame buffer hardware drivers
1179#
1180# CONFIG_FB_S1D13XXX is not set
1181CONFIG_FB_DAVINCI=y
1182# CONFIG_FB_VIRTUAL is not set
1183# CONFIG_FB_METRONOME is not set
1184# CONFIG_FB_MB862XX is not set
1185# CONFIG_FB_BROADSHEET is not set
1186# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
1187
1188#
1189# Display device support
1190#
1191# CONFIG_DISPLAY_SUPPORT is not set
1192
1193#
1194# Console display driver support
1195#
1196# CONFIG_VGA_CONSOLE is not set
1197CONFIG_DUMMY_CONSOLE=y
1198# CONFIG_FRAMEBUFFER_CONSOLE is not set
1199CONFIG_LOGO=y
1200CONFIG_LOGO_LINUX_MONO=y
1201CONFIG_LOGO_LINUX_VGA16=y
1202CONFIG_LOGO_LINUX_CLUT224=y
1203CONFIG_SOUND=y
1204# CONFIG_SOUND_OSS_CORE is not set
1205CONFIG_SND=y
1206CONFIG_SND_TIMER=y
1207CONFIG_SND_PCM=y
1208CONFIG_SND_JACK=y
1209# CONFIG_SND_SEQUENCER is not set
1210# CONFIG_SND_MIXER_OSS is not set
1211# CONFIG_SND_PCM_OSS is not set
1212# CONFIG_SND_HRTIMER is not set
1213# CONFIG_SND_DYNAMIC_MINORS is not set
1214CONFIG_SND_SUPPORT_OLD_API=y
1215CONFIG_SND_VERBOSE_PROCFS=y
1216# CONFIG_SND_VERBOSE_PRINTK is not set
1217# CONFIG_SND_DEBUG is not set
1218# CONFIG_SND_RAWMIDI_SEQ is not set
1219# CONFIG_SND_OPL3_LIB_SEQ is not set
1220# CONFIG_SND_OPL4_LIB_SEQ is not set
1221# CONFIG_SND_SBAWE_SEQ is not set
1222# CONFIG_SND_EMU10K1_SEQ is not set
1223CONFIG_SND_DRIVERS=y
1224# CONFIG_SND_DUMMY is not set
1225# CONFIG_SND_MTPAV is not set
1226# CONFIG_SND_SERIAL_U16550 is not set
1227# CONFIG_SND_MPU401 is not set
1228CONFIG_SND_ARM=y
1229CONFIG_SND_SPI=y
1230# CONFIG_SND_USB is not set
1231CONFIG_SND_SOC=y
1232CONFIG_SND_DAVINCI_SOC=y
1233CONFIG_SND_DAVINCI_SOC_I2S=y
1234CONFIG_SND_DAVINCI_SOC_EVM=y
1235CONFIG_SND_SOC_I2C_AND_SPI=y
1236# CONFIG_SND_SOC_ALL_CODECS is not set
1237CONFIG_SND_SOC_TLV320AIC3X=y
1238# CONFIG_SOUND_PRIME is not set
1239CONFIG_HID_SUPPORT=y
1240CONFIG_HID=y
1241# CONFIG_HIDRAW is not set
1242
1243#
1244# USB Input Devices
1245#
1246CONFIG_USB_HID=y
1247# CONFIG_HID_PID is not set
1248# CONFIG_USB_HIDDEV is not set
1249
1250#
1251# Special HID drivers
1252#
1253CONFIG_HID_A4TECH=m
1254CONFIG_HID_APPLE=m
1255CONFIG_HID_BELKIN=m
1256CONFIG_HID_CHERRY=m
1257CONFIG_HID_CHICONY=m
1258CONFIG_HID_CYPRESS=m
1259# CONFIG_HID_DRAGONRISE is not set
1260CONFIG_HID_EZKEY=m
1261# CONFIG_HID_KYE is not set
1262CONFIG_HID_GYRATION=m
1263# CONFIG_HID_TWINHAN is not set
1264# CONFIG_HID_KENSINGTON is not set
1265CONFIG_HID_LOGITECH=y
1266# CONFIG_LOGITECH_FF is not set
1267# CONFIG_LOGIRUMBLEPAD2_FF is not set
1268CONFIG_HID_MICROSOFT=y
1269CONFIG_HID_MONTEREY=m
1270# CONFIG_HID_NTRIG is not set
1271CONFIG_HID_PANTHERLORD=m
1272# CONFIG_PANTHERLORD_FF is not set
1273CONFIG_HID_PETALYNX=m
1274CONFIG_HID_SAMSUNG=m
1275CONFIG_HID_SONY=m
1276CONFIG_HID_SUNPLUS=m
1277# CONFIG_HID_GREENASIA is not set
1278# CONFIG_HID_SMARTJOYPLUS is not set
1279# CONFIG_HID_TOPSEED is not set
1280# CONFIG_HID_THRUSTMASTER is not set
1281# CONFIG_HID_ZEROPLUS is not set
1282CONFIG_USB_SUPPORT=y
1283CONFIG_USB_ARCH_HAS_HCD=y
1284# CONFIG_USB_ARCH_HAS_OHCI is not set
1285# CONFIG_USB_ARCH_HAS_EHCI is not set
1286CONFIG_USB=y
1287# CONFIG_USB_DEBUG is not set
1288# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
1289
1290#
1291# Miscellaneous USB options
1292#
1293CONFIG_USB_DEVICEFS=y
1294CONFIG_USB_DEVICE_CLASS=y
1295# CONFIG_USB_DYNAMIC_MINORS is not set
1296# CONFIG_USB_OTG is not set
1297# CONFIG_USB_OTG_WHITELIST is not set
1298# CONFIG_USB_OTG_BLACKLIST_HUB is not set
1299# CONFIG_USB_MON is not set
1300# CONFIG_USB_WUSB is not set
1301# CONFIG_USB_WUSB_CBAF is not set
1302
1303#
1304# USB Host Controller Drivers
1305#
1306# CONFIG_USB_C67X00_HCD is not set
1307# CONFIG_USB_OXU210HP_HCD is not set
1308# CONFIG_USB_ISP116X_HCD is not set
1309# CONFIG_USB_ISP1760_HCD is not set
1310# CONFIG_USB_ISP1362_HCD is not set
1311# CONFIG_USB_SL811_HCD is not set
1312# CONFIG_USB_R8A66597_HCD is not set
1313# CONFIG_USB_HWA_HCD is not set
1314CONFIG_USB_MUSB_HDRC=y
1315CONFIG_USB_MUSB_SOC=y
1316
1317#
1318# DaVinci 35x, 36x, 644x USB support
1319#
1320CONFIG_USB_MUSB_HOST=y
1321# CONFIG_USB_MUSB_PERIPHERAL is not set
1322# CONFIG_USB_MUSB_OTG is not set
1323# CONFIG_MUSB_SCHEDULE_INTR_EP is not set
1324CONFIG_USB_MUSB_HDRC_HCD=y
1325# CONFIG_MUSB_PIO_ONLY is not set
1326# CONFIG_USB_INVENTRA_DMA is not set
1327CONFIG_USB_TI_CPPI_DMA=y
1328# CONFIG_USB_MUSB_DEBUG is not set
1329
1330#
1331# USB Device Class drivers
1332#
1333# CONFIG_USB_ACM is not set
1334# CONFIG_USB_PRINTER is not set
1335# CONFIG_USB_WDM is not set
1336# CONFIG_USB_TMC is not set
1337
1338#
1339# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
1340#
1341
1342#
1343# also be needed; see USB_STORAGE Help for more info
1344#
1345CONFIG_USB_STORAGE=y
1346# CONFIG_USB_STORAGE_DEBUG is not set
1347# CONFIG_USB_STORAGE_DATAFAB is not set
1348# CONFIG_USB_STORAGE_FREECOM is not set
1349# CONFIG_USB_STORAGE_ISD200 is not set
1350# CONFIG_USB_STORAGE_USBAT is not set
1351# CONFIG_USB_STORAGE_SDDR09 is not set
1352# CONFIG_USB_STORAGE_SDDR55 is not set
1353# CONFIG_USB_STORAGE_JUMPSHOT is not set
1354# CONFIG_USB_STORAGE_ALAUDA is not set
1355# CONFIG_USB_STORAGE_ONETOUCH is not set
1356# CONFIG_USB_STORAGE_KARMA is not set
1357# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
1358# CONFIG_USB_LIBUSUAL is not set
1359
1360#
1361# USB Imaging devices
1362#
1363# CONFIG_USB_MDC800 is not set
1364# CONFIG_USB_MICROTEK is not set
1365
1366#
1367# USB port drivers
1368#
1369# CONFIG_USB_SERIAL is not set
1370
1371#
1372# USB Miscellaneous drivers
1373#
1374# CONFIG_USB_EMI62 is not set
1375# CONFIG_USB_EMI26 is not set
1376# CONFIG_USB_ADUTUX is not set
1377# CONFIG_USB_SEVSEG is not set
1378# CONFIG_USB_RIO500 is not set
1379# CONFIG_USB_LEGOTOWER is not set
1380# CONFIG_USB_LCD is not set
1381# CONFIG_USB_BERRY_CHARGE is not set
1382# CONFIG_USB_LED is not set
1383# CONFIG_USB_CYPRESS_CY7C63 is not set
1384# CONFIG_USB_CYTHERM is not set
1385# CONFIG_USB_IDMOUSE is not set
1386# CONFIG_USB_FTDI_ELAN is not set
1387# CONFIG_USB_APPLEDISPLAY is not set
1388# CONFIG_USB_SISUSBVGA is not set
1389# CONFIG_USB_LD is not set
1390# CONFIG_USB_TRANCEVIBRATOR is not set
1391# CONFIG_USB_IOWARRIOR is not set
1392CONFIG_USB_TEST=y
1393# CONFIG_USB_ISIGHTFW is not set
1394# CONFIG_USB_VST is not set
1395# CONFIG_USB_GADGET is not set
1396
1397#
1398# OTG and related infrastructure
1399#
1400CONFIG_USB_OTG_UTILS=y
1401# CONFIG_USB_GPIO_VBUS is not set
1402CONFIG_NOP_USB_XCEIV=y
1403CONFIG_MMC=y
1404# CONFIG_MMC_DEBUG is not set
1405# CONFIG_MMC_UNSAFE_RESUME is not set
1406
1407#
1408# MMC/SD/SDIO Card Drivers
1409#
1410CONFIG_MMC_BLOCK=y
1411# CONFIG_MMC_BLOCK_BOUNCE is not set
1412CONFIG_SDIO_UART=y
1413# CONFIG_MMC_TEST is not set
1414
1415#
1416# MMC/SD/SDIO Host Controller Drivers
1417#
1418# CONFIG_MMC_SDHCI is not set
1419# CONFIG_MMC_AT91 is not set
1420# CONFIG_MMC_ATMELMCI is not set
1421CONFIG_MMC_DAVINCI=y
1422# CONFIG_MMC_SPI is not set
1423# CONFIG_MEMSTICK is not set
1424CONFIG_NEW_LEDS=y
1425CONFIG_LEDS_CLASS=m
1426
1427#
1428# LED drivers
1429#
1430# CONFIG_LEDS_PCA9532 is not set
1431CONFIG_LEDS_GPIO=m
1432CONFIG_LEDS_GPIO_PLATFORM=y
1433# CONFIG_LEDS_LP3944 is not set
1434# CONFIG_LEDS_PCA955X is not set
1435# CONFIG_LEDS_DAC124S085 is not set
1436# CONFIG_LEDS_BD2802 is not set
1437
1438#
1439# LED Triggers
1440#
1441CONFIG_LEDS_TRIGGERS=y
1442CONFIG_LEDS_TRIGGER_TIMER=m
1443CONFIG_LEDS_TRIGGER_HEARTBEAT=m
1444# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
1445# CONFIG_LEDS_TRIGGER_GPIO is not set
1446# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
1447
1448#
1449# iptables trigger is under Netfilter config (LED target)
1450#
1451# CONFIG_ACCESSIBILITY is not set
1452CONFIG_RTC_LIB=y
1453# CONFIG_RTC_CLASS is not set
1454# CONFIG_DMADEVICES is not set
1455# CONFIG_AUXDISPLAY is not set
1456# CONFIG_UIO is not set
1457
1458#
1459# TI VLYNQ
1460#
1461# CONFIG_STAGING is not set
1462
1463#
1464# File systems
1465#
1466CONFIG_EXT2_FS=y
1467# CONFIG_EXT2_FS_XATTR is not set
1468# CONFIG_EXT2_FS_XIP is not set
1469CONFIG_EXT3_FS=y
1470# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
1471CONFIG_EXT3_FS_XATTR=y
1472# CONFIG_EXT3_FS_POSIX_ACL is not set
1473# CONFIG_EXT3_FS_SECURITY is not set
1474# CONFIG_EXT4_FS is not set
1475CONFIG_JBD=y
1476# CONFIG_JBD_DEBUG is not set
1477CONFIG_FS_MBCACHE=y
1478# CONFIG_REISERFS_FS is not set
1479# CONFIG_JFS_FS is not set
1480# CONFIG_FS_POSIX_ACL is not set
1481CONFIG_XFS_FS=m
1482# CONFIG_XFS_QUOTA is not set
1483# CONFIG_XFS_POSIX_ACL is not set
1484# CONFIG_XFS_RT is not set
1485# CONFIG_XFS_DEBUG is not set
1486# CONFIG_GFS2_FS is not set
1487# CONFIG_OCFS2_FS is not set
1488# CONFIG_BTRFS_FS is not set
1489# CONFIG_NILFS2_FS is not set
1490CONFIG_FILE_LOCKING=y
1491CONFIG_FSNOTIFY=y
1492CONFIG_DNOTIFY=y
1493CONFIG_INOTIFY=y
1494CONFIG_INOTIFY_USER=y
1495# CONFIG_QUOTA is not set
1496# CONFIG_AUTOFS_FS is not set
1497CONFIG_AUTOFS4_FS=m
1498# CONFIG_FUSE_FS is not set
1499
1500#
1501# Caches
1502#
1503# CONFIG_FSCACHE is not set
1504
1505#
1506# CD-ROM/DVD Filesystems
1507#
1508# CONFIG_ISO9660_FS is not set
1509# CONFIG_UDF_FS is not set
1510
1511#
1512# DOS/FAT/NT Filesystems
1513#
1514CONFIG_FAT_FS=y
1515CONFIG_MSDOS_FS=y
1516CONFIG_VFAT_FS=y
1517CONFIG_FAT_DEFAULT_CODEPAGE=437
1518CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1519# CONFIG_NTFS_FS is not set
1520
1521#
1522# Pseudo filesystems
1523#
1524CONFIG_PROC_FS=y
1525CONFIG_PROC_SYSCTL=y
1526CONFIG_PROC_PAGE_MONITOR=y
1527CONFIG_SYSFS=y
1528CONFIG_TMPFS=y
1529# CONFIG_TMPFS_POSIX_ACL is not set
1530# CONFIG_HUGETLB_PAGE is not set
1531# CONFIG_CONFIGFS_FS is not set
1532CONFIG_MISC_FILESYSTEMS=y
1533# CONFIG_ADFS_FS is not set
1534# CONFIG_AFFS_FS is not set
1535# CONFIG_HFS_FS is not set
1536# CONFIG_HFSPLUS_FS is not set
1537# CONFIG_BEFS_FS is not set
1538# CONFIG_BFS_FS is not set
1539# CONFIG_EFS_FS is not set
1540CONFIG_JFFS2_FS=y
1541CONFIG_JFFS2_FS_DEBUG=0
1542CONFIG_JFFS2_FS_WRITEBUFFER=y
1543# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
1544# CONFIG_JFFS2_SUMMARY is not set
1545# CONFIG_JFFS2_FS_XATTR is not set
1546# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
1547CONFIG_JFFS2_ZLIB=y
1548# CONFIG_JFFS2_LZO is not set
1549CONFIG_JFFS2_RTIME=y
1550# CONFIG_JFFS2_RUBIN is not set
1551CONFIG_CRAMFS=y
1552# CONFIG_SQUASHFS is not set
1553# CONFIG_VXFS_FS is not set
1554CONFIG_MINIX_FS=m
1555# CONFIG_OMFS_FS is not set
1556# CONFIG_HPFS_FS is not set
1557# CONFIG_QNX4FS_FS is not set
1558# CONFIG_ROMFS_FS is not set
1559# CONFIG_SYSV_FS is not set
1560# CONFIG_UFS_FS is not set
1561CONFIG_NETWORK_FILESYSTEMS=y
1562CONFIG_NFS_FS=y
1563CONFIG_NFS_V3=y
1564# CONFIG_NFS_V3_ACL is not set
1565# CONFIG_NFS_V4 is not set
1566CONFIG_ROOT_NFS=y
1567CONFIG_NFSD=m
1568CONFIG_NFSD_V3=y
1569# CONFIG_NFSD_V3_ACL is not set
1570# CONFIG_NFSD_V4 is not set
1571CONFIG_LOCKD=y
1572CONFIG_LOCKD_V4=y
1573CONFIG_EXPORTFS=m
1574CONFIG_NFS_COMMON=y
1575CONFIG_SUNRPC=y
1576# CONFIG_RPCSEC_GSS_KRB5 is not set
1577# CONFIG_RPCSEC_GSS_SPKM3 is not set
1578CONFIG_SMB_FS=m
1579# CONFIG_SMB_NLS_DEFAULT is not set
1580# CONFIG_CIFS is not set
1581# CONFIG_NCP_FS is not set
1582# CONFIG_CODA_FS is not set
1583# CONFIG_AFS_FS is not set
1584
1585#
1586# Partition Types
1587#
1588CONFIG_PARTITION_ADVANCED=y
1589# CONFIG_ACORN_PARTITION is not set
1590# CONFIG_OSF_PARTITION is not set
1591# CONFIG_AMIGA_PARTITION is not set
1592# CONFIG_ATARI_PARTITION is not set
1593# CONFIG_MAC_PARTITION is not set
1594CONFIG_MSDOS_PARTITION=y
1595# CONFIG_BSD_DISKLABEL is not set
1596# CONFIG_MINIX_SUBPARTITION is not set
1597# CONFIG_SOLARIS_X86_PARTITION is not set
1598# CONFIG_UNIXWARE_DISKLABEL is not set
1599# CONFIG_LDM_PARTITION is not set
1600# CONFIG_SGI_PARTITION is not set
1601# CONFIG_ULTRIX_PARTITION is not set
1602# CONFIG_SUN_PARTITION is not set
1603# CONFIG_KARMA_PARTITION is not set
1604# CONFIG_EFI_PARTITION is not set
1605# CONFIG_SYSV68_PARTITION is not set
1606CONFIG_NLS=y
1607CONFIG_NLS_DEFAULT="iso8859-1"
1608CONFIG_NLS_CODEPAGE_437=y
1609# CONFIG_NLS_CODEPAGE_737 is not set
1610# CONFIG_NLS_CODEPAGE_775 is not set
1611# CONFIG_NLS_CODEPAGE_850 is not set
1612# CONFIG_NLS_CODEPAGE_852 is not set
1613# CONFIG_NLS_CODEPAGE_855 is not set
1614# CONFIG_NLS_CODEPAGE_857 is not set
1615# CONFIG_NLS_CODEPAGE_860 is not set
1616# CONFIG_NLS_CODEPAGE_861 is not set
1617# CONFIG_NLS_CODEPAGE_862 is not set
1618# CONFIG_NLS_CODEPAGE_863 is not set
1619# CONFIG_NLS_CODEPAGE_864 is not set
1620# CONFIG_NLS_CODEPAGE_865 is not set
1621# CONFIG_NLS_CODEPAGE_866 is not set
1622# CONFIG_NLS_CODEPAGE_869 is not set
1623# CONFIG_NLS_CODEPAGE_936 is not set
1624# CONFIG_NLS_CODEPAGE_950 is not set
1625# CONFIG_NLS_CODEPAGE_932 is not set
1626# CONFIG_NLS_CODEPAGE_949 is not set
1627# CONFIG_NLS_CODEPAGE_874 is not set
1628# CONFIG_NLS_ISO8859_8 is not set
1629# CONFIG_NLS_CODEPAGE_1250 is not set
1630# CONFIG_NLS_CODEPAGE_1251 is not set
1631CONFIG_NLS_ASCII=m
1632CONFIG_NLS_ISO8859_1=y
1633# CONFIG_NLS_ISO8859_2 is not set
1634# CONFIG_NLS_ISO8859_3 is not set
1635# CONFIG_NLS_ISO8859_4 is not set
1636# CONFIG_NLS_ISO8859_5 is not set
1637# CONFIG_NLS_ISO8859_6 is not set
1638# CONFIG_NLS_ISO8859_7 is not set
1639# CONFIG_NLS_ISO8859_9 is not set
1640# CONFIG_NLS_ISO8859_13 is not set
1641# CONFIG_NLS_ISO8859_14 is not set
1642# CONFIG_NLS_ISO8859_15 is not set
1643# CONFIG_NLS_KOI8_R is not set
1644# CONFIG_NLS_KOI8_U is not set
1645CONFIG_NLS_UTF8=m
1646# CONFIG_DLM is not set
1647
1648#
1649# Kernel hacking
1650#
1651# CONFIG_PRINTK_TIME is not set
1652CONFIG_ENABLE_WARN_DEPRECATED=y
1653CONFIG_ENABLE_MUST_CHECK=y
1654CONFIG_FRAME_WARN=1024
1655# CONFIG_MAGIC_SYSRQ is not set
1656# CONFIG_STRIP_ASM_SYMS is not set
1657# CONFIG_UNUSED_SYMBOLS is not set
1658CONFIG_DEBUG_FS=y
1659# CONFIG_HEADERS_CHECK is not set
1660CONFIG_DEBUG_KERNEL=y
1661# CONFIG_DEBUG_SHIRQ is not set
1662CONFIG_DETECT_SOFTLOCKUP=y
1663# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1664CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
1665CONFIG_DETECT_HUNG_TASK=y
1666# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
1667CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
1668CONFIG_SCHED_DEBUG=y
1669# CONFIG_SCHEDSTATS is not set
1670CONFIG_TIMER_STATS=y
1671# CONFIG_DEBUG_OBJECTS is not set
1672# CONFIG_SLUB_DEBUG_ON is not set
1673# CONFIG_SLUB_STATS is not set
1674# CONFIG_DEBUG_KMEMLEAK is not set
1675CONFIG_DEBUG_PREEMPT=y
1676CONFIG_DEBUG_RT_MUTEXES=y
1677CONFIG_DEBUG_PI_LIST=y
1678# CONFIG_RT_MUTEX_TESTER is not set
1679# CONFIG_DEBUG_SPINLOCK is not set
1680CONFIG_DEBUG_MUTEXES=y
1681# CONFIG_DEBUG_LOCK_ALLOC is not set
1682# CONFIG_PROVE_LOCKING is not set
1683# CONFIG_LOCK_STAT is not set
1684# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1685# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1686# CONFIG_DEBUG_KOBJECT is not set
1687CONFIG_DEBUG_BUGVERBOSE=y
1688# CONFIG_DEBUG_INFO is not set
1689# CONFIG_DEBUG_VM is not set
1690# CONFIG_DEBUG_WRITECOUNT is not set
1691# CONFIG_DEBUG_MEMORY_INIT is not set
1692# CONFIG_DEBUG_LIST is not set
1693# CONFIG_DEBUG_SG is not set
1694# CONFIG_DEBUG_NOTIFIERS is not set
1695# CONFIG_DEBUG_CREDENTIALS is not set
1696CONFIG_FRAME_POINTER=y
1697# CONFIG_BOOT_PRINTK_DELAY is not set
1698# CONFIG_RCU_TORTURE_TEST is not set
1699# CONFIG_RCU_CPU_STALL_DETECTOR is not set
1700# CONFIG_BACKTRACE_SELF_TEST is not set
1701# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
1702# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
1703# CONFIG_FAULT_INJECTION is not set
1704# CONFIG_LATENCYTOP is not set
1705# CONFIG_SYSCTL_SYSCALL_CHECK is not set
1706# CONFIG_PAGE_POISONING is not set
1707CONFIG_HAVE_FUNCTION_TRACER=y
1708CONFIG_TRACING_SUPPORT=y
1709CONFIG_FTRACE=y
1710# CONFIG_FUNCTION_TRACER is not set
1711# CONFIG_IRQSOFF_TRACER is not set
1712# CONFIG_PREEMPT_TRACER is not set
1713# CONFIG_SCHED_TRACER is not set
1714# CONFIG_ENABLE_DEFAULT_TRACERS is not set
1715# CONFIG_BOOT_TRACER is not set
1716CONFIG_BRANCH_PROFILE_NONE=y
1717# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
1718# CONFIG_PROFILE_ALL_BRANCHES is not set
1719# CONFIG_STACK_TRACER is not set
1720# CONFIG_KMEMTRACE is not set
1721# CONFIG_WORKQUEUE_TRACER is not set
1722# CONFIG_BLK_DEV_IO_TRACE is not set
1723# CONFIG_DYNAMIC_DEBUG is not set
1724# CONFIG_SAMPLES is not set
1725CONFIG_HAVE_ARCH_KGDB=y
1726# CONFIG_KGDB is not set
1727# CONFIG_ARM_UNWIND is not set
1728CONFIG_DEBUG_USER=y
1729CONFIG_DEBUG_ERRORS=y
1730# CONFIG_DEBUG_STACK_USAGE is not set
1731# CONFIG_DEBUG_LL is not set
1732
1733#
1734# Security options
1735#
1736# CONFIG_KEYS is not set
1737# CONFIG_SECURITY is not set
1738# CONFIG_SECURITYFS is not set
1739# CONFIG_SECURITY_FILE_CAPABILITIES is not set
1740CONFIG_CRYPTO=y
1741
1742#
1743# Crypto core or helper
1744#
1745CONFIG_CRYPTO_ALGAPI=y
1746CONFIG_CRYPTO_ALGAPI2=y
1747CONFIG_CRYPTO_AEAD2=y
1748CONFIG_CRYPTO_BLKCIPHER=y
1749CONFIG_CRYPTO_BLKCIPHER2=y
1750CONFIG_CRYPTO_HASH2=y
1751CONFIG_CRYPTO_RNG2=y
1752CONFIG_CRYPTO_PCOMP=y
1753CONFIG_CRYPTO_MANAGER=y
1754CONFIG_CRYPTO_MANAGER2=y
1755# CONFIG_CRYPTO_GF128MUL is not set
1756# CONFIG_CRYPTO_NULL is not set
1757CONFIG_CRYPTO_WORKQUEUE=y
1758# CONFIG_CRYPTO_CRYPTD is not set
1759# CONFIG_CRYPTO_AUTHENC is not set
1760# CONFIG_CRYPTO_TEST is not set
1761
1762#
1763# Authenticated Encryption with Associated Data
1764#
1765# CONFIG_CRYPTO_CCM is not set
1766# CONFIG_CRYPTO_GCM is not set
1767# CONFIG_CRYPTO_SEQIV is not set
1768
1769#
1770# Block modes
1771#
1772# CONFIG_CRYPTO_CBC is not set
1773# CONFIG_CRYPTO_CTR is not set
1774# CONFIG_CRYPTO_CTS is not set
1775CONFIG_CRYPTO_ECB=y
1776# CONFIG_CRYPTO_LRW is not set
1777# CONFIG_CRYPTO_PCBC is not set
1778# CONFIG_CRYPTO_XTS is not set
1779
1780#
1781# Hash modes
1782#
1783# CONFIG_CRYPTO_HMAC is not set
1784# CONFIG_CRYPTO_XCBC is not set
1785# CONFIG_CRYPTO_VMAC is not set
1786
1787#
1788# Digest
1789#
1790# CONFIG_CRYPTO_CRC32C is not set
1791# CONFIG_CRYPTO_GHASH is not set
1792# CONFIG_CRYPTO_MD4 is not set
1793# CONFIG_CRYPTO_MD5 is not set
1794# CONFIG_CRYPTO_MICHAEL_MIC is not set
1795# CONFIG_CRYPTO_RMD128 is not set
1796# CONFIG_CRYPTO_RMD160 is not set
1797# CONFIG_CRYPTO_RMD256 is not set
1798# CONFIG_CRYPTO_RMD320 is not set
1799# CONFIG_CRYPTO_SHA1 is not set
1800# CONFIG_CRYPTO_SHA256 is not set
1801# CONFIG_CRYPTO_SHA512 is not set
1802# CONFIG_CRYPTO_TGR192 is not set
1803# CONFIG_CRYPTO_WP512 is not set
1804
1805#
1806# Ciphers
1807#
1808CONFIG_CRYPTO_AES=y
1809# CONFIG_CRYPTO_ANUBIS is not set
1810CONFIG_CRYPTO_ARC4=y
1811# CONFIG_CRYPTO_BLOWFISH is not set
1812# CONFIG_CRYPTO_CAMELLIA is not set
1813# CONFIG_CRYPTO_CAST5 is not set
1814# CONFIG_CRYPTO_CAST6 is not set
1815# CONFIG_CRYPTO_DES is not set
1816# CONFIG_CRYPTO_FCRYPT is not set
1817# CONFIG_CRYPTO_KHAZAD is not set
1818# CONFIG_CRYPTO_SALSA20 is not set
1819# CONFIG_CRYPTO_SEED is not set
1820# CONFIG_CRYPTO_SERPENT is not set
1821# CONFIG_CRYPTO_TEA is not set
1822# CONFIG_CRYPTO_TWOFISH is not set
1823
1824#
1825# Compression
1826#
1827# CONFIG_CRYPTO_DEFLATE is not set
1828# CONFIG_CRYPTO_ZLIB is not set
1829# CONFIG_CRYPTO_LZO is not set
1830
1831#
1832# Random Number Generation
1833#
1834# CONFIG_CRYPTO_ANSI_CPRNG is not set
1835# CONFIG_CRYPTO_HW is not set
1836# CONFIG_BINARY_PRINTF is not set
1837
1838#
1839# Library routines
1840#
1841CONFIG_BITREVERSE=y
1842CONFIG_GENERIC_FIND_LAST_BIT=y
1843CONFIG_CRC_CCITT=m
1844# CONFIG_CRC16 is not set
1845CONFIG_CRC_T10DIF=m
1846# CONFIG_CRC_ITU_T is not set
1847CONFIG_CRC32=y
1848# CONFIG_CRC7 is not set
1849# CONFIG_LIBCRC32C is not set
1850CONFIG_ZLIB_INFLATE=y
1851CONFIG_ZLIB_DEFLATE=y
1852CONFIG_DECOMPRESS_GZIP=y
1853CONFIG_GENERIC_ALLOCATOR=y
1854CONFIG_HAS_IOMEM=y
1855CONFIG_HAS_IOPORT=y
1856CONFIG_HAS_DMA=y
1857CONFIG_NLATTR=y
diff --git a/recipes-kernel/linux/linux-davinci/dm355-leopard/0001-dm355-leopard-add-board-file-based-on-board-dm355-e.patch b/recipes-kernel/linux/linux-davinci/dm355-leopard/0001-dm355-leopard-add-board-file-based-on-board-dm355-e.patch
deleted file mode 100644
index d4eac269..00000000
--- a/recipes-kernel/linux/linux-davinci/dm355-leopard/0001-dm355-leopard-add-board-file-based-on-board-dm355-e.patch
+++ /dev/null
@@ -1,345 +0,0 @@
1From a04a493ead5afb10aafe2c0cf57bf9e3bf7aa844 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@openembedded.org>
3Date: Thu, 12 Mar 2009 14:15:42 -0300
4Subject: [PATCH] dm355-leopard: add board file based on board-dm355-evm.c
5
6---
7 arch/arm/mach-davinci/Kconfig | 8 +
8 arch/arm/mach-davinci/Makefile | 2 +
9 arch/arm/mach-davinci/board-dm355-leopard.c | 295 +++++++++++++++++++++++++++
10 3 files changed, 305 insertions(+), 0 deletions(-)
11 create mode 100644 arch/arm/mach-davinci/board-dm355-leopard.c
12
13diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
14index 0010f2d..85424b8 100644
15--- a/arch/arm/mach-davinci/Kconfig
16+++ b/arch/arm/mach-davinci/Kconfig
17@@ -50,6 +50,14 @@ config MACH_SFFSDR
18 Say Y here to select the Lyrtech Small Form Factor
19 Software Defined Radio (SFFSDR) board.
20
21+config MACH_DM355_LEOPARD
22+ bool "TI DM355 Leopard board"
23+ default n
24+ depends on ARCH_DAVINCI_DM355
25+ help
26+ Configure this option to specify the whether the board used
27+ for development is a DM355 Leopard board.
28+
29 config DAVINCI_MUX
30 bool "DAVINCI multiplexing support"
31 depends on ARCH_DAVINCI
32diff --git a/arch/arm/mach-davinci/Makefile b/arch/arm/mach-davinci/Makefile
33index 6783681..96ef484 100644
34--- a/arch/arm/mach-davinci/Makefile
35+++ b/arch/arm/mach-davinci/Makefile
36@@ -19,3 +19,5 @@ obj-$(CONFIG_MACH_DAVINCI_EVM) += board-dm644x-evm.o
37 obj-$(CONFIG_MACH_DAVINCI_DM646X_EVM) += board-dm646x-evm.o
38 obj-$(CONFIG_MACH_DAVINCI_DM355_EVM) += board-dm355-evm.o
39 obj-$(CONFIG_MACH_SFFSDR) += board-sffsdr.o
40+obj-$(CONFIG_MACH_DM355_LEOPARD) += board-dm355-leopard.o
41+
42diff --git a/arch/arm/mach-davinci/board-dm355-leopard.c b/arch/arm/mach-davinci/board-dm355-leopard.c
43new file mode 100644
44index 0000000..a1e97e8
45--- /dev/null
46+++ b/arch/arm/mach-davinci/board-dm355-leopard.c
47@@ -0,0 +1,295 @@
48+/*
49+ * TI DM355 leopard board support
50+ *
51+ * Based on board-dm355-evm.c
52+ *
53+ * This file is licensed under the terms of the GNU General Public
54+ * License version 2. This program is licensed "as is" without any
55+ * warranty of any kind, whether express or implied.
56+ */
57+#include <linux/kernel.h>
58+#include <linux/module.h>
59+#include <linux/init.h>
60+#include <linux/dma-mapping.h>
61+#include <linux/platform_device.h>
62+#include <linux/mtd/mtd.h>
63+#include <linux/mtd/partitions.h>
64+#include <linux/mtd/nand.h>
65+#include <linux/i2c.h>
66+#include <linux/io.h>
67+#include <linux/gpio.h>
68+#include <linux/clk.h>
69+#include <linux/spi/spi.h>
70+#include <linux/spi/eeprom.h>
71+
72+#include <asm/setup.h>
73+#include <asm/mach-types.h>
74+#include <asm/mach/arch.h>
75+#include <asm/mach/map.h>
76+#include <asm/mach/flash.h>
77+
78+#include <mach/hardware.h>
79+#include <mach/dm355.h>
80+#include <mach/psc.h>
81+#include <mach/common.h>
82+#include <mach/emac.h>
83+#include <mach/i2c.h>
84+#include <mach/serial.h>
85+#include <mach/nand.h>
86+#include <mach/mmc.h>
87+
88+#define DAVINCI_ASYNC_EMIF_CONTROL_BASE 0x01e10000
89+#define DAVINCI_ASYNC_EMIF_DATA_CE0_BASE 0x02000000
90+
91+/* NOTE: this is geared for the standard config, with a socketed
92+ * 2 GByte Micron NAND (MT29F16G08FAA) using 128KB sectors. If you
93+ * swap chips, maybe with a different block size, partitioning may
94+ * need to be changed.
95+ */
96+#define NAND_BLOCK_SIZE SZ_128K
97+
98+static struct mtd_partition davinci_nand_partitions[] = {
99+ {
100+ /* UBL (a few copies) plus U-Boot */
101+ .name = "bootloader",
102+ .offset = 0,
103+ .size = 15 * NAND_BLOCK_SIZE,
104+ .mask_flags = MTD_WRITEABLE, /* force read-only */
105+ }, {
106+ /* U-Boot environment */
107+ .name = "params",
108+ .offset = MTDPART_OFS_APPEND,
109+ .size = 1 * NAND_BLOCK_SIZE,
110+ .mask_flags = 0,
111+ }, {
112+ .name = "kernel",
113+ .offset = MTDPART_OFS_APPEND,
114+ .size = SZ_4M,
115+ .mask_flags = 0,
116+ }, {
117+ .name = "filesystem1",
118+ .offset = MTDPART_OFS_APPEND,
119+ .size = SZ_512M,
120+ .mask_flags = 0,
121+ }, {
122+ .name = "filesystem2",
123+ .offset = MTDPART_OFS_APPEND,
124+ .size = MTDPART_SIZ_FULL,
125+ .mask_flags = 0,
126+ }
127+ /* two blocks with bad block table (and mirror) at the end */
128+};
129+
130+static struct davinci_nand_pdata davinci_nand_data = {
131+ .mask_chipsel = BIT(14),
132+ .parts = davinci_nand_partitions,
133+ .nr_parts = ARRAY_SIZE(davinci_nand_partitions),
134+ .ecc_mode = NAND_ECC_HW_SYNDROME,
135+ .options = NAND_USE_FLASH_BBT,
136+};
137+
138+static struct resource davinci_nand_resources[] = {
139+ {
140+ .start = DAVINCI_ASYNC_EMIF_DATA_CE0_BASE,
141+ .end = DAVINCI_ASYNC_EMIF_DATA_CE0_BASE + SZ_32M - 1,
142+ .flags = IORESOURCE_MEM,
143+ }, {
144+ .start = DAVINCI_ASYNC_EMIF_CONTROL_BASE,
145+ .end = DAVINCI_ASYNC_EMIF_CONTROL_BASE + SZ_4K - 1,
146+ .flags = IORESOURCE_MEM,
147+ },
148+};
149+
150+static struct platform_device davinci_nand_device = {
151+ .name = "davinci_nand",
152+ .id = 0,
153+
154+ .num_resources = ARRAY_SIZE(davinci_nand_resources),
155+ .resource = davinci_nand_resources,
156+
157+ .dev = {
158+ .platform_data = &davinci_nand_data,
159+ },
160+};
161+
162+static struct davinci_i2c_platform_data i2c_pdata = {
163+ .bus_freq = 400 /* kHz */,
164+ .bus_delay = 0 /* usec */,
165+};
166+
167+static int dm355leopard_mmc_gpios = -EINVAL;
168+
169+static void dm355leopard_mmcsd_gpios(unsigned gpio)
170+{
171+ gpio_request(gpio + 0, "mmc0_ro");
172+ gpio_request(gpio + 1, "mmc0_cd");
173+ gpio_request(gpio + 2, "mmc1_ro");
174+ gpio_request(gpio + 3, "mmc1_cd");
175+
176+ /* we "know" these are input-only so we don't
177+ * need to call gpio_direction_input()
178+ */
179+
180+ dm355leopard_mmc_gpios = gpio;
181+}
182+
183+static struct i2c_board_info dm355leopard_i2c_info[] = {
184+ { I2C_BOARD_INFO("dm355leopard_msp", 0x25),
185+ .platform_data = dm355leopard_mmcsd_gpios,
186+ /* plus irq */ },
187+ /* { I2C_BOARD_INFO("tlv320aic3x", 0x1b), }, */
188+ /* { I2C_BOARD_INFO("tvp5146", 0x5d), }, */
189+};
190+
191+static void __init leopard_init_i2c(void)
192+{
193+ davinci_init_i2c(&i2c_pdata);
194+
195+ gpio_request(5, "dm355leopard_msp");
196+ gpio_direction_input(5);
197+ dm355leopard_i2c_info[0].irq = gpio_to_irq(5);
198+
199+ i2c_register_board_info(1, dm355leopard_i2c_info,
200+ ARRAY_SIZE(dm355leopard_i2c_info));
201+}
202+
203+static struct resource dm355leopard_dm9000_rsrc[] = {
204+ {
205+ /* addr */
206+ .start = 0x04000000,
207+ .end = 0x04000001,
208+ .flags = IORESOURCE_MEM,
209+ }, {
210+ /* data */
211+ .start = 0x04000016,
212+ .end = 0x04000017,
213+ .flags = IORESOURCE_MEM,
214+ }, {
215+ .flags = IORESOURCE_IRQ
216+ | IORESOURCE_IRQ_HIGHEDGE /* rising (active high) */,
217+ },
218+};
219+
220+static struct platform_device dm355leopard_dm9000 = {
221+ .name = "dm9000",
222+ .id = -1,
223+ .resource = dm355leopard_dm9000_rsrc,
224+ .num_resources = ARRAY_SIZE(dm355leopard_dm9000_rsrc),
225+};
226+
227+static struct platform_device *davinci_leopard_devices[] __initdata = {
228+ &dm355leopard_dm9000,
229+ &davinci_nand_device,
230+};
231+
232+static struct davinci_uart_config uart_config __initdata = {
233+ .enabled_uarts = (1 << 0),
234+};
235+
236+static void __init dm355_leopard_map_io(void)
237+{
238+ davinci_map_common_io();
239+ dm355_init();
240+}
241+
242+static int dm355leopard_mmc_get_cd(int module)
243+{
244+ if (!gpio_is_valid(dm355leopard_mmc_gpios))
245+ return -ENXIO;
246+ /* low == card present */
247+ return !gpio_get_value_cansleep(dm355leopard_mmc_gpios + 2 * module + 1);
248+}
249+
250+static int dm355leopard_mmc_get_ro(int module)
251+{
252+ if (!gpio_is_valid(dm355leopard_mmc_gpios))
253+ return -ENXIO;
254+ /* high == card's write protect switch active */
255+ return gpio_get_value_cansleep(dm355leopard_mmc_gpios + 2 * module + 0);
256+}
257+
258+static struct davinci_mmc_config dm355leopard_mmc_config = {
259+ .get_cd = dm355leopard_mmc_get_cd,
260+ .get_ro = dm355leopard_mmc_get_ro,
261+ .wires = 4,
262+ .max_freq = 50000000,
263+ .caps = MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED,
264+};
265+
266+/* Don't connect anything to J10 unless you're only using USB host
267+ * mode *and* have to do so with some kind of gender-bender. If
268+ * you have proper Mini-B or Mini-A cables (or Mini-A adapters)
269+ * the ID pin won't need any help.
270+ */
271+#ifdef CONFIG_USB_MUSB_PERIPHERAL
272+#define USB_ID_VALUE 0 /* ID pulled high; *should* float */
273+#else
274+#define USB_ID_VALUE 1 /* ID pulled low */
275+#endif
276+
277+static struct spi_eeprom at25640a = {
278+ .byte_len = SZ_64K / 8,
279+ .name = "at25640a",
280+ .page_size = 32,
281+ .flags = EE_ADDR2,
282+};
283+
284+static struct spi_board_info dm355_leopard_spi_info[] __initconst = {
285+ {
286+ .modalias = "at25",
287+ .platform_data = &at25640a,
288+ .max_speed_hz = 10 * 1000 * 1000, /* at 3v3 */
289+ .bus_num = 0,
290+ .chip_select = 0,
291+ .mode = SPI_MODE_0,
292+ },
293+};
294+
295+static __init void dm355_leopard_init(void)
296+{
297+ struct clk *aemif;
298+
299+ gpio_request(9, "dm9000");
300+ gpio_direction_input(9);
301+ dm355leopard_dm9000_rsrc[2].start = gpio_to_irq(9);
302+
303+ aemif = clk_get(&dm355leopard_dm9000.dev, "aemif");
304+ clk_enable(aemif);
305+ clk_put(aemif);
306+
307+ platform_add_devices(davinci_leopard_devices,
308+ ARRAY_SIZE(davinci_leopard_devices));
309+ leopard_init_i2c();
310+ davinci_serial_init(&uart_config);
311+
312+ /* NOTE: NAND flash timings set by the UBL are slower than
313+ * needed by MT29F16G08FAA chips ... EMIF.A1CR is 0x40400204
314+ * but could be 0x0400008c for about 25% faster page reads.
315+ */
316+
317+ gpio_request(2, "usb_id_toggle");
318+ gpio_direction_output(2, USB_ID_VALUE);
319+ /* irlml6401 switches over 1A in under 8 msec */
320+ setup_usb(500, 8);
321+
322+ davinci_setup_mmc(0, &dm355leopard_mmc_config);
323+ davinci_setup_mmc(1, &dm355leopard_mmc_config);
324+
325+ dm355_init_spi0(BIT(0), dm355_leopard_spi_info,
326+ ARRAY_SIZE(dm355_leopard_spi_info));
327+}
328+
329+static __init void dm355_leopard_irq_init(void)
330+{
331+ davinci_irq_init();
332+}
333+
334+MACHINE_START(DM355_LEOPARD, "DaVinci DM355 leopard")
335+ .phys_io = IO_PHYS,
336+ .io_pg_offst = (__IO_ADDRESS(IO_PHYS) >> 18) & 0xfffc,
337+ .boot_params = (0x80000100),
338+ .map_io = dm355_leopard_map_io,
339+ .init_irq = dm355_leopard_irq_init,
340+ .timer = &davinci_timer,
341+ .init_machine = dm355_leopard_init,
342+MACHINE_END
343--
3441.6.1.2
345
diff --git a/recipes-kernel/linux/linux-davinci/dm355-leopard/defconfig b/recipes-kernel/linux/linux-davinci/dm355-leopard/defconfig
deleted file mode 100644
index 0d1adbf1..00000000
--- a/recipes-kernel/linux/linux-davinci/dm355-leopard/defconfig
+++ /dev/null
@@ -1,1798 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.32-rc2-davinci1
4# Fri Mar 26 16:52:26 2010
5#
6CONFIG_ARM=y
7CONFIG_SYS_SUPPORTS_APM_EMULATION=y
8CONFIG_GENERIC_GPIO=y
9CONFIG_GENERIC_TIME=y
10CONFIG_GENERIC_CLOCKEVENTS=y
11CONFIG_GENERIC_HARDIRQS=y
12CONFIG_STACKTRACE_SUPPORT=y
13CONFIG_HAVE_LATENCYTOP_SUPPORT=y
14CONFIG_LOCKDEP_SUPPORT=y
15CONFIG_TRACE_IRQFLAGS_SUPPORT=y
16CONFIG_HARDIRQS_SW_RESEND=y
17CONFIG_GENERIC_IRQ_PROBE=y
18CONFIG_RWSEM_GENERIC_SPINLOCK=y
19CONFIG_GENERIC_HWEIGHT=y
20CONFIG_GENERIC_CALIBRATE_DELAY=y
21CONFIG_ZONE_DMA=y
22CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
23CONFIG_VECTORS_BASE=0xffff0000
24CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
25CONFIG_CONSTRUCTORS=y
26
27#
28# General setup
29#
30CONFIG_EXPERIMENTAL=y
31CONFIG_BROKEN_ON_SMP=y
32CONFIG_LOCK_KERNEL=y
33CONFIG_INIT_ENV_ARG_LIMIT=32
34CONFIG_LOCALVERSION=""
35# CONFIG_LOCALVERSION_AUTO is not set
36# CONFIG_SWAP is not set
37CONFIG_SYSVIPC=y
38CONFIG_SYSVIPC_SYSCTL=y
39CONFIG_POSIX_MQUEUE=y
40CONFIG_POSIX_MQUEUE_SYSCTL=y
41# CONFIG_BSD_PROCESS_ACCT is not set
42# CONFIG_TASKSTATS is not set
43# CONFIG_AUDIT is not set
44
45#
46# RCU Subsystem
47#
48CONFIG_TREE_RCU=y
49# CONFIG_TREE_PREEMPT_RCU is not set
50# CONFIG_RCU_TRACE is not set
51CONFIG_RCU_FANOUT=32
52# CONFIG_RCU_FANOUT_EXACT is not set
53# CONFIG_TREE_RCU_TRACE is not set
54CONFIG_IKCONFIG=y
55CONFIG_IKCONFIG_PROC=y
56CONFIG_LOG_BUF_SHIFT=14
57CONFIG_GROUP_SCHED=y
58CONFIG_FAIR_GROUP_SCHED=y
59# CONFIG_RT_GROUP_SCHED is not set
60CONFIG_USER_SCHED=y
61# CONFIG_CGROUP_SCHED is not set
62# CONFIG_CGROUPS is not set
63# CONFIG_SYSFS_DEPRECATED_V2 is not set
64CONFIG_RELAY=y
65# CONFIG_NAMESPACES is not set
66CONFIG_BLK_DEV_INITRD=y
67CONFIG_INITRAMFS_SOURCE=""
68CONFIG_RD_GZIP=y
69# CONFIG_RD_BZIP2 is not set
70# CONFIG_RD_LZMA is not set
71CONFIG_CC_OPTIMIZE_FOR_SIZE=y
72CONFIG_SYSCTL=y
73CONFIG_ANON_INODES=y
74CONFIG_EMBEDDED=y
75CONFIG_UID16=y
76CONFIG_SYSCTL_SYSCALL=y
77CONFIG_KALLSYMS=y
78CONFIG_KALLSYMS_ALL=y
79# CONFIG_KALLSYMS_EXTRA_PASS is not set
80CONFIG_HOTPLUG=y
81CONFIG_PRINTK=y
82CONFIG_BUG=y
83CONFIG_ELF_CORE=y
84CONFIG_BASE_FULL=y
85CONFIG_FUTEX=y
86CONFIG_EPOLL=y
87CONFIG_SIGNALFD=y
88CONFIG_TIMERFD=y
89CONFIG_EVENTFD=y
90CONFIG_SHMEM=y
91CONFIG_AIO=y
92
93#
94# Kernel Performance Events And Counters
95#
96CONFIG_VM_EVENT_COUNTERS=y
97CONFIG_COMPAT_BRK=y
98CONFIG_SLAB=y
99# CONFIG_SLUB is not set
100# CONFIG_SLOB is not set
101# CONFIG_PROFILING is not set
102CONFIG_HAVE_OPROFILE=y
103# CONFIG_KPROBES is not set
104CONFIG_HAVE_KPROBES=y
105CONFIG_HAVE_KRETPROBES=y
106CONFIG_HAVE_CLK=y
107
108#
109# GCOV-based kernel profiling
110#
111# CONFIG_GCOV_KERNEL is not set
112# CONFIG_SLOW_WORK is not set
113CONFIG_HAVE_GENERIC_DMA_COHERENT=y
114CONFIG_SLABINFO=y
115CONFIG_RT_MUTEXES=y
116CONFIG_BASE_SMALL=0
117CONFIG_MODULES=y
118CONFIG_MODULE_FORCE_LOAD=y
119CONFIG_MODULE_UNLOAD=y
120CONFIG_MODULE_FORCE_UNLOAD=y
121CONFIG_MODVERSIONS=y
122# CONFIG_MODULE_SRCVERSION_ALL is not set
123CONFIG_BLOCK=y
124CONFIG_LBDAF=y
125CONFIG_BLK_DEV_BSG=y
126# CONFIG_BLK_DEV_INTEGRITY is not set
127
128#
129# IO Schedulers
130#
131CONFIG_IOSCHED_NOOP=y
132CONFIG_IOSCHED_AS=y
133CONFIG_IOSCHED_DEADLINE=m
134CONFIG_IOSCHED_CFQ=m
135# CONFIG_DEFAULT_AS is not set
136# CONFIG_DEFAULT_DEADLINE is not set
137# CONFIG_DEFAULT_CFQ is not set
138CONFIG_DEFAULT_NOOP=y
139CONFIG_DEFAULT_IOSCHED="noop"
140CONFIG_FREEZER=y
141
142#
143# System Type
144#
145CONFIG_MMU=y
146# CONFIG_ARCH_AAEC2000 is not set
147# CONFIG_ARCH_INTEGRATOR is not set
148# CONFIG_ARCH_REALVIEW is not set
149# CONFIG_ARCH_VERSATILE is not set
150# CONFIG_ARCH_AT91 is not set
151# CONFIG_ARCH_CLPS711X is not set
152# CONFIG_ARCH_GEMINI is not set
153# CONFIG_ARCH_EBSA110 is not set
154# CONFIG_ARCH_EP93XX is not set
155# CONFIG_ARCH_FOOTBRIDGE is not set
156# CONFIG_ARCH_MXC is not set
157# CONFIG_ARCH_STMP3XXX is not set
158# CONFIG_ARCH_NETX is not set
159# CONFIG_ARCH_H720X is not set
160# CONFIG_ARCH_NOMADIK is not set
161# CONFIG_ARCH_IOP13XX is not set
162# CONFIG_ARCH_IOP32X is not set
163# CONFIG_ARCH_IOP33X is not set
164# CONFIG_ARCH_IXP23XX is not set
165# CONFIG_ARCH_IXP2000 is not set
166# CONFIG_ARCH_IXP4XX is not set
167# CONFIG_ARCH_L7200 is not set
168# CONFIG_ARCH_KIRKWOOD is not set
169# CONFIG_ARCH_LOKI is not set
170# CONFIG_ARCH_MV78XX0 is not set
171# CONFIG_ARCH_ORION5X is not set
172# CONFIG_ARCH_MMP is not set
173# CONFIG_ARCH_KS8695 is not set
174# CONFIG_ARCH_NS9XXX is not set
175# CONFIG_ARCH_W90X900 is not set
176# CONFIG_ARCH_PNX4008 is not set
177# CONFIG_ARCH_PXA is not set
178# CONFIG_ARCH_MSM is not set
179# CONFIG_ARCH_RPC is not set
180# CONFIG_ARCH_SA1100 is not set
181# CONFIG_ARCH_S3C2410 is not set
182# CONFIG_ARCH_S3C64XX is not set
183# CONFIG_ARCH_S5PC1XX is not set
184# CONFIG_ARCH_SHARK is not set
185# CONFIG_ARCH_LH7A40X is not set
186# CONFIG_ARCH_U300 is not set
187CONFIG_ARCH_DAVINCI=y
188# CONFIG_ARCH_OMAP is not set
189# CONFIG_ARCH_BCMRING is not set
190CONFIG_AINTC=y
191CONFIG_ARCH_DAVINCI_DMx=y
192
193#
194# TI DaVinci Implementations
195#
196
197#
198# DaVinci Core Type
199#
200# CONFIG_ARCH_DAVINCI_DM644x is not set
201CONFIG_ARCH_DAVINCI_DM355=y
202# CONFIG_ARCH_DAVINCI_DM646x is not set
203# CONFIG_ARCH_DAVINCI_DA830 is not set
204# CONFIG_ARCH_DAVINCI_DA850 is not set
205# CONFIG_ARCH_DAVINCI_DM365 is not set
206
207#
208# DaVinci Board Type
209#
210# CONFIG_MACH_DAVINCI_DM355_EVM is not set
211CONFIG_MACH_DM355_LEOPARD=y
212CONFIG_DAVINCI_MUX=y
213# CONFIG_DAVINCI_MUX_DEBUG is not set
214# CONFIG_DAVINCI_MUX_WARNINGS is not set
215# CONFIG_DAVINCI_RESET_CLOCKS is not set
216CONFIG_OSC_CLK_FREQ=27000000
217
218#
219# Processor Type
220#
221CONFIG_CPU_32=y
222CONFIG_CPU_ARM926T=y
223CONFIG_CPU_32v5=y
224CONFIG_CPU_ABRT_EV5TJ=y
225CONFIG_CPU_PABRT_NOIFAR=y
226CONFIG_CPU_CACHE_VIVT=y
227CONFIG_CPU_COPY_V4WB=y
228CONFIG_CPU_TLB_V4WBI=y
229CONFIG_CPU_CP15=y
230CONFIG_CPU_CP15_MMU=y
231
232#
233# Processor Features
234#
235CONFIG_ARM_THUMB=y
236# CONFIG_CPU_ICACHE_DISABLE is not set
237# CONFIG_CPU_DCACHE_DISABLE is not set
238# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
239# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
240CONFIG_ARM_L1_CACHE_SHIFT=5
241CONFIG_COMMON_CLKDEV=y
242CONFIG_FORCE_MAX_ZONEORDER=13
243
244#
245# Bus support
246#
247# CONFIG_PCI_SYSCALL is not set
248# CONFIG_ARCH_SUPPORTS_MSI is not set
249# CONFIG_PCCARD is not set
250
251#
252# Kernel Features
253#
254CONFIG_TICK_ONESHOT=y
255CONFIG_NO_HZ=y
256CONFIG_HIGH_RES_TIMERS=y
257CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
258CONFIG_VMSPLIT_3G=y
259# CONFIG_VMSPLIT_2G is not set
260# CONFIG_VMSPLIT_1G is not set
261CONFIG_PAGE_OFFSET=0xC0000000
262# CONFIG_PREEMPT_NONE is not set
263# CONFIG_PREEMPT_VOLUNTARY is not set
264CONFIG_PREEMPT=y
265CONFIG_HZ=100
266CONFIG_AEABI=y
267# CONFIG_OABI_COMPAT is not set
268# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
269# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
270# CONFIG_HIGHMEM is not set
271CONFIG_SELECT_MEMORY_MODEL=y
272CONFIG_FLATMEM_MANUAL=y
273# CONFIG_DISCONTIGMEM_MANUAL is not set
274# CONFIG_SPARSEMEM_MANUAL is not set
275CONFIG_FLATMEM=y
276CONFIG_FLAT_NODE_MEM_MAP=y
277CONFIG_PAGEFLAGS_EXTENDED=y
278CONFIG_SPLIT_PTLOCK_CPUS=4096
279# CONFIG_PHYS_ADDR_T_64BIT is not set
280CONFIG_ZONE_DMA_FLAG=1
281CONFIG_BOUNCE=y
282CONFIG_VIRT_TO_BUS=y
283CONFIG_HAVE_MLOCK=y
284CONFIG_HAVE_MLOCKED_PAGE_BIT=y
285# CONFIG_KSM is not set
286CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
287CONFIG_LEDS=y
288# CONFIG_LEDS_CPU is not set
289CONFIG_ALIGNMENT_TRAP=y
290# CONFIG_UACCESS_WITH_MEMCPY is not set
291
292#
293# Boot options
294#
295CONFIG_ZBOOT_ROM_TEXT=0x0
296CONFIG_ZBOOT_ROM_BSS=0x0
297CONFIG_CMDLINE=" debug "
298# CONFIG_XIP_KERNEL is not set
299CONFIG_KEXEC=y
300CONFIG_ATAGS_PROC=y
301
302#
303# CPU Power Management
304#
305CONFIG_CPU_IDLE=y
306CONFIG_CPU_IDLE_GOV_LADDER=y
307CONFIG_CPU_IDLE_GOV_MENU=y
308
309#
310# Floating point emulation
311#
312
313#
314# At least one emulation must be selected
315#
316# CONFIG_VFP is not set
317
318#
319# Userspace binary formats
320#
321CONFIG_BINFMT_ELF=y
322# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
323CONFIG_HAVE_AOUT=y
324# CONFIG_BINFMT_AOUT is not set
325CONFIG_BINFMT_MISC=m
326
327#
328# Power management options
329#
330CONFIG_PM=y
331# CONFIG_PM_DEBUG is not set
332CONFIG_PM_SLEEP=y
333CONFIG_SUSPEND=y
334CONFIG_SUSPEND_FREEZER=y
335# CONFIG_APM_EMULATION is not set
336# CONFIG_PM_RUNTIME is not set
337CONFIG_ARCH_SUSPEND_POSSIBLE=y
338CONFIG_NET=y
339
340#
341# Networking options
342#
343CONFIG_PACKET=y
344CONFIG_PACKET_MMAP=y
345CONFIG_UNIX=y
346CONFIG_XFRM=y
347# CONFIG_XFRM_USER is not set
348# CONFIG_XFRM_SUB_POLICY is not set
349# CONFIG_XFRM_MIGRATE is not set
350# CONFIG_XFRM_STATISTICS is not set
351# CONFIG_NET_KEY is not set
352CONFIG_INET=y
353# CONFIG_IP_MULTICAST is not set
354# CONFIG_IP_ADVANCED_ROUTER is not set
355CONFIG_IP_FIB_HASH=y
356CONFIG_IP_PNP=y
357CONFIG_IP_PNP_DHCP=y
358CONFIG_IP_PNP_BOOTP=y
359CONFIG_IP_PNP_RARP=y
360# CONFIG_NET_IPIP is not set
361# CONFIG_NET_IPGRE is not set
362# CONFIG_ARPD is not set
363# CONFIG_SYN_COOKIES is not set
364# CONFIG_INET_AH is not set
365# CONFIG_INET_ESP is not set
366# CONFIG_INET_IPCOMP is not set
367# CONFIG_INET_XFRM_TUNNEL is not set
368CONFIG_INET_TUNNEL=m
369CONFIG_INET_XFRM_MODE_TRANSPORT=y
370CONFIG_INET_XFRM_MODE_TUNNEL=y
371CONFIG_INET_XFRM_MODE_BEET=y
372# CONFIG_INET_LRO is not set
373CONFIG_INET_DIAG=y
374CONFIG_INET_TCP_DIAG=y
375# CONFIG_TCP_CONG_ADVANCED is not set
376CONFIG_TCP_CONG_CUBIC=y
377CONFIG_DEFAULT_TCP_CONG="cubic"
378# CONFIG_TCP_MD5SIG is not set
379CONFIG_IPV6=m
380# CONFIG_IPV6_PRIVACY is not set
381# CONFIG_IPV6_ROUTER_PREF is not set
382# CONFIG_IPV6_OPTIMISTIC_DAD is not set
383# CONFIG_INET6_AH is not set
384# CONFIG_INET6_ESP is not set
385# CONFIG_INET6_IPCOMP is not set
386# CONFIG_IPV6_MIP6 is not set
387# CONFIG_INET6_XFRM_TUNNEL is not set
388# CONFIG_INET6_TUNNEL is not set
389CONFIG_INET6_XFRM_MODE_TRANSPORT=m
390CONFIG_INET6_XFRM_MODE_TUNNEL=m
391CONFIG_INET6_XFRM_MODE_BEET=m
392# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
393CONFIG_IPV6_SIT=m
394CONFIG_IPV6_NDISC_NODETYPE=y
395# CONFIG_IPV6_TUNNEL is not set
396# CONFIG_IPV6_MULTIPLE_TABLES is not set
397# CONFIG_IPV6_MROUTE is not set
398# CONFIG_NETWORK_SECMARK is not set
399CONFIG_NETFILTER=y
400# CONFIG_NETFILTER_DEBUG is not set
401CONFIG_NETFILTER_ADVANCED=y
402
403#
404# Core Netfilter Configuration
405#
406# CONFIG_NETFILTER_NETLINK_QUEUE is not set
407# CONFIG_NETFILTER_NETLINK_LOG is not set
408# CONFIG_NF_CONNTRACK is not set
409# CONFIG_NETFILTER_XTABLES is not set
410# CONFIG_IP_VS is not set
411
412#
413# IP: Netfilter Configuration
414#
415# CONFIG_NF_DEFRAG_IPV4 is not set
416# CONFIG_IP_NF_QUEUE is not set
417# CONFIG_IP_NF_IPTABLES is not set
418# CONFIG_IP_NF_ARPTABLES is not set
419
420#
421# IPv6: Netfilter Configuration
422#
423# CONFIG_IP6_NF_QUEUE is not set
424# CONFIG_IP6_NF_IPTABLES is not set
425# CONFIG_IP_DCCP is not set
426# CONFIG_IP_SCTP is not set
427# CONFIG_RDS is not set
428# CONFIG_TIPC is not set
429# CONFIG_ATM is not set
430# CONFIG_BRIDGE is not set
431# CONFIG_NET_DSA is not set
432# CONFIG_VLAN_8021Q is not set
433# CONFIG_DECNET is not set
434# CONFIG_LLC2 is not set
435# CONFIG_IPX is not set
436# CONFIG_ATALK is not set
437# CONFIG_X25 is not set
438# CONFIG_LAPB is not set
439# CONFIG_ECONET is not set
440# CONFIG_WAN_ROUTER is not set
441# CONFIG_PHONET is not set
442# CONFIG_IEEE802154 is not set
443# CONFIG_NET_SCHED is not set
444# CONFIG_DCB is not set
445
446#
447# Network testing
448#
449# CONFIG_NET_PKTGEN is not set
450# CONFIG_HAMRADIO is not set
451# CONFIG_CAN is not set
452# CONFIG_IRDA is not set
453CONFIG_BT=m
454CONFIG_BT_L2CAP=m
455CONFIG_BT_SCO=m
456CONFIG_BT_RFCOMM=m
457CONFIG_BT_RFCOMM_TTY=y
458CONFIG_BT_BNEP=m
459CONFIG_BT_BNEP_MC_FILTER=y
460CONFIG_BT_BNEP_PROTO_FILTER=y
461CONFIG_BT_HIDP=m
462
463#
464# Bluetooth device drivers
465#
466CONFIG_BT_HCIBTUSB=m
467CONFIG_BT_HCIBTSDIO=m
468CONFIG_BT_HCIUART=m
469CONFIG_BT_HCIUART_H4=y
470CONFIG_BT_HCIUART_BCSP=y
471CONFIG_BT_HCIUART_LL=y
472CONFIG_BT_HCIBCM203X=m
473CONFIG_BT_HCIBPA10X=m
474CONFIG_BT_HCIBFUSB=m
475CONFIG_BT_HCIVHCI=m
476# CONFIG_BT_MRVL is not set
477# CONFIG_AF_RXRPC is not set
478CONFIG_WIRELESS=y
479CONFIG_CFG80211=m
480# CONFIG_NL80211_TESTMODE is not set
481# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
482# CONFIG_CFG80211_REG_DEBUG is not set
483CONFIG_CFG80211_DEFAULT_PS=y
484CONFIG_CFG80211_DEFAULT_PS_VALUE=1
485# CONFIG_CFG80211_DEBUGFS is not set
486CONFIG_WIRELESS_OLD_REGULATORY=y
487CONFIG_WIRELESS_EXT=y
488CONFIG_WIRELESS_EXT_SYSFS=y
489CONFIG_LIB80211=m
490# CONFIG_LIB80211_DEBUG is not set
491CONFIG_MAC80211=m
492# CONFIG_MAC80211_RC_PID is not set
493CONFIG_MAC80211_RC_MINSTREL=y
494# CONFIG_MAC80211_RC_DEFAULT_PID is not set
495CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
496CONFIG_MAC80211_RC_DEFAULT="minstrel"
497# CONFIG_MAC80211_MESH is not set
498CONFIG_MAC80211_LEDS=y
499# CONFIG_MAC80211_DEBUGFS is not set
500# CONFIG_MAC80211_DEBUG_MENU is not set
501# CONFIG_WIMAX is not set
502# CONFIG_RFKILL is not set
503# CONFIG_NET_9P is not set
504
505#
506# Device Drivers
507#
508
509#
510# Generic Driver Options
511#
512CONFIG_UEVENT_HELPER_PATH=""
513CONFIG_DEVTMPFS=y
514CONFIG_DEVTMPFS_MOUNT=y
515CONFIG_STANDALONE=y
516CONFIG_PREVENT_FIRMWARE_BUILD=y
517CONFIG_FW_LOADER=m
518CONFIG_FIRMWARE_IN_KERNEL=y
519CONFIG_EXTRA_FIRMWARE=""
520# CONFIG_SYS_HYPERVISOR is not set
521# CONFIG_CONNECTOR is not set
522CONFIG_MTD=y
523# CONFIG_MTD_DEBUG is not set
524# CONFIG_MTD_TESTS is not set
525CONFIG_MTD_CONCAT=y
526CONFIG_MTD_PARTITIONS=y
527# CONFIG_MTD_REDBOOT_PARTS is not set
528# CONFIG_MTD_CMDLINE_PARTS is not set
529# CONFIG_MTD_AFS_PARTS is not set
530# CONFIG_MTD_AR7_PARTS is not set
531
532#
533# User Modules And Translation Layers
534#
535CONFIG_MTD_CHAR=y
536CONFIG_MTD_BLKDEVS=y
537CONFIG_MTD_BLOCK=y
538# CONFIG_FTL is not set
539# CONFIG_NFTL is not set
540# CONFIG_INFTL is not set
541# CONFIG_RFD_FTL is not set
542# CONFIG_SSFDC is not set
543# CONFIG_MTD_OOPS is not set
544
545#
546# RAM/ROM/Flash chip drivers
547#
548# CONFIG_MTD_CFI is not set
549# CONFIG_MTD_JEDECPROBE is not set
550CONFIG_MTD_MAP_BANK_WIDTH_1=y
551CONFIG_MTD_MAP_BANK_WIDTH_2=y
552CONFIG_MTD_MAP_BANK_WIDTH_4=y
553# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
554# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
555# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
556CONFIG_MTD_CFI_I1=y
557CONFIG_MTD_CFI_I2=y
558# CONFIG_MTD_CFI_I4 is not set
559# CONFIG_MTD_CFI_I8 is not set
560# CONFIG_MTD_RAM is not set
561# CONFIG_MTD_ROM is not set
562# CONFIG_MTD_ABSENT is not set
563
564#
565# Mapping drivers for chip access
566#
567# CONFIG_MTD_COMPLEX_MAPPINGS is not set
568# CONFIG_MTD_PLATRAM is not set
569
570#
571# Self-contained MTD device drivers
572#
573# CONFIG_MTD_SLRAM is not set
574# CONFIG_MTD_PHRAM is not set
575# CONFIG_MTD_MTDRAM is not set
576# CONFIG_MTD_BLOCK2MTD is not set
577
578#
579# Disk-On-Chip Device Drivers
580#
581# CONFIG_MTD_DOC2000 is not set
582# CONFIG_MTD_DOC2001 is not set
583# CONFIG_MTD_DOC2001PLUS is not set
584CONFIG_MTD_NAND=y
585# CONFIG_MTD_NAND_VERIFY_WRITE is not set
586# CONFIG_MTD_NAND_ECC_SMC is not set
587# CONFIG_MTD_NAND_MUSEUM_IDS is not set
588# CONFIG_MTD_NAND_GPIO is not set
589CONFIG_MTD_NAND_IDS=y
590# CONFIG_MTD_NAND_DISKONCHIP is not set
591# CONFIG_MTD_NAND_NANDSIM is not set
592CONFIG_MTD_NAND_PLATFORM=y
593# CONFIG_MTD_ALAUDA is not set
594CONFIG_MTD_NAND_DAVINCI=y
595# CONFIG_MTD_ONENAND is not set
596
597#
598# LPDDR flash memory drivers
599#
600# CONFIG_MTD_LPDDR is not set
601
602#
603# UBI - Unsorted block images
604#
605CONFIG_MTD_UBI=y
606CONFIG_MTD_UBI_WL_THRESHOLD=4096
607CONFIG_MTD_UBI_BEB_RESERVE=1
608# CONFIG_MTD_UBI_GLUEBI is not set
609
610#
611# UBI debugging options
612#
613# CONFIG_MTD_UBI_DEBUG is not set
614# CONFIG_PARPORT is not set
615CONFIG_BLK_DEV=y
616# CONFIG_BLK_DEV_COW_COMMON is not set
617CONFIG_BLK_DEV_LOOP=m
618# CONFIG_BLK_DEV_CRYPTOLOOP is not set
619# CONFIG_BLK_DEV_NBD is not set
620# CONFIG_BLK_DEV_UB is not set
621CONFIG_BLK_DEV_RAM=y
622CONFIG_BLK_DEV_RAM_COUNT=1
623CONFIG_BLK_DEV_RAM_SIZE=32768
624# CONFIG_BLK_DEV_XIP is not set
625# CONFIG_CDROM_PKTCDVD is not set
626# CONFIG_ATA_OVER_ETH is not set
627# CONFIG_MG_DISK is not set
628CONFIG_MISC_DEVICES=y
629# CONFIG_ICS932S401 is not set
630# CONFIG_ENCLOSURE_SERVICES is not set
631# CONFIG_ISL29003 is not set
632# CONFIG_C2PORT is not set
633
634#
635# EEPROM support
636#
637# CONFIG_EEPROM_AT24 is not set
638# CONFIG_EEPROM_LEGACY is not set
639# CONFIG_EEPROM_MAX6875 is not set
640# CONFIG_EEPROM_93CX6 is not set
641CONFIG_HAVE_IDE=y
642# CONFIG_IDE is not set
643
644#
645# SCSI device support
646#
647# CONFIG_RAID_ATTRS is not set
648CONFIG_SCSI=m
649CONFIG_SCSI_DMA=y
650# CONFIG_SCSI_TGT is not set
651# CONFIG_SCSI_NETLINK is not set
652CONFIG_SCSI_PROC_FS=y
653
654#
655# SCSI support type (disk, tape, CD-ROM)
656#
657CONFIG_BLK_DEV_SD=m
658# CONFIG_CHR_DEV_ST is not set
659# CONFIG_CHR_DEV_OSST is not set
660# CONFIG_BLK_DEV_SR is not set
661# CONFIG_CHR_DEV_SG is not set
662# CONFIG_CHR_DEV_SCH is not set
663# CONFIG_SCSI_MULTI_LUN is not set
664# CONFIG_SCSI_CONSTANTS is not set
665# CONFIG_SCSI_LOGGING is not set
666# CONFIG_SCSI_SCAN_ASYNC is not set
667CONFIG_SCSI_WAIT_SCAN=m
668
669#
670# SCSI Transports
671#
672# CONFIG_SCSI_SPI_ATTRS is not set
673# CONFIG_SCSI_FC_ATTRS is not set
674# CONFIG_SCSI_ISCSI_ATTRS is not set
675# CONFIG_SCSI_SAS_ATTRS is not set
676# CONFIG_SCSI_SAS_LIBSAS is not set
677# CONFIG_SCSI_SRP_ATTRS is not set
678CONFIG_SCSI_LOWLEVEL=y
679# CONFIG_ISCSI_TCP is not set
680# CONFIG_LIBFC is not set
681# CONFIG_LIBFCOE is not set
682# CONFIG_SCSI_DEBUG is not set
683# CONFIG_SCSI_DH is not set
684# CONFIG_SCSI_OSD_INITIATOR is not set
685# CONFIG_ATA is not set
686# CONFIG_MD is not set
687CONFIG_NETDEVICES=y
688# CONFIG_DUMMY is not set
689# CONFIG_BONDING is not set
690# CONFIG_MACVLAN is not set
691# CONFIG_EQUALIZER is not set
692CONFIG_TUN=m
693# CONFIG_VETH is not set
694# CONFIG_PHYLIB is not set
695CONFIG_NET_ETHERNET=y
696CONFIG_MII=y
697# CONFIG_AX88796 is not set
698# CONFIG_SMC91X is not set
699# CONFIG_TI_DAVINCI_EMAC is not set
700CONFIG_DM9000=y
701CONFIG_DM9000_DEBUGLEVEL=4
702# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
703# CONFIG_ETHOC is not set
704# CONFIG_SMC911X is not set
705# CONFIG_SMSC911X is not set
706# CONFIG_DNET is not set
707# CONFIG_IBM_NEW_EMAC_ZMII is not set
708# CONFIG_IBM_NEW_EMAC_RGMII is not set
709# CONFIG_IBM_NEW_EMAC_TAH is not set
710# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
711# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
712# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
713# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
714# CONFIG_B44 is not set
715# CONFIG_KS8842 is not set
716# CONFIG_NETDEV_1000 is not set
717# CONFIG_NETDEV_10000 is not set
718CONFIG_WLAN=y
719# CONFIG_WLAN_PRE80211 is not set
720# CONFIG_WLAN_80211 is not set
721
722#
723# Enable WiMAX (Networking options) to see the WiMAX drivers
724#
725
726#
727# USB Network Adapters
728#
729# CONFIG_USB_CATC is not set
730# CONFIG_USB_KAWETH is not set
731# CONFIG_USB_PEGASUS is not set
732# CONFIG_USB_RTL8150 is not set
733# CONFIG_USB_USBNET is not set
734# CONFIG_WAN is not set
735CONFIG_PPP=m
736# CONFIG_PPP_MULTILINK is not set
737# CONFIG_PPP_FILTER is not set
738CONFIG_PPP_ASYNC=m
739CONFIG_PPP_SYNC_TTY=m
740CONFIG_PPP_DEFLATE=m
741# CONFIG_PPP_BSDCOMP is not set
742# CONFIG_PPP_MPPE is not set
743# CONFIG_PPPOE is not set
744# CONFIG_PPPOL2TP is not set
745# CONFIG_SLIP is not set
746CONFIG_SLHC=m
747CONFIG_NETCONSOLE=y
748# CONFIG_NETCONSOLE_DYNAMIC is not set
749CONFIG_NETPOLL=y
750CONFIG_NETPOLL_TRAP=y
751CONFIG_NET_POLL_CONTROLLER=y
752# CONFIG_ISDN is not set
753# CONFIG_PHONE is not set
754
755#
756# Input device support
757#
758CONFIG_INPUT=y
759# CONFIG_INPUT_FF_MEMLESS is not set
760# CONFIG_INPUT_POLLDEV is not set
761
762#
763# Userland interfaces
764#
765CONFIG_INPUT_MOUSEDEV=m
766CONFIG_INPUT_MOUSEDEV_PSAUX=y
767CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
768CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
769# CONFIG_INPUT_JOYDEV is not set
770CONFIG_INPUT_EVDEV=m
771CONFIG_INPUT_EVBUG=m
772
773#
774# Input Device Drivers
775#
776CONFIG_INPUT_KEYBOARD=y
777# CONFIG_KEYBOARD_ADP5588 is not set
778CONFIG_KEYBOARD_ATKBD=m
779# CONFIG_QT2160 is not set
780# CONFIG_KEYBOARD_LKKBD is not set
781CONFIG_KEYBOARD_GPIO=y
782# CONFIG_KEYBOARD_MATRIX is not set
783# CONFIG_KEYBOARD_LM8323 is not set
784# CONFIG_KEYBOARD_MAX7359 is not set
785# CONFIG_KEYBOARD_NEWTON is not set
786# CONFIG_KEYBOARD_OPENCORES is not set
787# CONFIG_KEYBOARD_STOWAWAY is not set
788# CONFIG_KEYBOARD_SUNKBD is not set
789CONFIG_KEYBOARD_XTKBD=m
790# CONFIG_INPUT_MOUSE is not set
791# CONFIG_INPUT_JOYSTICK is not set
792# CONFIG_INPUT_TABLET is not set
793CONFIG_INPUT_TOUCHSCREEN=y
794# CONFIG_TOUCHSCREEN_AD7879_I2C is not set
795# CONFIG_TOUCHSCREEN_AD7879 is not set
796# CONFIG_TOUCHSCREEN_EETI is not set
797# CONFIG_TOUCHSCREEN_FUJITSU is not set
798# CONFIG_TOUCHSCREEN_GUNZE is not set
799# CONFIG_TOUCHSCREEN_ELO is not set
800# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
801# CONFIG_TOUCHSCREEN_MCS5000 is not set
802# CONFIG_TOUCHSCREEN_MTOUCH is not set
803# CONFIG_TOUCHSCREEN_INEXIO is not set
804# CONFIG_TOUCHSCREEN_MK712 is not set
805# CONFIG_TOUCHSCREEN_PENMOUNT is not set
806# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
807# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
808# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
809# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
810# CONFIG_TOUCHSCREEN_TSC2007 is not set
811# CONFIG_TOUCHSCREEN_W90X900 is not set
812# CONFIG_INPUT_MISC is not set
813
814#
815# Hardware I/O ports
816#
817CONFIG_SERIO=y
818CONFIG_SERIO_SERPORT=y
819CONFIG_SERIO_LIBPS2=y
820# CONFIG_SERIO_RAW is not set
821# CONFIG_GAMEPORT is not set
822
823#
824# Character devices
825#
826CONFIG_VT=y
827CONFIG_CONSOLE_TRANSLATIONS=y
828# CONFIG_VT_CONSOLE is not set
829CONFIG_HW_CONSOLE=y
830# CONFIG_VT_HW_CONSOLE_BINDING is not set
831CONFIG_DEVKMEM=y
832# CONFIG_SERIAL_NONSTANDARD is not set
833
834#
835# Serial drivers
836#
837CONFIG_SERIAL_8250=y
838CONFIG_SERIAL_8250_CONSOLE=y
839CONFIG_SERIAL_8250_NR_UARTS=2
840CONFIG_SERIAL_8250_RUNTIME_UARTS=2
841# CONFIG_SERIAL_8250_EXTENDED is not set
842
843#
844# Non-8250 serial port support
845#
846CONFIG_SERIAL_CORE=y
847CONFIG_SERIAL_CORE_CONSOLE=y
848CONFIG_UNIX98_PTYS=y
849# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
850CONFIG_LEGACY_PTYS=y
851CONFIG_LEGACY_PTY_COUNT=256
852# CONFIG_IPMI_HANDLER is not set
853CONFIG_HW_RANDOM=m
854# CONFIG_HW_RANDOM_TIMERIOMEM 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_DM355_IPIPE is not set
859CONFIG_I2C=y
860CONFIG_I2C_BOARDINFO=y
861CONFIG_I2C_COMPAT=y
862CONFIG_I2C_CHARDEV=y
863CONFIG_I2C_HELPER_AUTO=y
864
865#
866# I2C Hardware Bus support
867#
868
869#
870# I2C system bus drivers (mostly embedded / system-on-chip)
871#
872CONFIG_I2C_DAVINCI=y
873# CONFIG_I2C_DESIGNWARE is not set
874# CONFIG_I2C_GPIO is not set
875# CONFIG_I2C_OCORES is not set
876# CONFIG_I2C_SIMTEC is not set
877
878#
879# External I2C/SMBus adapter drivers
880#
881# CONFIG_I2C_PARPORT_LIGHT is not set
882# CONFIG_I2C_TAOS_EVM is not set
883# CONFIG_I2C_TINY_USB is not set
884
885#
886# Other I2C/SMBus bus drivers
887#
888# CONFIG_I2C_PCA_PLATFORM is not set
889# CONFIG_I2C_STUB is not set
890
891#
892# Miscellaneous I2C Chip support
893#
894# CONFIG_DS1682 is not set
895# CONFIG_SENSORS_TSL2550 is not set
896# CONFIG_I2C_DEBUG_CORE is not set
897# CONFIG_I2C_DEBUG_ALGO is not set
898# CONFIG_I2C_DEBUG_BUS is not set
899# CONFIG_I2C_DEBUG_CHIP is not set
900# CONFIG_SPI is not set
901
902#
903# PPS support
904#
905# CONFIG_PPS is not set
906CONFIG_ARCH_REQUIRE_GPIOLIB=y
907CONFIG_GPIOLIB=y
908# CONFIG_GPIO_SYSFS is not set
909
910#
911# Memory mapped GPIO expanders:
912#
913
914#
915# I2C GPIO expanders:
916#
917# CONFIG_GPIO_MAX732X is not set
918# CONFIG_GPIO_PCA953X is not set
919CONFIG_GPIO_PCF857X=m
920
921#
922# PCI GPIO expanders:
923#
924
925#
926# SPI GPIO expanders:
927#
928
929#
930# AC97 GPIO expanders:
931#
932# CONFIG_W1 is not set
933# CONFIG_POWER_SUPPLY is not set
934CONFIG_HWMON=y
935# CONFIG_HWMON_VID is not set
936# CONFIG_HWMON_DEBUG_CHIP is not set
937
938#
939# Native drivers
940#
941# CONFIG_SENSORS_AD7414 is not set
942# CONFIG_SENSORS_AD7418 is not set
943# CONFIG_SENSORS_ADM1021 is not set
944# CONFIG_SENSORS_ADM1025 is not set
945# CONFIG_SENSORS_ADM1026 is not set
946# CONFIG_SENSORS_ADM1029 is not set
947# CONFIG_SENSORS_ADM1031 is not set
948# CONFIG_SENSORS_ADM9240 is not set
949# CONFIG_SENSORS_ADT7462 is not set
950# CONFIG_SENSORS_ADT7470 is not set
951# CONFIG_SENSORS_ADT7473 is not set
952# CONFIG_SENSORS_ADT7475 is not set
953# CONFIG_SENSORS_ATXP1 is not set
954# CONFIG_SENSORS_DS1621 is not set
955# CONFIG_SENSORS_F71805F is not set
956# CONFIG_SENSORS_F71882FG is not set
957# CONFIG_SENSORS_F75375S is not set
958# CONFIG_SENSORS_G760A is not set
959# CONFIG_SENSORS_GL518SM is not set
960# CONFIG_SENSORS_GL520SM is not set
961# CONFIG_SENSORS_IT87 is not set
962# CONFIG_SENSORS_LM63 is not set
963# CONFIG_SENSORS_LM75 is not set
964# CONFIG_SENSORS_LM77 is not set
965# CONFIG_SENSORS_LM78 is not set
966# CONFIG_SENSORS_LM80 is not set
967# CONFIG_SENSORS_LM83 is not set
968# CONFIG_SENSORS_LM85 is not set
969# CONFIG_SENSORS_LM87 is not set
970# CONFIG_SENSORS_LM90 is not set
971# CONFIG_SENSORS_LM92 is not set
972# CONFIG_SENSORS_LM93 is not set
973# CONFIG_SENSORS_LTC4215 is not set
974# CONFIG_SENSORS_LTC4245 is not set
975# CONFIG_SENSORS_LM95241 is not set
976# CONFIG_SENSORS_MAX1619 is not set
977# CONFIG_SENSORS_MAX6650 is not set
978# CONFIG_SENSORS_PC87360 is not set
979# CONFIG_SENSORS_PC87427 is not set
980# CONFIG_SENSORS_PCF8591 is not set
981# CONFIG_SENSORS_SHT15 is not set
982# CONFIG_SENSORS_DME1737 is not set
983# CONFIG_SENSORS_SMSC47M1 is not set
984# CONFIG_SENSORS_SMSC47M192 is not set
985# CONFIG_SENSORS_SMSC47B397 is not set
986# CONFIG_SENSORS_ADS7828 is not set
987# CONFIG_SENSORS_THMC50 is not set
988# CONFIG_SENSORS_TMP401 is not set
989# CONFIG_SENSORS_TMP421 is not set
990# CONFIG_SENSORS_VT1211 is not set
991# CONFIG_SENSORS_W83781D is not set
992# CONFIG_SENSORS_W83791D is not set
993# CONFIG_SENSORS_W83792D is not set
994# CONFIG_SENSORS_W83793 is not set
995# CONFIG_SENSORS_W83L785TS is not set
996# CONFIG_SENSORS_W83L786NG is not set
997# CONFIG_SENSORS_W83627HF is not set
998# CONFIG_SENSORS_W83627EHF is not set
999# CONFIG_THERMAL is not set
1000CONFIG_WATCHDOG=y
1001# CONFIG_WATCHDOG_NOWAYOUT is not set
1002
1003#
1004# Watchdog Device Drivers
1005#
1006CONFIG_SOFT_WATCHDOG=m
1007CONFIG_DAVINCI_WATCHDOG=m
1008
1009#
1010# USB-based Watchdog Cards
1011#
1012# CONFIG_USBPCWATCHDOG is not set
1013CONFIG_SSB_POSSIBLE=y
1014
1015#
1016# Sonics Silicon Backplane
1017#
1018# CONFIG_SSB is not set
1019
1020#
1021# Multifunction device drivers
1022#
1023# CONFIG_MFD_CORE is not set
1024# CONFIG_MFD_SM501 is not set
1025# CONFIG_MFD_ASIC3 is not set
1026# CONFIG_HTC_EGPIO is not set
1027# CONFIG_HTC_PASIC3 is not set
1028# CONFIG_TPS65010 is not set
1029# CONFIG_TWL4030_CORE is not set
1030# CONFIG_MFD_TMIO is not set
1031# CONFIG_MFD_T7L66XB is not set
1032# CONFIG_MFD_TC6387XB is not set
1033# CONFIG_MFD_TC6393XB is not set
1034# CONFIG_PMIC_DA903X is not set
1035# CONFIG_MFD_WM8400 is not set
1036# CONFIG_MFD_WM831X is not set
1037# CONFIG_MFD_WM8350_I2C is not set
1038# CONFIG_MFD_PCF50633 is not set
1039# CONFIG_AB3100_CORE is not set
1040CONFIG_REGULATOR=y
1041# CONFIG_REGULATOR_DEBUG is not set
1042CONFIG_REGULATOR_FIXED_VOLTAGE=m
1043CONFIG_REGULATOR_VIRTUAL_CONSUMER=m
1044# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set
1045# CONFIG_REGULATOR_BQ24022 is not set
1046# CONFIG_REGULATOR_MAX1586 is not set
1047# CONFIG_REGULATOR_LP3971 is not set
1048# CONFIG_REGULATOR_TPS65023 is not set
1049# CONFIG_REGULATOR_TPS6507X is not set
1050# CONFIG_MEDIA_SUPPORT is not set
1051
1052#
1053# Graphics support
1054#
1055# CONFIG_VGASTATE is not set
1056CONFIG_VIDEO_OUTPUT_CONTROL=m
1057# CONFIG_FB is not set
1058# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
1059
1060#
1061# Display device support
1062#
1063# CONFIG_DISPLAY_SUPPORT is not set
1064
1065#
1066# Console display driver support
1067#
1068# CONFIG_VGA_CONSOLE is not set
1069CONFIG_DUMMY_CONSOLE=y
1070CONFIG_SOUND=y
1071CONFIG_SOUND_OSS_CORE=y
1072CONFIG_SOUND_OSS_CORE_PRECLAIM=y
1073CONFIG_SND=y
1074CONFIG_SND_TIMER=y
1075CONFIG_SND_PCM=y
1076CONFIG_SND_RAWMIDI=m
1077CONFIG_SND_JACK=y
1078# CONFIG_SND_SEQUENCER is not set
1079CONFIG_SND_OSSEMUL=y
1080CONFIG_SND_MIXER_OSS=y
1081CONFIG_SND_PCM_OSS=y
1082CONFIG_SND_PCM_OSS_PLUGINS=y
1083# CONFIG_SND_HRTIMER is not set
1084# CONFIG_SND_DYNAMIC_MINORS is not set
1085CONFIG_SND_SUPPORT_OLD_API=y
1086CONFIG_SND_VERBOSE_PROCFS=y
1087# CONFIG_SND_VERBOSE_PRINTK is not set
1088# CONFIG_SND_DEBUG is not set
1089# CONFIG_SND_RAWMIDI_SEQ is not set
1090# CONFIG_SND_OPL3_LIB_SEQ is not set
1091# CONFIG_SND_OPL4_LIB_SEQ is not set
1092# CONFIG_SND_SBAWE_SEQ is not set
1093# CONFIG_SND_EMU10K1_SEQ is not set
1094CONFIG_SND_DRIVERS=y
1095# CONFIG_SND_DUMMY is not set
1096# CONFIG_SND_MTPAV is not set
1097# CONFIG_SND_SERIAL_U16550 is not set
1098# CONFIG_SND_MPU401 is not set
1099# CONFIG_SND_ARM is not set
1100CONFIG_SND_USB=y
1101# CONFIG_SND_USB_AUDIO is not set
1102# CONFIG_SND_USB_CAIAQ is not set
1103CONFIG_SND_SOC=y
1104CONFIG_SND_DAVINCI_SOC=y
1105CONFIG_SND_SOC_I2C_AND_SPI=y
1106# CONFIG_SND_SOC_ALL_CODECS is not set
1107# CONFIG_SOUND_PRIME is not set
1108CONFIG_HID_SUPPORT=y
1109CONFIG_HID=y
1110# CONFIG_HIDRAW is not set
1111
1112#
1113# USB Input Devices
1114#
1115CONFIG_USB_HID=y
1116# CONFIG_HID_PID is not set
1117# CONFIG_USB_HIDDEV is not set
1118
1119#
1120# Special HID drivers
1121#
1122# CONFIG_HID_A4TECH is not set
1123# CONFIG_HID_APPLE is not set
1124# CONFIG_HID_BELKIN is not set
1125# CONFIG_HID_CHERRY is not set
1126# CONFIG_HID_CHICONY is not set
1127# CONFIG_HID_CYPRESS is not set
1128# CONFIG_HID_DRAGONRISE is not set
1129# CONFIG_HID_EZKEY is not set
1130# CONFIG_HID_KYE is not set
1131# CONFIG_HID_GYRATION is not set
1132# CONFIG_HID_TWINHAN is not set
1133# CONFIG_HID_KENSINGTON is not set
1134# CONFIG_HID_LOGITECH is not set
1135# CONFIG_HID_MICROSOFT is not set
1136# CONFIG_HID_MONTEREY is not set
1137# CONFIG_HID_NTRIG is not set
1138# CONFIG_HID_PANTHERLORD is not set
1139# CONFIG_HID_PETALYNX is not set
1140# CONFIG_HID_SAMSUNG is not set
1141# CONFIG_HID_SONY is not set
1142# CONFIG_HID_SUNPLUS is not set
1143# CONFIG_HID_GREENASIA is not set
1144# CONFIG_HID_SMARTJOYPLUS is not set
1145# CONFIG_HID_TOPSEED is not set
1146# CONFIG_HID_THRUSTMASTER is not set
1147# CONFIG_HID_WACOM is not set
1148# CONFIG_HID_ZEROPLUS is not set
1149CONFIG_USB_SUPPORT=y
1150CONFIG_USB_ARCH_HAS_HCD=y
1151# CONFIG_USB_ARCH_HAS_OHCI is not set
1152# CONFIG_USB_ARCH_HAS_EHCI is not set
1153CONFIG_USB=y
1154# CONFIG_USB_DEBUG is not set
1155# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
1156
1157#
1158# Miscellaneous USB options
1159#
1160CONFIG_USB_DEVICEFS=y
1161CONFIG_USB_DEVICE_CLASS=y
1162CONFIG_USB_DYNAMIC_MINORS=y
1163CONFIG_USB_SUSPEND=y
1164# CONFIG_USB_OTG is not set
1165# CONFIG_USB_OTG_WHITELIST is not set
1166# CONFIG_USB_OTG_BLACKLIST_HUB is not set
1167CONFIG_USB_MON=y
1168# CONFIG_USB_WUSB is not set
1169# CONFIG_USB_WUSB_CBAF is not set
1170
1171#
1172# USB Host Controller Drivers
1173#
1174# CONFIG_USB_C67X00_HCD is not set
1175# CONFIG_USB_OXU210HP_HCD is not set
1176# CONFIG_USB_ISP116X_HCD is not set
1177# CONFIG_USB_ISP1760_HCD is not set
1178# CONFIG_USB_ISP1362_HCD is not set
1179# CONFIG_USB_SL811_HCD is not set
1180# CONFIG_USB_R8A66597_HCD is not set
1181# CONFIG_USB_HWA_HCD is not set
1182CONFIG_USB_MUSB_HDRC=y
1183CONFIG_USB_MUSB_SOC=y
1184
1185#
1186# DaVinci 35x, 36x, 644x USB support
1187#
1188# CONFIG_USB_MUSB_HOST is not set
1189CONFIG_USB_MUSB_PERIPHERAL=y
1190# CONFIG_USB_MUSB_OTG is not set
1191CONFIG_USB_GADGET_MUSB_HDRC=y
1192# CONFIG_MUSB_PIO_ONLY is not set
1193# CONFIG_USB_INVENTRA_DMA is not set
1194CONFIG_USB_TI_CPPI_DMA=y
1195# CONFIG_USB_MUSB_DEBUG is not set
1196
1197#
1198# USB Device Class drivers
1199#
1200CONFIG_USB_ACM=m
1201CONFIG_USB_PRINTER=m
1202CONFIG_USB_WDM=m
1203CONFIG_USB_TMC=m
1204
1205#
1206# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
1207#
1208
1209#
1210# also be needed; see USB_STORAGE Help for more info
1211#
1212CONFIG_USB_STORAGE=m
1213# CONFIG_USB_STORAGE_DEBUG is not set
1214# CONFIG_USB_STORAGE_DATAFAB is not set
1215# CONFIG_USB_STORAGE_FREECOM is not set
1216# CONFIG_USB_STORAGE_ISD200 is not set
1217# CONFIG_USB_STORAGE_USBAT is not set
1218# CONFIG_USB_STORAGE_SDDR09 is not set
1219# CONFIG_USB_STORAGE_SDDR55 is not set
1220# CONFIG_USB_STORAGE_JUMPSHOT is not set
1221# CONFIG_USB_STORAGE_ALAUDA is not set
1222# CONFIG_USB_STORAGE_ONETOUCH is not set
1223# CONFIG_USB_STORAGE_KARMA is not set
1224# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
1225# CONFIG_USB_LIBUSUAL is not set
1226
1227#
1228# USB Imaging devices
1229#
1230# CONFIG_USB_MDC800 is not set
1231# CONFIG_USB_MICROTEK is not set
1232
1233#
1234# USB port drivers
1235#
1236CONFIG_USB_SERIAL=m
1237# CONFIG_USB_EZUSB is not set
1238# CONFIG_USB_SERIAL_GENERIC is not set
1239# CONFIG_USB_SERIAL_AIRCABLE is not set
1240# CONFIG_USB_SERIAL_ARK3116 is not set
1241# CONFIG_USB_SERIAL_BELKIN is not set
1242# CONFIG_USB_SERIAL_CH341 is not set
1243# CONFIG_USB_SERIAL_WHITEHEAT is not set
1244# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
1245# CONFIG_USB_SERIAL_CP210X is not set
1246# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
1247# CONFIG_USB_SERIAL_EMPEG is not set
1248# CONFIG_USB_SERIAL_FTDI_SIO is not set
1249# CONFIG_USB_SERIAL_FUNSOFT is not set
1250# CONFIG_USB_SERIAL_VISOR is not set
1251# CONFIG_USB_SERIAL_IPAQ is not set
1252# CONFIG_USB_SERIAL_IR is not set
1253# CONFIG_USB_SERIAL_EDGEPORT is not set
1254# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
1255# CONFIG_USB_SERIAL_GARMIN is not set
1256# CONFIG_USB_SERIAL_IPW is not set
1257# CONFIG_USB_SERIAL_IUU is not set
1258# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
1259# CONFIG_USB_SERIAL_KEYSPAN is not set
1260# CONFIG_USB_SERIAL_KLSI is not set
1261# CONFIG_USB_SERIAL_KOBIL_SCT is not set
1262# CONFIG_USB_SERIAL_MCT_U232 is not set
1263# CONFIG_USB_SERIAL_MOS7720 is not set
1264# CONFIG_USB_SERIAL_MOS7840 is not set
1265# CONFIG_USB_SERIAL_MOTOROLA is not set
1266# CONFIG_USB_SERIAL_NAVMAN is not set
1267# CONFIG_USB_SERIAL_PL2303 is not set
1268# CONFIG_USB_SERIAL_OTI6858 is not set
1269# CONFIG_USB_SERIAL_QUALCOMM is not set
1270# CONFIG_USB_SERIAL_SPCP8X5 is not set
1271# CONFIG_USB_SERIAL_HP4X is not set
1272# CONFIG_USB_SERIAL_SAFE is not set
1273# CONFIG_USB_SERIAL_SIEMENS_MPI is not set
1274# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
1275# CONFIG_USB_SERIAL_SYMBOL is not set
1276# CONFIG_USB_SERIAL_TI is not set
1277# CONFIG_USB_SERIAL_CYBERJACK is not set
1278# CONFIG_USB_SERIAL_XIRCOM is not set
1279# CONFIG_USB_SERIAL_OPTION is not set
1280# CONFIG_USB_SERIAL_OMNINET is not set
1281# CONFIG_USB_SERIAL_OPTICON is not set
1282# CONFIG_USB_SERIAL_DEBUG is not set
1283
1284#
1285# USB Miscellaneous drivers
1286#
1287# CONFIG_USB_EMI62 is not set
1288# CONFIG_USB_EMI26 is not set
1289# CONFIG_USB_ADUTUX is not set
1290# CONFIG_USB_SEVSEG is not set
1291# CONFIG_USB_RIO500 is not set
1292# CONFIG_USB_LEGOTOWER is not set
1293# CONFIG_USB_LCD is not set
1294# CONFIG_USB_BERRY_CHARGE is not set
1295CONFIG_USB_LED=m
1296# CONFIG_USB_CYPRESS_CY7C63 is not set
1297# CONFIG_USB_CYTHERM is not set
1298# CONFIG_USB_IDMOUSE is not set
1299# CONFIG_USB_FTDI_ELAN is not set
1300# CONFIG_USB_APPLEDISPLAY is not set
1301# CONFIG_USB_SISUSBVGA is not set
1302# CONFIG_USB_LD is not set
1303# CONFIG_USB_TRANCEVIBRATOR is not set
1304# CONFIG_USB_IOWARRIOR is not set
1305# CONFIG_USB_TEST is not set
1306# CONFIG_USB_ISIGHTFW is not set
1307# CONFIG_USB_VST is not set
1308CONFIG_USB_GADGET=m
1309# CONFIG_USB_GADGET_DEBUG_FILES is not set
1310# CONFIG_USB_GADGET_DEBUG_FS is not set
1311CONFIG_USB_GADGET_VBUS_DRAW=2
1312CONFIG_USB_GADGET_SELECTED=y
1313# CONFIG_USB_GADGET_AT91 is not set
1314# CONFIG_USB_GADGET_ATMEL_USBA is not set
1315# CONFIG_USB_GADGET_FSL_USB2 is not set
1316# CONFIG_USB_GADGET_LH7A40X is not set
1317# CONFIG_USB_GADGET_OMAP is not set
1318# CONFIG_USB_GADGET_PXA25X is not set
1319# CONFIG_USB_GADGET_R8A66597 is not set
1320# CONFIG_USB_GADGET_PXA27X is not set
1321# CONFIG_USB_GADGET_S3C_HSOTG is not set
1322# CONFIG_USB_GADGET_IMX is not set
1323# CONFIG_USB_GADGET_S3C2410 is not set
1324# CONFIG_USB_GADGET_M66592 is not set
1325# CONFIG_USB_GADGET_AMD5536UDC is not set
1326# CONFIG_USB_GADGET_FSL_QE is not set
1327# CONFIG_USB_GADGET_CI13XXX is not set
1328# CONFIG_USB_GADGET_NET2280 is not set
1329# CONFIG_USB_GADGET_GOKU is not set
1330# CONFIG_USB_GADGET_LANGWELL is not set
1331# CONFIG_USB_GADGET_DUMMY_HCD is not set
1332CONFIG_USB_GADGET_DUALSPEED=y
1333CONFIG_USB_ZERO=m
1334# CONFIG_USB_AUDIO is not set
1335CONFIG_USB_ETH=m
1336CONFIG_USB_ETH_RNDIS=y
1337# CONFIG_USB_ETH_EEM is not set
1338# CONFIG_USB_GADGETFS is not set
1339CONFIG_USB_FILE_STORAGE=m
1340# CONFIG_USB_FILE_STORAGE_TEST is not set
1341CONFIG_USB_G_SERIAL=m
1342CONFIG_USB_MIDI_GADGET=m
1343CONFIG_USB_G_PRINTER=m
1344CONFIG_USB_CDC_COMPOSITE=m
1345
1346#
1347# OTG and related infrastructure
1348#
1349CONFIG_USB_OTG_UTILS=y
1350CONFIG_USB_GPIO_VBUS=m
1351CONFIG_NOP_USB_XCEIV=y
1352CONFIG_MMC=y
1353# CONFIG_MMC_DEBUG is not set
1354CONFIG_MMC_UNSAFE_RESUME=y
1355
1356#
1357# MMC/SD/SDIO Card Drivers
1358#
1359CONFIG_MMC_BLOCK=y
1360CONFIG_MMC_BLOCK_BOUNCE=y
1361CONFIG_SDIO_UART=m
1362# CONFIG_MMC_TEST is not set
1363
1364#
1365# MMC/SD/SDIO Host Controller Drivers
1366#
1367CONFIG_MMC_SDHCI=y
1368# CONFIG_MMC_SDHCI_PLTFM is not set
1369# CONFIG_MMC_AT91 is not set
1370# CONFIG_MMC_ATMELMCI is not set
1371CONFIG_MMC_DAVINCI=y
1372# CONFIG_MEMSTICK is not set
1373CONFIG_NEW_LEDS=y
1374CONFIG_LEDS_CLASS=m
1375
1376#
1377# LED drivers
1378#
1379# CONFIG_LEDS_PCA9532 is not set
1380CONFIG_LEDS_GPIO=m
1381CONFIG_LEDS_GPIO_PLATFORM=y
1382# CONFIG_LEDS_LP3944 is not set
1383# CONFIG_LEDS_PCA955X is not set
1384# CONFIG_LEDS_BD2802 is not set
1385
1386#
1387# LED Triggers
1388#
1389CONFIG_LEDS_TRIGGERS=y
1390CONFIG_LEDS_TRIGGER_TIMER=m
1391CONFIG_LEDS_TRIGGER_HEARTBEAT=m
1392CONFIG_LEDS_TRIGGER_BACKLIGHT=m
1393CONFIG_LEDS_TRIGGER_GPIO=m
1394CONFIG_LEDS_TRIGGER_DEFAULT_ON=m
1395
1396#
1397# iptables trigger is under Netfilter config (LED target)
1398#
1399# CONFIG_ACCESSIBILITY is not set
1400CONFIG_RTC_LIB=y
1401# CONFIG_RTC_CLASS is not set
1402CONFIG_DMADEVICES=y
1403
1404#
1405# DMA Devices
1406#
1407# CONFIG_AUXDISPLAY is not set
1408# CONFIG_UIO is not set
1409
1410#
1411# TI VLYNQ
1412#
1413CONFIG_STAGING=y
1414# CONFIG_STAGING_EXCLUDE_BUILD is not set
1415# CONFIG_USB_IP_COMMON is not set
1416# CONFIG_ECHO is not set
1417# CONFIG_COMEDI is not set
1418# CONFIG_ASUS_OLED is not set
1419# CONFIG_INPUT_MIMIO is not set
1420# CONFIG_TRANZPORT is not set
1421
1422#
1423# Android
1424#
1425# CONFIG_ANDROID is not set
1426
1427#
1428# Qualcomm MSM Camera And Video
1429#
1430
1431#
1432# Camera Sensor Selection
1433#
1434# CONFIG_INPUT_GPIO is not set
1435# CONFIG_DST is not set
1436# CONFIG_POHMELFS is not set
1437# CONFIG_PLAN9AUTH is not set
1438# CONFIG_LINE6_USB is not set
1439# CONFIG_USB_SERIAL_QUATECH2 is not set
1440# CONFIG_USB_SERIAL_QUATECH_USB2 is not set
1441# CONFIG_VT6656 is not set
1442
1443#
1444# RAR Register Driver
1445#
1446# CONFIG_RAR_REGISTER is not set
1447# CONFIG_IIO is not set
1448# CONFIG_COWLOOP is not set
1449
1450#
1451# File systems
1452#
1453CONFIG_EXT2_FS=y
1454# CONFIG_EXT2_FS_XATTR is not set
1455# CONFIG_EXT2_FS_XIP is not set
1456CONFIG_EXT3_FS=y
1457# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
1458CONFIG_EXT3_FS_XATTR=y
1459# CONFIG_EXT3_FS_POSIX_ACL is not set
1460# CONFIG_EXT3_FS_SECURITY is not set
1461# CONFIG_EXT4_FS is not set
1462CONFIG_JBD=y
1463# CONFIG_JBD_DEBUG is not set
1464CONFIG_FS_MBCACHE=y
1465# CONFIG_REISERFS_FS is not set
1466# CONFIG_JFS_FS is not set
1467CONFIG_FS_POSIX_ACL=y
1468CONFIG_XFS_FS=m
1469# CONFIG_XFS_QUOTA is not set
1470# CONFIG_XFS_POSIX_ACL is not set
1471# CONFIG_XFS_RT is not set
1472# CONFIG_XFS_DEBUG is not set
1473# CONFIG_GFS2_FS is not set
1474# CONFIG_OCFS2_FS is not set
1475# CONFIG_BTRFS_FS is not set
1476# CONFIG_NILFS2_FS is not set
1477CONFIG_FILE_LOCKING=y
1478CONFIG_FSNOTIFY=y
1479CONFIG_DNOTIFY=y
1480CONFIG_INOTIFY=y
1481CONFIG_INOTIFY_USER=y
1482# CONFIG_QUOTA is not set
1483# CONFIG_AUTOFS_FS is not set
1484CONFIG_AUTOFS4_FS=m
1485CONFIG_FUSE_FS=m
1486# CONFIG_CUSE is not set
1487CONFIG_GENERIC_ACL=y
1488
1489#
1490# Caches
1491#
1492# CONFIG_FSCACHE is not set
1493
1494#
1495# CD-ROM/DVD Filesystems
1496#
1497CONFIG_ISO9660_FS=m
1498CONFIG_JOLIET=y
1499CONFIG_ZISOFS=y
1500CONFIG_UDF_FS=m
1501CONFIG_UDF_NLS=y
1502
1503#
1504# DOS/FAT/NT Filesystems
1505#
1506CONFIG_FAT_FS=y
1507CONFIG_MSDOS_FS=y
1508CONFIG_VFAT_FS=y
1509CONFIG_FAT_DEFAULT_CODEPAGE=437
1510CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1511# CONFIG_NTFS_FS is not set
1512
1513#
1514# Pseudo filesystems
1515#
1516CONFIG_PROC_FS=y
1517CONFIG_PROC_SYSCTL=y
1518CONFIG_PROC_PAGE_MONITOR=y
1519CONFIG_SYSFS=y
1520CONFIG_TMPFS=y
1521CONFIG_TMPFS_POSIX_ACL=y
1522# CONFIG_HUGETLB_PAGE is not set
1523# CONFIG_CONFIGFS_FS is not set
1524CONFIG_MISC_FILESYSTEMS=y
1525# CONFIG_ADFS_FS is not set
1526# CONFIG_AFFS_FS is not set
1527# CONFIG_HFS_FS is not set
1528# CONFIG_HFSPLUS_FS is not set
1529# CONFIG_BEFS_FS is not set
1530# CONFIG_BFS_FS is not set
1531# CONFIG_EFS_FS is not set
1532# CONFIG_JFFS2_FS is not set
1533CONFIG_UBIFS_FS=y
1534CONFIG_UBIFS_FS_XATTR=y
1535CONFIG_UBIFS_FS_ADVANCED_COMPR=y
1536CONFIG_UBIFS_FS_LZO=y
1537CONFIG_UBIFS_FS_ZLIB=y
1538# CONFIG_UBIFS_FS_DEBUG is not set
1539CONFIG_CRAMFS=y
1540# CONFIG_SQUASHFS is not set
1541# CONFIG_VXFS_FS is not set
1542CONFIG_MINIX_FS=m
1543# CONFIG_OMFS_FS is not set
1544# CONFIG_HPFS_FS is not set
1545# CONFIG_QNX4FS_FS is not set
1546# CONFIG_ROMFS_FS is not set
1547# CONFIG_SYSV_FS is not set
1548# CONFIG_UFS_FS is not set
1549CONFIG_NETWORK_FILESYSTEMS=y
1550CONFIG_NFS_FS=y
1551CONFIG_NFS_V3=y
1552# CONFIG_NFS_V3_ACL is not set
1553# CONFIG_NFS_V4 is not set
1554CONFIG_ROOT_NFS=y
1555CONFIG_NFSD=m
1556CONFIG_NFSD_V3=y
1557# CONFIG_NFSD_V3_ACL is not set
1558# CONFIG_NFSD_V4 is not set
1559CONFIG_LOCKD=y
1560CONFIG_LOCKD_V4=y
1561CONFIG_EXPORTFS=m
1562CONFIG_NFS_COMMON=y
1563CONFIG_SUNRPC=y
1564# CONFIG_RPCSEC_GSS_KRB5 is not set
1565# CONFIG_RPCSEC_GSS_SPKM3 is not set
1566CONFIG_SMB_FS=m
1567# CONFIG_SMB_NLS_DEFAULT is not set
1568# CONFIG_CIFS is not set
1569# CONFIG_NCP_FS is not set
1570# CONFIG_CODA_FS is not set
1571# CONFIG_AFS_FS is not set
1572
1573#
1574# Partition Types
1575#
1576CONFIG_PARTITION_ADVANCED=y
1577# CONFIG_ACORN_PARTITION is not set
1578# CONFIG_OSF_PARTITION is not set
1579# CONFIG_AMIGA_PARTITION is not set
1580# CONFIG_ATARI_PARTITION is not set
1581# CONFIG_MAC_PARTITION is not set
1582CONFIG_MSDOS_PARTITION=y
1583# CONFIG_BSD_DISKLABEL is not set
1584# CONFIG_MINIX_SUBPARTITION is not set
1585# CONFIG_SOLARIS_X86_PARTITION is not set
1586# CONFIG_UNIXWARE_DISKLABEL is not set
1587# CONFIG_LDM_PARTITION is not set
1588# CONFIG_SGI_PARTITION is not set
1589# CONFIG_ULTRIX_PARTITION is not set
1590# CONFIG_SUN_PARTITION is not set
1591# CONFIG_KARMA_PARTITION is not set
1592# CONFIG_EFI_PARTITION is not set
1593# CONFIG_SYSV68_PARTITION is not set
1594CONFIG_NLS=y
1595CONFIG_NLS_DEFAULT="iso8859-1"
1596CONFIG_NLS_CODEPAGE_437=y
1597# CONFIG_NLS_CODEPAGE_737 is not set
1598# CONFIG_NLS_CODEPAGE_775 is not set
1599# CONFIG_NLS_CODEPAGE_850 is not set
1600# CONFIG_NLS_CODEPAGE_852 is not set
1601# CONFIG_NLS_CODEPAGE_855 is not set
1602# CONFIG_NLS_CODEPAGE_857 is not set
1603# CONFIG_NLS_CODEPAGE_860 is not set
1604# CONFIG_NLS_CODEPAGE_861 is not set
1605# CONFIG_NLS_CODEPAGE_862 is not set
1606# CONFIG_NLS_CODEPAGE_863 is not set
1607# CONFIG_NLS_CODEPAGE_864 is not set
1608# CONFIG_NLS_CODEPAGE_865 is not set
1609# CONFIG_NLS_CODEPAGE_866 is not set
1610# CONFIG_NLS_CODEPAGE_869 is not set
1611# CONFIG_NLS_CODEPAGE_936 is not set
1612# CONFIG_NLS_CODEPAGE_950 is not set
1613# CONFIG_NLS_CODEPAGE_932 is not set
1614# CONFIG_NLS_CODEPAGE_949 is not set
1615# CONFIG_NLS_CODEPAGE_874 is not set
1616# CONFIG_NLS_ISO8859_8 is not set
1617# CONFIG_NLS_CODEPAGE_1250 is not set
1618# CONFIG_NLS_CODEPAGE_1251 is not set
1619CONFIG_NLS_ASCII=m
1620CONFIG_NLS_ISO8859_1=y
1621# CONFIG_NLS_ISO8859_2 is not set
1622# CONFIG_NLS_ISO8859_3 is not set
1623# CONFIG_NLS_ISO8859_4 is not set
1624# CONFIG_NLS_ISO8859_5 is not set
1625# CONFIG_NLS_ISO8859_6 is not set
1626# CONFIG_NLS_ISO8859_7 is not set
1627# CONFIG_NLS_ISO8859_9 is not set
1628# CONFIG_NLS_ISO8859_13 is not set
1629# CONFIG_NLS_ISO8859_14 is not set
1630# CONFIG_NLS_ISO8859_15 is not set
1631# CONFIG_NLS_KOI8_R is not set
1632# CONFIG_NLS_KOI8_U is not set
1633CONFIG_NLS_UTF8=m
1634# CONFIG_DLM is not set
1635
1636#
1637# Kernel hacking
1638#
1639CONFIG_PRINTK_TIME=y
1640# CONFIG_ENABLE_WARN_DEPRECATED is not set
1641# CONFIG_ENABLE_MUST_CHECK is not set
1642CONFIG_FRAME_WARN=1024
1643CONFIG_MAGIC_SYSRQ=y
1644# CONFIG_STRIP_ASM_SYMS is not set
1645# CONFIG_UNUSED_SYMBOLS is not set
1646CONFIG_DEBUG_FS=y
1647# CONFIG_HEADERS_CHECK is not set
1648# CONFIG_DEBUG_KERNEL is not set
1649CONFIG_SCHED_DEBUG=y
1650CONFIG_SCHEDSTATS=y
1651CONFIG_STACKTRACE=y
1652# CONFIG_DEBUG_BUGVERBOSE is not set
1653# CONFIG_DEBUG_MEMORY_INIT is not set
1654CONFIG_FRAME_POINTER=y
1655# CONFIG_RCU_CPU_STALL_DETECTOR is not set
1656CONFIG_LATENCYTOP=y
1657CONFIG_SYSCTL_SYSCALL_CHECK=y
1658CONFIG_HAVE_FUNCTION_TRACER=y
1659CONFIG_TRACING_SUPPORT=y
1660# CONFIG_FTRACE is not set
1661# CONFIG_DYNAMIC_DEBUG is not set
1662# CONFIG_SAMPLES is not set
1663CONFIG_HAVE_ARCH_KGDB=y
1664CONFIG_ARM_UNWIND=y
1665# CONFIG_DEBUG_USER is not set
1666
1667#
1668# Security options
1669#
1670# CONFIG_KEYS is not set
1671# CONFIG_SECURITY is not set
1672# CONFIG_SECURITYFS is not set
1673# CONFIG_SECURITY_FILE_CAPABILITIES is not set
1674CONFIG_CRYPTO=y
1675
1676#
1677# Crypto core or helper
1678#
1679CONFIG_CRYPTO_FIPS=y
1680CONFIG_CRYPTO_ALGAPI=y
1681CONFIG_CRYPTO_ALGAPI2=y
1682CONFIG_CRYPTO_AEAD=m
1683CONFIG_CRYPTO_AEAD2=y
1684CONFIG_CRYPTO_BLKCIPHER=m
1685CONFIG_CRYPTO_BLKCIPHER2=y
1686CONFIG_CRYPTO_HASH=m
1687CONFIG_CRYPTO_HASH2=y
1688CONFIG_CRYPTO_RNG=m
1689CONFIG_CRYPTO_RNG2=y
1690CONFIG_CRYPTO_PCOMP=y
1691CONFIG_CRYPTO_MANAGER=m
1692CONFIG_CRYPTO_MANAGER2=y
1693CONFIG_CRYPTO_GF128MUL=m
1694CONFIG_CRYPTO_NULL=m
1695CONFIG_CRYPTO_WORKQUEUE=y
1696CONFIG_CRYPTO_CRYPTD=m
1697CONFIG_CRYPTO_AUTHENC=m
1698CONFIG_CRYPTO_TEST=m
1699
1700#
1701# Authenticated Encryption with Associated Data
1702#
1703CONFIG_CRYPTO_CCM=m
1704CONFIG_CRYPTO_GCM=m
1705CONFIG_CRYPTO_SEQIV=m
1706
1707#
1708# Block modes
1709#
1710CONFIG_CRYPTO_CBC=m
1711CONFIG_CRYPTO_CTR=m
1712CONFIG_CRYPTO_CTS=m
1713CONFIG_CRYPTO_ECB=m
1714CONFIG_CRYPTO_LRW=m
1715CONFIG_CRYPTO_PCBC=m
1716CONFIG_CRYPTO_XTS=m
1717
1718#
1719# Hash modes
1720#
1721CONFIG_CRYPTO_HMAC=m
1722CONFIG_CRYPTO_XCBC=m
1723# CONFIG_CRYPTO_VMAC is not set
1724
1725#
1726# Digest
1727#
1728CONFIG_CRYPTO_CRC32C=m
1729CONFIG_CRYPTO_GHASH=m
1730CONFIG_CRYPTO_MD4=m
1731CONFIG_CRYPTO_MD5=m
1732CONFIG_CRYPTO_MICHAEL_MIC=m
1733CONFIG_CRYPTO_RMD128=m
1734CONFIG_CRYPTO_RMD160=m
1735CONFIG_CRYPTO_RMD256=m
1736CONFIG_CRYPTO_RMD320=m
1737CONFIG_CRYPTO_SHA1=m
1738CONFIG_CRYPTO_SHA256=m
1739CONFIG_CRYPTO_SHA512=m
1740CONFIG_CRYPTO_TGR192=m
1741CONFIG_CRYPTO_WP512=m
1742
1743#
1744# Ciphers
1745#
1746CONFIG_CRYPTO_AES=m
1747CONFIG_CRYPTO_ANUBIS=m
1748CONFIG_CRYPTO_ARC4=m
1749CONFIG_CRYPTO_BLOWFISH=m
1750CONFIG_CRYPTO_CAMELLIA=m
1751CONFIG_CRYPTO_CAST5=m
1752CONFIG_CRYPTO_CAST6=m
1753CONFIG_CRYPTO_DES=m
1754CONFIG_CRYPTO_FCRYPT=m
1755CONFIG_CRYPTO_KHAZAD=m
1756CONFIG_CRYPTO_SALSA20=m
1757CONFIG_CRYPTO_SEED=m
1758CONFIG_CRYPTO_SERPENT=m
1759CONFIG_CRYPTO_TEA=m
1760CONFIG_CRYPTO_TWOFISH=m
1761CONFIG_CRYPTO_TWOFISH_COMMON=m
1762
1763#
1764# Compression
1765#
1766CONFIG_CRYPTO_DEFLATE=y
1767CONFIG_CRYPTO_ZLIB=m
1768CONFIG_CRYPTO_LZO=y
1769
1770#
1771# Random Number Generation
1772#
1773CONFIG_CRYPTO_ANSI_CPRNG=m
1774# CONFIG_CRYPTO_HW is not set
1775# CONFIG_BINARY_PRINTF is not set
1776
1777#
1778# Library routines
1779#
1780CONFIG_BITREVERSE=y
1781CONFIG_GENERIC_FIND_LAST_BIT=y
1782CONFIG_CRC_CCITT=m
1783CONFIG_CRC16=y
1784# CONFIG_CRC_T10DIF is not set
1785CONFIG_CRC_ITU_T=m
1786CONFIG_CRC32=y
1787CONFIG_CRC7=m
1788CONFIG_LIBCRC32C=m
1789CONFIG_ZLIB_INFLATE=y
1790CONFIG_ZLIB_DEFLATE=y
1791CONFIG_LZO_COMPRESS=y
1792CONFIG_LZO_DECOMPRESS=y
1793CONFIG_DECOMPRESS_GZIP=y
1794CONFIG_GENERIC_ALLOCATOR=y
1795CONFIG_HAS_IOMEM=y
1796CONFIG_HAS_IOPORT=y
1797CONFIG_HAS_DMA=y
1798CONFIG_NLATTR=y
diff --git a/recipes-kernel/linux/linux-davinci/dm355-leopard/vfpe.patch b/recipes-kernel/linux/linux-davinci/dm355-leopard/vfpe.patch
deleted file mode 100644
index 4c644b63..00000000
--- a/recipes-kernel/linux/linux-davinci/dm355-leopard/vfpe.patch
+++ /dev/null
@@ -1,143 +0,0 @@
1Subject:
2[PATCH 7/7] DM355 platform related changes for vpfe capture driver
3From:
4m-karicheri2-l0cyMroinI0@public.gmane.org
5Date:
6Fri, 13 Mar 2009 17:24:34 -0400
7To:
8davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org, davinci_opensource_ccb-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org, psp_video-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org
9Newsgroups:
10gmane.linux.davinci
11
12Add platform related changes for vpfe capture driver on DM355
13
14Signed-off-by: Murali Karicheri <m-karicheri2-l0cyMroinI0@public.gmane.org>
15---
16 arch/arm/mach-davinci/board-dm355-leopard.c | 91 +++++++++++++++++++++++++++-
17
18diff --git a/arch/arm/mach-davinci/board-dm355-leopard.c b/arch/arm/mach-davinci/board-dm355-leopard.c
19index e104650..aaa58ba 100644
20--- a/arch/arm/mach-davinci/board-dm355-leopard.c
21+++ b/arch/arm/mach-davinci/board-dm355-leopard.c
22@@ -20,6 +20,8 @@
23 #include <linux/io.h>
24 #include <linux/gpio.h>
25 #include <linux/clk.h>
26+#include <media/v4l2-int-device.h>
27+#include <media/tvp514x.h>
28 #include <linux/spi/spi.h>
29 #include <linux/spi/eeprom.h>
30
31@@ -134,12 +136,58 @@ static void dm355leopard_mmcsd_gpios(unsigned gpio)
32 dm355leopard_mmc_gpios = gpio;
33 }
34
35+#define TVP5146_I2C_ADDR 0x5D
36+static struct v4l2_ifparm tvp5146_ifparm = {
37+ .if_type = V4L2_IF_TYPE_BT656,
38+ .u = {
39+ .bt656 = {
40+ .frame_start_on_rising_vs = 1,
41+ .bt_sync_correct = 0,
42+ .swap = 0,
43+ .latch_clk_inv = 0,
44+ .nobt_hs_inv = 0, /* active high */
45+ .nobt_vs_inv = 0, /* active high */
46+ .mode = V4L2_IF_TYPE_BT656_MODE_BT_8BIT,
47+ .clock_min = TVP514X_XCLK_BT656,
48+ .clock_max = TVP514X_XCLK_BT656,
49+ },
50+ },
51+};
52+
53+/**
54+ * @brief tvp5146_g_ifparm - Returns the TVP5146 decoder interface parameters
55+ *
56+ * @param p - pointer to v4l2_ifparm structure
57+ * @return result of operation - 0 is success
58+ */
59+static int tvp5146_g_ifparm(struct v4l2_ifparm *p)
60+{
61+ if (p == NULL)
62+ return -EINVAL;
63+
64+ *p = tvp5146_ifparm;
65+ return 0;
66+}
67+
68+#define TVP5146_NUM_INPUTS ARRAY_SIZE(tvp5146_input_list)
69+
70+static struct tvp514x_platform_data tvp5146_pdata = {
71+ .master = CAPTURE_DRV_NAME,
72+ .ifparm = tvp5146_g_ifparm,
73+ .hs_polarity = 1,
74+ .vs_polarity = 1
75+};
76+
77 static struct i2c_board_info dm355leopard_i2c_info[] = {
78- { I2C_BOARD_INFO("dm355leopard_msp", 0x25),
79+ { I2C_BOARD_INFO("dm355leopard_msp", 0x25),
80 .platform_data = dm355leopard_mmcsd_gpios,
81- /* plus irq */ },
82+ },
83+ {
84+ I2C_BOARD_INFO("tvp5146", TVP5146_I2C_ADDR),
85+ .platform_data = &tvp5146_pdata,
86+ },
87+ /* { plus irq }, */
88 /* { I2C_BOARD_INFO("tlv320aic3x", 0x1b), }, */
89- /* { I2C_BOARD_INFO("tvp5146", 0x5d), }, */
90 };
91
92 static void __init leopard_init_i2c(void)
93@@ -178,6 +226,41 @@ static struct platform_device dm355leopard_dm9000 = {
94 .num_resources = ARRAY_SIZE(dm355leopard_dm9000_rsrc),
95 };
96
97+#define TVP514X_STD_ALL (V4L2_STD_NTSC | V4L2_STD_PAL)
98+
99+static struct vpfe_capture_input vpfe_capture_inputs = {
100+ .num_inputs = VPFE_MAX_DEC_INPUTS,
101+ .current_input = 0,
102+ .inputs[0] = {
103+ .dec_name = TVP514X_MODULE_NAME,
104+ .input = {
105+ .index = 0,
106+ .name = "COMPOSITE",
107+ .type = V4L2_INPUT_TYPE_CAMERA,
108+ .std = TVP514X_STD_ALL,
109+ },
110+ .route = {
111+ .input = INPUT_CVBS_VI2B,
112+ .output = OUTPUT_10BIT_422_EMBEDDED_SYNC,
113+ },
114+ .routing_supported = 1,
115+ },
116+ .inputs[1] = {
117+ .dec_name = TVP514X_MODULE_NAME,
118+ .input = {
119+ .index = 1,
120+ .name = "SVIDEO",
121+ .type = V4L2_INPUT_TYPE_CAMERA,
122+ .std = TVP514X_STD_ALL,
123+ },
124+ .route = {
125+ .input = INPUT_SVIDEO_VI2C_VI1C,
126+ .output = OUTPUT_10BIT_422_EMBEDDED_SYNC,
127+ },
128+ .routing_supported = 1,
129+ },
130+};
131+
132 static struct platform_device *davinci_leopard_devices[] __initdata = {
133 &dm355leopard_dm9000,
134 &davinci_nand_device,
135@@ -190,6 +273,8 @@ static struct davinci_uart_config uart_config __initdata = {
136 static void __init dm355_leopard_map_io(void)
137 {
138 davinci_map_common_io();
139+ /* setup input configuration for VPFE input devices */
140+ setup_vpfe_input_config(&vpfe_capture_inputs);
141 dm355_init();
142 }
143
diff --git a/recipes-kernel/linux/linux-davinci/dm365-evm/defconfig b/recipes-kernel/linux/linux-davinci/dm365-evm/defconfig
deleted file mode 100644
index 3a294fd7..00000000
--- a/recipes-kernel/linux/linux-davinci/dm365-evm/defconfig
+++ /dev/null
@@ -1,1864 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.32-rc2-davinci1
4# Mon Nov 2 10:40:20 2009
5#
6CONFIG_ARM=y
7CONFIG_SYS_SUPPORTS_APM_EMULATION=y
8CONFIG_GENERIC_GPIO=y
9CONFIG_GENERIC_TIME=y
10CONFIG_GENERIC_CLOCKEVENTS=y
11CONFIG_GENERIC_HARDIRQS=y
12CONFIG_STACKTRACE_SUPPORT=y
13CONFIG_HAVE_LATENCYTOP_SUPPORT=y
14CONFIG_LOCKDEP_SUPPORT=y
15CONFIG_TRACE_IRQFLAGS_SUPPORT=y
16CONFIG_HARDIRQS_SW_RESEND=y
17CONFIG_GENERIC_IRQ_PROBE=y
18CONFIG_RWSEM_GENERIC_SPINLOCK=y
19CONFIG_GENERIC_HWEIGHT=y
20CONFIG_GENERIC_CALIBRATE_DELAY=y
21CONFIG_ZONE_DMA=y
22CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
23CONFIG_VECTORS_BASE=0xffff0000
24CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
25CONFIG_CONSTRUCTORS=y
26
27#
28# General setup
29#
30CONFIG_EXPERIMENTAL=y
31CONFIG_BROKEN_ON_SMP=y
32CONFIG_LOCK_KERNEL=y
33CONFIG_INIT_ENV_ARG_LIMIT=32
34CONFIG_LOCALVERSION=""
35CONFIG_LOCALVERSION_AUTO=y
36# CONFIG_SWAP is not set
37CONFIG_SYSVIPC=y
38CONFIG_SYSVIPC_SYSCTL=y
39CONFIG_POSIX_MQUEUE=y
40CONFIG_POSIX_MQUEUE_SYSCTL=y
41# CONFIG_BSD_PROCESS_ACCT is not set
42# CONFIG_TASKSTATS is not set
43# CONFIG_AUDIT is not set
44
45#
46# RCU Subsystem
47#
48CONFIG_TREE_RCU=y
49# CONFIG_TREE_PREEMPT_RCU is not set
50# CONFIG_RCU_TRACE is not set
51CONFIG_RCU_FANOUT=32
52# CONFIG_RCU_FANOUT_EXACT is not set
53# CONFIG_TREE_RCU_TRACE is not set
54CONFIG_IKCONFIG=y
55CONFIG_IKCONFIG_PROC=y
56CONFIG_LOG_BUF_SHIFT=14
57CONFIG_GROUP_SCHED=y
58CONFIG_FAIR_GROUP_SCHED=y
59# CONFIG_RT_GROUP_SCHED is not set
60CONFIG_USER_SCHED=y
61# CONFIG_CGROUP_SCHED is not set
62# CONFIG_CGROUPS is not set
63# CONFIG_SYSFS_DEPRECATED_V2 is not set
64# CONFIG_RELAY is not set
65# CONFIG_NAMESPACES is not set
66CONFIG_BLK_DEV_INITRD=y
67CONFIG_INITRAMFS_SOURCE=""
68CONFIG_RD_GZIP=y
69# CONFIG_RD_BZIP2 is not set
70# CONFIG_RD_LZMA is not set
71CONFIG_CC_OPTIMIZE_FOR_SIZE=y
72CONFIG_SYSCTL=y
73CONFIG_ANON_INODES=y
74CONFIG_EMBEDDED=y
75CONFIG_UID16=y
76CONFIG_SYSCTL_SYSCALL=y
77CONFIG_KALLSYMS=y
78# CONFIG_KALLSYMS_ALL is not set
79# CONFIG_KALLSYMS_EXTRA_PASS is not set
80CONFIG_HOTPLUG=y
81CONFIG_PRINTK=y
82CONFIG_BUG=y
83CONFIG_ELF_CORE=y
84CONFIG_BASE_FULL=y
85CONFIG_FUTEX=y
86CONFIG_EPOLL=y
87CONFIG_SIGNALFD=y
88CONFIG_TIMERFD=y
89CONFIG_EVENTFD=y
90CONFIG_SHMEM=y
91CONFIG_AIO=y
92
93#
94# Kernel Performance Events And Counters
95#
96CONFIG_VM_EVENT_COUNTERS=y
97CONFIG_SLUB_DEBUG=y
98CONFIG_COMPAT_BRK=y
99# CONFIG_SLAB is not set
100CONFIG_SLUB=y
101# CONFIG_SLOB is not set
102# CONFIG_PROFILING is not set
103CONFIG_HAVE_OPROFILE=y
104# CONFIG_KPROBES is not set
105CONFIG_HAVE_KPROBES=y
106CONFIG_HAVE_KRETPROBES=y
107CONFIG_HAVE_CLK=y
108
109#
110# GCOV-based kernel profiling
111#
112# CONFIG_GCOV_KERNEL is not set
113# CONFIG_SLOW_WORK is not set
114CONFIG_HAVE_GENERIC_DMA_COHERENT=y
115CONFIG_SLABINFO=y
116CONFIG_RT_MUTEXES=y
117CONFIG_BASE_SMALL=0
118CONFIG_MODULES=y
119# CONFIG_MODULE_FORCE_LOAD is not set
120CONFIG_MODULE_UNLOAD=y
121CONFIG_MODULE_FORCE_UNLOAD=y
122CONFIG_MODVERSIONS=y
123# CONFIG_MODULE_SRCVERSION_ALL is not set
124CONFIG_BLOCK=y
125CONFIG_LBDAF=y
126# CONFIG_BLK_DEV_BSG is not set
127# CONFIG_BLK_DEV_INTEGRITY is not set
128
129#
130# IO Schedulers
131#
132CONFIG_IOSCHED_NOOP=y
133CONFIG_IOSCHED_AS=y
134# CONFIG_IOSCHED_DEADLINE is not set
135# CONFIG_IOSCHED_CFQ is not set
136CONFIG_DEFAULT_AS=y
137# CONFIG_DEFAULT_DEADLINE is not set
138# CONFIG_DEFAULT_CFQ is not set
139# CONFIG_DEFAULT_NOOP is not set
140CONFIG_DEFAULT_IOSCHED="anticipatory"
141# CONFIG_FREEZER is not set
142
143#
144# System Type
145#
146CONFIG_MMU=y
147# CONFIG_ARCH_AAEC2000 is not set
148# CONFIG_ARCH_INTEGRATOR is not set
149# CONFIG_ARCH_REALVIEW is not set
150# CONFIG_ARCH_VERSATILE is not set
151# CONFIG_ARCH_AT91 is not set
152# CONFIG_ARCH_CLPS711X is not set
153# CONFIG_ARCH_GEMINI is not set
154# CONFIG_ARCH_EBSA110 is not set
155# CONFIG_ARCH_EP93XX is not set
156# CONFIG_ARCH_FOOTBRIDGE is not set
157# CONFIG_ARCH_MXC is not set
158# CONFIG_ARCH_STMP3XXX is not set
159# CONFIG_ARCH_NETX is not set
160# CONFIG_ARCH_H720X is not set
161# CONFIG_ARCH_NOMADIK is not set
162# CONFIG_ARCH_IOP13XX is not set
163# CONFIG_ARCH_IOP32X is not set
164# CONFIG_ARCH_IOP33X is not set
165# CONFIG_ARCH_IXP23XX is not set
166# CONFIG_ARCH_IXP2000 is not set
167# CONFIG_ARCH_IXP4XX is not set
168# CONFIG_ARCH_L7200 is not set
169# CONFIG_ARCH_KIRKWOOD is not set
170# CONFIG_ARCH_LOKI is not set
171# CONFIG_ARCH_MV78XX0 is not set
172# CONFIG_ARCH_ORION5X is not set
173# CONFIG_ARCH_MMP is not set
174# CONFIG_ARCH_KS8695 is not set
175# CONFIG_ARCH_NS9XXX is not set
176# CONFIG_ARCH_W90X900 is not set
177# CONFIG_ARCH_PNX4008 is not set
178# CONFIG_ARCH_PXA is not set
179# CONFIG_ARCH_MSM is not set
180# CONFIG_ARCH_RPC is not set
181# CONFIG_ARCH_SA1100 is not set
182# CONFIG_ARCH_S3C2410 is not set
183# CONFIG_ARCH_S3C64XX is not set
184# CONFIG_ARCH_S5PC1XX is not set
185# CONFIG_ARCH_SHARK is not set
186# CONFIG_ARCH_LH7A40X is not set
187# CONFIG_ARCH_U300 is not set
188CONFIG_ARCH_DAVINCI=y
189# CONFIG_ARCH_OMAP is not set
190# CONFIG_ARCH_BCMRING is not set
191CONFIG_AINTC=y
192CONFIG_ARCH_DAVINCI_DMx=y
193
194#
195# TI DaVinci Implementations
196#
197
198#
199# DaVinci Core Type
200#
201# CONFIG_ARCH_DAVINCI_DM644x is not set
202# CONFIG_ARCH_DAVINCI_DM355 is not set
203# CONFIG_ARCH_DAVINCI_DM646x is not set
204# CONFIG_ARCH_DAVINCI_DA830 is not set
205# CONFIG_ARCH_DAVINCI_DA850 is not set
206CONFIG_ARCH_DAVINCI_DM365=y
207
208#
209# DaVinci Board Type
210#
211CONFIG_MACH_DAVINCI_DM365_EVM=y
212CONFIG_DAVINCI_MUX=y
213# CONFIG_DAVINCI_MUX_DEBUG is not set
214# CONFIG_DAVINCI_MUX_WARNINGS is not set
215CONFIG_DAVINCI_RESET_CLOCKS=y
216CONFIG_OSC_CLK_FREQ=27000000
217
218#
219# Processor Type
220#
221CONFIG_CPU_32=y
222CONFIG_CPU_ARM926T=y
223CONFIG_CPU_32v5=y
224CONFIG_CPU_ABRT_EV5TJ=y
225CONFIG_CPU_PABRT_NOIFAR=y
226CONFIG_CPU_CACHE_VIVT=y
227CONFIG_CPU_COPY_V4WB=y
228CONFIG_CPU_TLB_V4WBI=y
229CONFIG_CPU_CP15=y
230CONFIG_CPU_CP15_MMU=y
231
232#
233# Processor Features
234#
235CONFIG_ARM_THUMB=y
236# CONFIG_CPU_ICACHE_DISABLE is not set
237# CONFIG_CPU_DCACHE_DISABLE is not set
238# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
239# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
240CONFIG_ARM_L1_CACHE_SHIFT=5
241CONFIG_COMMON_CLKDEV=y
242CONFIG_FORCE_MAX_ZONEORDER=13
243
244#
245# Bus support
246#
247# CONFIG_PCI_SYSCALL is not set
248# CONFIG_ARCH_SUPPORTS_MSI is not set
249# CONFIG_PCCARD is not set
250
251#
252# Kernel Features
253#
254CONFIG_TICK_ONESHOT=y
255CONFIG_NO_HZ=y
256CONFIG_HIGH_RES_TIMERS=y
257CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
258CONFIG_VMSPLIT_3G=y
259# CONFIG_VMSPLIT_2G is not set
260# CONFIG_VMSPLIT_1G is not set
261CONFIG_PAGE_OFFSET=0xC0000000
262# CONFIG_PREEMPT_NONE is not set
263# CONFIG_PREEMPT_VOLUNTARY is not set
264CONFIG_PREEMPT=y
265CONFIG_HZ=100
266CONFIG_AEABI=y
267# CONFIG_OABI_COMPAT is not set
268# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
269# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
270# CONFIG_HIGHMEM is not set
271CONFIG_SELECT_MEMORY_MODEL=y
272CONFIG_FLATMEM_MANUAL=y
273# CONFIG_DISCONTIGMEM_MANUAL is not set
274# CONFIG_SPARSEMEM_MANUAL is not set
275CONFIG_FLATMEM=y
276CONFIG_FLAT_NODE_MEM_MAP=y
277CONFIG_PAGEFLAGS_EXTENDED=y
278CONFIG_SPLIT_PTLOCK_CPUS=4096
279# CONFIG_PHYS_ADDR_T_64BIT is not set
280CONFIG_ZONE_DMA_FLAG=1
281CONFIG_BOUNCE=y
282CONFIG_VIRT_TO_BUS=y
283CONFIG_HAVE_MLOCK=y
284CONFIG_HAVE_MLOCKED_PAGE_BIT=y
285# CONFIG_KSM is not set
286CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
287CONFIG_LEDS=y
288# CONFIG_LEDS_CPU is not set
289CONFIG_ALIGNMENT_TRAP=y
290# CONFIG_UACCESS_WITH_MEMCPY is not set
291
292#
293# Boot options
294#
295CONFIG_ZBOOT_ROM_TEXT=0x0
296CONFIG_ZBOOT_ROM_BSS=0x0
297CONFIG_CMDLINE=""
298# CONFIG_XIP_KERNEL is not set
299# CONFIG_KEXEC is not set
300
301#
302# CPU Power Management
303#
304# CONFIG_CPU_IDLE is not set
305
306#
307# Floating point emulation
308#
309
310#
311# At least one emulation must be selected
312#
313# CONFIG_VFP is not set
314
315#
316# Userspace binary formats
317#
318CONFIG_BINFMT_ELF=y
319# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
320CONFIG_HAVE_AOUT=y
321# CONFIG_BINFMT_AOUT is not set
322# CONFIG_BINFMT_MISC is not set
323
324#
325# Power management options
326#
327# CONFIG_PM is not set
328CONFIG_ARCH_SUSPEND_POSSIBLE=y
329CONFIG_NET=y
330
331#
332# Networking options
333#
334CONFIG_PACKET=y
335# CONFIG_PACKET_MMAP is not set
336CONFIG_UNIX=y
337CONFIG_XFRM=y
338# CONFIG_XFRM_USER is not set
339# CONFIG_XFRM_SUB_POLICY is not set
340# CONFIG_XFRM_MIGRATE is not set
341# CONFIG_XFRM_STATISTICS is not set
342# CONFIG_NET_KEY is not set
343CONFIG_INET=y
344# CONFIG_IP_MULTICAST is not set
345# CONFIG_IP_ADVANCED_ROUTER is not set
346CONFIG_IP_FIB_HASH=y
347CONFIG_IP_PNP=y
348CONFIG_IP_PNP_DHCP=y
349# CONFIG_IP_PNP_BOOTP is not set
350# CONFIG_IP_PNP_RARP is not set
351# CONFIG_NET_IPIP is not set
352# CONFIG_NET_IPGRE is not set
353# CONFIG_ARPD is not set
354# CONFIG_SYN_COOKIES is not set
355# CONFIG_INET_AH is not set
356# CONFIG_INET_ESP is not set
357# CONFIG_INET_IPCOMP is not set
358# CONFIG_INET_XFRM_TUNNEL is not set
359CONFIG_INET_TUNNEL=m
360CONFIG_INET_XFRM_MODE_TRANSPORT=y
361CONFIG_INET_XFRM_MODE_TUNNEL=y
362CONFIG_INET_XFRM_MODE_BEET=y
363# CONFIG_INET_LRO is not set
364CONFIG_INET_DIAG=y
365CONFIG_INET_TCP_DIAG=y
366# CONFIG_TCP_CONG_ADVANCED is not set
367CONFIG_TCP_CONG_CUBIC=y
368CONFIG_DEFAULT_TCP_CONG="cubic"
369# CONFIG_TCP_MD5SIG is not set
370CONFIG_IPV6=m
371# CONFIG_IPV6_PRIVACY is not set
372# CONFIG_IPV6_ROUTER_PREF is not set
373# CONFIG_IPV6_OPTIMISTIC_DAD is not set
374# CONFIG_INET6_AH is not set
375# CONFIG_INET6_ESP is not set
376# CONFIG_INET6_IPCOMP is not set
377# CONFIG_IPV6_MIP6 is not set
378# CONFIG_INET6_XFRM_TUNNEL is not set
379# CONFIG_INET6_TUNNEL is not set
380CONFIG_INET6_XFRM_MODE_TRANSPORT=m
381CONFIG_INET6_XFRM_MODE_TUNNEL=m
382CONFIG_INET6_XFRM_MODE_BEET=m
383# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
384CONFIG_IPV6_SIT=m
385CONFIG_IPV6_NDISC_NODETYPE=y
386# CONFIG_IPV6_TUNNEL is not set
387# CONFIG_IPV6_MULTIPLE_TABLES is not set
388# CONFIG_IPV6_MROUTE is not set
389# CONFIG_NETWORK_SECMARK is not set
390CONFIG_NETFILTER=y
391# CONFIG_NETFILTER_DEBUG is not set
392CONFIG_NETFILTER_ADVANCED=y
393
394#
395# Core Netfilter Configuration
396#
397# CONFIG_NETFILTER_NETLINK_QUEUE is not set
398# CONFIG_NETFILTER_NETLINK_LOG is not set
399# CONFIG_NF_CONNTRACK is not set
400# CONFIG_NETFILTER_XTABLES is not set
401# CONFIG_IP_VS is not set
402
403#
404# IP: Netfilter Configuration
405#
406# CONFIG_NF_DEFRAG_IPV4 is not set
407# CONFIG_IP_NF_QUEUE is not set
408# CONFIG_IP_NF_IPTABLES is not set
409# CONFIG_IP_NF_ARPTABLES is not set
410
411#
412# IPv6: Netfilter Configuration
413#
414# CONFIG_IP6_NF_QUEUE is not set
415# CONFIG_IP6_NF_IPTABLES is not set
416# CONFIG_IP_DCCP is not set
417# CONFIG_IP_SCTP is not set
418# CONFIG_RDS is not set
419# CONFIG_TIPC is not set
420# CONFIG_ATM is not set
421# CONFIG_BRIDGE is not set
422# CONFIG_NET_DSA is not set
423# CONFIG_VLAN_8021Q is not set
424# CONFIG_DECNET is not set
425# CONFIG_LLC2 is not set
426# CONFIG_IPX is not set
427# CONFIG_ATALK is not set
428# CONFIG_X25 is not set
429# CONFIG_LAPB is not set
430# CONFIG_ECONET is not set
431# CONFIG_WAN_ROUTER is not set
432# CONFIG_PHONET is not set
433# CONFIG_IEEE802154 is not set
434# CONFIG_NET_SCHED is not set
435# CONFIG_DCB is not set
436
437#
438# Network testing
439#
440# CONFIG_NET_PKTGEN is not set
441# CONFIG_HAMRADIO is not set
442# CONFIG_CAN is not set
443# CONFIG_IRDA is not set
444# CONFIG_BT is not set
445# CONFIG_AF_RXRPC is not set
446CONFIG_WIRELESS=y
447CONFIG_CFG80211=y
448# CONFIG_NL80211_TESTMODE is not set
449# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
450# CONFIG_CFG80211_REG_DEBUG is not set
451CONFIG_CFG80211_DEFAULT_PS=y
452CONFIG_CFG80211_DEFAULT_PS_VALUE=1
453# CONFIG_CFG80211_DEBUGFS is not set
454CONFIG_WIRELESS_OLD_REGULATORY=y
455CONFIG_WIRELESS_EXT=y
456CONFIG_WIRELESS_EXT_SYSFS=y
457CONFIG_LIB80211=y
458# CONFIG_LIB80211_DEBUG is not set
459# CONFIG_MAC80211 is not set
460# CONFIG_WIMAX is not set
461# CONFIG_RFKILL is not set
462# CONFIG_NET_9P is not set
463
464#
465# Device Drivers
466#
467
468#
469# Generic Driver Options
470#
471CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
472# CONFIG_DEVTMPFS is not set
473CONFIG_STANDALONE=y
474CONFIG_PREVENT_FIRMWARE_BUILD=y
475CONFIG_FW_LOADER=y
476CONFIG_FIRMWARE_IN_KERNEL=y
477CONFIG_EXTRA_FIRMWARE=""
478# CONFIG_DEBUG_DRIVER is not set
479# CONFIG_DEBUG_DEVRES is not set
480# CONFIG_SYS_HYPERVISOR is not set
481# CONFIG_CONNECTOR is not set
482CONFIG_MTD=y
483# CONFIG_MTD_DEBUG is not set
484CONFIG_MTD_TESTS=m
485# CONFIG_MTD_CONCAT is not set
486CONFIG_MTD_PARTITIONS=y
487# CONFIG_MTD_REDBOOT_PARTS is not set
488CONFIG_MTD_CMDLINE_PARTS=y
489# CONFIG_MTD_AFS_PARTS is not set
490# CONFIG_MTD_AR7_PARTS is not set
491
492#
493# User Modules And Translation Layers
494#
495CONFIG_MTD_CHAR=y
496CONFIG_MTD_BLKDEVS=y
497CONFIG_MTD_BLOCK=y
498# CONFIG_FTL is not set
499# CONFIG_NFTL is not set
500# CONFIG_INFTL is not set
501# CONFIG_RFD_FTL is not set
502# CONFIG_SSFDC is not set
503# CONFIG_MTD_OOPS is not set
504
505#
506# RAM/ROM/Flash chip drivers
507#
508# CONFIG_MTD_CFI is not set
509# CONFIG_MTD_JEDECPROBE is not set
510CONFIG_MTD_MAP_BANK_WIDTH_1=y
511CONFIG_MTD_MAP_BANK_WIDTH_2=y
512CONFIG_MTD_MAP_BANK_WIDTH_4=y
513# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
514# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
515# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
516CONFIG_MTD_CFI_I1=y
517CONFIG_MTD_CFI_I2=y
518# CONFIG_MTD_CFI_I4 is not set
519# CONFIG_MTD_CFI_I8 is not set
520# CONFIG_MTD_RAM is not set
521# CONFIG_MTD_ROM is not set
522# CONFIG_MTD_ABSENT is not set
523
524#
525# Mapping drivers for chip access
526#
527# CONFIG_MTD_COMPLEX_MAPPINGS is not set
528# CONFIG_MTD_PLATRAM is not set
529
530#
531# Self-contained MTD device drivers
532#
533# CONFIG_MTD_DATAFLASH is not set
534# CONFIG_MTD_M25P80 is not set
535# CONFIG_MTD_SST25L is not set
536# CONFIG_MTD_SLRAM is not set
537# CONFIG_MTD_PHRAM is not set
538# CONFIG_MTD_MTDRAM is not set
539# CONFIG_MTD_BLOCK2MTD is not set
540
541#
542# Disk-On-Chip Device Drivers
543#
544# CONFIG_MTD_DOC2000 is not set
545# CONFIG_MTD_DOC2001 is not set
546# CONFIG_MTD_DOC2001PLUS is not set
547CONFIG_MTD_NAND=y
548# CONFIG_MTD_NAND_VERIFY_WRITE is not set
549# CONFIG_MTD_NAND_ECC_SMC is not set
550# CONFIG_MTD_NAND_MUSEUM_IDS is not set
551# CONFIG_MTD_NAND_GPIO is not set
552CONFIG_MTD_NAND_IDS=y
553# CONFIG_MTD_NAND_DISKONCHIP is not set
554# CONFIG_MTD_NAND_NANDSIM is not set
555# CONFIG_MTD_NAND_PLATFORM is not set
556# CONFIG_MTD_ALAUDA is not set
557CONFIG_MTD_NAND_DAVINCI=y
558# CONFIG_MTD_ONENAND is not set
559
560#
561# LPDDR flash memory drivers
562#
563# CONFIG_MTD_LPDDR is not set
564
565#
566# UBI - Unsorted block images
567#
568# CONFIG_MTD_UBI is not set
569# CONFIG_PARPORT is not set
570CONFIG_BLK_DEV=y
571# CONFIG_BLK_DEV_COW_COMMON is not set
572CONFIG_BLK_DEV_LOOP=m
573# CONFIG_BLK_DEV_CRYPTOLOOP is not set
574# CONFIG_BLK_DEV_NBD is not set
575# CONFIG_BLK_DEV_UB is not set
576CONFIG_BLK_DEV_RAM=y
577CONFIG_BLK_DEV_RAM_COUNT=1
578CONFIG_BLK_DEV_RAM_SIZE=32768
579# CONFIG_BLK_DEV_XIP is not set
580# CONFIG_CDROM_PKTCDVD is not set
581# CONFIG_ATA_OVER_ETH is not set
582# CONFIG_MG_DISK is not set
583CONFIG_MISC_DEVICES=y
584# CONFIG_ICS932S401 is not set
585# CONFIG_ENCLOSURE_SERVICES is not set
586# CONFIG_ISL29003 is not set
587# CONFIG_C2PORT is not set
588
589#
590# EEPROM support
591#
592CONFIG_EEPROM_AT24=y
593CONFIG_EEPROM_AT25=y
594# CONFIG_EEPROM_LEGACY is not set
595# CONFIG_EEPROM_MAX6875 is not set
596# CONFIG_EEPROM_93CX6 is not set
597CONFIG_HAVE_IDE=y
598# CONFIG_IDE is not set
599
600#
601# SCSI device support
602#
603# CONFIG_RAID_ATTRS is not set
604CONFIG_SCSI=y
605CONFIG_SCSI_DMA=y
606# CONFIG_SCSI_TGT is not set
607# CONFIG_SCSI_NETLINK is not set
608CONFIG_SCSI_PROC_FS=y
609
610#
611# SCSI support type (disk, tape, CD-ROM)
612#
613CONFIG_BLK_DEV_SD=y
614# CONFIG_CHR_DEV_ST is not set
615# CONFIG_CHR_DEV_OSST is not set
616# CONFIG_BLK_DEV_SR is not set
617# CONFIG_CHR_DEV_SG is not set
618# CONFIG_CHR_DEV_SCH is not set
619# CONFIG_SCSI_MULTI_LUN is not set
620# CONFIG_SCSI_CONSTANTS is not set
621# CONFIG_SCSI_LOGGING is not set
622# CONFIG_SCSI_SCAN_ASYNC is not set
623CONFIG_SCSI_WAIT_SCAN=m
624
625#
626# SCSI Transports
627#
628# CONFIG_SCSI_SPI_ATTRS is not set
629# CONFIG_SCSI_FC_ATTRS is not set
630# CONFIG_SCSI_ISCSI_ATTRS is not set
631# CONFIG_SCSI_SAS_LIBSAS is not set
632# CONFIG_SCSI_SRP_ATTRS is not set
633CONFIG_SCSI_LOWLEVEL=y
634# CONFIG_ISCSI_TCP is not set
635# CONFIG_LIBFC is not set
636# CONFIG_LIBFCOE is not set
637# CONFIG_SCSI_DEBUG is not set
638# CONFIG_SCSI_DH is not set
639# CONFIG_SCSI_OSD_INITIATOR is not set
640# CONFIG_ATA is not set
641# CONFIG_MD is not set
642CONFIG_NETDEVICES=y
643# CONFIG_DUMMY is not set
644# CONFIG_BONDING is not set
645# CONFIG_MACVLAN is not set
646# CONFIG_EQUALIZER is not set
647CONFIG_TUN=m
648# CONFIG_VETH is not set
649CONFIG_PHYLIB=y
650
651#
652# MII PHY device drivers
653#
654# CONFIG_MARVELL_PHY is not set
655# CONFIG_DAVICOM_PHY is not set
656# CONFIG_QSEMI_PHY is not set
657CONFIG_LXT_PHY=y
658# CONFIG_CICADA_PHY is not set
659# CONFIG_VITESSE_PHY is not set
660# CONFIG_SMSC_PHY is not set
661# CONFIG_BROADCOM_PHY is not set
662# CONFIG_ICPLUS_PHY is not set
663# CONFIG_REALTEK_PHY is not set
664# CONFIG_NATIONAL_PHY is not set
665# CONFIG_STE10XP is not set
666CONFIG_LSI_ET1011C_PHY=y
667# CONFIG_FIXED_PHY is not set
668# CONFIG_MDIO_BITBANG is not set
669CONFIG_NET_ETHERNET=y
670# CONFIG_MII is not set
671# CONFIG_AX88796 is not set
672# CONFIG_SMC91X is not set
673CONFIG_TI_DAVINCI_EMAC=y
674# CONFIG_DM9000 is not set
675# CONFIG_ENC28J60 is not set
676# CONFIG_ETHOC is not set
677# CONFIG_SMC911X is not set
678# CONFIG_SMSC911X is not set
679# CONFIG_DNET is not set
680# CONFIG_IBM_NEW_EMAC_ZMII is not set
681# CONFIG_IBM_NEW_EMAC_RGMII is not set
682# CONFIG_IBM_NEW_EMAC_TAH is not set
683# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
684# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
685# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
686# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
687# CONFIG_B44 is not set
688# CONFIG_KS8842 is not set
689# CONFIG_KS8851 is not set
690# CONFIG_NETDEV_1000 is not set
691# CONFIG_NETDEV_10000 is not set
692CONFIG_WLAN=y
693# CONFIG_WLAN_PRE80211 is not set
694CONFIG_WLAN_80211=y
695CONFIG_LIBERTAS=m
696# CONFIG_LIBERTAS_USB is not set
697CONFIG_LIBERTAS_SDIO=m
698# CONFIG_LIBERTAS_SPI is not set
699CONFIG_LIBERTAS_DEBUG=y
700# CONFIG_USB_ZD1201 is not set
701# CONFIG_USB_NET_RNDIS_WLAN is not set
702# CONFIG_ATH_COMMON is not set
703# CONFIG_HOSTAP is not set
704# CONFIG_IWM is not set
705
706#
707# Enable WiMAX (Networking options) to see the WiMAX drivers
708#
709
710#
711# USB Network Adapters
712#
713# CONFIG_USB_CATC is not set
714# CONFIG_USB_KAWETH is not set
715# CONFIG_USB_PEGASUS is not set
716# CONFIG_USB_RTL8150 is not set
717# CONFIG_USB_USBNET is not set
718# CONFIG_WAN is not set
719CONFIG_PPP=m
720# CONFIG_PPP_MULTILINK is not set
721# CONFIG_PPP_FILTER is not set
722CONFIG_PPP_ASYNC=m
723CONFIG_PPP_SYNC_TTY=m
724CONFIG_PPP_DEFLATE=m
725# CONFIG_PPP_BSDCOMP is not set
726# CONFIG_PPP_MPPE is not set
727# CONFIG_PPPOE is not set
728# CONFIG_PPPOL2TP is not set
729# CONFIG_SLIP is not set
730CONFIG_SLHC=m
731CONFIG_NETCONSOLE=y
732# CONFIG_NETCONSOLE_DYNAMIC is not set
733CONFIG_NETPOLL=y
734CONFIG_NETPOLL_TRAP=y
735CONFIG_NET_POLL_CONTROLLER=y
736# CONFIG_ISDN is not set
737# CONFIG_PHONE is not set
738
739#
740# Input device support
741#
742CONFIG_INPUT=y
743CONFIG_INPUT_FF_MEMLESS=y
744# CONFIG_INPUT_POLLDEV is not set
745
746#
747# Userland interfaces
748#
749# CONFIG_INPUT_MOUSEDEV is not set
750# CONFIG_INPUT_JOYDEV is not set
751CONFIG_INPUT_EVDEV=y
752CONFIG_INPUT_EVBUG=y
753
754#
755# Input Device Drivers
756#
757# CONFIG_INPUT_KEYBOARD is not set
758# CONFIG_INPUT_MOUSE is not set
759# CONFIG_INPUT_JOYSTICK is not set
760# CONFIG_INPUT_TABLET is not set
761# CONFIG_INPUT_TOUCHSCREEN is not set
762CONFIG_INPUT_MISC=y
763# CONFIG_INPUT_ATI_REMOTE is not set
764# CONFIG_INPUT_ATI_REMOTE2 is not set
765# CONFIG_INPUT_KEYSPAN_REMOTE is not set
766# CONFIG_INPUT_POWERMATE is not set
767# CONFIG_INPUT_YEALINK is not set
768# CONFIG_INPUT_CM109 is not set
769# CONFIG_INPUT_UINPUT is not set
770# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set
771CONFIG_INPUT_DM365EVM=y
772
773#
774# Hardware I/O ports
775#
776CONFIG_SERIO=y
777CONFIG_SERIO_SERPORT=y
778CONFIG_SERIO_LIBPS2=y
779# CONFIG_SERIO_RAW is not set
780# CONFIG_GAMEPORT is not set
781
782#
783# Character devices
784#
785CONFIG_VT=y
786CONFIG_CONSOLE_TRANSLATIONS=y
787# CONFIG_VT_CONSOLE is not set
788CONFIG_HW_CONSOLE=y
789# CONFIG_VT_HW_CONSOLE_BINDING is not set
790CONFIG_DEVKMEM=y
791# CONFIG_SERIAL_NONSTANDARD is not set
792
793#
794# Serial drivers
795#
796CONFIG_SERIAL_8250=y
797CONFIG_SERIAL_8250_CONSOLE=y
798CONFIG_SERIAL_8250_NR_UARTS=2
799CONFIG_SERIAL_8250_RUNTIME_UARTS=2
800# CONFIG_SERIAL_8250_EXTENDED is not set
801
802#
803# Non-8250 serial port support
804#
805# CONFIG_SERIAL_MAX3100 is not set
806CONFIG_SERIAL_CORE=y
807CONFIG_SERIAL_CORE_CONSOLE=y
808CONFIG_UNIX98_PTYS=y
809# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
810CONFIG_LEGACY_PTYS=y
811CONFIG_LEGACY_PTY_COUNT=256
812# CONFIG_IPMI_HANDLER is not set
813# CONFIG_HW_RANDOM is not set
814# CONFIG_R3964 is not set
815# CONFIG_RAW_DRIVER is not set
816# CONFIG_TCG_TPM is not set
817CONFIG_DM365_IPIPE=y
818CONFIG_IMP_PREVIEWER=y
819CONFIG_IMP_RESIZER=y
820# CONFIG_IMP_DEBUG is not set
821CONFIG_I2C=y
822CONFIG_I2C_BOARDINFO=y
823CONFIG_I2C_COMPAT=y
824CONFIG_I2C_CHARDEV=y
825CONFIG_I2C_HELPER_AUTO=y
826
827#
828# I2C Hardware Bus support
829#
830
831#
832# I2C system bus drivers (mostly embedded / system-on-chip)
833#
834CONFIG_I2C_DAVINCI=y
835# CONFIG_I2C_DESIGNWARE is not set
836# CONFIG_I2C_GPIO is not set
837# CONFIG_I2C_OCORES is not set
838# CONFIG_I2C_SIMTEC is not set
839
840#
841# External I2C/SMBus adapter drivers
842#
843# CONFIG_I2C_PARPORT_LIGHT is not set
844# CONFIG_I2C_TAOS_EVM is not set
845# CONFIG_I2C_TINY_USB is not set
846
847#
848# Other I2C/SMBus bus drivers
849#
850# CONFIG_I2C_PCA_PLATFORM is not set
851# CONFIG_I2C_STUB is not set
852
853#
854# Miscellaneous I2C Chip support
855#
856# CONFIG_DS1682 is not set
857# CONFIG_SENSORS_TSL2550 is not set
858# CONFIG_I2C_DEBUG_CORE is not set
859# CONFIG_I2C_DEBUG_ALGO is not set
860# CONFIG_I2C_DEBUG_BUS is not set
861# CONFIG_I2C_DEBUG_CHIP is not set
862CONFIG_SPI=y
863# CONFIG_SPI_DEBUG is not set
864CONFIG_SPI_MASTER=y
865
866#
867# SPI Master Controller Drivers
868#
869CONFIG_SPI_DAVINCI=y
870CONFIG_SPI_BITBANG=y
871# CONFIG_SPI_GPIO is not set
872
873#
874# SPI Protocol Masters
875#
876# CONFIG_SPI_SPIDEV is not set
877# CONFIG_SPI_TLE62X0 is not set
878
879#
880# PPS support
881#
882# CONFIG_PPS is not set
883CONFIG_ARCH_REQUIRE_GPIOLIB=y
884CONFIG_GPIOLIB=y
885# CONFIG_DEBUG_GPIO is not set
886# CONFIG_GPIO_SYSFS is not set
887
888#
889# Memory mapped GPIO expanders:
890#
891
892#
893# I2C GPIO expanders:
894#
895# CONFIG_GPIO_MAX732X is not set
896# CONFIG_GPIO_PCA953X is not set
897CONFIG_GPIO_PCF857X=y
898
899#
900# PCI GPIO expanders:
901#
902
903#
904# SPI GPIO expanders:
905#
906# CONFIG_GPIO_MAX7301 is not set
907# CONFIG_GPIO_MCP23S08 is not set
908# CONFIG_GPIO_MC33880 is not set
909
910#
911# AC97 GPIO expanders:
912#
913# CONFIG_W1 is not set
914# CONFIG_POWER_SUPPLY is not set
915CONFIG_HWMON=y
916# CONFIG_HWMON_VID is not set
917# CONFIG_HWMON_DEBUG_CHIP is not set
918
919#
920# Native drivers
921#
922# CONFIG_SENSORS_AD7414 is not set
923# CONFIG_SENSORS_AD7418 is not set
924# CONFIG_SENSORS_ADCXX is not set
925# CONFIG_SENSORS_ADM1021 is not set
926# CONFIG_SENSORS_ADM1025 is not set
927# CONFIG_SENSORS_ADM1026 is not set
928# CONFIG_SENSORS_ADM1029 is not set
929# CONFIG_SENSORS_ADM1031 is not set
930# CONFIG_SENSORS_ADM9240 is not set
931# CONFIG_SENSORS_ADT7462 is not set
932# CONFIG_SENSORS_ADT7470 is not set
933# CONFIG_SENSORS_ADT7473 is not set
934# CONFIG_SENSORS_ADT7475 is not set
935# CONFIG_SENSORS_ATXP1 is not set
936# CONFIG_SENSORS_DS1621 is not set
937# CONFIG_SENSORS_F71805F is not set
938# CONFIG_SENSORS_F71882FG is not set
939# CONFIG_SENSORS_F75375S is not set
940# CONFIG_SENSORS_G760A is not set
941# CONFIG_SENSORS_GL518SM is not set
942# CONFIG_SENSORS_GL520SM is not set
943# CONFIG_SENSORS_IT87 is not set
944# CONFIG_SENSORS_LM63 is not set
945# CONFIG_SENSORS_LM70 is not set
946# CONFIG_SENSORS_LM75 is not set
947# CONFIG_SENSORS_LM77 is not set
948# CONFIG_SENSORS_LM78 is not set
949# CONFIG_SENSORS_LM80 is not set
950# CONFIG_SENSORS_LM83 is not set
951# CONFIG_SENSORS_LM85 is not set
952# CONFIG_SENSORS_LM87 is not set
953# CONFIG_SENSORS_LM90 is not set
954# CONFIG_SENSORS_LM92 is not set
955# CONFIG_SENSORS_LM93 is not set
956# CONFIG_SENSORS_LTC4215 is not set
957# CONFIG_SENSORS_LTC4245 is not set
958# CONFIG_SENSORS_LM95241 is not set
959# CONFIG_SENSORS_MAX1111 is not set
960# CONFIG_SENSORS_MAX1619 is not set
961# CONFIG_SENSORS_MAX6650 is not set
962# CONFIG_SENSORS_PC87360 is not set
963# CONFIG_SENSORS_PC87427 is not set
964# CONFIG_SENSORS_PCF8591 is not set
965# CONFIG_SENSORS_SHT15 is not set
966# CONFIG_SENSORS_DME1737 is not set
967# CONFIG_SENSORS_SMSC47M1 is not set
968# CONFIG_SENSORS_SMSC47M192 is not set
969# CONFIG_SENSORS_SMSC47B397 is not set
970# CONFIG_SENSORS_ADS7828 is not set
971# CONFIG_SENSORS_THMC50 is not set
972# CONFIG_SENSORS_TMP401 is not set
973# CONFIG_SENSORS_TMP421 is not set
974# CONFIG_SENSORS_VT1211 is not set
975# CONFIG_SENSORS_W83781D is not set
976# CONFIG_SENSORS_W83791D is not set
977# CONFIG_SENSORS_W83792D is not set
978# CONFIG_SENSORS_W83793 is not set
979# CONFIG_SENSORS_W83L785TS is not set
980# CONFIG_SENSORS_W83L786NG is not set
981# CONFIG_SENSORS_W83627HF is not set
982# CONFIG_SENSORS_W83627EHF is not set
983# CONFIG_SENSORS_LIS3_SPI is not set
984# CONFIG_THERMAL is not set
985CONFIG_WATCHDOG=y
986# CONFIG_WATCHDOG_NOWAYOUT is not set
987
988#
989# Watchdog Device Drivers
990#
991# CONFIG_SOFT_WATCHDOG is not set
992CONFIG_DAVINCI_WATCHDOG=y
993
994#
995# USB-based Watchdog Cards
996#
997# CONFIG_USBPCWATCHDOG is not set
998CONFIG_SSB_POSSIBLE=y
999
1000#
1001# Sonics Silicon Backplane
1002#
1003# CONFIG_SSB is not set
1004
1005#
1006# Multifunction device drivers
1007#
1008# CONFIG_MFD_CORE is not set
1009# CONFIG_MFD_SM501 is not set
1010# CONFIG_MFD_ASIC3 is not set
1011# CONFIG_HTC_EGPIO is not set
1012# CONFIG_HTC_PASIC3 is not set
1013# CONFIG_TPS65010 is not set
1014# CONFIG_TWL4030_CORE is not set
1015# CONFIG_MFD_TMIO is not set
1016# CONFIG_MFD_T7L66XB is not set
1017# CONFIG_MFD_TC6387XB is not set
1018# CONFIG_MFD_TC6393XB is not set
1019# CONFIG_PMIC_DA903X is not set
1020# CONFIG_MFD_WM8400 is not set
1021# CONFIG_MFD_WM831X is not set
1022# CONFIG_MFD_WM8350_I2C is not set
1023# CONFIG_MFD_PCF50633 is not set
1024# CONFIG_MFD_MC13783 is not set
1025# CONFIG_AB3100_CORE is not set
1026# CONFIG_EZX_PCAP is not set
1027# CONFIG_REGULATOR is not set
1028CONFIG_MEDIA_SUPPORT=y
1029
1030#
1031# Multimedia core support
1032#
1033CONFIG_VIDEO_DEV=y
1034CONFIG_VIDEO_V4L2_COMMON=y
1035# CONFIG_VIDEO_ALLOW_V4L1 is not set
1036# CONFIG_VIDEO_V4L1_COMPAT is not set
1037# CONFIG_DVB_CORE is not set
1038CONFIG_VIDEO_MEDIA=y
1039
1040#
1041# Multimedia drivers
1042#
1043# CONFIG_MEDIA_ATTACH is not set
1044CONFIG_MEDIA_TUNER=y
1045# CONFIG_MEDIA_TUNER_CUSTOMISE is not set
1046CONFIG_MEDIA_TUNER_SIMPLE=y
1047CONFIG_MEDIA_TUNER_TDA8290=y
1048CONFIG_MEDIA_TUNER_TDA9887=y
1049CONFIG_MEDIA_TUNER_TEA5761=y
1050CONFIG_MEDIA_TUNER_TEA5767=y
1051CONFIG_MEDIA_TUNER_MT20XX=y
1052CONFIG_MEDIA_TUNER_XC2028=y
1053CONFIG_MEDIA_TUNER_XC5000=y
1054CONFIG_MEDIA_TUNER_MC44S803=y
1055CONFIG_VIDEO_V4L2=y
1056CONFIG_VIDEOBUF_GEN=y
1057CONFIG_VIDEOBUF_VMALLOC=y
1058CONFIG_VIDEOBUF_DMA_CONTIG=y
1059CONFIG_VIDEO_CAPTURE_DRIVERS=y
1060# CONFIG_VIDEO_ADV_DEBUG is not set
1061# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
1062# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
1063
1064#
1065# Encoders/decoders and other helper chips
1066#
1067
1068#
1069# Audio decoders
1070#
1071# CONFIG_VIDEO_TVAUDIO is not set
1072# CONFIG_VIDEO_TDA7432 is not set
1073# CONFIG_VIDEO_TDA9840 is not set
1074# CONFIG_VIDEO_TDA9875 is not set
1075# CONFIG_VIDEO_TEA6415C is not set
1076# CONFIG_VIDEO_TEA6420 is not set
1077# CONFIG_VIDEO_MSP3400 is not set
1078# CONFIG_VIDEO_CS5345 is not set
1079# CONFIG_VIDEO_CS53L32A is not set
1080# CONFIG_VIDEO_M52790 is not set
1081# CONFIG_VIDEO_TLV320AIC23B is not set
1082# CONFIG_VIDEO_WM8775 is not set
1083# CONFIG_VIDEO_WM8739 is not set
1084# CONFIG_VIDEO_VP27SMPX is not set
1085
1086#
1087# RDS decoders
1088#
1089# CONFIG_VIDEO_SAA6588 is not set
1090
1091#
1092# Video decoders
1093#
1094# CONFIG_VIDEO_ADV7180 is not set
1095# CONFIG_VIDEO_BT819 is not set
1096# CONFIG_VIDEO_BT856 is not set
1097# CONFIG_VIDEO_BT866 is not set
1098# CONFIG_VIDEO_KS0127 is not set
1099# CONFIG_VIDEO_OV7670 is not set
1100# CONFIG_VIDEO_MT9V011 is not set
1101# CONFIG_VIDEO_TCM825X is not set
1102# CONFIG_VIDEO_SAA7110 is not set
1103# CONFIG_VIDEO_SAA711X is not set
1104# CONFIG_VIDEO_SAA717X is not set
1105CONFIG_VIDEO_TVP514X=y
1106# CONFIG_VIDEO_TVP5150 is not set
1107CONFIG_VIDEO_TVP7002=y
1108# CONFIG_VIDEO_VPX3220 is not set
1109
1110#
1111# Video and audio decoders
1112#
1113# CONFIG_VIDEO_CX25840 is not set
1114
1115#
1116# MPEG video encoders
1117#
1118# CONFIG_VIDEO_CX2341X is not set
1119
1120#
1121# Video encoders
1122#
1123# CONFIG_VIDEO_SAA7127 is not set
1124# CONFIG_VIDEO_SAA7185 is not set
1125# CONFIG_VIDEO_ADV7170 is not set
1126# CONFIG_VIDEO_ADV7175 is not set
1127CONFIG_VIDEO_THS7303=y
1128CONFIG_VIDEO_THS7353=y
1129CONFIG_VIDEO_THS7353_LUMA_CHANNEL=2
1130# CONFIG_VIDEO_ADV7343 is not set
1131# CONFIG_VIDEO_THS8200 is not set
1132
1133#
1134# Video improvement chips
1135#
1136# CONFIG_VIDEO_UPD64031A is not set
1137# CONFIG_VIDEO_UPD64083 is not set
1138CONFIG_VIDEO_DAVINCI_DISPLAY=y
1139CONFIG_DAVINCI_ENC_MNGR=y
1140CONFIG_ENC_MNGR_MAX_CHANNELS=1
1141CONFIG_DAVINCI_OSD=y
1142CONFIG_DAVINCI_VPBE_ENCODER=y
1143CONFIG_DAVINCI_LOGICPD_ENCODER=y
1144# CONFIG_DAVINCI_AVNET_ENCODER is not set
1145# CONFIG_VIDEO_VIVI is not set
1146CONFIG_VIDEO_VPSS_SYSTEM=y
1147CONFIG_VIDEO_VPFE_CAPTURE=y
1148CONFIG_VIDEO_DM365_ISIF=y
1149CONFIG_VIDEO_DM365_3A_HW=y
1150CONFIG_VIDEO_DM365_AF=y
1151CONFIG_VIDEO_DM365_AEW=y
1152# CONFIG_VIDEO_SAA5246A is not set
1153# CONFIG_VIDEO_SAA5249 is not set
1154# CONFIG_SOC_CAMERA is not set
1155CONFIG_SOC_CAMERA_MT9T031=y
1156# CONFIG_V4L_USB_DRIVERS is not set
1157# CONFIG_RADIO_ADAPTERS is not set
1158# CONFIG_DAB is not set
1159
1160#
1161# Graphics support
1162#
1163# CONFIG_VGASTATE is not set
1164CONFIG_VIDEO_OUTPUT_CONTROL=y
1165CONFIG_FB=y
1166# CONFIG_FIRMWARE_EDID is not set
1167# CONFIG_FB_DDC is not set
1168# CONFIG_FB_BOOT_VESA_SUPPORT is not set
1169CONFIG_FB_CFB_FILLRECT=y
1170CONFIG_FB_CFB_COPYAREA=y
1171CONFIG_FB_CFB_IMAGEBLIT=y
1172# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
1173# CONFIG_FB_SYS_FILLRECT is not set
1174# CONFIG_FB_SYS_COPYAREA is not set
1175# CONFIG_FB_SYS_IMAGEBLIT is not set
1176# CONFIG_FB_FOREIGN_ENDIAN is not set
1177# CONFIG_FB_SYS_FOPS is not set
1178# CONFIG_FB_SVGALIB is not set
1179# CONFIG_FB_MACMODES is not set
1180# CONFIG_FB_BACKLIGHT is not set
1181# CONFIG_FB_MODE_HELPERS is not set
1182# CONFIG_FB_TILEBLITTING is not set
1183
1184#
1185# Frame buffer hardware drivers
1186#
1187# CONFIG_FB_S1D13XXX is not set
1188CONFIG_FB_DAVINCI=y
1189# CONFIG_FB_VIRTUAL is not set
1190# CONFIG_FB_METRONOME is not set
1191# CONFIG_FB_MB862XX is not set
1192# CONFIG_FB_BROADSHEET is not set
1193# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
1194
1195#
1196# Display device support
1197#
1198# CONFIG_DISPLAY_SUPPORT is not set
1199
1200#
1201# Console display driver support
1202#
1203# CONFIG_VGA_CONSOLE is not set
1204CONFIG_DUMMY_CONSOLE=y
1205# CONFIG_FRAMEBUFFER_CONSOLE is not set
1206CONFIG_LOGO=y
1207CONFIG_LOGO_LINUX_MONO=y
1208CONFIG_LOGO_LINUX_VGA16=y
1209CONFIG_LOGO_LINUX_CLUT224=y
1210CONFIG_SOUND=y
1211# CONFIG_SOUND_OSS_CORE is not set
1212CONFIG_SND=y
1213CONFIG_SND_TIMER=y
1214CONFIG_SND_PCM=y
1215CONFIG_SND_JACK=y
1216# CONFIG_SND_SEQUENCER is not set
1217# CONFIG_SND_MIXER_OSS is not set
1218# CONFIG_SND_PCM_OSS is not set
1219# CONFIG_SND_HRTIMER is not set
1220# CONFIG_SND_DYNAMIC_MINORS is not set
1221CONFIG_SND_SUPPORT_OLD_API=y
1222CONFIG_SND_VERBOSE_PROCFS=y
1223# CONFIG_SND_VERBOSE_PRINTK is not set
1224# CONFIG_SND_DEBUG is not set
1225# CONFIG_SND_RAWMIDI_SEQ is not set
1226# CONFIG_SND_OPL3_LIB_SEQ is not set
1227# CONFIG_SND_OPL4_LIB_SEQ is not set
1228# CONFIG_SND_SBAWE_SEQ is not set
1229# CONFIG_SND_EMU10K1_SEQ is not set
1230CONFIG_SND_DRIVERS=y
1231# CONFIG_SND_DUMMY is not set
1232# CONFIG_SND_MTPAV is not set
1233# CONFIG_SND_SERIAL_U16550 is not set
1234# CONFIG_SND_MPU401 is not set
1235CONFIG_SND_ARM=y
1236CONFIG_SND_SPI=y
1237# CONFIG_SND_USB is not set
1238CONFIG_SND_SOC=y
1239CONFIG_SND_DAVINCI_SOC=y
1240CONFIG_SND_DAVINCI_SOC_I2S=y
1241CONFIG_SND_DAVINCI_SOC_EVM=y
1242CONFIG_SND_SOC_I2C_AND_SPI=y
1243# CONFIG_SND_SOC_ALL_CODECS is not set
1244CONFIG_SND_SOC_TLV320AIC3X=y
1245# CONFIG_SOUND_PRIME is not set
1246CONFIG_HID_SUPPORT=y
1247CONFIG_HID=y
1248# CONFIG_HIDRAW is not set
1249
1250#
1251# USB Input Devices
1252#
1253CONFIG_USB_HID=y
1254# CONFIG_HID_PID is not set
1255# CONFIG_USB_HIDDEV is not set
1256
1257#
1258# Special HID drivers
1259#
1260CONFIG_HID_A4TECH=m
1261CONFIG_HID_APPLE=m
1262CONFIG_HID_BELKIN=m
1263CONFIG_HID_CHERRY=m
1264CONFIG_HID_CHICONY=m
1265CONFIG_HID_CYPRESS=m
1266# CONFIG_HID_DRAGONRISE is not set
1267CONFIG_HID_EZKEY=m
1268# CONFIG_HID_KYE is not set
1269CONFIG_HID_GYRATION=m
1270# CONFIG_HID_TWINHAN is not set
1271# CONFIG_HID_KENSINGTON is not set
1272CONFIG_HID_LOGITECH=y
1273# CONFIG_LOGITECH_FF is not set
1274# CONFIG_LOGIRUMBLEPAD2_FF is not set
1275CONFIG_HID_MICROSOFT=y
1276CONFIG_HID_MONTEREY=m
1277# CONFIG_HID_NTRIG is not set
1278CONFIG_HID_PANTHERLORD=m
1279# CONFIG_PANTHERLORD_FF is not set
1280CONFIG_HID_PETALYNX=m
1281CONFIG_HID_SAMSUNG=m
1282CONFIG_HID_SONY=m
1283CONFIG_HID_SUNPLUS=m
1284# CONFIG_HID_GREENASIA is not set
1285# CONFIG_HID_SMARTJOYPLUS is not set
1286# CONFIG_HID_TOPSEED is not set
1287# CONFIG_HID_THRUSTMASTER is not set
1288# CONFIG_HID_ZEROPLUS is not set
1289CONFIG_USB_SUPPORT=y
1290CONFIG_USB_ARCH_HAS_HCD=y
1291# CONFIG_USB_ARCH_HAS_OHCI is not set
1292# CONFIG_USB_ARCH_HAS_EHCI is not set
1293CONFIG_USB=y
1294# CONFIG_USB_DEBUG is not set
1295# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
1296
1297#
1298# Miscellaneous USB options
1299#
1300CONFIG_USB_DEVICEFS=y
1301CONFIG_USB_DEVICE_CLASS=y
1302# CONFIG_USB_DYNAMIC_MINORS is not set
1303# CONFIG_USB_OTG is not set
1304# CONFIG_USB_OTG_WHITELIST is not set
1305# CONFIG_USB_OTG_BLACKLIST_HUB is not set
1306# CONFIG_USB_MON is not set
1307# CONFIG_USB_WUSB is not set
1308# CONFIG_USB_WUSB_CBAF is not set
1309
1310#
1311# USB Host Controller Drivers
1312#
1313# CONFIG_USB_C67X00_HCD is not set
1314# CONFIG_USB_OXU210HP_HCD is not set
1315# CONFIG_USB_ISP116X_HCD is not set
1316# CONFIG_USB_ISP1760_HCD is not set
1317# CONFIG_USB_ISP1362_HCD is not set
1318# CONFIG_USB_SL811_HCD is not set
1319# CONFIG_USB_R8A66597_HCD is not set
1320# CONFIG_USB_HWA_HCD is not set
1321CONFIG_USB_MUSB_HDRC=y
1322CONFIG_USB_MUSB_SOC=y
1323
1324#
1325# DaVinci 35x, 36x, 644x USB support
1326#
1327CONFIG_USB_MUSB_HOST=y
1328# CONFIG_USB_MUSB_PERIPHERAL is not set
1329# CONFIG_USB_MUSB_OTG is not set
1330# CONFIG_MUSB_SCHEDULE_INTR_EP is not set
1331CONFIG_USB_MUSB_HDRC_HCD=y
1332# CONFIG_MUSB_PIO_ONLY is not set
1333# CONFIG_USB_INVENTRA_DMA is not set
1334CONFIG_USB_TI_CPPI_DMA=y
1335# CONFIG_USB_MUSB_DEBUG is not set
1336
1337#
1338# USB Device Class drivers
1339#
1340# CONFIG_USB_ACM is not set
1341# CONFIG_USB_PRINTER is not set
1342# CONFIG_USB_WDM is not set
1343# CONFIG_USB_TMC is not set
1344
1345#
1346# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
1347#
1348
1349#
1350# also be needed; see USB_STORAGE Help for more info
1351#
1352CONFIG_USB_STORAGE=y
1353# CONFIG_USB_STORAGE_DEBUG is not set
1354# CONFIG_USB_STORAGE_DATAFAB is not set
1355# CONFIG_USB_STORAGE_FREECOM is not set
1356# CONFIG_USB_STORAGE_ISD200 is not set
1357# CONFIG_USB_STORAGE_USBAT is not set
1358# CONFIG_USB_STORAGE_SDDR09 is not set
1359# CONFIG_USB_STORAGE_SDDR55 is not set
1360# CONFIG_USB_STORAGE_JUMPSHOT is not set
1361# CONFIG_USB_STORAGE_ALAUDA is not set
1362# CONFIG_USB_STORAGE_ONETOUCH is not set
1363# CONFIG_USB_STORAGE_KARMA is not set
1364# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
1365# CONFIG_USB_LIBUSUAL is not set
1366
1367#
1368# USB Imaging devices
1369#
1370# CONFIG_USB_MDC800 is not set
1371# CONFIG_USB_MICROTEK is not set
1372
1373#
1374# USB port drivers
1375#
1376# CONFIG_USB_SERIAL is not set
1377
1378#
1379# USB Miscellaneous drivers
1380#
1381# CONFIG_USB_EMI62 is not set
1382# CONFIG_USB_EMI26 is not set
1383# CONFIG_USB_ADUTUX is not set
1384# CONFIG_USB_SEVSEG is not set
1385# CONFIG_USB_RIO500 is not set
1386# CONFIG_USB_LEGOTOWER is not set
1387# CONFIG_USB_LCD is not set
1388# CONFIG_USB_BERRY_CHARGE is not set
1389# CONFIG_USB_LED is not set
1390# CONFIG_USB_CYPRESS_CY7C63 is not set
1391# CONFIG_USB_CYTHERM is not set
1392# CONFIG_USB_IDMOUSE is not set
1393# CONFIG_USB_FTDI_ELAN is not set
1394# CONFIG_USB_APPLEDISPLAY is not set
1395# CONFIG_USB_SISUSBVGA is not set
1396# CONFIG_USB_LD is not set
1397# CONFIG_USB_TRANCEVIBRATOR is not set
1398# CONFIG_USB_IOWARRIOR is not set
1399CONFIG_USB_TEST=y
1400# CONFIG_USB_ISIGHTFW is not set
1401# CONFIG_USB_VST is not set
1402# CONFIG_USB_GADGET is not set
1403
1404#
1405# OTG and related infrastructure
1406#
1407CONFIG_USB_OTG_UTILS=y
1408# CONFIG_USB_GPIO_VBUS is not set
1409CONFIG_NOP_USB_XCEIV=y
1410CONFIG_MMC=y
1411# CONFIG_MMC_DEBUG is not set
1412# CONFIG_MMC_UNSAFE_RESUME is not set
1413
1414#
1415# MMC/SD/SDIO Card Drivers
1416#
1417CONFIG_MMC_BLOCK=y
1418# CONFIG_MMC_BLOCK_BOUNCE is not set
1419CONFIG_SDIO_UART=y
1420# CONFIG_MMC_TEST is not set
1421
1422#
1423# MMC/SD/SDIO Host Controller Drivers
1424#
1425# CONFIG_MMC_SDHCI is not set
1426# CONFIG_MMC_AT91 is not set
1427# CONFIG_MMC_ATMELMCI is not set
1428CONFIG_MMC_DAVINCI=y
1429# CONFIG_MMC_SPI is not set
1430# CONFIG_MEMSTICK is not set
1431CONFIG_NEW_LEDS=y
1432CONFIG_LEDS_CLASS=m
1433
1434#
1435# LED drivers
1436#
1437# CONFIG_LEDS_PCA9532 is not set
1438CONFIG_LEDS_GPIO=m
1439CONFIG_LEDS_GPIO_PLATFORM=y
1440# CONFIG_LEDS_LP3944 is not set
1441# CONFIG_LEDS_PCA955X is not set
1442# CONFIG_LEDS_DAC124S085 is not set
1443# CONFIG_LEDS_BD2802 is not set
1444
1445#
1446# LED Triggers
1447#
1448CONFIG_LEDS_TRIGGERS=y
1449CONFIG_LEDS_TRIGGER_TIMER=m
1450CONFIG_LEDS_TRIGGER_HEARTBEAT=m
1451# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
1452# CONFIG_LEDS_TRIGGER_GPIO is not set
1453# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
1454
1455#
1456# iptables trigger is under Netfilter config (LED target)
1457#
1458# CONFIG_ACCESSIBILITY is not set
1459CONFIG_RTC_LIB=y
1460# CONFIG_RTC_CLASS is not set
1461# CONFIG_DMADEVICES is not set
1462# CONFIG_AUXDISPLAY is not set
1463# CONFIG_UIO is not set
1464
1465#
1466# TI VLYNQ
1467#
1468# CONFIG_STAGING is not set
1469
1470#
1471# File systems
1472#
1473CONFIG_EXT2_FS=y
1474# CONFIG_EXT2_FS_XATTR is not set
1475# CONFIG_EXT2_FS_XIP is not set
1476CONFIG_EXT3_FS=y
1477# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
1478CONFIG_EXT3_FS_XATTR=y
1479# CONFIG_EXT3_FS_POSIX_ACL is not set
1480# CONFIG_EXT3_FS_SECURITY is not set
1481# CONFIG_EXT4_FS is not set
1482CONFIG_JBD=y
1483# CONFIG_JBD_DEBUG is not set
1484CONFIG_FS_MBCACHE=y
1485# CONFIG_REISERFS_FS is not set
1486# CONFIG_JFS_FS is not set
1487# CONFIG_FS_POSIX_ACL is not set
1488CONFIG_XFS_FS=m
1489# CONFIG_XFS_QUOTA is not set
1490# CONFIG_XFS_POSIX_ACL is not set
1491# CONFIG_XFS_RT is not set
1492# CONFIG_XFS_DEBUG is not set
1493# CONFIG_GFS2_FS is not set
1494# CONFIG_OCFS2_FS is not set
1495# CONFIG_BTRFS_FS is not set
1496# CONFIG_NILFS2_FS is not set
1497CONFIG_FILE_LOCKING=y
1498CONFIG_FSNOTIFY=y
1499CONFIG_DNOTIFY=y
1500CONFIG_INOTIFY=y
1501CONFIG_INOTIFY_USER=y
1502# CONFIG_QUOTA is not set
1503# CONFIG_AUTOFS_FS is not set
1504CONFIG_AUTOFS4_FS=m
1505# CONFIG_FUSE_FS is not set
1506
1507#
1508# Caches
1509#
1510# CONFIG_FSCACHE is not set
1511
1512#
1513# CD-ROM/DVD Filesystems
1514#
1515# CONFIG_ISO9660_FS is not set
1516# CONFIG_UDF_FS is not set
1517
1518#
1519# DOS/FAT/NT Filesystems
1520#
1521CONFIG_FAT_FS=y
1522CONFIG_MSDOS_FS=y
1523CONFIG_VFAT_FS=y
1524CONFIG_FAT_DEFAULT_CODEPAGE=437
1525CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1526# CONFIG_NTFS_FS is not set
1527
1528#
1529# Pseudo filesystems
1530#
1531CONFIG_PROC_FS=y
1532CONFIG_PROC_SYSCTL=y
1533CONFIG_PROC_PAGE_MONITOR=y
1534CONFIG_SYSFS=y
1535CONFIG_TMPFS=y
1536# CONFIG_TMPFS_POSIX_ACL is not set
1537# CONFIG_HUGETLB_PAGE is not set
1538# CONFIG_CONFIGFS_FS is not set
1539CONFIG_MISC_FILESYSTEMS=y
1540# CONFIG_ADFS_FS is not set
1541# CONFIG_AFFS_FS is not set
1542# CONFIG_HFS_FS is not set
1543# CONFIG_HFSPLUS_FS is not set
1544# CONFIG_BEFS_FS is not set
1545# CONFIG_BFS_FS is not set
1546# CONFIG_EFS_FS is not set
1547CONFIG_JFFS2_FS=y
1548CONFIG_JFFS2_FS_DEBUG=0
1549CONFIG_JFFS2_FS_WRITEBUFFER=y
1550# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
1551# CONFIG_JFFS2_SUMMARY is not set
1552# CONFIG_JFFS2_FS_XATTR is not set
1553# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
1554CONFIG_JFFS2_ZLIB=y
1555# CONFIG_JFFS2_LZO is not set
1556CONFIG_JFFS2_RTIME=y
1557# CONFIG_JFFS2_RUBIN is not set
1558CONFIG_CRAMFS=y
1559# CONFIG_SQUASHFS is not set
1560# CONFIG_VXFS_FS is not set
1561CONFIG_MINIX_FS=m
1562# CONFIG_OMFS_FS is not set
1563# CONFIG_HPFS_FS is not set
1564# CONFIG_QNX4FS_FS is not set
1565# CONFIG_ROMFS_FS is not set
1566# CONFIG_SYSV_FS is not set
1567# CONFIG_UFS_FS is not set
1568CONFIG_NETWORK_FILESYSTEMS=y
1569CONFIG_NFS_FS=y
1570CONFIG_NFS_V3=y
1571# CONFIG_NFS_V3_ACL is not set
1572# CONFIG_NFS_V4 is not set
1573CONFIG_ROOT_NFS=y
1574CONFIG_NFSD=m
1575CONFIG_NFSD_V3=y
1576# CONFIG_NFSD_V3_ACL is not set
1577# CONFIG_NFSD_V4 is not set
1578CONFIG_LOCKD=y
1579CONFIG_LOCKD_V4=y
1580CONFIG_EXPORTFS=m
1581CONFIG_NFS_COMMON=y
1582CONFIG_SUNRPC=y
1583# CONFIG_RPCSEC_GSS_KRB5 is not set
1584# CONFIG_RPCSEC_GSS_SPKM3 is not set
1585CONFIG_SMB_FS=m
1586# CONFIG_SMB_NLS_DEFAULT is not set
1587# CONFIG_CIFS is not set
1588# CONFIG_NCP_FS is not set
1589# CONFIG_CODA_FS is not set
1590# CONFIG_AFS_FS is not set
1591
1592#
1593# Partition Types
1594#
1595CONFIG_PARTITION_ADVANCED=y
1596# CONFIG_ACORN_PARTITION is not set
1597# CONFIG_OSF_PARTITION is not set
1598# CONFIG_AMIGA_PARTITION is not set
1599# CONFIG_ATARI_PARTITION is not set
1600# CONFIG_MAC_PARTITION is not set
1601CONFIG_MSDOS_PARTITION=y
1602# CONFIG_BSD_DISKLABEL is not set
1603# CONFIG_MINIX_SUBPARTITION is not set
1604# CONFIG_SOLARIS_X86_PARTITION is not set
1605# CONFIG_UNIXWARE_DISKLABEL is not set
1606# CONFIG_LDM_PARTITION is not set
1607# CONFIG_SGI_PARTITION is not set
1608# CONFIG_ULTRIX_PARTITION is not set
1609# CONFIG_SUN_PARTITION is not set
1610# CONFIG_KARMA_PARTITION is not set
1611# CONFIG_EFI_PARTITION is not set
1612# CONFIG_SYSV68_PARTITION is not set
1613CONFIG_NLS=y
1614CONFIG_NLS_DEFAULT="iso8859-1"
1615CONFIG_NLS_CODEPAGE_437=y
1616# CONFIG_NLS_CODEPAGE_737 is not set
1617# CONFIG_NLS_CODEPAGE_775 is not set
1618# CONFIG_NLS_CODEPAGE_850 is not set
1619# CONFIG_NLS_CODEPAGE_852 is not set
1620# CONFIG_NLS_CODEPAGE_855 is not set
1621# CONFIG_NLS_CODEPAGE_857 is not set
1622# CONFIG_NLS_CODEPAGE_860 is not set
1623# CONFIG_NLS_CODEPAGE_861 is not set
1624# CONFIG_NLS_CODEPAGE_862 is not set
1625# CONFIG_NLS_CODEPAGE_863 is not set
1626# CONFIG_NLS_CODEPAGE_864 is not set
1627# CONFIG_NLS_CODEPAGE_865 is not set
1628# CONFIG_NLS_CODEPAGE_866 is not set
1629# CONFIG_NLS_CODEPAGE_869 is not set
1630# CONFIG_NLS_CODEPAGE_936 is not set
1631# CONFIG_NLS_CODEPAGE_950 is not set
1632# CONFIG_NLS_CODEPAGE_932 is not set
1633# CONFIG_NLS_CODEPAGE_949 is not set
1634# CONFIG_NLS_CODEPAGE_874 is not set
1635# CONFIG_NLS_ISO8859_8 is not set
1636# CONFIG_NLS_CODEPAGE_1250 is not set
1637# CONFIG_NLS_CODEPAGE_1251 is not set
1638CONFIG_NLS_ASCII=m
1639CONFIG_NLS_ISO8859_1=y
1640# CONFIG_NLS_ISO8859_2 is not set
1641# CONFIG_NLS_ISO8859_3 is not set
1642# CONFIG_NLS_ISO8859_4 is not set
1643# CONFIG_NLS_ISO8859_5 is not set
1644# CONFIG_NLS_ISO8859_6 is not set
1645# CONFIG_NLS_ISO8859_7 is not set
1646# CONFIG_NLS_ISO8859_9 is not set
1647# CONFIG_NLS_ISO8859_13 is not set
1648# CONFIG_NLS_ISO8859_14 is not set
1649# CONFIG_NLS_ISO8859_15 is not set
1650# CONFIG_NLS_KOI8_R is not set
1651# CONFIG_NLS_KOI8_U is not set
1652CONFIG_NLS_UTF8=m
1653# CONFIG_DLM is not set
1654
1655#
1656# Kernel hacking
1657#
1658# CONFIG_PRINTK_TIME is not set
1659CONFIG_ENABLE_WARN_DEPRECATED=y
1660CONFIG_ENABLE_MUST_CHECK=y
1661CONFIG_FRAME_WARN=1024
1662# CONFIG_MAGIC_SYSRQ is not set
1663# CONFIG_STRIP_ASM_SYMS is not set
1664# CONFIG_UNUSED_SYMBOLS is not set
1665CONFIG_DEBUG_FS=y
1666# CONFIG_HEADERS_CHECK is not set
1667CONFIG_DEBUG_KERNEL=y
1668# CONFIG_DEBUG_SHIRQ is not set
1669CONFIG_DETECT_SOFTLOCKUP=y
1670# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1671CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
1672CONFIG_DETECT_HUNG_TASK=y
1673# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
1674CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
1675CONFIG_SCHED_DEBUG=y
1676# CONFIG_SCHEDSTATS is not set
1677CONFIG_TIMER_STATS=y
1678# CONFIG_DEBUG_OBJECTS is not set
1679# CONFIG_SLUB_DEBUG_ON is not set
1680# CONFIG_SLUB_STATS is not set
1681# CONFIG_DEBUG_KMEMLEAK is not set
1682CONFIG_DEBUG_PREEMPT=y
1683CONFIG_DEBUG_RT_MUTEXES=y
1684CONFIG_DEBUG_PI_LIST=y
1685# CONFIG_RT_MUTEX_TESTER is not set
1686# CONFIG_DEBUG_SPINLOCK is not set
1687CONFIG_DEBUG_MUTEXES=y
1688# CONFIG_DEBUG_LOCK_ALLOC is not set
1689# CONFIG_PROVE_LOCKING is not set
1690# CONFIG_LOCK_STAT is not set
1691# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1692# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1693# CONFIG_DEBUG_KOBJECT is not set
1694CONFIG_DEBUG_BUGVERBOSE=y
1695# CONFIG_DEBUG_INFO is not set
1696# CONFIG_DEBUG_VM is not set
1697# CONFIG_DEBUG_WRITECOUNT is not set
1698# CONFIG_DEBUG_MEMORY_INIT is not set
1699# CONFIG_DEBUG_LIST is not set
1700# CONFIG_DEBUG_SG is not set
1701# CONFIG_DEBUG_NOTIFIERS is not set
1702# CONFIG_DEBUG_CREDENTIALS is not set
1703CONFIG_FRAME_POINTER=y
1704# CONFIG_BOOT_PRINTK_DELAY is not set
1705# CONFIG_RCU_TORTURE_TEST is not set
1706# CONFIG_RCU_CPU_STALL_DETECTOR is not set
1707# CONFIG_BACKTRACE_SELF_TEST is not set
1708# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
1709# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
1710# CONFIG_FAULT_INJECTION is not set
1711# CONFIG_LATENCYTOP is not set
1712# CONFIG_SYSCTL_SYSCALL_CHECK is not set
1713# CONFIG_PAGE_POISONING is not set
1714CONFIG_HAVE_FUNCTION_TRACER=y
1715CONFIG_TRACING_SUPPORT=y
1716CONFIG_FTRACE=y
1717# CONFIG_FUNCTION_TRACER is not set
1718# CONFIG_IRQSOFF_TRACER is not set
1719# CONFIG_PREEMPT_TRACER is not set
1720# CONFIG_SCHED_TRACER is not set
1721# CONFIG_ENABLE_DEFAULT_TRACERS is not set
1722# CONFIG_BOOT_TRACER is not set
1723CONFIG_BRANCH_PROFILE_NONE=y
1724# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
1725# CONFIG_PROFILE_ALL_BRANCHES is not set
1726# CONFIG_STACK_TRACER is not set
1727# CONFIG_KMEMTRACE is not set
1728# CONFIG_WORKQUEUE_TRACER is not set
1729# CONFIG_BLK_DEV_IO_TRACE is not set
1730# CONFIG_DYNAMIC_DEBUG is not set
1731# CONFIG_SAMPLES is not set
1732CONFIG_HAVE_ARCH_KGDB=y
1733# CONFIG_KGDB is not set
1734# CONFIG_ARM_UNWIND is not set
1735CONFIG_DEBUG_USER=y
1736CONFIG_DEBUG_ERRORS=y
1737# CONFIG_DEBUG_STACK_USAGE is not set
1738# CONFIG_DEBUG_LL is not set
1739
1740#
1741# Security options
1742#
1743# CONFIG_KEYS is not set
1744# CONFIG_SECURITY is not set
1745# CONFIG_SECURITYFS is not set
1746# CONFIG_SECURITY_FILE_CAPABILITIES is not set
1747CONFIG_CRYPTO=y
1748
1749#
1750# Crypto core or helper
1751#
1752CONFIG_CRYPTO_ALGAPI=y
1753CONFIG_CRYPTO_ALGAPI2=y
1754CONFIG_CRYPTO_AEAD2=y
1755CONFIG_CRYPTO_BLKCIPHER=y
1756CONFIG_CRYPTO_BLKCIPHER2=y
1757CONFIG_CRYPTO_HASH2=y
1758CONFIG_CRYPTO_RNG2=y
1759CONFIG_CRYPTO_PCOMP=y
1760CONFIG_CRYPTO_MANAGER=y
1761CONFIG_CRYPTO_MANAGER2=y
1762# CONFIG_CRYPTO_GF128MUL is not set
1763# CONFIG_CRYPTO_NULL is not set
1764CONFIG_CRYPTO_WORKQUEUE=y
1765# CONFIG_CRYPTO_CRYPTD is not set
1766# CONFIG_CRYPTO_AUTHENC is not set
1767# CONFIG_CRYPTO_TEST is not set
1768
1769#
1770# Authenticated Encryption with Associated Data
1771#
1772# CONFIG_CRYPTO_CCM is not set
1773# CONFIG_CRYPTO_GCM is not set
1774# CONFIG_CRYPTO_SEQIV is not set
1775
1776#
1777# Block modes
1778#
1779# CONFIG_CRYPTO_CBC is not set
1780# CONFIG_CRYPTO_CTR is not set
1781# CONFIG_CRYPTO_CTS is not set
1782CONFIG_CRYPTO_ECB=y
1783# CONFIG_CRYPTO_LRW is not set
1784# CONFIG_CRYPTO_PCBC is not set
1785# CONFIG_CRYPTO_XTS is not set
1786
1787#
1788# Hash modes
1789#
1790# CONFIG_CRYPTO_HMAC is not set
1791# CONFIG_CRYPTO_XCBC is not set
1792# CONFIG_CRYPTO_VMAC is not set
1793
1794#
1795# Digest
1796#
1797# CONFIG_CRYPTO_CRC32C is not set
1798# CONFIG_CRYPTO_GHASH is not set
1799# CONFIG_CRYPTO_MD4 is not set
1800# CONFIG_CRYPTO_MD5 is not set
1801# CONFIG_CRYPTO_MICHAEL_MIC is not set
1802# CONFIG_CRYPTO_RMD128 is not set
1803# CONFIG_CRYPTO_RMD160 is not set
1804# CONFIG_CRYPTO_RMD256 is not set
1805# CONFIG_CRYPTO_RMD320 is not set
1806# CONFIG_CRYPTO_SHA1 is not set
1807# CONFIG_CRYPTO_SHA256 is not set
1808# CONFIG_CRYPTO_SHA512 is not set
1809# CONFIG_CRYPTO_TGR192 is not set
1810# CONFIG_CRYPTO_WP512 is not set
1811
1812#
1813# Ciphers
1814#
1815CONFIG_CRYPTO_AES=y
1816# CONFIG_CRYPTO_ANUBIS is not set
1817CONFIG_CRYPTO_ARC4=y
1818# CONFIG_CRYPTO_BLOWFISH is not set
1819# CONFIG_CRYPTO_CAMELLIA is not set
1820# CONFIG_CRYPTO_CAST5 is not set
1821# CONFIG_CRYPTO_CAST6 is not set
1822# CONFIG_CRYPTO_DES is not set
1823# CONFIG_CRYPTO_FCRYPT is not set
1824# CONFIG_CRYPTO_KHAZAD is not set
1825# CONFIG_CRYPTO_SALSA20 is not set
1826# CONFIG_CRYPTO_SEED is not set
1827# CONFIG_CRYPTO_SERPENT is not set
1828# CONFIG_CRYPTO_TEA is not set
1829# CONFIG_CRYPTO_TWOFISH is not set
1830
1831#
1832# Compression
1833#
1834# CONFIG_CRYPTO_DEFLATE is not set
1835# CONFIG_CRYPTO_ZLIB is not set
1836# CONFIG_CRYPTO_LZO is not set
1837
1838#
1839# Random Number Generation
1840#
1841# CONFIG_CRYPTO_ANSI_CPRNG is not set
1842# CONFIG_CRYPTO_HW is not set
1843# CONFIG_BINARY_PRINTF is not set
1844
1845#
1846# Library routines
1847#
1848CONFIG_BITREVERSE=y
1849CONFIG_GENERIC_FIND_LAST_BIT=y
1850CONFIG_CRC_CCITT=m
1851# CONFIG_CRC16 is not set
1852CONFIG_CRC_T10DIF=m
1853# CONFIG_CRC_ITU_T is not set
1854CONFIG_CRC32=y
1855# CONFIG_CRC7 is not set
1856# CONFIG_LIBCRC32C is not set
1857CONFIG_ZLIB_INFLATE=y
1858CONFIG_ZLIB_DEFLATE=y
1859CONFIG_DECOMPRESS_GZIP=y
1860CONFIG_GENERIC_ALLOCATOR=y
1861CONFIG_HAS_IOMEM=y
1862CONFIG_HAS_IOPORT=y
1863CONFIG_HAS_DMA=y
1864CONFIG_NLATTR=y
diff --git a/recipes-kernel/linux/linux-davinci/dm6446-evm/defconfig b/recipes-kernel/linux/linux-davinci/dm6446-evm/defconfig
deleted file mode 100644
index a514beff..00000000
--- a/recipes-kernel/linux/linux-davinci/dm6446-evm/defconfig
+++ /dev/null
@@ -1,1711 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.32-rc2-davinci1
4# Wed Oct 7 16:24:45 2009
5#
6CONFIG_ARM=y
7CONFIG_SYS_SUPPORTS_APM_EMULATION=y
8CONFIG_GENERIC_GPIO=y
9CONFIG_GENERIC_TIME=y
10CONFIG_GENERIC_CLOCKEVENTS=y
11CONFIG_GENERIC_HARDIRQS=y
12CONFIG_STACKTRACE_SUPPORT=y
13CONFIG_HAVE_LATENCYTOP_SUPPORT=y
14CONFIG_LOCKDEP_SUPPORT=y
15CONFIG_TRACE_IRQFLAGS_SUPPORT=y
16CONFIG_HARDIRQS_SW_RESEND=y
17CONFIG_GENERIC_IRQ_PROBE=y
18CONFIG_RWSEM_GENERIC_SPINLOCK=y
19CONFIG_GENERIC_HWEIGHT=y
20CONFIG_GENERIC_CALIBRATE_DELAY=y
21CONFIG_ZONE_DMA=y
22CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
23CONFIG_VECTORS_BASE=0xffff0000
24CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
25CONFIG_CONSTRUCTORS=y
26
27#
28# General setup
29#
30CONFIG_EXPERIMENTAL=y
31CONFIG_BROKEN_ON_SMP=y
32CONFIG_LOCK_KERNEL=y
33CONFIG_INIT_ENV_ARG_LIMIT=32
34CONFIG_LOCALVERSION=""
35CONFIG_LOCALVERSION_AUTO=y
36# CONFIG_SWAP is not set
37CONFIG_SYSVIPC=y
38CONFIG_SYSVIPC_SYSCTL=y
39CONFIG_POSIX_MQUEUE=y
40CONFIG_POSIX_MQUEUE_SYSCTL=y
41# CONFIG_BSD_PROCESS_ACCT is not set
42# CONFIG_TASKSTATS is not set
43# CONFIG_AUDIT is not set
44
45#
46# RCU Subsystem
47#
48CONFIG_TREE_RCU=y
49# CONFIG_TREE_PREEMPT_RCU is not set
50# CONFIG_RCU_TRACE is not set
51CONFIG_RCU_FANOUT=32
52# CONFIG_RCU_FANOUT_EXACT is not set
53# CONFIG_TREE_RCU_TRACE is not set
54CONFIG_IKCONFIG=y
55CONFIG_IKCONFIG_PROC=y
56CONFIG_LOG_BUF_SHIFT=14
57CONFIG_GROUP_SCHED=y
58CONFIG_FAIR_GROUP_SCHED=y
59# CONFIG_RT_GROUP_SCHED is not set
60CONFIG_USER_SCHED=y
61# CONFIG_CGROUP_SCHED is not set
62# CONFIG_CGROUPS is not set
63# CONFIG_SYSFS_DEPRECATED_V2 is not set
64# CONFIG_RELAY is not set
65# CONFIG_NAMESPACES is not set
66CONFIG_BLK_DEV_INITRD=y
67CONFIG_INITRAMFS_SOURCE=""
68CONFIG_RD_GZIP=y
69# CONFIG_RD_BZIP2 is not set
70# CONFIG_RD_LZMA is not set
71CONFIG_CC_OPTIMIZE_FOR_SIZE=y
72CONFIG_SYSCTL=y
73CONFIG_ANON_INODES=y
74CONFIG_EMBEDDED=y
75CONFIG_UID16=y
76CONFIG_SYSCTL_SYSCALL=y
77CONFIG_KALLSYMS=y
78# CONFIG_KALLSYMS_ALL is not set
79# CONFIG_KALLSYMS_EXTRA_PASS is not set
80CONFIG_HOTPLUG=y
81CONFIG_PRINTK=y
82CONFIG_BUG=y
83CONFIG_ELF_CORE=y
84CONFIG_BASE_FULL=y
85CONFIG_FUTEX=y
86CONFIG_EPOLL=y
87CONFIG_SIGNALFD=y
88CONFIG_TIMERFD=y
89CONFIG_EVENTFD=y
90CONFIG_SHMEM=y
91CONFIG_AIO=y
92
93#
94# Kernel Performance Events And Counters
95#
96CONFIG_VM_EVENT_COUNTERS=y
97CONFIG_SLUB_DEBUG=y
98CONFIG_COMPAT_BRK=y
99# CONFIG_SLAB is not set
100CONFIG_SLUB=y
101# CONFIG_SLOB is not set
102# CONFIG_PROFILING is not set
103CONFIG_HAVE_OPROFILE=y
104# CONFIG_KPROBES is not set
105CONFIG_HAVE_KPROBES=y
106CONFIG_HAVE_KRETPROBES=y
107CONFIG_HAVE_CLK=y
108
109#
110# GCOV-based kernel profiling
111#
112# CONFIG_GCOV_KERNEL is not set
113# CONFIG_SLOW_WORK is not set
114CONFIG_HAVE_GENERIC_DMA_COHERENT=y
115CONFIG_SLABINFO=y
116CONFIG_RT_MUTEXES=y
117CONFIG_BASE_SMALL=0
118CONFIG_MODULES=y
119# CONFIG_MODULE_FORCE_LOAD is not set
120CONFIG_MODULE_UNLOAD=y
121CONFIG_MODULE_FORCE_UNLOAD=y
122CONFIG_MODVERSIONS=y
123# CONFIG_MODULE_SRCVERSION_ALL is not set
124CONFIG_BLOCK=y
125CONFIG_LBDAF=y
126# CONFIG_BLK_DEV_BSG is not set
127# CONFIG_BLK_DEV_INTEGRITY is not set
128
129#
130# IO Schedulers
131#
132CONFIG_IOSCHED_NOOP=y
133CONFIG_IOSCHED_AS=y
134# CONFIG_IOSCHED_DEADLINE is not set
135# CONFIG_IOSCHED_CFQ is not set
136CONFIG_DEFAULT_AS=y
137# CONFIG_DEFAULT_DEADLINE is not set
138# CONFIG_DEFAULT_CFQ is not set
139# CONFIG_DEFAULT_NOOP is not set
140CONFIG_DEFAULT_IOSCHED="anticipatory"
141# CONFIG_FREEZER is not set
142
143#
144# System Type
145#
146CONFIG_MMU=y
147# CONFIG_ARCH_AAEC2000 is not set
148# CONFIG_ARCH_INTEGRATOR is not set
149# CONFIG_ARCH_REALVIEW is not set
150# CONFIG_ARCH_VERSATILE is not set
151# CONFIG_ARCH_AT91 is not set
152# CONFIG_ARCH_CLPS711X is not set
153# CONFIG_ARCH_GEMINI is not set
154# CONFIG_ARCH_EBSA110 is not set
155# CONFIG_ARCH_EP93XX is not set
156# CONFIG_ARCH_FOOTBRIDGE is not set
157# CONFIG_ARCH_MXC is not set
158# CONFIG_ARCH_STMP3XXX is not set
159# CONFIG_ARCH_NETX is not set
160# CONFIG_ARCH_H720X is not set
161# CONFIG_ARCH_NOMADIK is not set
162# CONFIG_ARCH_IOP13XX is not set
163# CONFIG_ARCH_IOP32X is not set
164# CONFIG_ARCH_IOP33X is not set
165# CONFIG_ARCH_IXP23XX is not set
166# CONFIG_ARCH_IXP2000 is not set
167# CONFIG_ARCH_IXP4XX is not set
168# CONFIG_ARCH_L7200 is not set
169# CONFIG_ARCH_KIRKWOOD is not set
170# CONFIG_ARCH_LOKI is not set
171# CONFIG_ARCH_MV78XX0 is not set
172# CONFIG_ARCH_ORION5X is not set
173# CONFIG_ARCH_MMP is not set
174# CONFIG_ARCH_KS8695 is not set
175# CONFIG_ARCH_NS9XXX is not set
176# CONFIG_ARCH_W90X900 is not set
177# CONFIG_ARCH_PNX4008 is not set
178# CONFIG_ARCH_PXA is not set
179# CONFIG_ARCH_MSM is not set
180# CONFIG_ARCH_RPC is not set
181# CONFIG_ARCH_SA1100 is not set
182# CONFIG_ARCH_S3C2410 is not set
183# CONFIG_ARCH_S3C64XX is not set
184# CONFIG_ARCH_S5PC1XX is not set
185# CONFIG_ARCH_SHARK is not set
186# CONFIG_ARCH_LH7A40X is not set
187# CONFIG_ARCH_U300 is not set
188CONFIG_ARCH_DAVINCI=y
189# CONFIG_ARCH_OMAP is not set
190# CONFIG_ARCH_BCMRING is not set
191CONFIG_AINTC=y
192CONFIG_ARCH_DAVINCI_DMx=y
193
194#
195# TI DaVinci Implementations
196#
197
198#
199# DaVinci Core Type
200#
201CONFIG_ARCH_DAVINCI_DM644x=y
202# CONFIG_ARCH_DAVINCI_DM355 is not set
203# CONFIG_ARCH_DAVINCI_DM646x is not set
204# CONFIG_ARCH_DAVINCI_DA830 is not set
205# CONFIG_ARCH_DAVINCI_DA850 is not set
206# CONFIG_ARCH_DAVINCI_DM365 is not set
207
208#
209# DaVinci Board Type
210#
211CONFIG_MACH_DAVINCI_EVM=y
212# CONFIG_MACH_SFFSDR is not set
213CONFIG_DAVINCI_MUX=y
214# CONFIG_DAVINCI_MUX_DEBUG is not set
215# CONFIG_DAVINCI_MUX_WARNINGS is not set
216CONFIG_DAVINCI_RESET_CLOCKS=y
217CONFIG_OSC_CLK_FREQ=27000000
218
219#
220# Processor Type
221#
222CONFIG_CPU_32=y
223CONFIG_CPU_ARM926T=y
224CONFIG_CPU_32v5=y
225CONFIG_CPU_ABRT_EV5TJ=y
226CONFIG_CPU_PABRT_NOIFAR=y
227CONFIG_CPU_CACHE_VIVT=y
228CONFIG_CPU_COPY_V4WB=y
229CONFIG_CPU_TLB_V4WBI=y
230CONFIG_CPU_CP15=y
231CONFIG_CPU_CP15_MMU=y
232
233#
234# Processor Features
235#
236CONFIG_ARM_THUMB=y
237# CONFIG_CPU_ICACHE_DISABLE is not set
238# CONFIG_CPU_DCACHE_DISABLE is not set
239# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
240# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
241CONFIG_ARM_L1_CACHE_SHIFT=5
242CONFIG_COMMON_CLKDEV=y
243CONFIG_FORCE_MAX_ZONEORDER=13
244
245#
246# Bus support
247#
248# CONFIG_PCI_SYSCALL is not set
249# CONFIG_ARCH_SUPPORTS_MSI is not set
250# CONFIG_PCCARD is not set
251
252#
253# Kernel Features
254#
255CONFIG_TICK_ONESHOT=y
256CONFIG_NO_HZ=y
257CONFIG_HIGH_RES_TIMERS=y
258CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
259CONFIG_VMSPLIT_3G=y
260# CONFIG_VMSPLIT_2G is not set
261# CONFIG_VMSPLIT_1G is not set
262CONFIG_PAGE_OFFSET=0xC0000000
263# CONFIG_PREEMPT_NONE is not set
264# CONFIG_PREEMPT_VOLUNTARY is not set
265CONFIG_PREEMPT=y
266CONFIG_HZ=100
267CONFIG_AEABI=y
268# CONFIG_OABI_COMPAT is not set
269# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
270# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
271# CONFIG_HIGHMEM is not set
272CONFIG_SELECT_MEMORY_MODEL=y
273CONFIG_FLATMEM_MANUAL=y
274# CONFIG_DISCONTIGMEM_MANUAL is not set
275# CONFIG_SPARSEMEM_MANUAL is not set
276CONFIG_FLATMEM=y
277CONFIG_FLAT_NODE_MEM_MAP=y
278CONFIG_PAGEFLAGS_EXTENDED=y
279CONFIG_SPLIT_PTLOCK_CPUS=4096
280# CONFIG_PHYS_ADDR_T_64BIT is not set
281CONFIG_ZONE_DMA_FLAG=1
282CONFIG_BOUNCE=y
283CONFIG_VIRT_TO_BUS=y
284CONFIG_HAVE_MLOCK=y
285CONFIG_HAVE_MLOCKED_PAGE_BIT=y
286# CONFIG_KSM is not set
287CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
288CONFIG_LEDS=y
289# CONFIG_LEDS_CPU is not set
290CONFIG_ALIGNMENT_TRAP=y
291# CONFIG_UACCESS_WITH_MEMCPY is not set
292
293#
294# Boot options
295#
296CONFIG_ZBOOT_ROM_TEXT=0x0
297CONFIG_ZBOOT_ROM_BSS=0x0
298CONFIG_CMDLINE=""
299# CONFIG_XIP_KERNEL is not set
300# CONFIG_KEXEC is not set
301
302#
303# CPU Power Management
304#
305# CONFIG_CPU_IDLE is not set
306
307#
308# Floating point emulation
309#
310
311#
312# At least one emulation must be selected
313#
314# CONFIG_VFP is not set
315
316#
317# Userspace binary formats
318#
319CONFIG_BINFMT_ELF=y
320# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
321CONFIG_HAVE_AOUT=y
322# CONFIG_BINFMT_AOUT is not set
323# CONFIG_BINFMT_MISC is not set
324
325#
326# Power management options
327#
328# CONFIG_PM is not set
329CONFIG_ARCH_SUSPEND_POSSIBLE=y
330CONFIG_NET=y
331
332#
333# Networking options
334#
335CONFIG_PACKET=y
336# CONFIG_PACKET_MMAP is not set
337CONFIG_UNIX=y
338CONFIG_XFRM=y
339# CONFIG_XFRM_USER is not set
340# CONFIG_XFRM_SUB_POLICY is not set
341# CONFIG_XFRM_MIGRATE is not set
342# CONFIG_XFRM_STATISTICS is not set
343# CONFIG_NET_KEY is not set
344CONFIG_INET=y
345# CONFIG_IP_MULTICAST is not set
346# CONFIG_IP_ADVANCED_ROUTER is not set
347CONFIG_IP_FIB_HASH=y
348CONFIG_IP_PNP=y
349CONFIG_IP_PNP_DHCP=y
350# CONFIG_IP_PNP_BOOTP is not set
351# CONFIG_IP_PNP_RARP is not set
352# CONFIG_NET_IPIP is not set
353# CONFIG_NET_IPGRE is not set
354# CONFIG_ARPD is not set
355# CONFIG_SYN_COOKIES is not set
356# CONFIG_INET_AH is not set
357# CONFIG_INET_ESP is not set
358# CONFIG_INET_IPCOMP is not set
359# CONFIG_INET_XFRM_TUNNEL is not set
360CONFIG_INET_TUNNEL=m
361CONFIG_INET_XFRM_MODE_TRANSPORT=y
362CONFIG_INET_XFRM_MODE_TUNNEL=y
363CONFIG_INET_XFRM_MODE_BEET=y
364# CONFIG_INET_LRO is not set
365CONFIG_INET_DIAG=y
366CONFIG_INET_TCP_DIAG=y
367# CONFIG_TCP_CONG_ADVANCED is not set
368CONFIG_TCP_CONG_CUBIC=y
369CONFIG_DEFAULT_TCP_CONG="cubic"
370# CONFIG_TCP_MD5SIG is not set
371CONFIG_IPV6=m
372# CONFIG_IPV6_PRIVACY is not set
373# CONFIG_IPV6_ROUTER_PREF is not set
374# CONFIG_IPV6_OPTIMISTIC_DAD is not set
375# CONFIG_INET6_AH is not set
376# CONFIG_INET6_ESP is not set
377# CONFIG_INET6_IPCOMP is not set
378# CONFIG_IPV6_MIP6 is not set
379# CONFIG_INET6_XFRM_TUNNEL is not set
380# CONFIG_INET6_TUNNEL is not set
381CONFIG_INET6_XFRM_MODE_TRANSPORT=m
382CONFIG_INET6_XFRM_MODE_TUNNEL=m
383CONFIG_INET6_XFRM_MODE_BEET=m
384# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
385CONFIG_IPV6_SIT=m
386CONFIG_IPV6_NDISC_NODETYPE=y
387# CONFIG_IPV6_TUNNEL is not set
388# CONFIG_IPV6_MULTIPLE_TABLES is not set
389# CONFIG_IPV6_MROUTE is not set
390# CONFIG_NETWORK_SECMARK is not set
391CONFIG_NETFILTER=y
392# CONFIG_NETFILTER_DEBUG is not set
393CONFIG_NETFILTER_ADVANCED=y
394
395#
396# Core Netfilter Configuration
397#
398# CONFIG_NETFILTER_NETLINK_QUEUE is not set
399# CONFIG_NETFILTER_NETLINK_LOG is not set
400# CONFIG_NF_CONNTRACK is not set
401# CONFIG_NETFILTER_XTABLES is not set
402# CONFIG_IP_VS is not set
403
404#
405# IP: Netfilter Configuration
406#
407# CONFIG_NF_DEFRAG_IPV4 is not set
408# CONFIG_IP_NF_QUEUE is not set
409# CONFIG_IP_NF_IPTABLES is not set
410# CONFIG_IP_NF_ARPTABLES is not set
411
412#
413# IPv6: Netfilter Configuration
414#
415# CONFIG_IP6_NF_QUEUE is not set
416# CONFIG_IP6_NF_IPTABLES is not set
417# CONFIG_IP_DCCP is not set
418# CONFIG_IP_SCTP is not set
419# CONFIG_RDS is not set
420# CONFIG_TIPC is not set
421# CONFIG_ATM is not set
422# CONFIG_BRIDGE is not set
423# CONFIG_NET_DSA is not set
424# CONFIG_VLAN_8021Q is not set
425# CONFIG_DECNET is not set
426# CONFIG_LLC2 is not set
427# CONFIG_IPX is not set
428# CONFIG_ATALK is not set
429# CONFIG_X25 is not set
430# CONFIG_LAPB is not set
431# CONFIG_ECONET is not set
432# CONFIG_WAN_ROUTER is not set
433# CONFIG_PHONET is not set
434# CONFIG_IEEE802154 is not set
435# CONFIG_NET_SCHED is not set
436# CONFIG_DCB is not set
437
438#
439# Network testing
440#
441# CONFIG_NET_PKTGEN is not set
442# CONFIG_HAMRADIO is not set
443# CONFIG_CAN is not set
444# CONFIG_IRDA is not set
445# CONFIG_BT is not set
446# CONFIG_AF_RXRPC is not set
447# CONFIG_WIRELESS is not set
448# CONFIG_WIMAX is not set
449# CONFIG_RFKILL is not set
450# CONFIG_NET_9P is not set
451
452#
453# Device Drivers
454#
455
456#
457# Generic Driver Options
458#
459CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
460# CONFIG_DEVTMPFS is not set
461CONFIG_STANDALONE=y
462CONFIG_PREVENT_FIRMWARE_BUILD=y
463# CONFIG_FW_LOADER is not set
464# CONFIG_DEBUG_DRIVER is not set
465# CONFIG_DEBUG_DEVRES is not set
466# CONFIG_SYS_HYPERVISOR is not set
467# CONFIG_CONNECTOR is not set
468# CONFIG_MTD is not set
469# CONFIG_PARPORT is not set
470CONFIG_BLK_DEV=y
471# CONFIG_BLK_DEV_COW_COMMON is not set
472CONFIG_BLK_DEV_LOOP=m
473# CONFIG_BLK_DEV_CRYPTOLOOP is not set
474# CONFIG_BLK_DEV_NBD is not set
475# CONFIG_BLK_DEV_UB is not set
476CONFIG_BLK_DEV_RAM=y
477CONFIG_BLK_DEV_RAM_COUNT=1
478CONFIG_BLK_DEV_RAM_SIZE=32768
479# CONFIG_BLK_DEV_XIP is not set
480# CONFIG_CDROM_PKTCDVD is not set
481# CONFIG_ATA_OVER_ETH is not set
482# CONFIG_MG_DISK is not set
483CONFIG_MISC_DEVICES=y
484# CONFIG_ICS932S401 is not set
485# CONFIG_ENCLOSURE_SERVICES is not set
486# CONFIG_ISL29003 is not set
487# CONFIG_C2PORT is not set
488
489#
490# EEPROM support
491#
492CONFIG_EEPROM_AT24=y
493# CONFIG_EEPROM_LEGACY is not set
494# CONFIG_EEPROM_MAX6875 is not set
495# CONFIG_EEPROM_93CX6 is not set
496CONFIG_HAVE_IDE=y
497CONFIG_IDE=y
498
499#
500# Please see Documentation/ide/ide.txt for help/info on IDE drives
501#
502CONFIG_IDE_XFER_MODE=y
503CONFIG_IDE_TIMINGS=y
504# CONFIG_BLK_DEV_IDE_SATA is not set
505CONFIG_IDE_GD=y
506CONFIG_IDE_GD_ATA=y
507# CONFIG_IDE_GD_ATAPI is not set
508# CONFIG_BLK_DEV_IDECD is not set
509# CONFIG_BLK_DEV_IDETAPE is not set
510# CONFIG_IDE_TASK_IOCTL is not set
511CONFIG_IDE_PROC_FS=y
512
513#
514# IDE chipset support/bugfixes
515#
516# CONFIG_BLK_DEV_PLATFORM is not set
517CONFIG_BLK_DEV_IDEDMA_SFF=y
518CONFIG_BLK_DEV_PALMCHIP_BK3710=y
519CONFIG_BLK_DEV_IDEDMA=y
520
521#
522# SCSI device support
523#
524# CONFIG_RAID_ATTRS is not set
525CONFIG_SCSI=y
526CONFIG_SCSI_DMA=y
527# CONFIG_SCSI_TGT is not set
528# CONFIG_SCSI_NETLINK is not set
529CONFIG_SCSI_PROC_FS=y
530
531#
532# SCSI support type (disk, tape, CD-ROM)
533#
534CONFIG_BLK_DEV_SD=y
535# CONFIG_CHR_DEV_ST is not set
536# CONFIG_CHR_DEV_OSST is not set
537# CONFIG_BLK_DEV_SR is not set
538# CONFIG_CHR_DEV_SG is not set
539# CONFIG_CHR_DEV_SCH is not set
540# CONFIG_SCSI_MULTI_LUN is not set
541# CONFIG_SCSI_CONSTANTS is not set
542# CONFIG_SCSI_LOGGING is not set
543# CONFIG_SCSI_SCAN_ASYNC is not set
544CONFIG_SCSI_WAIT_SCAN=m
545
546#
547# SCSI Transports
548#
549# CONFIG_SCSI_SPI_ATTRS is not set
550# CONFIG_SCSI_FC_ATTRS is not set
551# CONFIG_SCSI_ISCSI_ATTRS is not set
552# CONFIG_SCSI_SAS_LIBSAS is not set
553# CONFIG_SCSI_SRP_ATTRS is not set
554CONFIG_SCSI_LOWLEVEL=y
555# CONFIG_ISCSI_TCP is not set
556# CONFIG_LIBFC is not set
557# CONFIG_LIBFCOE is not set
558# CONFIG_SCSI_DEBUG is not set
559# CONFIG_SCSI_DH is not set
560# CONFIG_SCSI_OSD_INITIATOR is not set
561# CONFIG_ATA is not set
562# CONFIG_MD is not set
563CONFIG_NETDEVICES=y
564# CONFIG_DUMMY is not set
565# CONFIG_BONDING is not set
566# CONFIG_MACVLAN is not set
567# CONFIG_EQUALIZER is not set
568CONFIG_TUN=m
569# CONFIG_VETH is not set
570CONFIG_PHYLIB=y
571
572#
573# MII PHY device drivers
574#
575# CONFIG_MARVELL_PHY is not set
576# CONFIG_DAVICOM_PHY is not set
577# CONFIG_QSEMI_PHY is not set
578CONFIG_LXT_PHY=y
579# CONFIG_CICADA_PHY is not set
580# CONFIG_VITESSE_PHY is not set
581# CONFIG_SMSC_PHY is not set
582# CONFIG_BROADCOM_PHY is not set
583# CONFIG_ICPLUS_PHY is not set
584# CONFIG_REALTEK_PHY is not set
585# CONFIG_NATIONAL_PHY is not set
586# CONFIG_STE10XP is not set
587CONFIG_LSI_ET1011C_PHY=y
588# CONFIG_FIXED_PHY is not set
589# CONFIG_MDIO_BITBANG is not set
590CONFIG_NET_ETHERNET=y
591# CONFIG_MII is not set
592# CONFIG_AX88796 is not set
593# CONFIG_SMC91X is not set
594CONFIG_TI_DAVINCI_EMAC=y
595# CONFIG_DM9000 is not set
596# CONFIG_ETHOC is not set
597# CONFIG_SMC911X is not set
598# CONFIG_SMSC911X is not set
599# CONFIG_DNET is not set
600# CONFIG_IBM_NEW_EMAC_ZMII is not set
601# CONFIG_IBM_NEW_EMAC_RGMII is not set
602# CONFIG_IBM_NEW_EMAC_TAH is not set
603# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
604# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
605# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
606# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
607# CONFIG_B44 is not set
608# CONFIG_KS8842 is not set
609# CONFIG_NETDEV_1000 is not set
610# CONFIG_NETDEV_10000 is not set
611CONFIG_WLAN=y
612# CONFIG_WLAN_PRE80211 is not set
613# CONFIG_WLAN_80211 is not set
614
615#
616# Enable WiMAX (Networking options) to see the WiMAX drivers
617#
618
619#
620# USB Network Adapters
621#
622# CONFIG_USB_CATC is not set
623# CONFIG_USB_KAWETH is not set
624# CONFIG_USB_PEGASUS is not set
625# CONFIG_USB_RTL8150 is not set
626# CONFIG_USB_USBNET is not set
627# CONFIG_WAN is not set
628CONFIG_PPP=m
629# CONFIG_PPP_MULTILINK is not set
630# CONFIG_PPP_FILTER is not set
631CONFIG_PPP_ASYNC=m
632CONFIG_PPP_SYNC_TTY=m
633CONFIG_PPP_DEFLATE=m
634# CONFIG_PPP_BSDCOMP is not set
635# CONFIG_PPP_MPPE is not set
636# CONFIG_PPPOE is not set
637# CONFIG_PPPOL2TP is not set
638# CONFIG_SLIP is not set
639CONFIG_SLHC=m
640CONFIG_NETCONSOLE=y
641# CONFIG_NETCONSOLE_DYNAMIC is not set
642CONFIG_NETPOLL=y
643CONFIG_NETPOLL_TRAP=y
644CONFIG_NET_POLL_CONTROLLER=y
645# CONFIG_ISDN is not set
646# CONFIG_PHONE is not set
647
648#
649# Input device support
650#
651CONFIG_INPUT=y
652# CONFIG_INPUT_FF_MEMLESS is not set
653# CONFIG_INPUT_POLLDEV is not set
654
655#
656# Userland interfaces
657#
658# CONFIG_INPUT_MOUSEDEV is not set
659# CONFIG_INPUT_JOYDEV is not set
660CONFIG_INPUT_EVDEV=m
661CONFIG_INPUT_EVBUG=m
662
663#
664# Input Device Drivers
665#
666# CONFIG_INPUT_KEYBOARD is not set
667# CONFIG_INPUT_MOUSE is not set
668# CONFIG_INPUT_JOYSTICK is not set
669# CONFIG_INPUT_TABLET is not set
670# CONFIG_INPUT_TOUCHSCREEN is not set
671# CONFIG_INPUT_MISC is not set
672
673#
674# Hardware I/O ports
675#
676CONFIG_SERIO=y
677CONFIG_SERIO_SERPORT=y
678CONFIG_SERIO_LIBPS2=y
679# CONFIG_SERIO_RAW is not set
680# CONFIG_GAMEPORT is not set
681
682#
683# Character devices
684#
685CONFIG_VT=y
686CONFIG_CONSOLE_TRANSLATIONS=y
687# CONFIG_VT_CONSOLE is not set
688CONFIG_HW_CONSOLE=y
689# CONFIG_VT_HW_CONSOLE_BINDING is not set
690CONFIG_DEVKMEM=y
691# CONFIG_SERIAL_NONSTANDARD is not set
692
693#
694# Serial drivers
695#
696CONFIG_SERIAL_8250=y
697CONFIG_SERIAL_8250_CONSOLE=y
698CONFIG_SERIAL_8250_NR_UARTS=3
699CONFIG_SERIAL_8250_RUNTIME_UARTS=3
700# CONFIG_SERIAL_8250_EXTENDED is not set
701
702#
703# Non-8250 serial port support
704#
705CONFIG_SERIAL_CORE=y
706CONFIG_SERIAL_CORE_CONSOLE=y
707CONFIG_UNIX98_PTYS=y
708# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
709CONFIG_LEGACY_PTYS=y
710CONFIG_LEGACY_PTY_COUNT=256
711# CONFIG_IPMI_HANDLER is not set
712# CONFIG_HW_RANDOM is not set
713# CONFIG_R3964 is not set
714# CONFIG_RAW_DRIVER is not set
715# CONFIG_TCG_TPM is not set
716CONFIG_I2C=y
717CONFIG_I2C_BOARDINFO=y
718CONFIG_I2C_COMPAT=y
719CONFIG_I2C_CHARDEV=y
720CONFIG_I2C_HELPER_AUTO=y
721
722#
723# I2C Hardware Bus support
724#
725
726#
727# I2C system bus drivers (mostly embedded / system-on-chip)
728#
729CONFIG_I2C_DAVINCI=y
730# CONFIG_I2C_DESIGNWARE is not set
731# CONFIG_I2C_GPIO is not set
732# CONFIG_I2C_OCORES is not set
733# CONFIG_I2C_SIMTEC is not set
734
735#
736# External I2C/SMBus adapter drivers
737#
738# CONFIG_I2C_PARPORT_LIGHT is not set
739# CONFIG_I2C_TAOS_EVM is not set
740# CONFIG_I2C_TINY_USB is not set
741
742#
743# Other I2C/SMBus bus drivers
744#
745# CONFIG_I2C_PCA_PLATFORM is not set
746# CONFIG_I2C_STUB is not set
747
748#
749# Miscellaneous I2C Chip support
750#
751# CONFIG_DS1682 is not set
752# CONFIG_SENSORS_TSL2550 is not set
753# CONFIG_I2C_DEBUG_CORE is not set
754# CONFIG_I2C_DEBUG_ALGO is not set
755# CONFIG_I2C_DEBUG_BUS is not set
756# CONFIG_I2C_DEBUG_CHIP is not set
757# CONFIG_SPI is not set
758
759#
760# PPS support
761#
762# CONFIG_PPS is not set
763CONFIG_ARCH_REQUIRE_GPIOLIB=y
764CONFIG_GPIOLIB=y
765# CONFIG_DEBUG_GPIO is not set
766# CONFIG_GPIO_SYSFS is not set
767
768#
769# Memory mapped GPIO expanders:
770#
771
772#
773# I2C GPIO expanders:
774#
775# CONFIG_GPIO_MAX732X is not set
776# CONFIG_GPIO_PCA953X is not set
777CONFIG_GPIO_PCF857X=y
778
779#
780# PCI GPIO expanders:
781#
782
783#
784# SPI GPIO expanders:
785#
786
787#
788# AC97 GPIO expanders:
789#
790# CONFIG_W1 is not set
791# CONFIG_POWER_SUPPLY is not set
792CONFIG_HWMON=y
793# CONFIG_HWMON_VID is not set
794# CONFIG_HWMON_DEBUG_CHIP is not set
795
796#
797# Native drivers
798#
799# CONFIG_SENSORS_AD7414 is not set
800# CONFIG_SENSORS_AD7418 is not set
801# CONFIG_SENSORS_ADM1021 is not set
802# CONFIG_SENSORS_ADM1025 is not set
803# CONFIG_SENSORS_ADM1026 is not set
804# CONFIG_SENSORS_ADM1029 is not set
805# CONFIG_SENSORS_ADM1031 is not set
806# CONFIG_SENSORS_ADM9240 is not set
807# CONFIG_SENSORS_ADT7462 is not set
808# CONFIG_SENSORS_ADT7470 is not set
809# CONFIG_SENSORS_ADT7473 is not set
810# CONFIG_SENSORS_ADT7475 is not set
811# CONFIG_SENSORS_ATXP1 is not set
812# CONFIG_SENSORS_DS1621 is not set
813# CONFIG_SENSORS_F71805F is not set
814# CONFIG_SENSORS_F71882FG is not set
815# CONFIG_SENSORS_F75375S is not set
816# CONFIG_SENSORS_G760A is not set
817# CONFIG_SENSORS_GL518SM is not set
818# CONFIG_SENSORS_GL520SM is not set
819# CONFIG_SENSORS_IT87 is not set
820# CONFIG_SENSORS_LM63 is not set
821# CONFIG_SENSORS_LM75 is not set
822# CONFIG_SENSORS_LM77 is not set
823# CONFIG_SENSORS_LM78 is not set
824# CONFIG_SENSORS_LM80 is not set
825# CONFIG_SENSORS_LM83 is not set
826# CONFIG_SENSORS_LM85 is not set
827# CONFIG_SENSORS_LM87 is not set
828# CONFIG_SENSORS_LM90 is not set
829# CONFIG_SENSORS_LM92 is not set
830# CONFIG_SENSORS_LM93 is not set
831# CONFIG_SENSORS_LTC4215 is not set
832# CONFIG_SENSORS_LTC4245 is not set
833# CONFIG_SENSORS_LM95241 is not set
834# CONFIG_SENSORS_MAX1619 is not set
835# CONFIG_SENSORS_MAX6650 is not set
836# CONFIG_SENSORS_PC87360 is not set
837# CONFIG_SENSORS_PC87427 is not set
838# CONFIG_SENSORS_PCF8591 is not set
839# CONFIG_SENSORS_SHT15 is not set
840# CONFIG_SENSORS_DME1737 is not set
841# CONFIG_SENSORS_SMSC47M1 is not set
842# CONFIG_SENSORS_SMSC47M192 is not set
843# CONFIG_SENSORS_SMSC47B397 is not set
844# CONFIG_SENSORS_ADS7828 is not set
845# CONFIG_SENSORS_THMC50 is not set
846# CONFIG_SENSORS_TMP401 is not set
847# CONFIG_SENSORS_TMP421 is not set
848# CONFIG_SENSORS_VT1211 is not set
849# CONFIG_SENSORS_W83781D is not set
850# CONFIG_SENSORS_W83791D is not set
851# CONFIG_SENSORS_W83792D is not set
852# CONFIG_SENSORS_W83793 is not set
853# CONFIG_SENSORS_W83L785TS is not set
854# CONFIG_SENSORS_W83L786NG is not set
855# CONFIG_SENSORS_W83627HF is not set
856# CONFIG_SENSORS_W83627EHF is not set
857# CONFIG_THERMAL is not set
858CONFIG_WATCHDOG=y
859# CONFIG_WATCHDOG_NOWAYOUT is not set
860
861#
862# Watchdog Device Drivers
863#
864# CONFIG_SOFT_WATCHDOG is not set
865CONFIG_DAVINCI_WATCHDOG=y
866
867#
868# USB-based Watchdog Cards
869#
870# CONFIG_USBPCWATCHDOG is not set
871CONFIG_SSB_POSSIBLE=y
872
873#
874# Sonics Silicon Backplane
875#
876# CONFIG_SSB is not set
877
878#
879# Multifunction device drivers
880#
881# CONFIG_MFD_CORE is not set
882# CONFIG_MFD_SM501 is not set
883# CONFIG_MFD_ASIC3 is not set
884# CONFIG_HTC_EGPIO is not set
885# CONFIG_HTC_PASIC3 is not set
886# CONFIG_TPS65010 is not set
887# CONFIG_TWL4030_CORE is not set
888# CONFIG_MFD_TMIO is not set
889# CONFIG_MFD_T7L66XB is not set
890# CONFIG_MFD_TC6387XB is not set
891# CONFIG_MFD_TC6393XB is not set
892# CONFIG_PMIC_DA903X is not set
893# CONFIG_MFD_WM8400 is not set
894# CONFIG_MFD_WM831X is not set
895# CONFIG_MFD_WM8350_I2C is not set
896# CONFIG_MFD_PCF50633 is not set
897# CONFIG_AB3100_CORE is not set
898# CONFIG_REGULATOR is not set
899CONFIG_MEDIA_SUPPORT=y
900
901#
902# Multimedia core support
903#
904CONFIG_VIDEO_DEV=y
905CONFIG_VIDEO_V4L2_COMMON=y
906# CONFIG_VIDEO_ALLOW_V4L1 is not set
907# CONFIG_VIDEO_V4L1_COMPAT is not set
908# CONFIG_DVB_CORE is not set
909CONFIG_VIDEO_MEDIA=y
910
911#
912# Multimedia drivers
913#
914# CONFIG_MEDIA_ATTACH is not set
915CONFIG_MEDIA_TUNER=y
916# CONFIG_MEDIA_TUNER_CUSTOMISE is not set
917CONFIG_MEDIA_TUNER_SIMPLE=y
918CONFIG_MEDIA_TUNER_TDA8290=y
919CONFIG_MEDIA_TUNER_TDA9887=y
920CONFIG_MEDIA_TUNER_TEA5761=y
921CONFIG_MEDIA_TUNER_TEA5767=y
922CONFIG_MEDIA_TUNER_MT20XX=y
923CONFIG_MEDIA_TUNER_XC2028=y
924CONFIG_MEDIA_TUNER_XC5000=y
925CONFIG_MEDIA_TUNER_MC44S803=y
926CONFIG_VIDEO_V4L2=y
927CONFIG_VIDEOBUF_GEN=y
928CONFIG_VIDEOBUF_VMALLOC=y
929CONFIG_VIDEOBUF_DMA_CONTIG=y
930CONFIG_VIDEO_CAPTURE_DRIVERS=y
931# CONFIG_VIDEO_ADV_DEBUG is not set
932# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
933# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
934
935#
936# Encoders/decoders and other helper chips
937#
938
939#
940# Audio decoders
941#
942# CONFIG_VIDEO_TVAUDIO is not set
943# CONFIG_VIDEO_TDA7432 is not set
944# CONFIG_VIDEO_TDA9840 is not set
945# CONFIG_VIDEO_TDA9875 is not set
946# CONFIG_VIDEO_TEA6415C is not set
947# CONFIG_VIDEO_TEA6420 is not set
948# CONFIG_VIDEO_MSP3400 is not set
949# CONFIG_VIDEO_CS5345 is not set
950# CONFIG_VIDEO_CS53L32A is not set
951# CONFIG_VIDEO_M52790 is not set
952# CONFIG_VIDEO_TLV320AIC23B is not set
953# CONFIG_VIDEO_WM8775 is not set
954# CONFIG_VIDEO_WM8739 is not set
955# CONFIG_VIDEO_VP27SMPX is not set
956
957#
958# RDS decoders
959#
960# CONFIG_VIDEO_SAA6588 is not set
961
962#
963# Video decoders
964#
965# CONFIG_VIDEO_ADV7180 is not set
966# CONFIG_VIDEO_BT819 is not set
967# CONFIG_VIDEO_BT856 is not set
968# CONFIG_VIDEO_BT866 is not set
969# CONFIG_VIDEO_KS0127 is not set
970# CONFIG_VIDEO_OV7670 is not set
971# CONFIG_VIDEO_MT9V011 is not set
972# CONFIG_VIDEO_TCM825X is not set
973# CONFIG_VIDEO_SAA7110 is not set
974# CONFIG_VIDEO_SAA711X is not set
975# CONFIG_VIDEO_SAA717X is not set
976CONFIG_VIDEO_TVP514X=y
977# CONFIG_VIDEO_TVP5150 is not set
978# CONFIG_VIDEO_TVP7002 is not set
979# CONFIG_VIDEO_VPX3220 is not set
980
981#
982# Video and audio decoders
983#
984# CONFIG_VIDEO_CX25840 is not set
985
986#
987# MPEG video encoders
988#
989# CONFIG_VIDEO_CX2341X is not set
990
991#
992# Video encoders
993#
994# CONFIG_VIDEO_SAA7127 is not set
995# CONFIG_VIDEO_SAA7185 is not set
996# CONFIG_VIDEO_ADV7170 is not set
997# CONFIG_VIDEO_ADV7175 is not set
998# CONFIG_VIDEO_THS7303 is not set
999# CONFIG_VIDEO_THS7353 is not set
1000# CONFIG_VIDEO_ADV7343 is not set
1001# CONFIG_VIDEO_THS8200 is not set
1002
1003#
1004# Video improvement chips
1005#
1006# CONFIG_VIDEO_UPD64031A is not set
1007# CONFIG_VIDEO_UPD64083 is not set
1008CONFIG_VIDEO_DAVINCI_DISPLAY=y
1009CONFIG_DAVINCI_ENC_MNGR=y
1010CONFIG_ENC_MNGR_MAX_CHANNELS=1
1011CONFIG_DAVINCI_OSD=y
1012CONFIG_DAVINCI_VPBE_ENCODER=y
1013CONFIG_DAVINCI_LOGICPD_ENCODER=y
1014# CONFIG_DAVINCI_AVNET_ENCODER is not set
1015# CONFIG_VIDEO_VIVI is not set
1016CONFIG_VIDEO_VPSS_SYSTEM=y
1017CONFIG_VIDEO_VPFE_CAPTURE=y
1018CONFIG_VIDEO_DM6446_CCDC=y
1019# CONFIG_VIDEO_SAA5246A is not set
1020# CONFIG_VIDEO_SAA5249 is not set
1021# CONFIG_SOC_CAMERA is not set
1022# CONFIG_SOC_CAMERA_MT9T031 is not set
1023# CONFIG_V4L_USB_DRIVERS is not set
1024# CONFIG_RADIO_ADAPTERS is not set
1025# CONFIG_DAB is not set
1026
1027#
1028# Graphics support
1029#
1030# CONFIG_VGASTATE is not set
1031CONFIG_VIDEO_OUTPUT_CONTROL=y
1032CONFIG_FB=y
1033# CONFIG_FIRMWARE_EDID is not set
1034# CONFIG_FB_DDC is not set
1035# CONFIG_FB_BOOT_VESA_SUPPORT is not set
1036CONFIG_FB_CFB_FILLRECT=y
1037CONFIG_FB_CFB_COPYAREA=y
1038CONFIG_FB_CFB_IMAGEBLIT=y
1039# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
1040# CONFIG_FB_SYS_FILLRECT is not set
1041# CONFIG_FB_SYS_COPYAREA is not set
1042# CONFIG_FB_SYS_IMAGEBLIT is not set
1043# CONFIG_FB_FOREIGN_ENDIAN is not set
1044# CONFIG_FB_SYS_FOPS is not set
1045# CONFIG_FB_SVGALIB is not set
1046# CONFIG_FB_MACMODES is not set
1047# CONFIG_FB_BACKLIGHT is not set
1048# CONFIG_FB_MODE_HELPERS is not set
1049# CONFIG_FB_TILEBLITTING is not set
1050
1051#
1052# Frame buffer hardware drivers
1053#
1054# CONFIG_FB_S1D13XXX is not set
1055CONFIG_FB_DAVINCI=y
1056# CONFIG_FB_VIRTUAL is not set
1057# CONFIG_FB_METRONOME is not set
1058# CONFIG_FB_MB862XX is not set
1059# CONFIG_FB_BROADSHEET is not set
1060# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
1061
1062#
1063# Display device support
1064#
1065# CONFIG_DISPLAY_SUPPORT is not set
1066
1067#
1068# Console display driver support
1069#
1070# CONFIG_VGA_CONSOLE is not set
1071CONFIG_DUMMY_CONSOLE=y
1072# CONFIG_FRAMEBUFFER_CONSOLE is not set
1073CONFIG_LOGO=y
1074CONFIG_LOGO_LINUX_MONO=y
1075CONFIG_LOGO_LINUX_VGA16=y
1076CONFIG_LOGO_LINUX_CLUT224=y
1077CONFIG_SOUND=y
1078# CONFIG_SOUND_OSS_CORE is not set
1079CONFIG_SND=y
1080CONFIG_SND_TIMER=y
1081CONFIG_SND_PCM=y
1082CONFIG_SND_JACK=y
1083# CONFIG_SND_SEQUENCER is not set
1084# CONFIG_SND_MIXER_OSS is not set
1085# CONFIG_SND_PCM_OSS is not set
1086# CONFIG_SND_HRTIMER is not set
1087# CONFIG_SND_DYNAMIC_MINORS is not set
1088CONFIG_SND_SUPPORT_OLD_API=y
1089CONFIG_SND_VERBOSE_PROCFS=y
1090# CONFIG_SND_VERBOSE_PRINTK is not set
1091# CONFIG_SND_DEBUG is not set
1092# CONFIG_SND_RAWMIDI_SEQ is not set
1093# CONFIG_SND_OPL3_LIB_SEQ is not set
1094# CONFIG_SND_OPL4_LIB_SEQ is not set
1095# CONFIG_SND_SBAWE_SEQ is not set
1096# CONFIG_SND_EMU10K1_SEQ is not set
1097CONFIG_SND_DRIVERS=y
1098# CONFIG_SND_DUMMY is not set
1099# CONFIG_SND_MTPAV is not set
1100# CONFIG_SND_SERIAL_U16550 is not set
1101# CONFIG_SND_MPU401 is not set
1102CONFIG_SND_ARM=y
1103CONFIG_SND_USB=y
1104# CONFIG_SND_USB_AUDIO is not set
1105# CONFIG_SND_USB_CAIAQ is not set
1106CONFIG_SND_SOC=y
1107CONFIG_SND_DAVINCI_SOC=y
1108CONFIG_SND_DAVINCI_SOC_I2S=y
1109CONFIG_SND_DAVINCI_SOC_EVM=y
1110CONFIG_SND_SOC_I2C_AND_SPI=y
1111# CONFIG_SND_SOC_ALL_CODECS is not set
1112CONFIG_SND_SOC_TLV320AIC3X=y
1113# CONFIG_SOUND_PRIME is not set
1114CONFIG_HID_SUPPORT=y
1115CONFIG_HID=y
1116# CONFIG_HIDRAW is not set
1117
1118#
1119# USB Input Devices
1120#
1121CONFIG_USB_HID=y
1122# CONFIG_HID_PID is not set
1123# CONFIG_USB_HIDDEV is not set
1124
1125#
1126# Special HID drivers
1127#
1128CONFIG_HID_A4TECH=m
1129CONFIG_HID_APPLE=m
1130CONFIG_HID_BELKIN=m
1131CONFIG_HID_CHERRY=m
1132CONFIG_HID_CHICONY=m
1133CONFIG_HID_CYPRESS=m
1134# CONFIG_HID_DRAGONRISE is not set
1135CONFIG_HID_EZKEY=m
1136# CONFIG_HID_KYE is not set
1137CONFIG_HID_GYRATION=m
1138# CONFIG_HID_TWINHAN is not set
1139# CONFIG_HID_KENSINGTON is not set
1140CONFIG_HID_LOGITECH=y
1141# CONFIG_LOGITECH_FF is not set
1142# CONFIG_LOGIRUMBLEPAD2_FF is not set
1143CONFIG_HID_MICROSOFT=y
1144CONFIG_HID_MONTEREY=m
1145# CONFIG_HID_NTRIG is not set
1146CONFIG_HID_PANTHERLORD=m
1147# CONFIG_PANTHERLORD_FF is not set
1148CONFIG_HID_PETALYNX=m
1149CONFIG_HID_SAMSUNG=m
1150CONFIG_HID_SONY=m
1151CONFIG_HID_SUNPLUS=m
1152# CONFIG_HID_GREENASIA is not set
1153# CONFIG_HID_SMARTJOYPLUS is not set
1154# CONFIG_HID_TOPSEED is not set
1155# CONFIG_HID_THRUSTMASTER is not set
1156# CONFIG_HID_ZEROPLUS is not set
1157CONFIG_USB_SUPPORT=y
1158CONFIG_USB_ARCH_HAS_HCD=y
1159# CONFIG_USB_ARCH_HAS_OHCI is not set
1160# CONFIG_USB_ARCH_HAS_EHCI is not set
1161CONFIG_USB=y
1162# CONFIG_USB_DEBUG is not set
1163# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
1164
1165#
1166# Miscellaneous USB options
1167#
1168CONFIG_USB_DEVICEFS=y
1169CONFIG_USB_DEVICE_CLASS=y
1170# CONFIG_USB_DYNAMIC_MINORS is not set
1171# CONFIG_USB_OTG is not set
1172# CONFIG_USB_OTG_WHITELIST is not set
1173# CONFIG_USB_OTG_BLACKLIST_HUB is not set
1174# CONFIG_USB_MON is not set
1175# CONFIG_USB_WUSB is not set
1176# CONFIG_USB_WUSB_CBAF is not set
1177
1178#
1179# USB Host Controller Drivers
1180#
1181# CONFIG_USB_C67X00_HCD is not set
1182# CONFIG_USB_OXU210HP_HCD is not set
1183# CONFIG_USB_ISP116X_HCD is not set
1184# CONFIG_USB_ISP1760_HCD is not set
1185# CONFIG_USB_ISP1362_HCD is not set
1186# CONFIG_USB_SL811_HCD is not set
1187# CONFIG_USB_R8A66597_HCD is not set
1188# CONFIG_USB_HWA_HCD is not set
1189CONFIG_USB_MUSB_HDRC=y
1190CONFIG_USB_MUSB_SOC=y
1191
1192#
1193# DaVinci 35x, 36x, 644x USB support
1194#
1195CONFIG_USB_MUSB_HOST=y
1196# CONFIG_USB_MUSB_PERIPHERAL is not set
1197# CONFIG_USB_MUSB_OTG is not set
1198# CONFIG_MUSB_SCHEDULE_INTR_EP is not set
1199CONFIG_USB_MUSB_HDRC_HCD=y
1200# CONFIG_MUSB_PIO_ONLY is not set
1201# CONFIG_USB_INVENTRA_DMA is not set
1202CONFIG_USB_TI_CPPI_DMA=y
1203# CONFIG_USB_MUSB_DEBUG is not set
1204
1205#
1206# USB Device Class drivers
1207#
1208# CONFIG_USB_ACM is not set
1209# CONFIG_USB_PRINTER is not set
1210# CONFIG_USB_WDM is not set
1211# CONFIG_USB_TMC is not set
1212
1213#
1214# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
1215#
1216
1217#
1218# also be needed; see USB_STORAGE Help for more info
1219#
1220CONFIG_USB_STORAGE=y
1221# CONFIG_USB_STORAGE_DEBUG is not set
1222# CONFIG_USB_STORAGE_DATAFAB is not set
1223# CONFIG_USB_STORAGE_FREECOM is not set
1224# CONFIG_USB_STORAGE_ISD200 is not set
1225# CONFIG_USB_STORAGE_USBAT is not set
1226# CONFIG_USB_STORAGE_SDDR09 is not set
1227# CONFIG_USB_STORAGE_SDDR55 is not set
1228# CONFIG_USB_STORAGE_JUMPSHOT is not set
1229# CONFIG_USB_STORAGE_ALAUDA is not set
1230# CONFIG_USB_STORAGE_ONETOUCH is not set
1231# CONFIG_USB_STORAGE_KARMA is not set
1232# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
1233# CONFIG_USB_LIBUSUAL is not set
1234
1235#
1236# USB Imaging devices
1237#
1238# CONFIG_USB_MDC800 is not set
1239# CONFIG_USB_MICROTEK is not set
1240
1241#
1242# USB port drivers
1243#
1244# CONFIG_USB_SERIAL is not set
1245
1246#
1247# USB Miscellaneous drivers
1248#
1249# CONFIG_USB_EMI62 is not set
1250# CONFIG_USB_EMI26 is not set
1251# CONFIG_USB_ADUTUX is not set
1252# CONFIG_USB_SEVSEG is not set
1253# CONFIG_USB_RIO500 is not set
1254# CONFIG_USB_LEGOTOWER is not set
1255# CONFIG_USB_LCD is not set
1256# CONFIG_USB_BERRY_CHARGE is not set
1257# CONFIG_USB_LED is not set
1258# CONFIG_USB_CYPRESS_CY7C63 is not set
1259# CONFIG_USB_CYTHERM is not set
1260# CONFIG_USB_IDMOUSE is not set
1261# CONFIG_USB_FTDI_ELAN is not set
1262# CONFIG_USB_APPLEDISPLAY is not set
1263# CONFIG_USB_SISUSBVGA is not set
1264# CONFIG_USB_LD is not set
1265# CONFIG_USB_TRANCEVIBRATOR is not set
1266# CONFIG_USB_IOWARRIOR is not set
1267CONFIG_USB_TEST=y
1268# CONFIG_USB_ISIGHTFW is not set
1269# CONFIG_USB_VST is not set
1270# CONFIG_USB_GADGET is not set
1271
1272#
1273# OTG and related infrastructure
1274#
1275CONFIG_USB_OTG_UTILS=y
1276# CONFIG_USB_GPIO_VBUS is not set
1277CONFIG_NOP_USB_XCEIV=y
1278CONFIG_MMC=y
1279# CONFIG_MMC_DEBUG is not set
1280# CONFIG_MMC_UNSAFE_RESUME is not set
1281
1282#
1283# MMC/SD/SDIO Card Drivers
1284#
1285CONFIG_MMC_BLOCK=y
1286# CONFIG_MMC_BLOCK_BOUNCE is not set
1287# CONFIG_SDIO_UART is not set
1288# CONFIG_MMC_TEST is not set
1289
1290#
1291# MMC/SD/SDIO Host Controller Drivers
1292#
1293# CONFIG_MMC_SDHCI is not set
1294# CONFIG_MMC_AT91 is not set
1295# CONFIG_MMC_ATMELMCI is not set
1296CONFIG_MMC_DAVINCI=y
1297# CONFIG_MEMSTICK is not set
1298CONFIG_NEW_LEDS=y
1299CONFIG_LEDS_CLASS=m
1300
1301#
1302# LED drivers
1303#
1304# CONFIG_LEDS_PCA9532 is not set
1305CONFIG_LEDS_GPIO=m
1306CONFIG_LEDS_GPIO_PLATFORM=y
1307# CONFIG_LEDS_LP3944 is not set
1308# CONFIG_LEDS_PCA955X is not set
1309# CONFIG_LEDS_BD2802 is not set
1310
1311#
1312# LED Triggers
1313#
1314CONFIG_LEDS_TRIGGERS=y
1315CONFIG_LEDS_TRIGGER_TIMER=m
1316# CONFIG_LEDS_TRIGGER_IDE_DISK is not set
1317CONFIG_LEDS_TRIGGER_HEARTBEAT=m
1318# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
1319# CONFIG_LEDS_TRIGGER_GPIO is not set
1320# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
1321
1322#
1323# iptables trigger is under Netfilter config (LED target)
1324#
1325# CONFIG_ACCESSIBILITY is not set
1326CONFIG_RTC_LIB=y
1327# CONFIG_RTC_CLASS is not set
1328# CONFIG_DMADEVICES is not set
1329# CONFIG_AUXDISPLAY is not set
1330# CONFIG_UIO is not set
1331
1332#
1333# TI VLYNQ
1334#
1335# CONFIG_STAGING is not set
1336
1337#
1338# File systems
1339#
1340CONFIG_EXT2_FS=y
1341# CONFIG_EXT2_FS_XATTR is not set
1342# CONFIG_EXT2_FS_XIP is not set
1343CONFIG_EXT3_FS=y
1344# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
1345CONFIG_EXT3_FS_XATTR=y
1346# CONFIG_EXT3_FS_POSIX_ACL is not set
1347# CONFIG_EXT3_FS_SECURITY is not set
1348# CONFIG_EXT4_FS is not set
1349CONFIG_JBD=y
1350# CONFIG_JBD_DEBUG is not set
1351CONFIG_FS_MBCACHE=y
1352# CONFIG_REISERFS_FS is not set
1353# CONFIG_JFS_FS is not set
1354# CONFIG_FS_POSIX_ACL is not set
1355CONFIG_XFS_FS=m
1356# CONFIG_XFS_QUOTA is not set
1357# CONFIG_XFS_POSIX_ACL is not set
1358# CONFIG_XFS_RT is not set
1359# CONFIG_XFS_DEBUG is not set
1360# CONFIG_GFS2_FS is not set
1361# CONFIG_OCFS2_FS is not set
1362# CONFIG_BTRFS_FS is not set
1363# CONFIG_NILFS2_FS is not set
1364CONFIG_FILE_LOCKING=y
1365CONFIG_FSNOTIFY=y
1366CONFIG_DNOTIFY=y
1367CONFIG_INOTIFY=y
1368CONFIG_INOTIFY_USER=y
1369# CONFIG_QUOTA is not set
1370# CONFIG_AUTOFS_FS is not set
1371CONFIG_AUTOFS4_FS=m
1372# CONFIG_FUSE_FS is not set
1373
1374#
1375# Caches
1376#
1377# CONFIG_FSCACHE is not set
1378
1379#
1380# CD-ROM/DVD Filesystems
1381#
1382# CONFIG_ISO9660_FS is not set
1383# CONFIG_UDF_FS is not set
1384
1385#
1386# DOS/FAT/NT Filesystems
1387#
1388CONFIG_FAT_FS=y
1389CONFIG_MSDOS_FS=y
1390CONFIG_VFAT_FS=y
1391CONFIG_FAT_DEFAULT_CODEPAGE=437
1392CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1393# CONFIG_NTFS_FS is not set
1394
1395#
1396# Pseudo filesystems
1397#
1398CONFIG_PROC_FS=y
1399CONFIG_PROC_SYSCTL=y
1400CONFIG_PROC_PAGE_MONITOR=y
1401CONFIG_SYSFS=y
1402CONFIG_TMPFS=y
1403# CONFIG_TMPFS_POSIX_ACL is not set
1404# CONFIG_HUGETLB_PAGE is not set
1405# CONFIG_CONFIGFS_FS is not set
1406CONFIG_MISC_FILESYSTEMS=y
1407# CONFIG_ADFS_FS is not set
1408# CONFIG_AFFS_FS is not set
1409# CONFIG_HFS_FS is not set
1410# CONFIG_HFSPLUS_FS is not set
1411# CONFIG_BEFS_FS is not set
1412# CONFIG_BFS_FS is not set
1413# CONFIG_EFS_FS is not set
1414CONFIG_CRAMFS=y
1415# CONFIG_SQUASHFS is not set
1416# CONFIG_VXFS_FS is not set
1417CONFIG_MINIX_FS=m
1418# CONFIG_OMFS_FS is not set
1419# CONFIG_HPFS_FS is not set
1420# CONFIG_QNX4FS_FS is not set
1421# CONFIG_ROMFS_FS is not set
1422# CONFIG_SYSV_FS is not set
1423# CONFIG_UFS_FS is not set
1424CONFIG_NETWORK_FILESYSTEMS=y
1425CONFIG_NFS_FS=y
1426CONFIG_NFS_V3=y
1427# CONFIG_NFS_V3_ACL is not set
1428# CONFIG_NFS_V4 is not set
1429CONFIG_ROOT_NFS=y
1430CONFIG_NFSD=m
1431CONFIG_NFSD_V3=y
1432# CONFIG_NFSD_V3_ACL is not set
1433# CONFIG_NFSD_V4 is not set
1434CONFIG_LOCKD=y
1435CONFIG_LOCKD_V4=y
1436CONFIG_EXPORTFS=m
1437CONFIG_NFS_COMMON=y
1438CONFIG_SUNRPC=y
1439# CONFIG_RPCSEC_GSS_KRB5 is not set
1440# CONFIG_RPCSEC_GSS_SPKM3 is not set
1441CONFIG_SMB_FS=m
1442# CONFIG_SMB_NLS_DEFAULT is not set
1443# CONFIG_CIFS is not set
1444# CONFIG_NCP_FS is not set
1445# CONFIG_CODA_FS is not set
1446# CONFIG_AFS_FS is not set
1447
1448#
1449# Partition Types
1450#
1451CONFIG_PARTITION_ADVANCED=y
1452# CONFIG_ACORN_PARTITION is not set
1453# CONFIG_OSF_PARTITION is not set
1454# CONFIG_AMIGA_PARTITION is not set
1455# CONFIG_ATARI_PARTITION is not set
1456# CONFIG_MAC_PARTITION is not set
1457CONFIG_MSDOS_PARTITION=y
1458# CONFIG_BSD_DISKLABEL is not set
1459# CONFIG_MINIX_SUBPARTITION is not set
1460# CONFIG_SOLARIS_X86_PARTITION is not set
1461# CONFIG_UNIXWARE_DISKLABEL is not set
1462# CONFIG_LDM_PARTITION is not set
1463# CONFIG_SGI_PARTITION is not set
1464# CONFIG_ULTRIX_PARTITION is not set
1465# CONFIG_SUN_PARTITION is not set
1466# CONFIG_KARMA_PARTITION is not set
1467# CONFIG_EFI_PARTITION is not set
1468# CONFIG_SYSV68_PARTITION is not set
1469CONFIG_NLS=y
1470CONFIG_NLS_DEFAULT="iso8859-1"
1471CONFIG_NLS_CODEPAGE_437=y
1472# CONFIG_NLS_CODEPAGE_737 is not set
1473# CONFIG_NLS_CODEPAGE_775 is not set
1474# CONFIG_NLS_CODEPAGE_850 is not set
1475# CONFIG_NLS_CODEPAGE_852 is not set
1476# CONFIG_NLS_CODEPAGE_855 is not set
1477# CONFIG_NLS_CODEPAGE_857 is not set
1478# CONFIG_NLS_CODEPAGE_860 is not set
1479# CONFIG_NLS_CODEPAGE_861 is not set
1480# CONFIG_NLS_CODEPAGE_862 is not set
1481# CONFIG_NLS_CODEPAGE_863 is not set
1482# CONFIG_NLS_CODEPAGE_864 is not set
1483# CONFIG_NLS_CODEPAGE_865 is not set
1484# CONFIG_NLS_CODEPAGE_866 is not set
1485# CONFIG_NLS_CODEPAGE_869 is not set
1486# CONFIG_NLS_CODEPAGE_936 is not set
1487# CONFIG_NLS_CODEPAGE_950 is not set
1488# CONFIG_NLS_CODEPAGE_932 is not set
1489# CONFIG_NLS_CODEPAGE_949 is not set
1490# CONFIG_NLS_CODEPAGE_874 is not set
1491# CONFIG_NLS_ISO8859_8 is not set
1492# CONFIG_NLS_CODEPAGE_1250 is not set
1493# CONFIG_NLS_CODEPAGE_1251 is not set
1494CONFIG_NLS_ASCII=m
1495CONFIG_NLS_ISO8859_1=y
1496# CONFIG_NLS_ISO8859_2 is not set
1497# CONFIG_NLS_ISO8859_3 is not set
1498# CONFIG_NLS_ISO8859_4 is not set
1499# CONFIG_NLS_ISO8859_5 is not set
1500# CONFIG_NLS_ISO8859_6 is not set
1501# CONFIG_NLS_ISO8859_7 is not set
1502# CONFIG_NLS_ISO8859_9 is not set
1503# CONFIG_NLS_ISO8859_13 is not set
1504# CONFIG_NLS_ISO8859_14 is not set
1505# CONFIG_NLS_ISO8859_15 is not set
1506# CONFIG_NLS_KOI8_R is not set
1507# CONFIG_NLS_KOI8_U is not set
1508CONFIG_NLS_UTF8=m
1509# CONFIG_DLM is not set
1510
1511#
1512# Kernel hacking
1513#
1514# CONFIG_PRINTK_TIME is not set
1515CONFIG_ENABLE_WARN_DEPRECATED=y
1516CONFIG_ENABLE_MUST_CHECK=y
1517CONFIG_FRAME_WARN=1024
1518# CONFIG_MAGIC_SYSRQ is not set
1519# CONFIG_STRIP_ASM_SYMS is not set
1520# CONFIG_UNUSED_SYMBOLS is not set
1521CONFIG_DEBUG_FS=y
1522# CONFIG_HEADERS_CHECK is not set
1523CONFIG_DEBUG_KERNEL=y
1524# CONFIG_DEBUG_SHIRQ is not set
1525CONFIG_DETECT_SOFTLOCKUP=y
1526# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1527CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
1528CONFIG_DETECT_HUNG_TASK=y
1529# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
1530CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
1531CONFIG_SCHED_DEBUG=y
1532# CONFIG_SCHEDSTATS is not set
1533CONFIG_TIMER_STATS=y
1534# CONFIG_DEBUG_OBJECTS is not set
1535# CONFIG_SLUB_DEBUG_ON is not set
1536# CONFIG_SLUB_STATS is not set
1537# CONFIG_DEBUG_KMEMLEAK is not set
1538CONFIG_DEBUG_PREEMPT=y
1539CONFIG_DEBUG_RT_MUTEXES=y
1540CONFIG_DEBUG_PI_LIST=y
1541# CONFIG_RT_MUTEX_TESTER is not set
1542# CONFIG_DEBUG_SPINLOCK is not set
1543CONFIG_DEBUG_MUTEXES=y
1544# CONFIG_DEBUG_LOCK_ALLOC is not set
1545# CONFIG_PROVE_LOCKING is not set
1546# CONFIG_LOCK_STAT is not set
1547# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1548# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1549# CONFIG_DEBUG_KOBJECT is not set
1550CONFIG_DEBUG_BUGVERBOSE=y
1551# CONFIG_DEBUG_INFO is not set
1552# CONFIG_DEBUG_VM is not set
1553# CONFIG_DEBUG_WRITECOUNT is not set
1554# CONFIG_DEBUG_MEMORY_INIT is not set
1555# CONFIG_DEBUG_LIST is not set
1556# CONFIG_DEBUG_SG is not set
1557# CONFIG_DEBUG_NOTIFIERS is not set
1558# CONFIG_DEBUG_CREDENTIALS is not set
1559CONFIG_FRAME_POINTER=y
1560# CONFIG_BOOT_PRINTK_DELAY is not set
1561# CONFIG_RCU_TORTURE_TEST is not set
1562# CONFIG_RCU_CPU_STALL_DETECTOR is not set
1563# CONFIG_BACKTRACE_SELF_TEST is not set
1564# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
1565# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
1566# CONFIG_FAULT_INJECTION is not set
1567# CONFIG_LATENCYTOP is not set
1568# CONFIG_SYSCTL_SYSCALL_CHECK is not set
1569# CONFIG_PAGE_POISONING is not set
1570CONFIG_HAVE_FUNCTION_TRACER=y
1571CONFIG_TRACING_SUPPORT=y
1572CONFIG_FTRACE=y
1573# CONFIG_FUNCTION_TRACER is not set
1574# CONFIG_IRQSOFF_TRACER is not set
1575# CONFIG_PREEMPT_TRACER is not set
1576# CONFIG_SCHED_TRACER is not set
1577# CONFIG_ENABLE_DEFAULT_TRACERS is not set
1578# CONFIG_BOOT_TRACER is not set
1579CONFIG_BRANCH_PROFILE_NONE=y
1580# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
1581# CONFIG_PROFILE_ALL_BRANCHES is not set
1582# CONFIG_STACK_TRACER is not set
1583# CONFIG_KMEMTRACE is not set
1584# CONFIG_WORKQUEUE_TRACER is not set
1585# CONFIG_BLK_DEV_IO_TRACE is not set
1586# CONFIG_DYNAMIC_DEBUG is not set
1587# CONFIG_SAMPLES is not set
1588CONFIG_HAVE_ARCH_KGDB=y
1589# CONFIG_KGDB is not set
1590# CONFIG_ARM_UNWIND is not set
1591CONFIG_DEBUG_USER=y
1592CONFIG_DEBUG_ERRORS=y
1593# CONFIG_DEBUG_STACK_USAGE is not set
1594# CONFIG_DEBUG_LL is not set
1595
1596#
1597# Security options
1598#
1599# CONFIG_KEYS is not set
1600# CONFIG_SECURITY is not set
1601# CONFIG_SECURITYFS is not set
1602# CONFIG_SECURITY_FILE_CAPABILITIES is not set
1603CONFIG_CRYPTO=y
1604
1605#
1606# Crypto core or helper
1607#
1608# CONFIG_CRYPTO_MANAGER is not set
1609# CONFIG_CRYPTO_MANAGER2 is not set
1610# CONFIG_CRYPTO_GF128MUL is not set
1611# CONFIG_CRYPTO_NULL is not set
1612# CONFIG_CRYPTO_CRYPTD is not set
1613# CONFIG_CRYPTO_AUTHENC is not set
1614# CONFIG_CRYPTO_TEST is not set
1615
1616#
1617# Authenticated Encryption with Associated Data
1618#
1619# CONFIG_CRYPTO_CCM is not set
1620# CONFIG_CRYPTO_GCM is not set
1621# CONFIG_CRYPTO_SEQIV is not set
1622
1623#
1624# Block modes
1625#
1626# CONFIG_CRYPTO_CBC is not set
1627# CONFIG_CRYPTO_CTR is not set
1628# CONFIG_CRYPTO_CTS is not set
1629# CONFIG_CRYPTO_ECB is not set
1630# CONFIG_CRYPTO_LRW is not set
1631# CONFIG_CRYPTO_PCBC is not set
1632# CONFIG_CRYPTO_XTS is not set
1633
1634#
1635# Hash modes
1636#
1637# CONFIG_CRYPTO_HMAC is not set
1638# CONFIG_CRYPTO_XCBC is not set
1639# CONFIG_CRYPTO_VMAC is not set
1640
1641#
1642# Digest
1643#
1644# CONFIG_CRYPTO_CRC32C is not set
1645# CONFIG_CRYPTO_GHASH is not set
1646# CONFIG_CRYPTO_MD4 is not set
1647# CONFIG_CRYPTO_MD5 is not set
1648# CONFIG_CRYPTO_MICHAEL_MIC is not set
1649# CONFIG_CRYPTO_RMD128 is not set
1650# CONFIG_CRYPTO_RMD160 is not set
1651# CONFIG_CRYPTO_RMD256 is not set
1652# CONFIG_CRYPTO_RMD320 is not set
1653# CONFIG_CRYPTO_SHA1 is not set
1654# CONFIG_CRYPTO_SHA256 is not set
1655# CONFIG_CRYPTO_SHA512 is not set
1656# CONFIG_CRYPTO_TGR192 is not set
1657# CONFIG_CRYPTO_WP512 is not set
1658
1659#
1660# Ciphers
1661#
1662# CONFIG_CRYPTO_AES is not set
1663# CONFIG_CRYPTO_ANUBIS is not set
1664# CONFIG_CRYPTO_ARC4 is not set
1665# CONFIG_CRYPTO_BLOWFISH is not set
1666# CONFIG_CRYPTO_CAMELLIA is not set
1667# CONFIG_CRYPTO_CAST5 is not set
1668# CONFIG_CRYPTO_CAST6 is not set
1669# CONFIG_CRYPTO_DES is not set
1670# CONFIG_CRYPTO_FCRYPT is not set
1671# CONFIG_CRYPTO_KHAZAD is not set
1672# CONFIG_CRYPTO_SALSA20 is not set
1673# CONFIG_CRYPTO_SEED is not set
1674# CONFIG_CRYPTO_SERPENT is not set
1675# CONFIG_CRYPTO_TEA is not set
1676# CONFIG_CRYPTO_TWOFISH is not set
1677
1678#
1679# Compression
1680#
1681# CONFIG_CRYPTO_DEFLATE is not set
1682# CONFIG_CRYPTO_ZLIB is not set
1683# CONFIG_CRYPTO_LZO is not set
1684
1685#
1686# Random Number Generation
1687#
1688# CONFIG_CRYPTO_ANSI_CPRNG is not set
1689# CONFIG_CRYPTO_HW is not set
1690# CONFIG_BINARY_PRINTF is not set
1691
1692#
1693# Library routines
1694#
1695CONFIG_BITREVERSE=y
1696CONFIG_GENERIC_FIND_LAST_BIT=y
1697CONFIG_CRC_CCITT=m
1698# CONFIG_CRC16 is not set
1699CONFIG_CRC_T10DIF=m
1700# CONFIG_CRC_ITU_T is not set
1701CONFIG_CRC32=y
1702# CONFIG_CRC7 is not set
1703# CONFIG_LIBCRC32C is not set
1704CONFIG_ZLIB_INFLATE=y
1705CONFIG_ZLIB_DEFLATE=m
1706CONFIG_DECOMPRESS_GZIP=y
1707CONFIG_GENERIC_ALLOCATOR=y
1708CONFIG_HAS_IOMEM=y
1709CONFIG_HAS_IOPORT=y
1710CONFIG_HAS_DMA=y
1711CONFIG_NLATTR=y
diff --git a/recipes-kernel/linux/linux-davinci/dm6467-evm/defconfig b/recipes-kernel/linux/linux-davinci/dm6467-evm/defconfig
deleted file mode 100644
index bc80405b..00000000
--- a/recipes-kernel/linux/linux-davinci/dm6467-evm/defconfig
+++ /dev/null
@@ -1,1956 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.32-rc2-davinci1
4# Wed Oct 14 16:30:05 2009
5#
6CONFIG_ARM=y
7CONFIG_SYS_SUPPORTS_APM_EMULATION=y
8CONFIG_GENERIC_GPIO=y
9CONFIG_GENERIC_TIME=y
10CONFIG_GENERIC_CLOCKEVENTS=y
11CONFIG_GENERIC_HARDIRQS=y
12CONFIG_STACKTRACE_SUPPORT=y
13CONFIG_HAVE_LATENCYTOP_SUPPORT=y
14CONFIG_LOCKDEP_SUPPORT=y
15CONFIG_TRACE_IRQFLAGS_SUPPORT=y
16CONFIG_HARDIRQS_SW_RESEND=y
17CONFIG_GENERIC_IRQ_PROBE=y
18CONFIG_RWSEM_GENERIC_SPINLOCK=y
19CONFIG_GENERIC_HWEIGHT=y
20CONFIG_GENERIC_CALIBRATE_DELAY=y
21CONFIG_ZONE_DMA=y
22CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
23CONFIG_VECTORS_BASE=0xffff0000
24CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
25CONFIG_CONSTRUCTORS=y
26
27#
28# General setup
29#
30CONFIG_EXPERIMENTAL=y
31CONFIG_BROKEN_ON_SMP=y
32CONFIG_LOCK_KERNEL=y
33CONFIG_INIT_ENV_ARG_LIMIT=32
34CONFIG_LOCALVERSION=""
35CONFIG_LOCALVERSION_AUTO=y
36# CONFIG_SWAP is not set
37CONFIG_SYSVIPC=y
38CONFIG_SYSVIPC_SYSCTL=y
39CONFIG_POSIX_MQUEUE=y
40CONFIG_POSIX_MQUEUE_SYSCTL=y
41# CONFIG_BSD_PROCESS_ACCT is not set
42# CONFIG_TASKSTATS is not set
43# CONFIG_AUDIT is not set
44
45#
46# RCU Subsystem
47#
48CONFIG_TREE_RCU=y
49# CONFIG_TREE_PREEMPT_RCU is not set
50# CONFIG_RCU_TRACE is not set
51CONFIG_RCU_FANOUT=32
52# CONFIG_RCU_FANOUT_EXACT is not set
53# CONFIG_TREE_RCU_TRACE is not set
54CONFIG_IKCONFIG=y
55CONFIG_IKCONFIG_PROC=y
56CONFIG_LOG_BUF_SHIFT=14
57CONFIG_GROUP_SCHED=y
58CONFIG_FAIR_GROUP_SCHED=y
59# CONFIG_RT_GROUP_SCHED is not set
60CONFIG_USER_SCHED=y
61# CONFIG_CGROUP_SCHED is not set
62# CONFIG_CGROUPS is not set
63# CONFIG_SYSFS_DEPRECATED_V2 is not set
64# CONFIG_RELAY is not set
65# CONFIG_NAMESPACES is not set
66CONFIG_BLK_DEV_INITRD=y
67CONFIG_INITRAMFS_SOURCE=""
68CONFIG_RD_GZIP=y
69# CONFIG_RD_BZIP2 is not set
70# CONFIG_RD_LZMA is not set
71CONFIG_CC_OPTIMIZE_FOR_SIZE=y
72CONFIG_SYSCTL=y
73CONFIG_ANON_INODES=y
74CONFIG_EMBEDDED=y
75CONFIG_UID16=y
76CONFIG_SYSCTL_SYSCALL=y
77CONFIG_KALLSYMS=y
78# CONFIG_KALLSYMS_ALL is not set
79# CONFIG_KALLSYMS_EXTRA_PASS is not set
80CONFIG_HOTPLUG=y
81CONFIG_PRINTK=y
82CONFIG_BUG=y
83CONFIG_ELF_CORE=y
84CONFIG_BASE_FULL=y
85CONFIG_FUTEX=y
86CONFIG_EPOLL=y
87CONFIG_SIGNALFD=y
88CONFIG_TIMERFD=y
89CONFIG_EVENTFD=y
90CONFIG_SHMEM=y
91CONFIG_AIO=y
92
93#
94# Kernel Performance Events And Counters
95#
96CONFIG_VM_EVENT_COUNTERS=y
97CONFIG_SLUB_DEBUG=y
98CONFIG_COMPAT_BRK=y
99# CONFIG_SLAB is not set
100CONFIG_SLUB=y
101# CONFIG_SLOB is not set
102# CONFIG_PROFILING is not set
103CONFIG_HAVE_OPROFILE=y
104# CONFIG_KPROBES is not set
105CONFIG_HAVE_KPROBES=y
106CONFIG_HAVE_KRETPROBES=y
107CONFIG_HAVE_CLK=y
108
109#
110# GCOV-based kernel profiling
111#
112# CONFIG_GCOV_KERNEL is not set
113# CONFIG_SLOW_WORK is not set
114CONFIG_HAVE_GENERIC_DMA_COHERENT=y
115CONFIG_SLABINFO=y
116CONFIG_RT_MUTEXES=y
117CONFIG_BASE_SMALL=0
118CONFIG_MODULES=y
119# CONFIG_MODULE_FORCE_LOAD is not set
120CONFIG_MODULE_UNLOAD=y
121CONFIG_MODULE_FORCE_UNLOAD=y
122CONFIG_MODVERSIONS=y
123# CONFIG_MODULE_SRCVERSION_ALL is not set
124CONFIG_BLOCK=y
125CONFIG_LBDAF=y
126# CONFIG_BLK_DEV_BSG is not set
127# CONFIG_BLK_DEV_INTEGRITY is not set
128
129#
130# IO Schedulers
131#
132CONFIG_IOSCHED_NOOP=y
133CONFIG_IOSCHED_AS=y
134# CONFIG_IOSCHED_DEADLINE is not set
135# CONFIG_IOSCHED_CFQ is not set
136CONFIG_DEFAULT_AS=y
137# CONFIG_DEFAULT_DEADLINE is not set
138# CONFIG_DEFAULT_CFQ is not set
139# CONFIG_DEFAULT_NOOP is not set
140CONFIG_DEFAULT_IOSCHED="anticipatory"
141# CONFIG_FREEZER is not set
142
143#
144# System Type
145#
146CONFIG_MMU=y
147# CONFIG_ARCH_AAEC2000 is not set
148# CONFIG_ARCH_INTEGRATOR is not set
149# CONFIG_ARCH_REALVIEW is not set
150# CONFIG_ARCH_VERSATILE is not set
151# CONFIG_ARCH_AT91 is not set
152# CONFIG_ARCH_CLPS711X is not set
153# CONFIG_ARCH_GEMINI is not set
154# CONFIG_ARCH_EBSA110 is not set
155# CONFIG_ARCH_EP93XX is not set
156# CONFIG_ARCH_FOOTBRIDGE is not set
157# CONFIG_ARCH_MXC is not set
158# CONFIG_ARCH_STMP3XXX is not set
159# CONFIG_ARCH_NETX is not set
160# CONFIG_ARCH_H720X is not set
161# CONFIG_ARCH_NOMADIK is not set
162# CONFIG_ARCH_IOP13XX is not set
163# CONFIG_ARCH_IOP32X is not set
164# CONFIG_ARCH_IOP33X is not set
165# CONFIG_ARCH_IXP23XX is not set
166# CONFIG_ARCH_IXP2000 is not set
167# CONFIG_ARCH_IXP4XX is not set
168# CONFIG_ARCH_L7200 is not set
169# CONFIG_ARCH_KIRKWOOD is not set
170# CONFIG_ARCH_LOKI is not set
171# CONFIG_ARCH_MV78XX0 is not set
172# CONFIG_ARCH_ORION5X is not set
173# CONFIG_ARCH_MMP is not set
174# CONFIG_ARCH_KS8695 is not set
175# CONFIG_ARCH_NS9XXX is not set
176# CONFIG_ARCH_W90X900 is not set
177# CONFIG_ARCH_PNX4008 is not set
178# CONFIG_ARCH_PXA is not set
179# CONFIG_ARCH_MSM is not set
180# CONFIG_ARCH_RPC is not set
181# CONFIG_ARCH_SA1100 is not set
182# CONFIG_ARCH_S3C2410 is not set
183# CONFIG_ARCH_S3C64XX is not set
184# CONFIG_ARCH_S5PC1XX is not set
185# CONFIG_ARCH_SHARK is not set
186# CONFIG_ARCH_LH7A40X is not set
187# CONFIG_ARCH_U300 is not set
188CONFIG_ARCH_DAVINCI=y
189# CONFIG_ARCH_OMAP is not set
190# CONFIG_ARCH_BCMRING is not set
191CONFIG_AINTC=y
192CONFIG_ARCH_DAVINCI_DMx=y
193
194#
195# TI DaVinci Implementations
196#
197
198#
199# DaVinci Core Type
200#
201# CONFIG_ARCH_DAVINCI_DM644x is not set
202# CONFIG_ARCH_DAVINCI_DM355 is not set
203CONFIG_ARCH_DAVINCI_DM646x=y
204# CONFIG_ARCH_DAVINCI_DA830 is not set
205# CONFIG_ARCH_DAVINCI_DA850 is not set
206# CONFIG_ARCH_DAVINCI_DM365 is not set
207
208#
209# DaVinci Board Type
210#
211CONFIG_MACH_DAVINCI_DM6467_EVM=y
212CONFIG_DAVINCI_MUX=y
213CONFIG_DAVINCI_MUX_DEBUG=y
214CONFIG_DAVINCI_MUX_WARNINGS=y
215CONFIG_DAVINCI_RESET_CLOCKS=y
216CONFIG_OSC_CLK_FREQ=27000000
217
218#
219# Processor Type
220#
221CONFIG_CPU_32=y
222CONFIG_CPU_ARM926T=y
223CONFIG_CPU_32v5=y
224CONFIG_CPU_ABRT_EV5TJ=y
225CONFIG_CPU_PABRT_NOIFAR=y
226CONFIG_CPU_CACHE_VIVT=y
227CONFIG_CPU_COPY_V4WB=y
228CONFIG_CPU_TLB_V4WBI=y
229CONFIG_CPU_CP15=y
230CONFIG_CPU_CP15_MMU=y
231
232#
233# Processor Features
234#
235CONFIG_ARM_THUMB=y
236# CONFIG_CPU_ICACHE_DISABLE is not set
237# CONFIG_CPU_DCACHE_DISABLE is not set
238# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
239# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
240CONFIG_ARM_L1_CACHE_SHIFT=5
241CONFIG_COMMON_CLKDEV=y
242CONFIG_FORCE_MAX_ZONEORDER=13
243
244#
245# Bus support
246#
247# CONFIG_PCI is not set
248# CONFIG_PCI_SYSCALL is not set
249# CONFIG_ARCH_SUPPORTS_MSI is not set
250# CONFIG_PCCARD is not set
251
252#
253# Kernel Features
254#
255CONFIG_TICK_ONESHOT=y
256CONFIG_NO_HZ=y
257CONFIG_HIGH_RES_TIMERS=y
258CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
259CONFIG_VMSPLIT_3G=y
260# CONFIG_VMSPLIT_2G is not set
261# CONFIG_VMSPLIT_1G is not set
262CONFIG_PAGE_OFFSET=0xC0000000
263# CONFIG_PREEMPT_NONE is not set
264# CONFIG_PREEMPT_VOLUNTARY is not set
265CONFIG_PREEMPT=y
266CONFIG_HZ=100
267CONFIG_AEABI=y
268# CONFIG_OABI_COMPAT is not set
269# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
270# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
271# CONFIG_HIGHMEM is not set
272CONFIG_SELECT_MEMORY_MODEL=y
273CONFIG_FLATMEM_MANUAL=y
274# CONFIG_DISCONTIGMEM_MANUAL is not set
275# CONFIG_SPARSEMEM_MANUAL is not set
276CONFIG_FLATMEM=y
277CONFIG_FLAT_NODE_MEM_MAP=y
278CONFIG_PAGEFLAGS_EXTENDED=y
279CONFIG_SPLIT_PTLOCK_CPUS=4096
280# CONFIG_PHYS_ADDR_T_64BIT is not set
281CONFIG_ZONE_DMA_FLAG=1
282CONFIG_BOUNCE=y
283CONFIG_VIRT_TO_BUS=y
284CONFIG_HAVE_MLOCK=y
285CONFIG_HAVE_MLOCKED_PAGE_BIT=y
286# CONFIG_KSM is not set
287CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
288CONFIG_LEDS=y
289# CONFIG_LEDS_CPU is not set
290CONFIG_ALIGNMENT_TRAP=y
291# CONFIG_UACCESS_WITH_MEMCPY is not set
292
293#
294# Boot options
295#
296CONFIG_ZBOOT_ROM_TEXT=0x0
297CONFIG_ZBOOT_ROM_BSS=0x0
298CONFIG_CMDLINE=""
299# CONFIG_XIP_KERNEL is not set
300# CONFIG_KEXEC is not set
301
302#
303# CPU Power Management
304#
305# CONFIG_CPU_IDLE is not set
306
307#
308# Floating point emulation
309#
310
311#
312# At least one emulation must be selected
313#
314# CONFIG_VFP is not set
315
316#
317# Userspace binary formats
318#
319CONFIG_BINFMT_ELF=y
320# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
321CONFIG_HAVE_AOUT=y
322# CONFIG_BINFMT_AOUT is not set
323# CONFIG_BINFMT_MISC is not set
324
325#
326# Power management options
327#
328# CONFIG_PM is not set
329CONFIG_ARCH_SUSPEND_POSSIBLE=y
330CONFIG_NET=y
331
332#
333# Networking options
334#
335CONFIG_PACKET=y
336# CONFIG_PACKET_MMAP is not set
337CONFIG_UNIX=y
338CONFIG_XFRM=y
339# CONFIG_XFRM_USER is not set
340# CONFIG_XFRM_SUB_POLICY is not set
341# CONFIG_XFRM_MIGRATE is not set
342# CONFIG_XFRM_STATISTICS is not set
343# CONFIG_NET_KEY is not set
344CONFIG_INET=y
345# CONFIG_IP_MULTICAST is not set
346# CONFIG_IP_ADVANCED_ROUTER is not set
347CONFIG_IP_FIB_HASH=y
348CONFIG_IP_PNP=y
349CONFIG_IP_PNP_DHCP=y
350# CONFIG_IP_PNP_BOOTP is not set
351# CONFIG_IP_PNP_RARP is not set
352# CONFIG_NET_IPIP is not set
353# CONFIG_NET_IPGRE is not set
354# CONFIG_ARPD is not set
355# CONFIG_SYN_COOKIES is not set
356# CONFIG_INET_AH is not set
357# CONFIG_INET_ESP is not set
358# CONFIG_INET_IPCOMP is not set
359# CONFIG_INET_XFRM_TUNNEL is not set
360CONFIG_INET_TUNNEL=m
361CONFIG_INET_XFRM_MODE_TRANSPORT=y
362CONFIG_INET_XFRM_MODE_TUNNEL=y
363CONFIG_INET_XFRM_MODE_BEET=y
364# CONFIG_INET_LRO is not set
365CONFIG_INET_DIAG=y
366CONFIG_INET_TCP_DIAG=y
367# CONFIG_TCP_CONG_ADVANCED is not set
368CONFIG_TCP_CONG_CUBIC=y
369CONFIG_DEFAULT_TCP_CONG="cubic"
370# CONFIG_TCP_MD5SIG is not set
371CONFIG_IPV6=m
372# CONFIG_IPV6_PRIVACY is not set
373# CONFIG_IPV6_ROUTER_PREF is not set
374# CONFIG_IPV6_OPTIMISTIC_DAD is not set
375# CONFIG_INET6_AH is not set
376# CONFIG_INET6_ESP is not set
377# CONFIG_INET6_IPCOMP is not set
378# CONFIG_IPV6_MIP6 is not set
379# CONFIG_INET6_XFRM_TUNNEL is not set
380# CONFIG_INET6_TUNNEL is not set
381CONFIG_INET6_XFRM_MODE_TRANSPORT=m
382CONFIG_INET6_XFRM_MODE_TUNNEL=m
383CONFIG_INET6_XFRM_MODE_BEET=m
384# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
385CONFIG_IPV6_SIT=m
386CONFIG_IPV6_NDISC_NODETYPE=y
387# CONFIG_IPV6_TUNNEL is not set
388# CONFIG_IPV6_MULTIPLE_TABLES is not set
389# CONFIG_IPV6_MROUTE is not set
390# CONFIG_NETWORK_SECMARK is not set
391CONFIG_NETFILTER=y
392# CONFIG_NETFILTER_DEBUG is not set
393CONFIG_NETFILTER_ADVANCED=y
394
395#
396# Core Netfilter Configuration
397#
398# CONFIG_NETFILTER_NETLINK_QUEUE is not set
399# CONFIG_NETFILTER_NETLINK_LOG is not set
400# CONFIG_NF_CONNTRACK is not set
401# CONFIG_NETFILTER_XTABLES is not set
402# CONFIG_IP_VS is not set
403
404#
405# IP: Netfilter Configuration
406#
407# CONFIG_NF_DEFRAG_IPV4 is not set
408# CONFIG_IP_NF_QUEUE is not set
409# CONFIG_IP_NF_IPTABLES is not set
410# CONFIG_IP_NF_ARPTABLES is not set
411
412#
413# IPv6: Netfilter Configuration
414#
415# CONFIG_IP6_NF_QUEUE is not set
416# CONFIG_IP6_NF_IPTABLES is not set
417# CONFIG_IP_DCCP is not set
418# CONFIG_IP_SCTP is not set
419# CONFIG_RDS is not set
420# CONFIG_TIPC is not set
421# CONFIG_ATM is not set
422# CONFIG_BRIDGE is not set
423# CONFIG_NET_DSA is not set
424# CONFIG_VLAN_8021Q is not set
425# CONFIG_DECNET is not set
426# CONFIG_LLC2 is not set
427# CONFIG_IPX is not set
428# CONFIG_ATALK is not set
429# CONFIG_X25 is not set
430# CONFIG_LAPB is not set
431# CONFIG_ECONET is not set
432# CONFIG_WAN_ROUTER is not set
433# CONFIG_PHONET is not set
434# CONFIG_IEEE802154 is not set
435# CONFIG_NET_SCHED is not set
436# CONFIG_DCB is not set
437
438#
439# Network testing
440#
441# CONFIG_NET_PKTGEN is not set
442# CONFIG_HAMRADIO is not set
443# CONFIG_CAN is not set
444# CONFIG_IRDA is not set
445# CONFIG_BT is not set
446# CONFIG_AF_RXRPC is not set
447# CONFIG_WIRELESS is not set
448# CONFIG_WIMAX is not set
449# CONFIG_RFKILL is not set
450# CONFIG_NET_9P is not set
451
452#
453# Device Drivers
454#
455
456#
457# Generic Driver Options
458#
459CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
460# CONFIG_DEVTMPFS is not set
461CONFIG_STANDALONE=y
462CONFIG_PREVENT_FIRMWARE_BUILD=y
463# CONFIG_FW_LOADER is not set
464# CONFIG_DEBUG_DRIVER is not set
465# CONFIG_DEBUG_DEVRES is not set
466# CONFIG_SYS_HYPERVISOR is not set
467# CONFIG_CONNECTOR is not set
468CONFIG_MTD=y
469# CONFIG_MTD_DEBUG is not set
470# CONFIG_MTD_TESTS is not set
471# CONFIG_MTD_CONCAT is not set
472CONFIG_MTD_PARTITIONS=y
473# CONFIG_MTD_REDBOOT_PARTS is not set
474# CONFIG_MTD_CMDLINE_PARTS is not set
475# CONFIG_MTD_AFS_PARTS is not set
476# CONFIG_MTD_AR7_PARTS is not set
477
478#
479# User Modules And Translation Layers
480#
481CONFIG_MTD_CHAR=y
482CONFIG_MTD_BLKDEVS=y
483CONFIG_MTD_BLOCK=y
484# CONFIG_FTL is not set
485# CONFIG_NFTL is not set
486# CONFIG_INFTL is not set
487# CONFIG_RFD_FTL is not set
488# CONFIG_SSFDC is not set
489# CONFIG_MTD_OOPS is not set
490
491#
492# RAM/ROM/Flash chip drivers
493#
494CONFIG_MTD_CFI=y
495# CONFIG_MTD_JEDECPROBE is not set
496CONFIG_MTD_GEN_PROBE=y
497# CONFIG_MTD_CFI_ADV_OPTIONS is not set
498CONFIG_MTD_MAP_BANK_WIDTH_1=y
499CONFIG_MTD_MAP_BANK_WIDTH_2=y
500CONFIG_MTD_MAP_BANK_WIDTH_4=y
501# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
502# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
503# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
504CONFIG_MTD_CFI_I1=y
505CONFIG_MTD_CFI_I2=y
506# CONFIG_MTD_CFI_I4 is not set
507# CONFIG_MTD_CFI_I8 is not set
508CONFIG_MTD_CFI_INTELEXT=y
509CONFIG_MTD_CFI_AMDSTD=y
510# CONFIG_MTD_CFI_STAA is not set
511CONFIG_MTD_CFI_UTIL=y
512# CONFIG_MTD_RAM is not set
513# CONFIG_MTD_ROM is not set
514# CONFIG_MTD_ABSENT is not set
515
516#
517# Mapping drivers for chip access
518#
519# CONFIG_MTD_COMPLEX_MAPPINGS is not set
520CONFIG_MTD_PHYSMAP=y
521# CONFIG_MTD_PHYSMAP_COMPAT is not set
522# CONFIG_MTD_ARM_INTEGRATOR is not set
523# CONFIG_MTD_PLATRAM is not set
524
525#
526# Self-contained MTD device drivers
527#
528# CONFIG_MTD_DATAFLASH is not set
529# CONFIG_MTD_M25P80 is not set
530# CONFIG_MTD_SST25L is not set
531# CONFIG_MTD_SLRAM is not set
532# CONFIG_MTD_PHRAM is not set
533# CONFIG_MTD_MTDRAM is not set
534# CONFIG_MTD_BLOCK2MTD is not set
535
536#
537# Disk-On-Chip Device Drivers
538#
539# CONFIG_MTD_DOC2000 is not set
540# CONFIG_MTD_DOC2001 is not set
541# CONFIG_MTD_DOC2001PLUS is not set
542CONFIG_MTD_NAND=y
543# CONFIG_MTD_NAND_VERIFY_WRITE is not set
544# CONFIG_MTD_NAND_ECC_SMC is not set
545# CONFIG_MTD_NAND_MUSEUM_IDS is not set
546# CONFIG_MTD_NAND_GPIO is not set
547CONFIG_MTD_NAND_IDS=y
548# CONFIG_MTD_NAND_DISKONCHIP is not set
549# CONFIG_MTD_NAND_NANDSIM is not set
550# CONFIG_MTD_NAND_PLATFORM is not set
551# CONFIG_MTD_ALAUDA is not set
552CONFIG_MTD_NAND_DAVINCI=y
553# CONFIG_MTD_ONENAND is not set
554
555#
556# LPDDR flash memory drivers
557#
558# CONFIG_MTD_LPDDR is not set
559
560#
561# UBI - Unsorted block images
562#
563# CONFIG_MTD_UBI is not set
564# CONFIG_PARPORT is not set
565CONFIG_BLK_DEV=y
566# CONFIG_BLK_DEV_COW_COMMON is not set
567CONFIG_BLK_DEV_LOOP=y
568# CONFIG_BLK_DEV_CRYPTOLOOP is not set
569# CONFIG_BLK_DEV_NBD is not set
570# CONFIG_BLK_DEV_UB is not set
571CONFIG_BLK_DEV_RAM=y
572CONFIG_BLK_DEV_RAM_COUNT=1
573CONFIG_BLK_DEV_RAM_SIZE=65536
574# CONFIG_BLK_DEV_XIP is not set
575# CONFIG_CDROM_PKTCDVD is not set
576# CONFIG_ATA_OVER_ETH is not set
577# CONFIG_MG_DISK is not set
578CONFIG_MISC_DEVICES=y
579# CONFIG_ICS932S401 is not set
580# CONFIG_ENCLOSURE_SERVICES is not set
581# CONFIG_ISL29003 is not set
582# CONFIG_C2PORT is not set
583
584#
585# EEPROM support
586#
587CONFIG_EEPROM_AT24=y
588CONFIG_EEPROM_AT25=y
589# CONFIG_EEPROM_LEGACY is not set
590# CONFIG_EEPROM_MAX6875 is not set
591# CONFIG_EEPROM_93CX6 is not set
592CONFIG_HAVE_IDE=y
593CONFIG_IDE=y
594
595#
596# Please see Documentation/ide/ide.txt for help/info on IDE drives
597#
598CONFIG_IDE_XFER_MODE=y
599CONFIG_IDE_TIMINGS=y
600# CONFIG_BLK_DEV_IDE_SATA is not set
601CONFIG_IDE_GD=y
602CONFIG_IDE_GD_ATA=y
603# CONFIG_IDE_GD_ATAPI is not set
604# CONFIG_BLK_DEV_IDECD is not set
605# CONFIG_BLK_DEV_IDETAPE is not set
606# CONFIG_IDE_TASK_IOCTL is not set
607CONFIG_IDE_PROC_FS=y
608
609#
610# IDE chipset support/bugfixes
611#
612# CONFIG_BLK_DEV_PLATFORM is not set
613CONFIG_BLK_DEV_IDEDMA_SFF=y
614CONFIG_BLK_DEV_PALMCHIP_BK3710=y
615CONFIG_BLK_DEV_IDEDMA=y
616
617#
618# SCSI device support
619#
620# CONFIG_RAID_ATTRS is not set
621CONFIG_SCSI=y
622CONFIG_SCSI_DMA=y
623# CONFIG_SCSI_TGT is not set
624# CONFIG_SCSI_NETLINK is not set
625CONFIG_SCSI_PROC_FS=y
626
627#
628# SCSI support type (disk, tape, CD-ROM)
629#
630CONFIG_BLK_DEV_SD=y
631# CONFIG_CHR_DEV_ST is not set
632# CONFIG_CHR_DEV_OSST is not set
633# CONFIG_BLK_DEV_SR is not set
634# CONFIG_CHR_DEV_SG is not set
635# CONFIG_CHR_DEV_SCH is not set
636# CONFIG_SCSI_MULTI_LUN is not set
637# CONFIG_SCSI_CONSTANTS is not set
638# CONFIG_SCSI_LOGGING is not set
639# CONFIG_SCSI_SCAN_ASYNC is not set
640CONFIG_SCSI_WAIT_SCAN=m
641
642#
643# SCSI Transports
644#
645# CONFIG_SCSI_SPI_ATTRS is not set
646# CONFIG_SCSI_FC_ATTRS is not set
647# CONFIG_SCSI_ISCSI_ATTRS is not set
648# CONFIG_SCSI_SAS_LIBSAS is not set
649# CONFIG_SCSI_SRP_ATTRS is not set
650CONFIG_SCSI_LOWLEVEL=y
651# CONFIG_ISCSI_TCP is not set
652# CONFIG_LIBFC is not set
653# CONFIG_LIBFCOE is not set
654# CONFIG_SCSI_DEBUG is not set
655# CONFIG_SCSI_DH is not set
656# CONFIG_SCSI_OSD_INITIATOR is not set
657CONFIG_ATA=y
658# CONFIG_ATA_NONSTANDARD is not set
659CONFIG_ATA_VERBOSE_ERROR=y
660CONFIG_SATA_PMP=y
661CONFIG_ATA_SFF=y
662# CONFIG_SATA_MV is not set
663# CONFIG_PATA_PLATFORM is not set
664# CONFIG_MD is not set
665CONFIG_NETDEVICES=y
666# CONFIG_DUMMY is not set
667# CONFIG_BONDING is not set
668# CONFIG_MACVLAN is not set
669# CONFIG_EQUALIZER is not set
670CONFIG_TUN=y
671# CONFIG_VETH is not set
672CONFIG_PHYLIB=y
673
674#
675# MII PHY device drivers
676#
677# CONFIG_MARVELL_PHY is not set
678# CONFIG_DAVICOM_PHY is not set
679# CONFIG_QSEMI_PHY is not set
680CONFIG_LXT_PHY=y
681# CONFIG_CICADA_PHY is not set
682# CONFIG_VITESSE_PHY is not set
683# CONFIG_SMSC_PHY is not set
684# CONFIG_BROADCOM_PHY is not set
685# CONFIG_ICPLUS_PHY is not set
686# CONFIG_REALTEK_PHY is not set
687# CONFIG_NATIONAL_PHY is not set
688# CONFIG_STE10XP is not set
689CONFIG_LSI_ET1011C_PHY=y
690# CONFIG_FIXED_PHY is not set
691# CONFIG_MDIO_BITBANG is not set
692CONFIG_NET_ETHERNET=y
693CONFIG_MII=y
694# CONFIG_AX88796 is not set
695# CONFIG_SMC91X is not set
696CONFIG_TI_DAVINCI_EMAC=y
697CONFIG_DM9000=y
698CONFIG_DM9000_DEBUGLEVEL=4
699# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
700# CONFIG_ENC28J60 is not set
701# CONFIG_ETHOC is not set
702# CONFIG_SMC911X is not set
703# CONFIG_SMSC911X is not set
704# CONFIG_DNET is not set
705# CONFIG_IBM_NEW_EMAC_ZMII is not set
706# CONFIG_IBM_NEW_EMAC_RGMII is not set
707# CONFIG_IBM_NEW_EMAC_TAH is not set
708# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
709# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
710# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
711# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
712# CONFIG_B44 is not set
713# CONFIG_KS8842 is not set
714# CONFIG_KS8851 is not set
715# CONFIG_NETDEV_1000 is not set
716# CONFIG_NETDEV_10000 is not set
717CONFIG_WLAN=y
718# CONFIG_WLAN_PRE80211 is not set
719# CONFIG_WLAN_80211 is not set
720
721#
722# Enable WiMAX (Networking options) to see the WiMAX drivers
723#
724
725#
726# USB Network Adapters
727#
728# CONFIG_USB_CATC is not set
729# CONFIG_USB_KAWETH is not set
730# CONFIG_USB_PEGASUS is not set
731# CONFIG_USB_RTL8150 is not set
732# CONFIG_USB_USBNET is not set
733# CONFIG_WAN is not set
734CONFIG_PPP=y
735# CONFIG_PPP_MULTILINK is not set
736# CONFIG_PPP_FILTER is not set
737CONFIG_PPP_ASYNC=y
738CONFIG_PPP_SYNC_TTY=y
739CONFIG_PPP_DEFLATE=y
740# CONFIG_PPP_BSDCOMP is not set
741# CONFIG_PPP_MPPE is not set
742# CONFIG_PPPOE is not set
743# CONFIG_PPPOL2TP is not set
744# CONFIG_SLIP is not set
745CONFIG_SLHC=y
746CONFIG_NETCONSOLE=y
747# CONFIG_NETCONSOLE_DYNAMIC is not set
748CONFIG_NETPOLL=y
749CONFIG_NETPOLL_TRAP=y
750CONFIG_NET_POLL_CONTROLLER=y
751# CONFIG_ISDN is not set
752# CONFIG_PHONE is not set
753
754#
755# Input device support
756#
757CONFIG_INPUT=y
758# CONFIG_INPUT_FF_MEMLESS is not set
759# CONFIG_INPUT_POLLDEV is not set
760
761#
762# Userland interfaces
763#
764# CONFIG_INPUT_MOUSEDEV is not set
765# CONFIG_INPUT_JOYDEV is not set
766CONFIG_INPUT_EVDEV=y
767CONFIG_INPUT_EVBUG=y
768
769#
770# Input Device Drivers
771#
772CONFIG_INPUT_KEYBOARD=y
773# CONFIG_KEYBOARD_ADP5588 is not set
774CONFIG_KEYBOARD_ATKBD=m
775# CONFIG_QT2160 is not set
776# CONFIG_KEYBOARD_LKKBD is not set
777CONFIG_KEYBOARD_GPIO=y
778# CONFIG_KEYBOARD_MATRIX is not set
779# CONFIG_KEYBOARD_LM8323 is not set
780# CONFIG_KEYBOARD_MAX7359 is not set
781# CONFIG_KEYBOARD_NEWTON is not set
782# CONFIG_KEYBOARD_OPENCORES is not set
783# CONFIG_KEYBOARD_STOWAWAY is not set
784# CONFIG_KEYBOARD_SUNKBD is not set
785CONFIG_KEYBOARD_XTKBD=m
786# CONFIG_INPUT_MOUSE is not set
787# CONFIG_INPUT_JOYSTICK is not set
788# CONFIG_INPUT_TABLET is not set
789CONFIG_INPUT_TOUCHSCREEN=y
790# CONFIG_TOUCHSCREEN_ADS7846 is not set
791# CONFIG_TOUCHSCREEN_AD7877 is not set
792# CONFIG_TOUCHSCREEN_AD7879_I2C is not set
793# CONFIG_TOUCHSCREEN_AD7879_SPI is not set
794# CONFIG_TOUCHSCREEN_AD7879 is not set
795# CONFIG_TOUCHSCREEN_EETI is not set
796# CONFIG_TOUCHSCREEN_FUJITSU is not set
797# CONFIG_TOUCHSCREEN_GUNZE is not set
798# CONFIG_TOUCHSCREEN_ELO is not set
799# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
800# CONFIG_TOUCHSCREEN_MCS5000 is not set
801# CONFIG_TOUCHSCREEN_MTOUCH is not set
802# CONFIG_TOUCHSCREEN_INEXIO is not set
803# CONFIG_TOUCHSCREEN_MK712 is not set
804# CONFIG_TOUCHSCREEN_PENMOUNT is not set
805# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
806# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
807# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
808# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
809# CONFIG_TOUCHSCREEN_TSC2007 is not set
810# CONFIG_TOUCHSCREEN_W90X900 is not set
811# CONFIG_INPUT_MISC is not set
812
813#
814# Hardware I/O ports
815#
816CONFIG_SERIO=y
817CONFIG_SERIO_SERPORT=y
818CONFIG_SERIO_LIBPS2=y
819# CONFIG_SERIO_RAW is not set
820# CONFIG_GAMEPORT is not set
821
822#
823# Character devices
824#
825CONFIG_VT=y
826CONFIG_CONSOLE_TRANSLATIONS=y
827# CONFIG_VT_CONSOLE is not set
828CONFIG_HW_CONSOLE=y
829# CONFIG_VT_HW_CONSOLE_BINDING is not set
830CONFIG_DEVKMEM=y
831# CONFIG_SERIAL_NONSTANDARD is not set
832
833#
834# Serial drivers
835#
836CONFIG_SERIAL_8250=y
837CONFIG_SERIAL_8250_CONSOLE=y
838CONFIG_SERIAL_8250_NR_UARTS=3
839CONFIG_SERIAL_8250_RUNTIME_UARTS=3
840# CONFIG_SERIAL_8250_EXTENDED is not set
841
842#
843# Non-8250 serial port support
844#
845# CONFIG_SERIAL_MAX3100 is not set
846CONFIG_SERIAL_CORE=y
847CONFIG_SERIAL_CORE_CONSOLE=y
848CONFIG_UNIX98_PTYS=y
849# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
850CONFIG_LEGACY_PTYS=y
851CONFIG_LEGACY_PTY_COUNT=256
852# CONFIG_IPMI_HANDLER is not set
853# CONFIG_HW_RANDOM is not set
854# CONFIG_R3964 is not set
855# CONFIG_RAW_DRIVER is not set
856# CONFIG_TCG_TPM is not set
857CONFIG_VDCE=y
858CONFIG_CIR=y
859CONFIG_I2C=y
860CONFIG_I2C_BOARDINFO=y
861CONFIG_I2C_COMPAT=y
862CONFIG_I2C_CHARDEV=y
863CONFIG_I2C_HELPER_AUTO=y
864
865#
866# I2C Hardware Bus support
867#
868
869#
870# I2C system bus drivers (mostly embedded / system-on-chip)
871#
872CONFIG_I2C_DAVINCI=y
873# CONFIG_I2C_DESIGNWARE is not set
874# CONFIG_I2C_GPIO is not set
875# CONFIG_I2C_OCORES is not set
876# CONFIG_I2C_SIMTEC is not set
877
878#
879# External I2C/SMBus adapter drivers
880#
881# CONFIG_I2C_PARPORT_LIGHT is not set
882# CONFIG_I2C_TAOS_EVM is not set
883# CONFIG_I2C_TINY_USB is not set
884
885#
886# Other I2C/SMBus bus drivers
887#
888# CONFIG_I2C_PCA_PLATFORM is not set
889# CONFIG_I2C_STUB is not set
890
891#
892# Miscellaneous I2C Chip support
893#
894# CONFIG_DS1682 is not set
895# CONFIG_SENSORS_TSL2550 is not set
896# CONFIG_I2C_DEBUG_CORE is not set
897# CONFIG_I2C_DEBUG_ALGO is not set
898# CONFIG_I2C_DEBUG_BUS is not set
899# CONFIG_I2C_DEBUG_CHIP is not set
900CONFIG_SPI=y
901# CONFIG_SPI_DEBUG is not set
902CONFIG_SPI_MASTER=y
903
904#
905# SPI Master Controller Drivers
906#
907CONFIG_SPI_DAVINCI=y
908CONFIG_SPI_BITBANG=y
909CONFIG_SPI_GPIO=y
910
911#
912# SPI Protocol Masters
913#
914# CONFIG_SPI_SPIDEV is not set
915# CONFIG_SPI_TLE62X0 is not set
916
917#
918# PPS support
919#
920# CONFIG_PPS is not set
921CONFIG_ARCH_REQUIRE_GPIOLIB=y
922CONFIG_GPIOLIB=y
923# CONFIG_DEBUG_GPIO is not set
924# CONFIG_GPIO_SYSFS is not set
925
926#
927# Memory mapped GPIO expanders:
928#
929
930#
931# I2C GPIO expanders:
932#
933# CONFIG_GPIO_MAX732X is not set
934# CONFIG_GPIO_PCA953X is not set
935CONFIG_GPIO_PCF857X=y
936
937#
938# PCI GPIO expanders:
939#
940
941#
942# SPI GPIO expanders:
943#
944# CONFIG_GPIO_MAX7301 is not set
945# CONFIG_GPIO_MCP23S08 is not set
946# CONFIG_GPIO_MC33880 is not set
947
948#
949# AC97 GPIO expanders:
950#
951# CONFIG_W1 is not set
952# CONFIG_POWER_SUPPLY is not set
953CONFIG_HWMON=y
954# CONFIG_HWMON_VID is not set
955# CONFIG_HWMON_DEBUG_CHIP is not set
956
957#
958# Native drivers
959#
960# CONFIG_SENSORS_AD7414 is not set
961# CONFIG_SENSORS_AD7418 is not set
962# CONFIG_SENSORS_ADCXX is not set
963# CONFIG_SENSORS_ADM1021 is not set
964# CONFIG_SENSORS_ADM1025 is not set
965# CONFIG_SENSORS_ADM1026 is not set
966# CONFIG_SENSORS_ADM1029 is not set
967# CONFIG_SENSORS_ADM1031 is not set
968# CONFIG_SENSORS_ADM9240 is not set
969# CONFIG_SENSORS_ADT7462 is not set
970# CONFIG_SENSORS_ADT7470 is not set
971# CONFIG_SENSORS_ADT7473 is not set
972# CONFIG_SENSORS_ADT7475 is not set
973# CONFIG_SENSORS_ATXP1 is not set
974# CONFIG_SENSORS_DS1621 is not set
975# CONFIG_SENSORS_F71805F is not set
976# CONFIG_SENSORS_F71882FG is not set
977# CONFIG_SENSORS_F75375S is not set
978# CONFIG_SENSORS_G760A is not set
979# CONFIG_SENSORS_GL518SM is not set
980# CONFIG_SENSORS_GL520SM is not set
981# CONFIG_SENSORS_IT87 is not set
982# CONFIG_SENSORS_LM63 is not set
983# CONFIG_SENSORS_LM70 is not set
984# CONFIG_SENSORS_LM75 is not set
985# CONFIG_SENSORS_LM77 is not set
986# CONFIG_SENSORS_LM78 is not set
987# CONFIG_SENSORS_LM80 is not set
988# CONFIG_SENSORS_LM83 is not set
989# CONFIG_SENSORS_LM85 is not set
990# CONFIG_SENSORS_LM87 is not set
991# CONFIG_SENSORS_LM90 is not set
992# CONFIG_SENSORS_LM92 is not set
993# CONFIG_SENSORS_LM93 is not set
994# CONFIG_SENSORS_LTC4215 is not set
995# CONFIG_SENSORS_LTC4245 is not set
996# CONFIG_SENSORS_LM95241 is not set
997# CONFIG_SENSORS_MAX1111 is not set
998# CONFIG_SENSORS_MAX1619 is not set
999# CONFIG_SENSORS_MAX6650 is not set
1000# CONFIG_SENSORS_PC87360 is not set
1001# CONFIG_SENSORS_PC87427 is not set
1002# CONFIG_SENSORS_PCF8591 is not set
1003# CONFIG_SENSORS_SHT15 is not set
1004# CONFIG_SENSORS_DME1737 is not set
1005# CONFIG_SENSORS_SMSC47M1 is not set
1006# CONFIG_SENSORS_SMSC47M192 is not set
1007# CONFIG_SENSORS_SMSC47B397 is not set
1008# CONFIG_SENSORS_ADS7828 is not set
1009# CONFIG_SENSORS_THMC50 is not set
1010# CONFIG_SENSORS_TMP401 is not set
1011# CONFIG_SENSORS_TMP421 is not set
1012# CONFIG_SENSORS_VT1211 is not set
1013# CONFIG_SENSORS_W83781D is not set
1014# CONFIG_SENSORS_W83791D is not set
1015# CONFIG_SENSORS_W83792D is not set
1016# CONFIG_SENSORS_W83793 is not set
1017# CONFIG_SENSORS_W83L785TS is not set
1018# CONFIG_SENSORS_W83L786NG is not set
1019# CONFIG_SENSORS_W83627HF is not set
1020# CONFIG_SENSORS_W83627EHF is not set
1021# CONFIG_SENSORS_LIS3_SPI is not set
1022# CONFIG_THERMAL is not set
1023CONFIG_WATCHDOG=y
1024# CONFIG_WATCHDOG_NOWAYOUT is not set
1025
1026#
1027# Watchdog Device Drivers
1028#
1029# CONFIG_SOFT_WATCHDOG is not set
1030CONFIG_DAVINCI_WATCHDOG=y
1031
1032#
1033# USB-based Watchdog Cards
1034#
1035# CONFIG_USBPCWATCHDOG is not set
1036CONFIG_SSB_POSSIBLE=y
1037
1038#
1039# Sonics Silicon Backplane
1040#
1041# CONFIG_SSB is not set
1042
1043#
1044# Multifunction device drivers
1045#
1046# CONFIG_MFD_CORE is not set
1047# CONFIG_MFD_SM501 is not set
1048# CONFIG_MFD_ASIC3 is not set
1049# CONFIG_HTC_EGPIO is not set
1050# CONFIG_HTC_PASIC3 is not set
1051# CONFIG_TPS65010 is not set
1052# CONFIG_TWL4030_CORE is not set
1053# CONFIG_MFD_TMIO is not set
1054# CONFIG_MFD_T7L66XB is not set
1055# CONFIG_MFD_TC6387XB is not set
1056# CONFIG_MFD_TC6393XB is not set
1057# CONFIG_PMIC_DA903X is not set
1058# CONFIG_MFD_WM8400 is not set
1059# CONFIG_MFD_WM831X is not set
1060# CONFIG_MFD_WM8350_I2C is not set
1061# CONFIG_MFD_PCF50633 is not set
1062# CONFIG_MFD_MC13783 is not set
1063# CONFIG_AB3100_CORE is not set
1064# CONFIG_EZX_PCAP is not set
1065# CONFIG_REGULATOR is not set
1066CONFIG_MEDIA_SUPPORT=y
1067
1068#
1069# Multimedia core support
1070#
1071CONFIG_VIDEO_DEV=y
1072CONFIG_VIDEO_V4L2_COMMON=y
1073# CONFIG_VIDEO_ALLOW_V4L1 is not set
1074# CONFIG_VIDEO_V4L1_COMPAT is not set
1075# CONFIG_DVB_CORE is not set
1076CONFIG_VIDEO_MEDIA=y
1077
1078#
1079# Multimedia drivers
1080#
1081# CONFIG_MEDIA_ATTACH is not set
1082CONFIG_MEDIA_TUNER=y
1083# CONFIG_MEDIA_TUNER_CUSTOMISE is not set
1084CONFIG_MEDIA_TUNER_SIMPLE=y
1085CONFIG_MEDIA_TUNER_TDA8290=y
1086CONFIG_MEDIA_TUNER_TDA9887=y
1087CONFIG_MEDIA_TUNER_TEA5761=y
1088CONFIG_MEDIA_TUNER_TEA5767=y
1089CONFIG_MEDIA_TUNER_MT20XX=y
1090CONFIG_MEDIA_TUNER_XC2028=y
1091CONFIG_MEDIA_TUNER_XC5000=y
1092CONFIG_MEDIA_TUNER_MC44S803=y
1093CONFIG_VIDEO_V4L2=y
1094CONFIG_VIDEOBUF_GEN=y
1095CONFIG_VIDEOBUF_DMA_CONTIG=y
1096CONFIG_VIDEO_CAPTURE_DRIVERS=y
1097# CONFIG_VIDEO_ADV_DEBUG is not set
1098# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
1099# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
1100
1101#
1102# Encoders/decoders and other helper chips
1103#
1104
1105#
1106# Audio decoders
1107#
1108# CONFIG_VIDEO_TVAUDIO is not set
1109# CONFIG_VIDEO_TDA7432 is not set
1110# CONFIG_VIDEO_TDA9840 is not set
1111# CONFIG_VIDEO_TDA9875 is not set
1112# CONFIG_VIDEO_TEA6415C is not set
1113# CONFIG_VIDEO_TEA6420 is not set
1114# CONFIG_VIDEO_MSP3400 is not set
1115# CONFIG_VIDEO_CS5345 is not set
1116# CONFIG_VIDEO_CS53L32A is not set
1117# CONFIG_VIDEO_M52790 is not set
1118# CONFIG_VIDEO_TLV320AIC23B is not set
1119# CONFIG_VIDEO_WM8775 is not set
1120# CONFIG_VIDEO_WM8739 is not set
1121# CONFIG_VIDEO_VP27SMPX is not set
1122
1123#
1124# RDS decoders
1125#
1126# CONFIG_VIDEO_SAA6588 is not set
1127
1128#
1129# Video decoders
1130#
1131# CONFIG_VIDEO_ADV7180 is not set
1132# CONFIG_VIDEO_BT819 is not set
1133# CONFIG_VIDEO_BT856 is not set
1134# CONFIG_VIDEO_BT866 is not set
1135# CONFIG_VIDEO_KS0127 is not set
1136# CONFIG_VIDEO_OV7670 is not set
1137# CONFIG_VIDEO_MT9V011 is not set
1138# CONFIG_VIDEO_TCM825X is not set
1139# CONFIG_VIDEO_SAA7110 is not set
1140# CONFIG_VIDEO_SAA711X is not set
1141# CONFIG_VIDEO_SAA717X is not set
1142# CONFIG_VIDEO_TVP514X is not set
1143# CONFIG_VIDEO_TVP5150 is not set
1144CONFIG_VIDEO_TVP7002=y
1145# CONFIG_VIDEO_VPX3220 is not set
1146
1147#
1148# Video and audio decoders
1149#
1150# CONFIG_VIDEO_CX25840 is not set
1151
1152#
1153# MPEG video encoders
1154#
1155# CONFIG_VIDEO_CX2341X is not set
1156
1157#
1158# Video encoders
1159#
1160# CONFIG_VIDEO_SAA7127 is not set
1161# CONFIG_VIDEO_SAA7185 is not set
1162# CONFIG_VIDEO_ADV7170 is not set
1163# CONFIG_VIDEO_ADV7175 is not set
1164CONFIG_VIDEO_THS7303=y
1165CONFIG_VIDEO_THS7353=y
1166CONFIG_VIDEO_THS7353_LUMA_CHANNEL=2
1167CONFIG_VIDEO_ADV7343=y
1168# CONFIG_VIDEO_THS8200 is not set
1169
1170#
1171# Video improvement chips
1172#
1173# CONFIG_VIDEO_UPD64031A is not set
1174# CONFIG_VIDEO_UPD64083 is not set
1175CONFIG_DISPLAY_DAVINCI_DM646X_EVM=y
1176CONFIG_CAPTURE_DAVINCI_DM646X_EVM=y
1177CONFIG_VIDEO_DAVINCI_VPIF=y
1178# CONFIG_VIDEO_DAVINCI_DISPLAY is not set
1179# CONFIG_DAVINCI_ENC_MNGR is not set
1180# CONFIG_DAVINCI_OSD is not set
1181# CONFIG_VIDEO_VIVI is not set
1182# CONFIG_VIDEO_VPSS_SYSTEM is not set
1183# CONFIG_VIDEO_VPFE_CAPTURE is not set
1184# CONFIG_VIDEO_SAA5246A is not set
1185# CONFIG_VIDEO_SAA5249 is not set
1186# CONFIG_SOC_CAMERA is not set
1187# CONFIG_SOC_CAMERA_MT9T031 is not set
1188# CONFIG_V4L_USB_DRIVERS is not set
1189# CONFIG_RADIO_ADAPTERS is not set
1190# CONFIG_DAB is not set
1191
1192#
1193# Graphics support
1194#
1195# CONFIG_VGASTATE is not set
1196# CONFIG_VIDEO_OUTPUT_CONTROL is not set
1197# CONFIG_FB is not set
1198# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
1199
1200#
1201# Display device support
1202#
1203# CONFIG_DISPLAY_SUPPORT is not set
1204
1205#
1206# Console display driver support
1207#
1208# CONFIG_VGA_CONSOLE is not set
1209CONFIG_DUMMY_CONSOLE=y
1210CONFIG_SOUND=y
1211# CONFIG_SOUND_OSS_CORE is not set
1212CONFIG_SND=y
1213CONFIG_SND_TIMER=y
1214CONFIG_SND_PCM=y
1215CONFIG_SND_JACK=y
1216# CONFIG_SND_SEQUENCER is not set
1217# CONFIG_SND_MIXER_OSS is not set
1218# CONFIG_SND_PCM_OSS is not set
1219# CONFIG_SND_HRTIMER is not set
1220# CONFIG_SND_DYNAMIC_MINORS is not set
1221CONFIG_SND_SUPPORT_OLD_API=y
1222CONFIG_SND_VERBOSE_PROCFS=y
1223# CONFIG_SND_VERBOSE_PRINTK is not set
1224# CONFIG_SND_DEBUG is not set
1225# CONFIG_SND_RAWMIDI_SEQ is not set
1226# CONFIG_SND_OPL3_LIB_SEQ is not set
1227# CONFIG_SND_OPL4_LIB_SEQ is not set
1228# CONFIG_SND_SBAWE_SEQ is not set
1229# CONFIG_SND_EMU10K1_SEQ is not set
1230CONFIG_SND_DRIVERS=y
1231# CONFIG_SND_DUMMY is not set
1232# CONFIG_SND_MTPAV is not set
1233# CONFIG_SND_SERIAL_U16550 is not set
1234# CONFIG_SND_MPU401 is not set
1235CONFIG_SND_ARM=y
1236CONFIG_SND_SPI=y
1237CONFIG_SND_USB=y
1238# CONFIG_SND_USB_AUDIO is not set
1239# CONFIG_SND_USB_CAIAQ is not set
1240CONFIG_SND_SOC=y
1241CONFIG_SND_DAVINCI_SOC=y
1242CONFIG_SND_DAVINCI_SOC_MCASP=y
1243CONFIG_SND_DM6467_SOC_EVM=y
1244CONFIG_SND_SOC_I2C_AND_SPI=y
1245# CONFIG_SND_SOC_ALL_CODECS is not set
1246CONFIG_SND_SOC_SPDIF=y
1247CONFIG_SND_SOC_TLV320AIC3X=y
1248# CONFIG_SOUND_PRIME is not set
1249CONFIG_HID_SUPPORT=y
1250CONFIG_HID=y
1251# CONFIG_HIDRAW is not set
1252
1253#
1254# USB Input Devices
1255#
1256CONFIG_USB_HID=y
1257# CONFIG_HID_PID is not set
1258# CONFIG_USB_HIDDEV is not set
1259
1260#
1261# Special HID drivers
1262#
1263CONFIG_HID_A4TECH=m
1264CONFIG_HID_APPLE=m
1265CONFIG_HID_BELKIN=m
1266CONFIG_HID_CHERRY=m
1267CONFIG_HID_CHICONY=m
1268CONFIG_HID_CYPRESS=m
1269# CONFIG_HID_DRAGONRISE is not set
1270CONFIG_HID_EZKEY=m
1271# CONFIG_HID_KYE is not set
1272CONFIG_HID_GYRATION=m
1273# CONFIG_HID_TWINHAN is not set
1274# CONFIG_HID_KENSINGTON is not set
1275CONFIG_HID_LOGITECH=m
1276# CONFIG_LOGITECH_FF is not set
1277# CONFIG_LOGIRUMBLEPAD2_FF is not set
1278CONFIG_HID_MICROSOFT=m
1279CONFIG_HID_MONTEREY=m
1280# CONFIG_HID_NTRIG is not set
1281CONFIG_HID_PANTHERLORD=m
1282# CONFIG_PANTHERLORD_FF is not set
1283CONFIG_HID_PETALYNX=m
1284CONFIG_HID_SAMSUNG=m
1285CONFIG_HID_SONY=m
1286CONFIG_HID_SUNPLUS=m
1287# CONFIG_HID_GREENASIA is not set
1288# CONFIG_HID_SMARTJOYPLUS is not set
1289# CONFIG_HID_TOPSEED is not set
1290# CONFIG_HID_THRUSTMASTER is not set
1291# CONFIG_HID_ZEROPLUS is not set
1292CONFIG_USB_SUPPORT=y
1293CONFIG_USB_ARCH_HAS_HCD=y
1294# CONFIG_USB_ARCH_HAS_OHCI is not set
1295# CONFIG_USB_ARCH_HAS_EHCI is not set
1296CONFIG_USB=y
1297# CONFIG_USB_DEBUG is not set
1298# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
1299
1300#
1301# Miscellaneous USB options
1302#
1303CONFIG_USB_DEVICEFS=y
1304CONFIG_USB_DEVICE_CLASS=y
1305# CONFIG_USB_DYNAMIC_MINORS is not set
1306# CONFIG_USB_OTG is not set
1307# CONFIG_USB_OTG_WHITELIST is not set
1308# CONFIG_USB_OTG_BLACKLIST_HUB is not set
1309CONFIG_USB_MON=y
1310# CONFIG_USB_WUSB is not set
1311# CONFIG_USB_WUSB_CBAF is not set
1312
1313#
1314# USB Host Controller Drivers
1315#
1316# CONFIG_USB_C67X00_HCD is not set
1317# CONFIG_USB_OXU210HP_HCD is not set
1318# CONFIG_USB_ISP116X_HCD is not set
1319# CONFIG_USB_ISP1760_HCD is not set
1320# CONFIG_USB_ISP1362_HCD is not set
1321# CONFIG_USB_SL811_HCD is not set
1322# CONFIG_USB_R8A66597_HCD is not set
1323# CONFIG_USB_HWA_HCD is not set
1324CONFIG_USB_MUSB_HDRC=y
1325CONFIG_USB_MUSB_SOC=y
1326
1327#
1328# DaVinci 35x, 36x, 644x USB support
1329#
1330CONFIG_USB_MUSB_HOST=y
1331# CONFIG_USB_MUSB_PERIPHERAL is not set
1332# CONFIG_USB_MUSB_OTG is not set
1333# CONFIG_MUSB_SCHEDULE_INTR_EP is not set
1334# CONFIG_USB_GADGET_MUSB_HDRC is not set
1335CONFIG_USB_MUSB_HDRC_HCD=y
1336CONFIG_MUSB_PIO_ONLY=y
1337# CONFIG_USB_MUSB_DEBUG is not set
1338
1339#
1340# USB Device Class drivers
1341#
1342# CONFIG_USB_ACM is not set
1343# CONFIG_USB_PRINTER is not set
1344# CONFIG_USB_WDM is not set
1345# CONFIG_USB_TMC is not set
1346
1347#
1348# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
1349#
1350
1351#
1352# also be needed; see USB_STORAGE Help for more info
1353#
1354CONFIG_USB_STORAGE=y
1355CONFIG_USB_STORAGE_DEBUG=y
1356# CONFIG_USB_STORAGE_DATAFAB is not set
1357# CONFIG_USB_STORAGE_FREECOM is not set
1358# CONFIG_USB_STORAGE_ISD200 is not set
1359# CONFIG_USB_STORAGE_USBAT is not set
1360# CONFIG_USB_STORAGE_SDDR09 is not set
1361# CONFIG_USB_STORAGE_SDDR55 is not set
1362# CONFIG_USB_STORAGE_JUMPSHOT is not set
1363# CONFIG_USB_STORAGE_ALAUDA is not set
1364# CONFIG_USB_STORAGE_ONETOUCH is not set
1365# CONFIG_USB_STORAGE_KARMA is not set
1366# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
1367# CONFIG_USB_LIBUSUAL is not set
1368
1369#
1370# USB Imaging devices
1371#
1372# CONFIG_USB_MDC800 is not set
1373# CONFIG_USB_MICROTEK is not set
1374
1375#
1376# USB port drivers
1377#
1378# CONFIG_USB_SERIAL is not set
1379
1380#
1381# USB Miscellaneous drivers
1382#
1383# CONFIG_USB_EMI62 is not set
1384# CONFIG_USB_EMI26 is not set
1385# CONFIG_USB_ADUTUX is not set
1386# CONFIG_USB_SEVSEG is not set
1387# CONFIG_USB_RIO500 is not set
1388# CONFIG_USB_LEGOTOWER is not set
1389# CONFIG_USB_LCD is not set
1390# CONFIG_USB_BERRY_CHARGE is not set
1391# CONFIG_USB_LED is not set
1392# CONFIG_USB_CYPRESS_CY7C63 is not set
1393# CONFIG_USB_CYTHERM is not set
1394# CONFIG_USB_IDMOUSE is not set
1395# CONFIG_USB_FTDI_ELAN is not set
1396# CONFIG_USB_APPLEDISPLAY is not set
1397# CONFIG_USB_SISUSBVGA is not set
1398# CONFIG_USB_LD is not set
1399# CONFIG_USB_TRANCEVIBRATOR is not set
1400# CONFIG_USB_IOWARRIOR is not set
1401CONFIG_USB_TEST=y
1402# CONFIG_USB_ISIGHTFW is not set
1403# CONFIG_USB_VST is not set
1404CONFIG_USB_GADGET=y
1405# CONFIG_USB_GADGET_DEBUG is not set
1406CONFIG_USB_GADGET_DEBUG_FILES=y
1407CONFIG_USB_GADGET_DEBUG_FS=y
1408CONFIG_USB_GADGET_VBUS_DRAW=2
1409CONFIG_USB_GADGET_SELECTED=y
1410# CONFIG_USB_GADGET_AT91 is not set
1411# CONFIG_USB_GADGET_ATMEL_USBA is not set
1412# CONFIG_USB_GADGET_FSL_USB2 is not set
1413# CONFIG_USB_GADGET_LH7A40X is not set
1414# CONFIG_USB_GADGET_OMAP is not set
1415# CONFIG_USB_GADGET_PXA25X is not set
1416# CONFIG_USB_GADGET_R8A66597 is not set
1417# CONFIG_USB_GADGET_PXA27X is not set
1418# CONFIG_USB_GADGET_S3C_HSOTG is not set
1419# CONFIG_USB_GADGET_IMX is not set
1420# CONFIG_USB_GADGET_S3C2410 is not set
1421CONFIG_USB_GADGET_M66592=y
1422CONFIG_USB_M66592=y
1423# CONFIG_USB_GADGET_AMD5536UDC is not set
1424# CONFIG_USB_GADGET_FSL_QE is not set
1425# CONFIG_USB_GADGET_CI13XXX is not set
1426# CONFIG_USB_GADGET_NET2280 is not set
1427# CONFIG_USB_GADGET_GOKU is not set
1428# CONFIG_USB_GADGET_LANGWELL is not set
1429# CONFIG_USB_GADGET_DUMMY_HCD is not set
1430CONFIG_USB_GADGET_DUALSPEED=y
1431# CONFIG_USB_ZERO is not set
1432# CONFIG_USB_AUDIO is not set
1433CONFIG_USB_ETH=y
1434CONFIG_USB_ETH_RNDIS=y
1435# CONFIG_USB_ETH_EEM is not set
1436# CONFIG_USB_GADGETFS is not set
1437# CONFIG_USB_FILE_STORAGE is not set
1438# CONFIG_USB_G_SERIAL is not set
1439# CONFIG_USB_MIDI_GADGET is not set
1440# CONFIG_USB_G_PRINTER is not set
1441# CONFIG_USB_CDC_COMPOSITE is not set
1442
1443#
1444# OTG and related infrastructure
1445#
1446CONFIG_USB_OTG_UTILS=y
1447# CONFIG_USB_GPIO_VBUS is not set
1448CONFIG_NOP_USB_XCEIV=y
1449CONFIG_MMC=y
1450# CONFIG_MMC_DEBUG is not set
1451# CONFIG_MMC_UNSAFE_RESUME is not set
1452
1453#
1454# MMC/SD/SDIO Card Drivers
1455#
1456CONFIG_MMC_BLOCK=y
1457# CONFIG_MMC_BLOCK_BOUNCE is not set
1458# CONFIG_SDIO_UART is not set
1459# CONFIG_MMC_TEST is not set
1460
1461#
1462# MMC/SD/SDIO Host Controller Drivers
1463#
1464# CONFIG_MMC_SDHCI is not set
1465# CONFIG_MMC_AT91 is not set
1466# CONFIG_MMC_ATMELMCI is not set
1467CONFIG_MMC_DAVINCI=y
1468# CONFIG_MMC_SPI is not set
1469# CONFIG_MEMSTICK is not set
1470CONFIG_NEW_LEDS=y
1471CONFIG_LEDS_CLASS=y
1472
1473#
1474# LED drivers
1475#
1476# CONFIG_LEDS_PCA9532 is not set
1477CONFIG_LEDS_GPIO=y
1478CONFIG_LEDS_GPIO_PLATFORM=y
1479# CONFIG_LEDS_LP3944 is not set
1480# CONFIG_LEDS_PCA955X is not set
1481# CONFIG_LEDS_DAC124S085 is not set
1482# CONFIG_LEDS_BD2802 is not set
1483
1484#
1485# LED Triggers
1486#
1487CONFIG_LEDS_TRIGGERS=y
1488CONFIG_LEDS_TRIGGER_TIMER=y
1489# CONFIG_LEDS_TRIGGER_IDE_DISK is not set
1490CONFIG_LEDS_TRIGGER_HEARTBEAT=y
1491# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
1492# CONFIG_LEDS_TRIGGER_GPIO is not set
1493# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
1494
1495#
1496# iptables trigger is under Netfilter config (LED target)
1497#
1498# CONFIG_ACCESSIBILITY is not set
1499CONFIG_RTC_LIB=y
1500CONFIG_RTC_CLASS=y
1501CONFIG_RTC_HCTOSYS=y
1502CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
1503# CONFIG_RTC_DEBUG is not set
1504
1505#
1506# RTC interfaces
1507#
1508CONFIG_RTC_INTF_SYSFS=y
1509CONFIG_RTC_INTF_PROC=y
1510CONFIG_RTC_INTF_DEV=y
1511# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
1512# CONFIG_RTC_DRV_TEST is not set
1513
1514#
1515# I2C RTC drivers
1516#
1517# CONFIG_RTC_DRV_DS1307 is not set
1518# CONFIG_RTC_DRV_DS1374 is not set
1519# CONFIG_RTC_DRV_DS1672 is not set
1520# CONFIG_RTC_DRV_MAX6900 is not set
1521# CONFIG_RTC_DRV_RS5C372 is not set
1522# CONFIG_RTC_DRV_ISL1208 is not set
1523# CONFIG_RTC_DRV_X1205 is not set
1524# CONFIG_RTC_DRV_PCF8563 is not set
1525# CONFIG_RTC_DRV_PCF8583 is not set
1526# CONFIG_RTC_DRV_M41T80 is not set
1527# CONFIG_RTC_DRV_S35390A is not set
1528# CONFIG_RTC_DRV_FM3130 is not set
1529# CONFIG_RTC_DRV_RX8581 is not set
1530# CONFIG_RTC_DRV_RX8025 is not set
1531
1532#
1533# SPI RTC drivers
1534#
1535# CONFIG_RTC_DRV_M41T94 is not set
1536# CONFIG_RTC_DRV_DS1305 is not set
1537# CONFIG_RTC_DRV_DS1390 is not set
1538# CONFIG_RTC_DRV_MAX6902 is not set
1539# CONFIG_RTC_DRV_R9701 is not set
1540# CONFIG_RTC_DRV_RS5C348 is not set
1541# CONFIG_RTC_DRV_DS3234 is not set
1542# CONFIG_RTC_DRV_PCF2123 is not set
1543
1544#
1545# Platform RTC drivers
1546#
1547# CONFIG_RTC_DRV_CMOS is not set
1548# CONFIG_RTC_DRV_DS1286 is not set
1549# CONFIG_RTC_DRV_DS1511 is not set
1550# CONFIG_RTC_DRV_DS1553 is not set
1551# CONFIG_RTC_DRV_DS1742 is not set
1552# CONFIG_RTC_DRV_STK17TA8 is not set
1553# CONFIG_RTC_DRV_M48T86 is not set
1554# CONFIG_RTC_DRV_M48T35 is not set
1555# CONFIG_RTC_DRV_M48T59 is not set
1556# CONFIG_RTC_DRV_BQ4802 is not set
1557# CONFIG_RTC_DRV_V3020 is not set
1558
1559#
1560# on-CPU RTC drivers
1561#
1562# CONFIG_DMADEVICES is not set
1563# CONFIG_AUXDISPLAY is not set
1564# CONFIG_UIO is not set
1565
1566#
1567# TI VLYNQ
1568#
1569# CONFIG_STAGING is not set
1570
1571#
1572# File systems
1573#
1574CONFIG_EXT2_FS=y
1575# CONFIG_EXT2_FS_XATTR is not set
1576# CONFIG_EXT2_FS_XIP is not set
1577CONFIG_EXT3_FS=y
1578# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
1579CONFIG_EXT3_FS_XATTR=y
1580# CONFIG_EXT3_FS_POSIX_ACL is not set
1581# CONFIG_EXT3_FS_SECURITY is not set
1582# CONFIG_EXT4_FS is not set
1583CONFIG_JBD=y
1584# CONFIG_JBD_DEBUG is not set
1585CONFIG_FS_MBCACHE=y
1586# CONFIG_REISERFS_FS is not set
1587# CONFIG_JFS_FS is not set
1588# CONFIG_FS_POSIX_ACL is not set
1589CONFIG_XFS_FS=m
1590# CONFIG_XFS_QUOTA is not set
1591# CONFIG_XFS_POSIX_ACL is not set
1592# CONFIG_XFS_RT is not set
1593# CONFIG_XFS_DEBUG is not set
1594# CONFIG_GFS2_FS is not set
1595# CONFIG_OCFS2_FS is not set
1596# CONFIG_BTRFS_FS is not set
1597# CONFIG_NILFS2_FS is not set
1598CONFIG_FILE_LOCKING=y
1599CONFIG_FSNOTIFY=y
1600CONFIG_DNOTIFY=y
1601CONFIG_INOTIFY=y
1602CONFIG_INOTIFY_USER=y
1603# CONFIG_QUOTA is not set
1604# CONFIG_AUTOFS_FS is not set
1605CONFIG_AUTOFS4_FS=m
1606# CONFIG_FUSE_FS is not set
1607
1608#
1609# Caches
1610#
1611# CONFIG_FSCACHE is not set
1612
1613#
1614# CD-ROM/DVD Filesystems
1615#
1616# CONFIG_ISO9660_FS is not set
1617# CONFIG_UDF_FS is not set
1618
1619#
1620# DOS/FAT/NT Filesystems
1621#
1622CONFIG_FAT_FS=y
1623CONFIG_MSDOS_FS=y
1624CONFIG_VFAT_FS=y
1625CONFIG_FAT_DEFAULT_CODEPAGE=437
1626CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1627# CONFIG_NTFS_FS is not set
1628
1629#
1630# Pseudo filesystems
1631#
1632CONFIG_PROC_FS=y
1633CONFIG_PROC_SYSCTL=y
1634CONFIG_PROC_PAGE_MONITOR=y
1635CONFIG_SYSFS=y
1636CONFIG_TMPFS=y
1637# CONFIG_TMPFS_POSIX_ACL is not set
1638# CONFIG_HUGETLB_PAGE is not set
1639# CONFIG_CONFIGFS_FS is not set
1640CONFIG_MISC_FILESYSTEMS=y
1641# CONFIG_ADFS_FS is not set
1642# CONFIG_AFFS_FS is not set
1643# CONFIG_HFS_FS is not set
1644# CONFIG_HFSPLUS_FS is not set
1645# CONFIG_BEFS_FS is not set
1646# CONFIG_BFS_FS is not set
1647# CONFIG_EFS_FS is not set
1648CONFIG_JFFS2_FS=y
1649CONFIG_JFFS2_FS_DEBUG=0
1650CONFIG_JFFS2_FS_WRITEBUFFER=y
1651# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
1652# CONFIG_JFFS2_SUMMARY is not set
1653# CONFIG_JFFS2_FS_XATTR is not set
1654# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
1655CONFIG_JFFS2_ZLIB=y
1656# CONFIG_JFFS2_LZO is not set
1657CONFIG_JFFS2_RTIME=y
1658# CONFIG_JFFS2_RUBIN is not set
1659CONFIG_CRAMFS=y
1660# CONFIG_SQUASHFS is not set
1661# CONFIG_VXFS_FS is not set
1662CONFIG_MINIX_FS=m
1663# CONFIG_OMFS_FS is not set
1664# CONFIG_HPFS_FS is not set
1665# CONFIG_QNX4FS_FS is not set
1666# CONFIG_ROMFS_FS is not set
1667# CONFIG_SYSV_FS is not set
1668# CONFIG_UFS_FS is not set
1669CONFIG_NETWORK_FILESYSTEMS=y
1670CONFIG_NFS_FS=y
1671CONFIG_NFS_V3=y
1672# CONFIG_NFS_V3_ACL is not set
1673# CONFIG_NFS_V4 is not set
1674CONFIG_ROOT_NFS=y
1675CONFIG_NFSD=m
1676CONFIG_NFSD_V3=y
1677# CONFIG_NFSD_V3_ACL is not set
1678# CONFIG_NFSD_V4 is not set
1679CONFIG_LOCKD=y
1680CONFIG_LOCKD_V4=y
1681CONFIG_EXPORTFS=m
1682CONFIG_NFS_COMMON=y
1683CONFIG_SUNRPC=y
1684# CONFIG_RPCSEC_GSS_KRB5 is not set
1685# CONFIG_RPCSEC_GSS_SPKM3 is not set
1686CONFIG_SMB_FS=m
1687# CONFIG_SMB_NLS_DEFAULT is not set
1688# CONFIG_CIFS is not set
1689# CONFIG_NCP_FS is not set
1690# CONFIG_CODA_FS is not set
1691# CONFIG_AFS_FS is not set
1692
1693#
1694# Partition Types
1695#
1696CONFIG_PARTITION_ADVANCED=y
1697# CONFIG_ACORN_PARTITION is not set
1698# CONFIG_OSF_PARTITION is not set
1699# CONFIG_AMIGA_PARTITION is not set
1700# CONFIG_ATARI_PARTITION is not set
1701# CONFIG_MAC_PARTITION is not set
1702CONFIG_MSDOS_PARTITION=y
1703# CONFIG_BSD_DISKLABEL is not set
1704# CONFIG_MINIX_SUBPARTITION is not set
1705# CONFIG_SOLARIS_X86_PARTITION is not set
1706# CONFIG_UNIXWARE_DISKLABEL is not set
1707# CONFIG_LDM_PARTITION is not set
1708# CONFIG_SGI_PARTITION is not set
1709# CONFIG_ULTRIX_PARTITION is not set
1710# CONFIG_SUN_PARTITION is not set
1711# CONFIG_KARMA_PARTITION is not set
1712# CONFIG_EFI_PARTITION is not set
1713# CONFIG_SYSV68_PARTITION is not set
1714CONFIG_NLS=y
1715CONFIG_NLS_DEFAULT="iso8859-1"
1716CONFIG_NLS_CODEPAGE_437=y
1717# CONFIG_NLS_CODEPAGE_737 is not set
1718# CONFIG_NLS_CODEPAGE_775 is not set
1719# CONFIG_NLS_CODEPAGE_850 is not set
1720# CONFIG_NLS_CODEPAGE_852 is not set
1721# CONFIG_NLS_CODEPAGE_855 is not set
1722# CONFIG_NLS_CODEPAGE_857 is not set
1723# CONFIG_NLS_CODEPAGE_860 is not set
1724# CONFIG_NLS_CODEPAGE_861 is not set
1725# CONFIG_NLS_CODEPAGE_862 is not set
1726# CONFIG_NLS_CODEPAGE_863 is not set
1727# CONFIG_NLS_CODEPAGE_864 is not set
1728# CONFIG_NLS_CODEPAGE_865 is not set
1729# CONFIG_NLS_CODEPAGE_866 is not set
1730# CONFIG_NLS_CODEPAGE_869 is not set
1731# CONFIG_NLS_CODEPAGE_936 is not set
1732# CONFIG_NLS_CODEPAGE_950 is not set
1733# CONFIG_NLS_CODEPAGE_932 is not set
1734# CONFIG_NLS_CODEPAGE_949 is not set
1735# CONFIG_NLS_CODEPAGE_874 is not set
1736# CONFIG_NLS_ISO8859_8 is not set
1737# CONFIG_NLS_CODEPAGE_1250 is not set
1738# CONFIG_NLS_CODEPAGE_1251 is not set
1739CONFIG_NLS_ASCII=m
1740CONFIG_NLS_ISO8859_1=y
1741# CONFIG_NLS_ISO8859_2 is not set
1742# CONFIG_NLS_ISO8859_3 is not set
1743# CONFIG_NLS_ISO8859_4 is not set
1744# CONFIG_NLS_ISO8859_5 is not set
1745# CONFIG_NLS_ISO8859_6 is not set
1746# CONFIG_NLS_ISO8859_7 is not set
1747# CONFIG_NLS_ISO8859_9 is not set
1748# CONFIG_NLS_ISO8859_13 is not set
1749# CONFIG_NLS_ISO8859_14 is not set
1750# CONFIG_NLS_ISO8859_15 is not set
1751# CONFIG_NLS_KOI8_R is not set
1752# CONFIG_NLS_KOI8_U is not set
1753CONFIG_NLS_UTF8=m
1754# CONFIG_DLM is not set
1755
1756#
1757# Kernel hacking
1758#
1759# CONFIG_PRINTK_TIME is not set
1760CONFIG_ENABLE_WARN_DEPRECATED=y
1761CONFIG_ENABLE_MUST_CHECK=y
1762CONFIG_FRAME_WARN=1024
1763# CONFIG_MAGIC_SYSRQ is not set
1764# CONFIG_STRIP_ASM_SYMS is not set
1765# CONFIG_UNUSED_SYMBOLS is not set
1766CONFIG_DEBUG_FS=y
1767# CONFIG_HEADERS_CHECK is not set
1768CONFIG_DEBUG_KERNEL=y
1769# CONFIG_DEBUG_SHIRQ is not set
1770CONFIG_DETECT_SOFTLOCKUP=y
1771# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1772CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
1773CONFIG_DETECT_HUNG_TASK=y
1774# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
1775CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
1776CONFIG_SCHED_DEBUG=y
1777# CONFIG_SCHEDSTATS is not set
1778CONFIG_TIMER_STATS=y
1779# CONFIG_DEBUG_OBJECTS is not set
1780# CONFIG_SLUB_DEBUG_ON is not set
1781# CONFIG_SLUB_STATS is not set
1782# CONFIG_DEBUG_KMEMLEAK is not set
1783CONFIG_DEBUG_PREEMPT=y
1784CONFIG_DEBUG_RT_MUTEXES=y
1785CONFIG_DEBUG_PI_LIST=y
1786# CONFIG_RT_MUTEX_TESTER is not set
1787# CONFIG_DEBUG_SPINLOCK is not set
1788CONFIG_DEBUG_MUTEXES=y
1789# CONFIG_DEBUG_LOCK_ALLOC is not set
1790# CONFIG_PROVE_LOCKING is not set
1791# CONFIG_LOCK_STAT is not set
1792# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1793# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1794# CONFIG_DEBUG_KOBJECT is not set
1795CONFIG_DEBUG_BUGVERBOSE=y
1796# CONFIG_DEBUG_INFO is not set
1797# CONFIG_DEBUG_VM is not set
1798# CONFIG_DEBUG_WRITECOUNT is not set
1799# CONFIG_DEBUG_MEMORY_INIT is not set
1800# CONFIG_DEBUG_LIST is not set
1801# CONFIG_DEBUG_SG is not set
1802# CONFIG_DEBUG_NOTIFIERS is not set
1803# CONFIG_DEBUG_CREDENTIALS is not set
1804CONFIG_FRAME_POINTER=y
1805# CONFIG_BOOT_PRINTK_DELAY is not set
1806# CONFIG_RCU_TORTURE_TEST is not set
1807# CONFIG_RCU_CPU_STALL_DETECTOR is not set
1808# CONFIG_BACKTRACE_SELF_TEST is not set
1809# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
1810# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
1811# CONFIG_FAULT_INJECTION is not set
1812# CONFIG_LATENCYTOP is not set
1813# CONFIG_SYSCTL_SYSCALL_CHECK is not set
1814# CONFIG_PAGE_POISONING is not set
1815CONFIG_HAVE_FUNCTION_TRACER=y
1816CONFIG_TRACING_SUPPORT=y
1817CONFIG_FTRACE=y
1818# CONFIG_FUNCTION_TRACER is not set
1819# CONFIG_IRQSOFF_TRACER is not set
1820# CONFIG_PREEMPT_TRACER is not set
1821# CONFIG_SCHED_TRACER is not set
1822# CONFIG_ENABLE_DEFAULT_TRACERS is not set
1823# CONFIG_BOOT_TRACER is not set
1824CONFIG_BRANCH_PROFILE_NONE=y
1825# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
1826# CONFIG_PROFILE_ALL_BRANCHES is not set
1827# CONFIG_STACK_TRACER is not set
1828# CONFIG_KMEMTRACE is not set
1829# CONFIG_WORKQUEUE_TRACER is not set
1830# CONFIG_BLK_DEV_IO_TRACE is not set
1831# CONFIG_DYNAMIC_DEBUG is not set
1832# CONFIG_SAMPLES is not set
1833CONFIG_HAVE_ARCH_KGDB=y
1834# CONFIG_KGDB is not set
1835# CONFIG_ARM_UNWIND is not set
1836CONFIG_DEBUG_USER=y
1837CONFIG_DEBUG_ERRORS=y
1838# CONFIG_DEBUG_STACK_USAGE is not set
1839# CONFIG_DEBUG_LL is not set
1840
1841#
1842# Security options
1843#
1844# CONFIG_KEYS is not set
1845# CONFIG_SECURITY is not set
1846# CONFIG_SECURITYFS is not set
1847# CONFIG_SECURITY_FILE_CAPABILITIES is not set
1848CONFIG_CRYPTO=y
1849
1850#
1851# Crypto core or helper
1852#
1853# CONFIG_CRYPTO_MANAGER is not set
1854# CONFIG_CRYPTO_MANAGER2 is not set
1855# CONFIG_CRYPTO_GF128MUL is not set
1856# CONFIG_CRYPTO_NULL is not set
1857# CONFIG_CRYPTO_CRYPTD is not set
1858# CONFIG_CRYPTO_AUTHENC is not set
1859# CONFIG_CRYPTO_TEST is not set
1860
1861#
1862# Authenticated Encryption with Associated Data
1863#
1864# CONFIG_CRYPTO_CCM is not set
1865# CONFIG_CRYPTO_GCM is not set
1866# CONFIG_CRYPTO_SEQIV is not set
1867
1868#
1869# Block modes
1870#
1871# CONFIG_CRYPTO_CBC is not set
1872# CONFIG_CRYPTO_CTR is not set
1873# CONFIG_CRYPTO_CTS is not set
1874# CONFIG_CRYPTO_ECB is not set
1875# CONFIG_CRYPTO_LRW is not set
1876# CONFIG_CRYPTO_PCBC is not set
1877# CONFIG_CRYPTO_XTS is not set
1878
1879#
1880# Hash modes
1881#
1882# CONFIG_CRYPTO_HMAC is not set
1883# CONFIG_CRYPTO_XCBC is not set
1884# CONFIG_CRYPTO_VMAC is not set
1885
1886#
1887# Digest
1888#
1889# CONFIG_CRYPTO_CRC32C is not set
1890# CONFIG_CRYPTO_GHASH is not set
1891# CONFIG_CRYPTO_MD4 is not set
1892# CONFIG_CRYPTO_MD5 is not set
1893# CONFIG_CRYPTO_MICHAEL_MIC is not set
1894# CONFIG_CRYPTO_RMD128 is not set
1895# CONFIG_CRYPTO_RMD160 is not set
1896# CONFIG_CRYPTO_RMD256 is not set
1897# CONFIG_CRYPTO_RMD320 is not set
1898# CONFIG_CRYPTO_SHA1 is not set
1899# CONFIG_CRYPTO_SHA256 is not set
1900# CONFIG_CRYPTO_SHA512 is not set
1901# CONFIG_CRYPTO_TGR192 is not set
1902# CONFIG_CRYPTO_WP512 is not set
1903
1904#
1905# Ciphers
1906#
1907# CONFIG_CRYPTO_AES is not set
1908# CONFIG_CRYPTO_ANUBIS is not set
1909# CONFIG_CRYPTO_ARC4 is not set
1910# CONFIG_CRYPTO_BLOWFISH is not set
1911# CONFIG_CRYPTO_CAMELLIA is not set
1912# CONFIG_CRYPTO_CAST5 is not set
1913# CONFIG_CRYPTO_CAST6 is not set
1914# CONFIG_CRYPTO_DES is not set
1915# CONFIG_CRYPTO_FCRYPT is not set
1916# CONFIG_CRYPTO_KHAZAD is not set
1917# CONFIG_CRYPTO_SALSA20 is not set
1918# CONFIG_CRYPTO_SEED is not set
1919# CONFIG_CRYPTO_SERPENT is not set
1920# CONFIG_CRYPTO_TEA is not set
1921# CONFIG_CRYPTO_TWOFISH is not set
1922
1923#
1924# Compression
1925#
1926# CONFIG_CRYPTO_DEFLATE is not set
1927# CONFIG_CRYPTO_ZLIB is not set
1928# CONFIG_CRYPTO_LZO is not set
1929
1930#
1931# Random Number Generation
1932#
1933# CONFIG_CRYPTO_ANSI_CPRNG is not set
1934# CONFIG_CRYPTO_HW is not set
1935# CONFIG_BINARY_PRINTF is not set
1936
1937#
1938# Library routines
1939#
1940CONFIG_BITREVERSE=y
1941CONFIG_GENERIC_FIND_LAST_BIT=y
1942CONFIG_CRC_CCITT=y
1943# CONFIG_CRC16 is not set
1944CONFIG_CRC_T10DIF=m
1945# CONFIG_CRC_ITU_T is not set
1946CONFIG_CRC32=y
1947# CONFIG_CRC7 is not set
1948# CONFIG_LIBCRC32C is not set
1949CONFIG_ZLIB_INFLATE=y
1950CONFIG_ZLIB_DEFLATE=y
1951CONFIG_DECOMPRESS_GZIP=y
1952CONFIG_GENERIC_ALLOCATOR=y
1953CONFIG_HAS_IOMEM=y
1954CONFIG_HAS_IOPORT=y
1955CONFIG_HAS_DMA=y
1956CONFIG_NLATTR=y
diff --git a/recipes-kernel/linux/linux-davinci/dm6467t-evm/defconfig b/recipes-kernel/linux/linux-davinci/dm6467t-evm/defconfig
deleted file mode 100644
index b33b6f62..00000000
--- a/recipes-kernel/linux/linux-davinci/dm6467t-evm/defconfig
+++ /dev/null
@@ -1,1953 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.32-rc2-davinci1
4# Wed Oct 14 16:24:38 2009
5#
6CONFIG_ARM=y
7CONFIG_SYS_SUPPORTS_APM_EMULATION=y
8CONFIG_GENERIC_GPIO=y
9CONFIG_GENERIC_TIME=y
10CONFIG_GENERIC_CLOCKEVENTS=y
11CONFIG_GENERIC_HARDIRQS=y
12CONFIG_STACKTRACE_SUPPORT=y
13CONFIG_HAVE_LATENCYTOP_SUPPORT=y
14CONFIG_LOCKDEP_SUPPORT=y
15CONFIG_TRACE_IRQFLAGS_SUPPORT=y
16CONFIG_HARDIRQS_SW_RESEND=y
17CONFIG_GENERIC_IRQ_PROBE=y
18CONFIG_RWSEM_GENERIC_SPINLOCK=y
19CONFIG_GENERIC_HWEIGHT=y
20CONFIG_GENERIC_CALIBRATE_DELAY=y
21CONFIG_ZONE_DMA=y
22CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
23CONFIG_VECTORS_BASE=0xffff0000
24CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
25CONFIG_CONSTRUCTORS=y
26
27#
28# General setup
29#
30CONFIG_EXPERIMENTAL=y
31CONFIG_BROKEN_ON_SMP=y
32CONFIG_LOCK_KERNEL=y
33CONFIG_INIT_ENV_ARG_LIMIT=32
34CONFIG_LOCALVERSION=""
35CONFIG_LOCALVERSION_AUTO=y
36# CONFIG_SWAP is not set
37CONFIG_SYSVIPC=y
38CONFIG_SYSVIPC_SYSCTL=y
39CONFIG_POSIX_MQUEUE=y
40CONFIG_POSIX_MQUEUE_SYSCTL=y
41# CONFIG_BSD_PROCESS_ACCT is not set
42# CONFIG_TASKSTATS is not set
43# CONFIG_AUDIT is not set
44
45#
46# RCU Subsystem
47#
48CONFIG_TREE_RCU=y
49# CONFIG_TREE_PREEMPT_RCU is not set
50# CONFIG_RCU_TRACE is not set
51CONFIG_RCU_FANOUT=32
52# CONFIG_RCU_FANOUT_EXACT is not set
53# CONFIG_TREE_RCU_TRACE is not set
54CONFIG_IKCONFIG=y
55CONFIG_IKCONFIG_PROC=y
56CONFIG_LOG_BUF_SHIFT=14
57CONFIG_GROUP_SCHED=y
58CONFIG_FAIR_GROUP_SCHED=y
59# CONFIG_RT_GROUP_SCHED is not set
60CONFIG_USER_SCHED=y
61# CONFIG_CGROUP_SCHED is not set
62# CONFIG_CGROUPS is not set
63# CONFIG_SYSFS_DEPRECATED_V2 is not set
64# CONFIG_RELAY is not set
65# CONFIG_NAMESPACES is not set
66CONFIG_BLK_DEV_INITRD=y
67CONFIG_INITRAMFS_SOURCE=""
68CONFIG_RD_GZIP=y
69# CONFIG_RD_BZIP2 is not set
70# CONFIG_RD_LZMA is not set
71CONFIG_CC_OPTIMIZE_FOR_SIZE=y
72CONFIG_SYSCTL=y
73CONFIG_ANON_INODES=y
74CONFIG_EMBEDDED=y
75CONFIG_UID16=y
76CONFIG_SYSCTL_SYSCALL=y
77CONFIG_KALLSYMS=y
78# CONFIG_KALLSYMS_ALL is not set
79# CONFIG_KALLSYMS_EXTRA_PASS is not set
80CONFIG_HOTPLUG=y
81CONFIG_PRINTK=y
82CONFIG_BUG=y
83CONFIG_ELF_CORE=y
84CONFIG_BASE_FULL=y
85CONFIG_FUTEX=y
86CONFIG_EPOLL=y
87CONFIG_SIGNALFD=y
88CONFIG_TIMERFD=y
89CONFIG_EVENTFD=y
90CONFIG_SHMEM=y
91CONFIG_AIO=y
92
93#
94# Kernel Performance Events And Counters
95#
96CONFIG_VM_EVENT_COUNTERS=y
97CONFIG_SLUB_DEBUG=y
98CONFIG_COMPAT_BRK=y
99# CONFIG_SLAB is not set
100CONFIG_SLUB=y
101# CONFIG_SLOB is not set
102# CONFIG_PROFILING is not set
103CONFIG_HAVE_OPROFILE=y
104# CONFIG_KPROBES is not set
105CONFIG_HAVE_KPROBES=y
106CONFIG_HAVE_KRETPROBES=y
107CONFIG_HAVE_CLK=y
108
109#
110# GCOV-based kernel profiling
111#
112# CONFIG_GCOV_KERNEL is not set
113# CONFIG_SLOW_WORK is not set
114CONFIG_HAVE_GENERIC_DMA_COHERENT=y
115CONFIG_SLABINFO=y
116CONFIG_RT_MUTEXES=y
117CONFIG_BASE_SMALL=0
118CONFIG_MODULES=y
119# CONFIG_MODULE_FORCE_LOAD is not set
120CONFIG_MODULE_UNLOAD=y
121CONFIG_MODULE_FORCE_UNLOAD=y
122CONFIG_MODVERSIONS=y
123# CONFIG_MODULE_SRCVERSION_ALL is not set
124CONFIG_BLOCK=y
125CONFIG_LBDAF=y
126# CONFIG_BLK_DEV_BSG is not set
127# CONFIG_BLK_DEV_INTEGRITY is not set
128
129#
130# IO Schedulers
131#
132CONFIG_IOSCHED_NOOP=y
133CONFIG_IOSCHED_AS=y
134# CONFIG_IOSCHED_DEADLINE is not set
135# CONFIG_IOSCHED_CFQ is not set
136CONFIG_DEFAULT_AS=y
137# CONFIG_DEFAULT_DEADLINE is not set
138# CONFIG_DEFAULT_CFQ is not set
139# CONFIG_DEFAULT_NOOP is not set
140CONFIG_DEFAULT_IOSCHED="anticipatory"
141# CONFIG_FREEZER is not set
142
143#
144# System Type
145#
146CONFIG_MMU=y
147# CONFIG_ARCH_AAEC2000 is not set
148# CONFIG_ARCH_INTEGRATOR is not set
149# CONFIG_ARCH_REALVIEW is not set
150# CONFIG_ARCH_VERSATILE is not set
151# CONFIG_ARCH_AT91 is not set
152# CONFIG_ARCH_CLPS711X is not set
153# CONFIG_ARCH_GEMINI is not set
154# CONFIG_ARCH_EBSA110 is not set
155# CONFIG_ARCH_EP93XX is not set
156# CONFIG_ARCH_FOOTBRIDGE is not set
157# CONFIG_ARCH_MXC is not set
158# CONFIG_ARCH_STMP3XXX is not set
159# CONFIG_ARCH_NETX is not set
160# CONFIG_ARCH_H720X is not set
161# CONFIG_ARCH_NOMADIK is not set
162# CONFIG_ARCH_IOP13XX is not set
163# CONFIG_ARCH_IOP32X is not set
164# CONFIG_ARCH_IOP33X is not set
165# CONFIG_ARCH_IXP23XX is not set
166# CONFIG_ARCH_IXP2000 is not set
167# CONFIG_ARCH_IXP4XX is not set
168# CONFIG_ARCH_L7200 is not set
169# CONFIG_ARCH_KIRKWOOD is not set
170# CONFIG_ARCH_LOKI is not set
171# CONFIG_ARCH_MV78XX0 is not set
172# CONFIG_ARCH_ORION5X is not set
173# CONFIG_ARCH_MMP is not set
174# CONFIG_ARCH_KS8695 is not set
175# CONFIG_ARCH_NS9XXX is not set
176# CONFIG_ARCH_W90X900 is not set
177# CONFIG_ARCH_PNX4008 is not set
178# CONFIG_ARCH_PXA is not set
179# CONFIG_ARCH_MSM is not set
180# CONFIG_ARCH_RPC is not set
181# CONFIG_ARCH_SA1100 is not set
182# CONFIG_ARCH_S3C2410 is not set
183# CONFIG_ARCH_S3C64XX is not set
184# CONFIG_ARCH_S5PC1XX is not set
185# CONFIG_ARCH_SHARK is not set
186# CONFIG_ARCH_LH7A40X is not set
187# CONFIG_ARCH_U300 is not set
188CONFIG_ARCH_DAVINCI=y
189# CONFIG_ARCH_OMAP is not set
190# CONFIG_ARCH_BCMRING is not set
191CONFIG_AINTC=y
192CONFIG_ARCH_DAVINCI_DMx=y
193
194#
195# TI DaVinci Implementations
196#
197
198#
199# DaVinci Core Type
200#
201# CONFIG_ARCH_DAVINCI_DM644x is not set
202# CONFIG_ARCH_DAVINCI_DM355 is not set
203CONFIG_ARCH_DAVINCI_DM646x=y
204# CONFIG_ARCH_DAVINCI_DA830 is not set
205# CONFIG_ARCH_DAVINCI_DA850 is not set
206# CONFIG_ARCH_DAVINCI_DM365 is not set
207
208#
209# DaVinci Board Type
210#
211CONFIG_MACH_DAVINCI_DM6467_EVM=y
212CONFIG_DAVINCI_MUX=y
213CONFIG_DAVINCI_MUX_DEBUG=y
214CONFIG_DAVINCI_MUX_WARNINGS=y
215CONFIG_DAVINCI_RESET_CLOCKS=y
216CONFIG_OSC_CLK_FREQ=33000000
217
218#
219# Processor Type
220#
221CONFIG_CPU_32=y
222CONFIG_CPU_ARM926T=y
223CONFIG_CPU_32v5=y
224CONFIG_CPU_ABRT_EV5TJ=y
225CONFIG_CPU_PABRT_NOIFAR=y
226CONFIG_CPU_CACHE_VIVT=y
227CONFIG_CPU_COPY_V4WB=y
228CONFIG_CPU_TLB_V4WBI=y
229CONFIG_CPU_CP15=y
230CONFIG_CPU_CP15_MMU=y
231
232#
233# Processor Features
234#
235CONFIG_ARM_THUMB=y
236# CONFIG_CPU_ICACHE_DISABLE is not set
237# CONFIG_CPU_DCACHE_DISABLE is not set
238# CONFIG_CPU_DCACHE_WRITETHROUGH is not set
239# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
240CONFIG_ARM_L1_CACHE_SHIFT=5
241CONFIG_COMMON_CLKDEV=y
242CONFIG_FORCE_MAX_ZONEORDER=13
243
244#
245# Bus support
246#
247# CONFIG_PCI is not set
248# CONFIG_PCI_SYSCALL is not set
249# CONFIG_ARCH_SUPPORTS_MSI is not set
250# CONFIG_PCCARD is not set
251
252#
253# Kernel Features
254#
255CONFIG_TICK_ONESHOT=y
256CONFIG_NO_HZ=y
257CONFIG_HIGH_RES_TIMERS=y
258CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
259CONFIG_VMSPLIT_3G=y
260# CONFIG_VMSPLIT_2G is not set
261# CONFIG_VMSPLIT_1G is not set
262CONFIG_PAGE_OFFSET=0xC0000000
263# CONFIG_PREEMPT_NONE is not set
264# CONFIG_PREEMPT_VOLUNTARY is not set
265CONFIG_PREEMPT=y
266CONFIG_HZ=100
267CONFIG_AEABI=y
268# CONFIG_OABI_COMPAT is not set
269# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
270# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
271# CONFIG_HIGHMEM is not set
272CONFIG_SELECT_MEMORY_MODEL=y
273CONFIG_FLATMEM_MANUAL=y
274# CONFIG_DISCONTIGMEM_MANUAL is not set
275# CONFIG_SPARSEMEM_MANUAL is not set
276CONFIG_FLATMEM=y
277CONFIG_FLAT_NODE_MEM_MAP=y
278CONFIG_PAGEFLAGS_EXTENDED=y
279CONFIG_SPLIT_PTLOCK_CPUS=4096
280# CONFIG_PHYS_ADDR_T_64BIT is not set
281CONFIG_ZONE_DMA_FLAG=1
282CONFIG_BOUNCE=y
283CONFIG_VIRT_TO_BUS=y
284CONFIG_HAVE_MLOCK=y
285CONFIG_HAVE_MLOCKED_PAGE_BIT=y
286# CONFIG_KSM is not set
287CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
288CONFIG_LEDS=y
289# CONFIG_LEDS_CPU is not set
290CONFIG_ALIGNMENT_TRAP=y
291# CONFIG_UACCESS_WITH_MEMCPY is not set
292
293#
294# Boot options
295#
296CONFIG_ZBOOT_ROM_TEXT=0x0
297CONFIG_ZBOOT_ROM_BSS=0x0
298CONFIG_CMDLINE=""
299# CONFIG_XIP_KERNEL is not set
300# CONFIG_KEXEC is not set
301
302#
303# CPU Power Management
304#
305# CONFIG_CPU_IDLE is not set
306
307#
308# Floating point emulation
309#
310
311#
312# At least one emulation must be selected
313#
314# CONFIG_VFP is not set
315
316#
317# Userspace binary formats
318#
319CONFIG_BINFMT_ELF=y
320# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
321CONFIG_HAVE_AOUT=y
322# CONFIG_BINFMT_AOUT is not set
323# CONFIG_BINFMT_MISC is not set
324
325#
326# Power management options
327#
328# CONFIG_PM is not set
329CONFIG_ARCH_SUSPEND_POSSIBLE=y
330CONFIG_NET=y
331
332#
333# Networking options
334#
335CONFIG_PACKET=y
336# CONFIG_PACKET_MMAP is not set
337CONFIG_UNIX=y
338CONFIG_XFRM=y
339# CONFIG_XFRM_USER is not set
340# CONFIG_XFRM_SUB_POLICY is not set
341# CONFIG_XFRM_MIGRATE is not set
342# CONFIG_XFRM_STATISTICS is not set
343# CONFIG_NET_KEY is not set
344CONFIG_INET=y
345# CONFIG_IP_MULTICAST is not set
346# CONFIG_IP_ADVANCED_ROUTER is not set
347CONFIG_IP_FIB_HASH=y
348CONFIG_IP_PNP=y
349CONFIG_IP_PNP_DHCP=y
350# CONFIG_IP_PNP_BOOTP is not set
351# CONFIG_IP_PNP_RARP is not set
352# CONFIG_NET_IPIP is not set
353# CONFIG_NET_IPGRE is not set
354# CONFIG_ARPD is not set
355# CONFIG_SYN_COOKIES is not set
356# CONFIG_INET_AH is not set
357# CONFIG_INET_ESP is not set
358# CONFIG_INET_IPCOMP is not set
359# CONFIG_INET_XFRM_TUNNEL is not set
360CONFIG_INET_TUNNEL=m
361CONFIG_INET_XFRM_MODE_TRANSPORT=y
362CONFIG_INET_XFRM_MODE_TUNNEL=y
363CONFIG_INET_XFRM_MODE_BEET=y
364# CONFIG_INET_LRO is not set
365CONFIG_INET_DIAG=y
366CONFIG_INET_TCP_DIAG=y
367# CONFIG_TCP_CONG_ADVANCED is not set
368CONFIG_TCP_CONG_CUBIC=y
369CONFIG_DEFAULT_TCP_CONG="cubic"
370# CONFIG_TCP_MD5SIG is not set
371CONFIG_IPV6=m
372# CONFIG_IPV6_PRIVACY is not set
373# CONFIG_IPV6_ROUTER_PREF is not set
374# CONFIG_IPV6_OPTIMISTIC_DAD is not set
375# CONFIG_INET6_AH is not set
376# CONFIG_INET6_ESP is not set
377# CONFIG_INET6_IPCOMP is not set
378# CONFIG_IPV6_MIP6 is not set
379# CONFIG_INET6_XFRM_TUNNEL is not set
380# CONFIG_INET6_TUNNEL is not set
381CONFIG_INET6_XFRM_MODE_TRANSPORT=m
382CONFIG_INET6_XFRM_MODE_TUNNEL=m
383CONFIG_INET6_XFRM_MODE_BEET=m
384# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
385CONFIG_IPV6_SIT=m
386CONFIG_IPV6_NDISC_NODETYPE=y
387# CONFIG_IPV6_TUNNEL is not set
388# CONFIG_IPV6_MULTIPLE_TABLES is not set
389# CONFIG_IPV6_MROUTE is not set
390# CONFIG_NETWORK_SECMARK is not set
391CONFIG_NETFILTER=y
392# CONFIG_NETFILTER_DEBUG is not set
393CONFIG_NETFILTER_ADVANCED=y
394
395#
396# Core Netfilter Configuration
397#
398# CONFIG_NETFILTER_NETLINK_QUEUE is not set
399# CONFIG_NETFILTER_NETLINK_LOG is not set
400# CONFIG_NF_CONNTRACK is not set
401# CONFIG_NETFILTER_XTABLES is not set
402# CONFIG_IP_VS is not set
403
404#
405# IP: Netfilter Configuration
406#
407# CONFIG_NF_DEFRAG_IPV4 is not set
408# CONFIG_IP_NF_QUEUE is not set
409# CONFIG_IP_NF_IPTABLES is not set
410# CONFIG_IP_NF_ARPTABLES is not set
411
412#
413# IPv6: Netfilter Configuration
414#
415# CONFIG_IP6_NF_QUEUE is not set
416# CONFIG_IP6_NF_IPTABLES is not set
417# CONFIG_IP_DCCP is not set
418# CONFIG_IP_SCTP is not set
419# CONFIG_RDS is not set
420# CONFIG_TIPC is not set
421# CONFIG_ATM is not set
422# CONFIG_BRIDGE is not set
423# CONFIG_NET_DSA is not set
424# CONFIG_VLAN_8021Q is not set
425# CONFIG_DECNET is not set
426# CONFIG_LLC2 is not set
427# CONFIG_IPX is not set
428# CONFIG_ATALK is not set
429# CONFIG_X25 is not set
430# CONFIG_LAPB is not set
431# CONFIG_ECONET is not set
432# CONFIG_WAN_ROUTER is not set
433# CONFIG_PHONET is not set
434# CONFIG_IEEE802154 is not set
435# CONFIG_NET_SCHED is not set
436# CONFIG_DCB is not set
437
438#
439# Network testing
440#
441# CONFIG_NET_PKTGEN is not set
442# CONFIG_HAMRADIO is not set
443# CONFIG_CAN is not set
444# CONFIG_IRDA is not set
445# CONFIG_BT is not set
446# CONFIG_AF_RXRPC is not set
447# CONFIG_WIRELESS is not set
448# CONFIG_WIMAX is not set
449# CONFIG_RFKILL is not set
450# CONFIG_NET_9P is not set
451
452#
453# Device Drivers
454#
455
456#
457# Generic Driver Options
458#
459CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
460# CONFIG_DEVTMPFS is not set
461CONFIG_STANDALONE=y
462CONFIG_PREVENT_FIRMWARE_BUILD=y
463# CONFIG_FW_LOADER is not set
464# CONFIG_DEBUG_DRIVER is not set
465# CONFIG_DEBUG_DEVRES is not set
466# CONFIG_SYS_HYPERVISOR is not set
467# CONFIG_CONNECTOR is not set
468CONFIG_MTD=y
469# CONFIG_MTD_DEBUG is not set
470# CONFIG_MTD_TESTS is not set
471# CONFIG_MTD_CONCAT is not set
472CONFIG_MTD_PARTITIONS=y
473# CONFIG_MTD_REDBOOT_PARTS is not set
474# CONFIG_MTD_CMDLINE_PARTS is not set
475# CONFIG_MTD_AFS_PARTS is not set
476# CONFIG_MTD_AR7_PARTS is not set
477
478#
479# User Modules And Translation Layers
480#
481CONFIG_MTD_CHAR=y
482CONFIG_MTD_BLKDEVS=y
483CONFIG_MTD_BLOCK=y
484# CONFIG_FTL is not set
485# CONFIG_NFTL is not set
486# CONFIG_INFTL is not set
487# CONFIG_RFD_FTL is not set
488# CONFIG_SSFDC is not set
489# CONFIG_MTD_OOPS is not set
490
491#
492# RAM/ROM/Flash chip drivers
493#
494CONFIG_MTD_CFI=y
495# CONFIG_MTD_JEDECPROBE is not set
496CONFIG_MTD_GEN_PROBE=y
497# CONFIG_MTD_CFI_ADV_OPTIONS is not set
498CONFIG_MTD_MAP_BANK_WIDTH_1=y
499CONFIG_MTD_MAP_BANK_WIDTH_2=y
500CONFIG_MTD_MAP_BANK_WIDTH_4=y
501# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
502# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
503# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
504CONFIG_MTD_CFI_I1=y
505CONFIG_MTD_CFI_I2=y
506# CONFIG_MTD_CFI_I4 is not set
507# CONFIG_MTD_CFI_I8 is not set
508CONFIG_MTD_CFI_INTELEXT=y
509CONFIG_MTD_CFI_AMDSTD=y
510# CONFIG_MTD_CFI_STAA is not set
511CONFIG_MTD_CFI_UTIL=y
512# CONFIG_MTD_RAM is not set
513# CONFIG_MTD_ROM is not set
514# CONFIG_MTD_ABSENT is not set
515
516#
517# Mapping drivers for chip access
518#
519# CONFIG_MTD_COMPLEX_MAPPINGS is not set
520CONFIG_MTD_PHYSMAP=y
521# CONFIG_MTD_PHYSMAP_COMPAT is not set
522# CONFIG_MTD_ARM_INTEGRATOR is not set
523# CONFIG_MTD_PLATRAM is not set
524
525#
526# Self-contained MTD device drivers
527#
528# CONFIG_MTD_DATAFLASH is not set
529# CONFIG_MTD_M25P80 is not set
530# CONFIG_MTD_SST25L is not set
531# CONFIG_MTD_SLRAM is not set
532# CONFIG_MTD_PHRAM is not set
533# CONFIG_MTD_MTDRAM is not set
534# CONFIG_MTD_BLOCK2MTD is not set
535
536#
537# Disk-On-Chip Device Drivers
538#
539# CONFIG_MTD_DOC2000 is not set
540# CONFIG_MTD_DOC2001 is not set
541# CONFIG_MTD_DOC2001PLUS is not set
542CONFIG_MTD_NAND=y
543# CONFIG_MTD_NAND_VERIFY_WRITE is not set
544# CONFIG_MTD_NAND_ECC_SMC is not set
545# CONFIG_MTD_NAND_MUSEUM_IDS is not set
546# CONFIG_MTD_NAND_GPIO is not set
547CONFIG_MTD_NAND_IDS=y
548# CONFIG_MTD_NAND_DISKONCHIP is not set
549# CONFIG_MTD_NAND_NANDSIM is not set
550# CONFIG_MTD_NAND_PLATFORM is not set
551# CONFIG_MTD_ALAUDA is not set
552CONFIG_MTD_NAND_DAVINCI=y
553# CONFIG_MTD_ONENAND is not set
554
555#
556# LPDDR flash memory drivers
557#
558# CONFIG_MTD_LPDDR is not set
559
560#
561# UBI - Unsorted block images
562#
563# CONFIG_MTD_UBI is not set
564# CONFIG_PARPORT is not set
565CONFIG_BLK_DEV=y
566# CONFIG_BLK_DEV_COW_COMMON is not set
567CONFIG_BLK_DEV_LOOP=y
568# CONFIG_BLK_DEV_CRYPTOLOOP is not set
569# CONFIG_BLK_DEV_NBD is not set
570# CONFIG_BLK_DEV_UB is not set
571CONFIG_BLK_DEV_RAM=y
572CONFIG_BLK_DEV_RAM_COUNT=1
573CONFIG_BLK_DEV_RAM_SIZE=65536
574# CONFIG_BLK_DEV_XIP is not set
575# CONFIG_CDROM_PKTCDVD is not set
576# CONFIG_ATA_OVER_ETH is not set
577# CONFIG_MG_DISK is not set
578CONFIG_MISC_DEVICES=y
579# CONFIG_ICS932S401 is not set
580# CONFIG_ENCLOSURE_SERVICES is not set
581# CONFIG_ISL29003 is not set
582# CONFIG_C2PORT is not set
583
584#
585# EEPROM support
586#
587CONFIG_EEPROM_AT24=y
588CONFIG_EEPROM_AT25=y
589# CONFIG_EEPROM_LEGACY is not set
590# CONFIG_EEPROM_MAX6875 is not set
591# CONFIG_EEPROM_93CX6 is not set
592CONFIG_HAVE_IDE=y
593CONFIG_IDE=y
594
595#
596# Please see Documentation/ide/ide.txt for help/info on IDE drives
597#
598CONFIG_IDE_XFER_MODE=y
599CONFIG_IDE_TIMINGS=y
600# CONFIG_BLK_DEV_IDE_SATA is not set
601CONFIG_IDE_GD=y
602CONFIG_IDE_GD_ATA=y
603# CONFIG_IDE_GD_ATAPI is not set
604# CONFIG_BLK_DEV_IDECD is not set
605# CONFIG_BLK_DEV_IDETAPE is not set
606# CONFIG_IDE_TASK_IOCTL is not set
607CONFIG_IDE_PROC_FS=y
608
609#
610# IDE chipset support/bugfixes
611#
612# CONFIG_BLK_DEV_PLATFORM is not set
613CONFIG_BLK_DEV_IDEDMA_SFF=y
614CONFIG_BLK_DEV_PALMCHIP_BK3710=y
615CONFIG_BLK_DEV_IDEDMA=y
616
617#
618# SCSI device support
619#
620# CONFIG_RAID_ATTRS is not set
621CONFIG_SCSI=y
622CONFIG_SCSI_DMA=y
623# CONFIG_SCSI_TGT is not set
624# CONFIG_SCSI_NETLINK is not set
625CONFIG_SCSI_PROC_FS=y
626
627#
628# SCSI support type (disk, tape, CD-ROM)
629#
630CONFIG_BLK_DEV_SD=y
631# CONFIG_CHR_DEV_ST is not set
632# CONFIG_CHR_DEV_OSST is not set
633# CONFIG_BLK_DEV_SR is not set
634# CONFIG_CHR_DEV_SG is not set
635# CONFIG_CHR_DEV_SCH is not set
636# CONFIG_SCSI_MULTI_LUN is not set
637# CONFIG_SCSI_CONSTANTS is not set
638# CONFIG_SCSI_LOGGING is not set
639# CONFIG_SCSI_SCAN_ASYNC is not set
640CONFIG_SCSI_WAIT_SCAN=m
641
642#
643# SCSI Transports
644#
645# CONFIG_SCSI_SPI_ATTRS is not set
646# CONFIG_SCSI_FC_ATTRS is not set
647# CONFIG_SCSI_ISCSI_ATTRS is not set
648# CONFIG_SCSI_SAS_LIBSAS is not set
649# CONFIG_SCSI_SRP_ATTRS is not set
650CONFIG_SCSI_LOWLEVEL=y
651# CONFIG_ISCSI_TCP is not set
652# CONFIG_LIBFC is not set
653# CONFIG_LIBFCOE is not set
654# CONFIG_SCSI_DEBUG is not set
655# CONFIG_SCSI_DH is not set
656# CONFIG_SCSI_OSD_INITIATOR is not set
657CONFIG_ATA=y
658# CONFIG_ATA_NONSTANDARD is not set
659CONFIG_ATA_VERBOSE_ERROR=y
660CONFIG_SATA_PMP=y
661CONFIG_ATA_SFF=y
662# CONFIG_SATA_MV is not set
663# CONFIG_PATA_PLATFORM is not set
664# CONFIG_MD is not set
665CONFIG_NETDEVICES=y
666# CONFIG_DUMMY is not set
667# CONFIG_BONDING is not set
668# CONFIG_MACVLAN is not set
669# CONFIG_EQUALIZER is not set
670CONFIG_TUN=y
671# CONFIG_VETH is not set
672CONFIG_PHYLIB=y
673
674#
675# MII PHY device drivers
676#
677# CONFIG_MARVELL_PHY is not set
678# CONFIG_DAVICOM_PHY is not set
679# CONFIG_QSEMI_PHY is not set
680CONFIG_LXT_PHY=y
681# CONFIG_CICADA_PHY is not set
682# CONFIG_VITESSE_PHY is not set
683# CONFIG_SMSC_PHY is not set
684# CONFIG_BROADCOM_PHY is not set
685# CONFIG_ICPLUS_PHY is not set
686# CONFIG_REALTEK_PHY is not set
687# CONFIG_NATIONAL_PHY is not set
688# CONFIG_STE10XP is not set
689CONFIG_LSI_ET1011C_PHY=y
690# CONFIG_FIXED_PHY is not set
691# CONFIG_MDIO_BITBANG is not set
692CONFIG_NET_ETHERNET=y
693CONFIG_MII=y
694# CONFIG_AX88796 is not set
695# CONFIG_SMC91X is not set
696CONFIG_TI_DAVINCI_EMAC=y
697CONFIG_DM9000=y
698CONFIG_DM9000_DEBUGLEVEL=4
699# CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL is not set
700# CONFIG_ENC28J60 is not set
701# CONFIG_ETHOC is not set
702# CONFIG_SMC911X is not set
703# CONFIG_SMSC911X is not set
704# CONFIG_DNET is not set
705# CONFIG_IBM_NEW_EMAC_ZMII is not set
706# CONFIG_IBM_NEW_EMAC_RGMII is not set
707# CONFIG_IBM_NEW_EMAC_TAH is not set
708# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
709# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
710# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
711# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
712# CONFIG_B44 is not set
713# CONFIG_KS8842 is not set
714# CONFIG_KS8851 is not set
715# CONFIG_NETDEV_1000 is not set
716# CONFIG_NETDEV_10000 is not set
717CONFIG_WLAN=y
718# CONFIG_WLAN_PRE80211 is not set
719# CONFIG_WLAN_80211 is not set
720
721#
722# Enable WiMAX (Networking options) to see the WiMAX drivers
723#
724
725#
726# USB Network Adapters
727#
728# CONFIG_USB_CATC is not set
729# CONFIG_USB_KAWETH is not set
730# CONFIG_USB_PEGASUS is not set
731# CONFIG_USB_RTL8150 is not set
732# CONFIG_USB_USBNET is not set
733# CONFIG_WAN is not set
734CONFIG_PPP=y
735# CONFIG_PPP_MULTILINK is not set
736# CONFIG_PPP_FILTER is not set
737CONFIG_PPP_ASYNC=y
738CONFIG_PPP_SYNC_TTY=y
739CONFIG_PPP_DEFLATE=y
740# CONFIG_PPP_BSDCOMP is not set
741# CONFIG_PPP_MPPE is not set
742# CONFIG_PPPOE is not set
743# CONFIG_PPPOL2TP is not set
744# CONFIG_SLIP is not set
745CONFIG_SLHC=y
746CONFIG_NETCONSOLE=y
747# CONFIG_NETCONSOLE_DYNAMIC is not set
748CONFIG_NETPOLL=y
749CONFIG_NETPOLL_TRAP=y
750CONFIG_NET_POLL_CONTROLLER=y
751# CONFIG_ISDN is not set
752# CONFIG_PHONE is not set
753
754#
755# Input device support
756#
757CONFIG_INPUT=y
758# CONFIG_INPUT_FF_MEMLESS is not set
759# CONFIG_INPUT_POLLDEV is not set
760
761#
762# Userland interfaces
763#
764# CONFIG_INPUT_MOUSEDEV is not set
765# CONFIG_INPUT_JOYDEV is not set
766CONFIG_INPUT_EVDEV=y
767CONFIG_INPUT_EVBUG=y
768
769#
770# Input Device Drivers
771#
772CONFIG_INPUT_KEYBOARD=y
773# CONFIG_KEYBOARD_ADP5588 is not set
774CONFIG_KEYBOARD_ATKBD=m
775# CONFIG_QT2160 is not set
776# CONFIG_KEYBOARD_LKKBD is not set
777CONFIG_KEYBOARD_GPIO=y
778# CONFIG_KEYBOARD_MATRIX is not set
779# CONFIG_KEYBOARD_LM8323 is not set
780# CONFIG_KEYBOARD_MAX7359 is not set
781# CONFIG_KEYBOARD_NEWTON is not set
782# CONFIG_KEYBOARD_OPENCORES is not set
783# CONFIG_KEYBOARD_STOWAWAY is not set
784# CONFIG_KEYBOARD_SUNKBD is not set
785CONFIG_KEYBOARD_XTKBD=m
786# CONFIG_INPUT_MOUSE is not set
787# CONFIG_INPUT_JOYSTICK is not set
788# CONFIG_INPUT_TABLET is not set
789CONFIG_INPUT_TOUCHSCREEN=y
790# CONFIG_TOUCHSCREEN_ADS7846 is not set
791# CONFIG_TOUCHSCREEN_AD7877 is not set
792# CONFIG_TOUCHSCREEN_AD7879_I2C is not set
793# CONFIG_TOUCHSCREEN_AD7879_SPI is not set
794# CONFIG_TOUCHSCREEN_AD7879 is not set
795# CONFIG_TOUCHSCREEN_EETI is not set
796# CONFIG_TOUCHSCREEN_FUJITSU is not set
797# CONFIG_TOUCHSCREEN_GUNZE is not set
798# CONFIG_TOUCHSCREEN_ELO is not set
799# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
800# CONFIG_TOUCHSCREEN_MCS5000 is not set
801# CONFIG_TOUCHSCREEN_MTOUCH is not set
802# CONFIG_TOUCHSCREEN_INEXIO is not set
803# CONFIG_TOUCHSCREEN_MK712 is not set
804# CONFIG_TOUCHSCREEN_PENMOUNT is not set
805# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
806# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
807# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
808# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
809# CONFIG_TOUCHSCREEN_TSC2007 is not set
810# CONFIG_TOUCHSCREEN_W90X900 is not set
811# CONFIG_INPUT_MISC is not set
812
813#
814# Hardware I/O ports
815#
816CONFIG_SERIO=y
817CONFIG_SERIO_SERPORT=y
818CONFIG_SERIO_LIBPS2=y
819# CONFIG_SERIO_RAW is not set
820# CONFIG_GAMEPORT is not set
821
822#
823# Character devices
824#
825CONFIG_VT=y
826CONFIG_CONSOLE_TRANSLATIONS=y
827# CONFIG_VT_CONSOLE is not set
828CONFIG_HW_CONSOLE=y
829# CONFIG_VT_HW_CONSOLE_BINDING is not set
830CONFIG_DEVKMEM=y
831# CONFIG_SERIAL_NONSTANDARD is not set
832
833#
834# Serial drivers
835#
836CONFIG_SERIAL_8250=y
837CONFIG_SERIAL_8250_CONSOLE=y
838CONFIG_SERIAL_8250_NR_UARTS=3
839CONFIG_SERIAL_8250_RUNTIME_UARTS=3
840# CONFIG_SERIAL_8250_EXTENDED is not set
841
842#
843# Non-8250 serial port support
844#
845# CONFIG_SERIAL_MAX3100 is not set
846CONFIG_SERIAL_CORE=y
847CONFIG_SERIAL_CORE_CONSOLE=y
848CONFIG_UNIX98_PTYS=y
849# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
850CONFIG_LEGACY_PTYS=y
851CONFIG_LEGACY_PTY_COUNT=256
852# CONFIG_IPMI_HANDLER is not set
853# CONFIG_HW_RANDOM is not set
854# CONFIG_R3964 is not set
855# CONFIG_RAW_DRIVER is not set
856# CONFIG_TCG_TPM is not set
857CONFIG_VDCE=y
858CONFIG_CIR=y
859CONFIG_I2C=y
860CONFIG_I2C_BOARDINFO=y
861CONFIG_I2C_COMPAT=y
862CONFIG_I2C_CHARDEV=y
863CONFIG_I2C_HELPER_AUTO=y
864
865#
866# I2C Hardware Bus support
867#
868
869#
870# I2C system bus drivers (mostly embedded / system-on-chip)
871#
872CONFIG_I2C_DAVINCI=y
873# CONFIG_I2C_DESIGNWARE is not set
874# CONFIG_I2C_GPIO is not set
875# CONFIG_I2C_OCORES is not set
876# CONFIG_I2C_SIMTEC is not set
877
878#
879# External I2C/SMBus adapter drivers
880#
881# CONFIG_I2C_PARPORT_LIGHT is not set
882# CONFIG_I2C_TAOS_EVM is not set
883# CONFIG_I2C_TINY_USB is not set
884
885#
886# Other I2C/SMBus bus drivers
887#
888# CONFIG_I2C_PCA_PLATFORM is not set
889# CONFIG_I2C_STUB is not set
890
891#
892# Miscellaneous I2C Chip support
893#
894# CONFIG_DS1682 is not set
895# CONFIG_SENSORS_TSL2550 is not set
896# CONFIG_I2C_DEBUG_CORE is not set
897# CONFIG_I2C_DEBUG_ALGO is not set
898# CONFIG_I2C_DEBUG_BUS is not set
899# CONFIG_I2C_DEBUG_CHIP is not set
900CONFIG_SPI=y
901# CONFIG_SPI_DEBUG is not set
902CONFIG_SPI_MASTER=y
903
904#
905# SPI Master Controller Drivers
906#
907CONFIG_SPI_DAVINCI=y
908CONFIG_SPI_BITBANG=y
909CONFIG_SPI_GPIO=y
910
911#
912# SPI Protocol Masters
913#
914# CONFIG_SPI_SPIDEV is not set
915# CONFIG_SPI_TLE62X0 is not set
916
917#
918# PPS support
919#
920# CONFIG_PPS is not set
921CONFIG_ARCH_REQUIRE_GPIOLIB=y
922CONFIG_GPIOLIB=y
923# CONFIG_DEBUG_GPIO is not set
924# CONFIG_GPIO_SYSFS is not set
925
926#
927# Memory mapped GPIO expanders:
928#
929
930#
931# I2C GPIO expanders:
932#
933# CONFIG_GPIO_MAX732X is not set
934# CONFIG_GPIO_PCA953X is not set
935CONFIG_GPIO_PCF857X=y
936
937#
938# PCI GPIO expanders:
939#
940
941#
942# SPI GPIO expanders:
943#
944# CONFIG_GPIO_MAX7301 is not set
945# CONFIG_GPIO_MCP23S08 is not set
946# CONFIG_GPIO_MC33880 is not set
947
948#
949# AC97 GPIO expanders:
950#
951# CONFIG_W1 is not set
952# CONFIG_POWER_SUPPLY is not set
953CONFIG_HWMON=y
954# CONFIG_HWMON_VID is not set
955# CONFIG_HWMON_DEBUG_CHIP is not set
956
957#
958# Native drivers
959#
960# CONFIG_SENSORS_AD7414 is not set
961# CONFIG_SENSORS_AD7418 is not set
962# CONFIG_SENSORS_ADCXX is not set
963# CONFIG_SENSORS_ADM1021 is not set
964# CONFIG_SENSORS_ADM1025 is not set
965# CONFIG_SENSORS_ADM1026 is not set
966# CONFIG_SENSORS_ADM1029 is not set
967# CONFIG_SENSORS_ADM1031 is not set
968# CONFIG_SENSORS_ADM9240 is not set
969# CONFIG_SENSORS_ADT7462 is not set
970# CONFIG_SENSORS_ADT7470 is not set
971# CONFIG_SENSORS_ADT7473 is not set
972# CONFIG_SENSORS_ADT7475 is not set
973# CONFIG_SENSORS_ATXP1 is not set
974# CONFIG_SENSORS_DS1621 is not set
975# CONFIG_SENSORS_F71805F is not set
976# CONFIG_SENSORS_F71882FG is not set
977# CONFIG_SENSORS_F75375S is not set
978# CONFIG_SENSORS_G760A is not set
979# CONFIG_SENSORS_GL518SM is not set
980# CONFIG_SENSORS_GL520SM is not set
981# CONFIG_SENSORS_IT87 is not set
982# CONFIG_SENSORS_LM63 is not set
983# CONFIG_SENSORS_LM70 is not set
984# CONFIG_SENSORS_LM75 is not set
985# CONFIG_SENSORS_LM77 is not set
986# CONFIG_SENSORS_LM78 is not set
987# CONFIG_SENSORS_LM80 is not set
988# CONFIG_SENSORS_LM83 is not set
989# CONFIG_SENSORS_LM85 is not set
990# CONFIG_SENSORS_LM87 is not set
991# CONFIG_SENSORS_LM90 is not set
992# CONFIG_SENSORS_LM92 is not set
993# CONFIG_SENSORS_LM93 is not set
994# CONFIG_SENSORS_LTC4215 is not set
995# CONFIG_SENSORS_LTC4245 is not set
996# CONFIG_SENSORS_LM95241 is not set
997# CONFIG_SENSORS_MAX1111 is not set
998# CONFIG_SENSORS_MAX1619 is not set
999# CONFIG_SENSORS_MAX6650 is not set
1000# CONFIG_SENSORS_PC87360 is not set
1001# CONFIG_SENSORS_PC87427 is not set
1002# CONFIG_SENSORS_PCF8591 is not set
1003# CONFIG_SENSORS_SHT15 is not set
1004# CONFIG_SENSORS_DME1737 is not set
1005# CONFIG_SENSORS_SMSC47M1 is not set
1006# CONFIG_SENSORS_SMSC47M192 is not set
1007# CONFIG_SENSORS_SMSC47B397 is not set
1008# CONFIG_SENSORS_ADS7828 is not set
1009# CONFIG_SENSORS_THMC50 is not set
1010# CONFIG_SENSORS_TMP401 is not set
1011# CONFIG_SENSORS_TMP421 is not set
1012# CONFIG_SENSORS_VT1211 is not set
1013# CONFIG_SENSORS_W83781D is not set
1014# CONFIG_SENSORS_W83791D is not set
1015# CONFIG_SENSORS_W83792D is not set
1016# CONFIG_SENSORS_W83793 is not set
1017# CONFIG_SENSORS_W83L785TS is not set
1018# CONFIG_SENSORS_W83L786NG is not set
1019# CONFIG_SENSORS_W83627HF is not set
1020# CONFIG_SENSORS_W83627EHF is not set
1021# CONFIG_SENSORS_LIS3_SPI is not set
1022# CONFIG_THERMAL is not set
1023CONFIG_WATCHDOG=y
1024# CONFIG_WATCHDOG_NOWAYOUT is not set
1025
1026#
1027# Watchdog Device Drivers
1028#
1029# CONFIG_SOFT_WATCHDOG is not set
1030CONFIG_DAVINCI_WATCHDOG=y
1031
1032#
1033# USB-based Watchdog Cards
1034#
1035# CONFIG_USBPCWATCHDOG is not set
1036CONFIG_SSB_POSSIBLE=y
1037
1038#
1039# Sonics Silicon Backplane
1040#
1041# CONFIG_SSB is not set
1042
1043#
1044# Multifunction device drivers
1045#
1046# CONFIG_MFD_CORE is not set
1047# CONFIG_MFD_SM501 is not set
1048# CONFIG_MFD_ASIC3 is not set
1049# CONFIG_HTC_EGPIO is not set
1050# CONFIG_HTC_PASIC3 is not set
1051# CONFIG_TPS65010 is not set
1052# CONFIG_TWL4030_CORE is not set
1053# CONFIG_MFD_TMIO is not set
1054# CONFIG_MFD_T7L66XB is not set
1055# CONFIG_MFD_TC6387XB is not set
1056# CONFIG_MFD_TC6393XB is not set
1057# CONFIG_PMIC_DA903X is not set
1058# CONFIG_MFD_WM8400 is not set
1059# CONFIG_MFD_WM831X is not set
1060# CONFIG_MFD_WM8350_I2C is not set
1061# CONFIG_MFD_PCF50633 is not set
1062# CONFIG_MFD_MC13783 is not set
1063# CONFIG_AB3100_CORE is not set
1064# CONFIG_EZX_PCAP is not set
1065# CONFIG_REGULATOR is not set
1066CONFIG_MEDIA_SUPPORT=y
1067
1068#
1069# Multimedia core support
1070#
1071CONFIG_VIDEO_DEV=y
1072CONFIG_VIDEO_V4L2_COMMON=y
1073# CONFIG_VIDEO_ALLOW_V4L1 is not set
1074# CONFIG_VIDEO_V4L1_COMPAT is not set
1075# CONFIG_DVB_CORE is not set
1076CONFIG_VIDEO_MEDIA=y
1077
1078#
1079# Multimedia drivers
1080#
1081# CONFIG_MEDIA_ATTACH is not set
1082CONFIG_MEDIA_TUNER=y
1083# CONFIG_MEDIA_TUNER_CUSTOMISE is not set
1084CONFIG_MEDIA_TUNER_SIMPLE=y
1085CONFIG_MEDIA_TUNER_TDA8290=y
1086CONFIG_MEDIA_TUNER_TDA9887=y
1087CONFIG_MEDIA_TUNER_TEA5761=y
1088CONFIG_MEDIA_TUNER_TEA5767=y
1089CONFIG_MEDIA_TUNER_MT20XX=y
1090CONFIG_MEDIA_TUNER_XC2028=y
1091CONFIG_MEDIA_TUNER_XC5000=y
1092CONFIG_MEDIA_TUNER_MC44S803=y
1093CONFIG_VIDEO_V4L2=y
1094CONFIG_VIDEOBUF_GEN=y
1095CONFIG_VIDEOBUF_DMA_CONTIG=y
1096CONFIG_VIDEO_CAPTURE_DRIVERS=y
1097# CONFIG_VIDEO_ADV_DEBUG is not set
1098# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
1099# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set
1100
1101#
1102# Encoders/decoders and other helper chips
1103#
1104
1105#
1106# Audio decoders
1107#
1108# CONFIG_VIDEO_TVAUDIO is not set
1109# CONFIG_VIDEO_TDA7432 is not set
1110# CONFIG_VIDEO_TDA9840 is not set
1111# CONFIG_VIDEO_TDA9875 is not set
1112# CONFIG_VIDEO_TEA6415C is not set
1113# CONFIG_VIDEO_TEA6420 is not set
1114# CONFIG_VIDEO_MSP3400 is not set
1115# CONFIG_VIDEO_CS5345 is not set
1116# CONFIG_VIDEO_CS53L32A is not set
1117# CONFIG_VIDEO_M52790 is not set
1118# CONFIG_VIDEO_TLV320AIC23B is not set
1119# CONFIG_VIDEO_WM8775 is not set
1120# CONFIG_VIDEO_WM8739 is not set
1121# CONFIG_VIDEO_VP27SMPX is not set
1122
1123#
1124# RDS decoders
1125#
1126# CONFIG_VIDEO_SAA6588 is not set
1127
1128#
1129# Video decoders
1130#
1131# CONFIG_VIDEO_ADV7180 is not set
1132# CONFIG_VIDEO_BT819 is not set
1133# CONFIG_VIDEO_BT856 is not set
1134# CONFIG_VIDEO_BT866 is not set
1135# CONFIG_VIDEO_KS0127 is not set
1136# CONFIG_VIDEO_OV7670 is not set
1137# CONFIG_VIDEO_MT9V011 is not set
1138# CONFIG_VIDEO_TCM825X is not set
1139# CONFIG_VIDEO_SAA7110 is not set
1140# CONFIG_VIDEO_SAA711X is not set
1141# CONFIG_VIDEO_SAA717X is not set
1142# CONFIG_VIDEO_TVP514X is not set
1143# CONFIG_VIDEO_TVP5150 is not set
1144CONFIG_VIDEO_TVP7002=y
1145# CONFIG_VIDEO_VPX3220 is not set
1146
1147#
1148# Video and audio decoders
1149#
1150# CONFIG_VIDEO_CX25840 is not set
1151
1152#
1153# MPEG video encoders
1154#
1155# CONFIG_VIDEO_CX2341X is not set
1156
1157#
1158# Video encoders
1159#
1160# CONFIG_VIDEO_SAA7127 is not set
1161# CONFIG_VIDEO_SAA7185 is not set
1162# CONFIG_VIDEO_ADV7170 is not set
1163# CONFIG_VIDEO_ADV7175 is not set
1164CONFIG_VIDEO_THS7303=y
1165CONFIG_VIDEO_THS7353=y
1166CONFIG_VIDEO_THS7353_LUMA_CHANNEL=3
1167# CONFIG_VIDEO_ADV7343 is not set
1168CONFIG_VIDEO_THS8200=y
1169
1170#
1171# Video improvement chips
1172#
1173# CONFIG_VIDEO_UPD64031A is not set
1174# CONFIG_VIDEO_UPD64083 is not set
1175CONFIG_DISPLAY_DAVINCI_DM646X_EVM=y
1176CONFIG_CAPTURE_DAVINCI_DM646X_EVM=y
1177CONFIG_VIDEO_DAVINCI_VPIF=y
1178# CONFIG_VIDEO_DAVINCI_DISPLAY is not set
1179# CONFIG_DAVINCI_ENC_MNGR is not set
1180# CONFIG_DAVINCI_OSD is not set
1181# CONFIG_VIDEO_VIVI is not set
1182# CONFIG_VIDEO_VPSS_SYSTEM is not set
1183# CONFIG_VIDEO_VPFE_CAPTURE is not set
1184# CONFIG_VIDEO_SAA5246A is not set
1185# CONFIG_VIDEO_SAA5249 is not set
1186# CONFIG_SOC_CAMERA is not set
1187# CONFIG_SOC_CAMERA_MT9T031 is not set
1188# CONFIG_V4L_USB_DRIVERS is not set
1189# CONFIG_RADIO_ADAPTERS is not set
1190# CONFIG_DAB is not set
1191
1192#
1193# Graphics support
1194#
1195# CONFIG_VGASTATE is not set
1196# CONFIG_VIDEO_OUTPUT_CONTROL is not set
1197# CONFIG_FB is not set
1198# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
1199
1200#
1201# Display device support
1202#
1203# CONFIG_DISPLAY_SUPPORT is not set
1204
1205#
1206# Console display driver support
1207#
1208# CONFIG_VGA_CONSOLE is not set
1209CONFIG_DUMMY_CONSOLE=y
1210CONFIG_SOUND=y
1211# CONFIG_SOUND_OSS_CORE is not set
1212CONFIG_SND=y
1213CONFIG_SND_TIMER=y
1214CONFIG_SND_PCM=y
1215CONFIG_SND_JACK=y
1216# CONFIG_SND_SEQUENCER is not set
1217# CONFIG_SND_MIXER_OSS is not set
1218# CONFIG_SND_PCM_OSS is not set
1219# CONFIG_SND_HRTIMER is not set
1220# CONFIG_SND_DYNAMIC_MINORS is not set
1221CONFIG_SND_SUPPORT_OLD_API=y
1222CONFIG_SND_VERBOSE_PROCFS=y
1223# CONFIG_SND_VERBOSE_PRINTK is not set
1224# CONFIG_SND_DEBUG is not set
1225# CONFIG_SND_RAWMIDI_SEQ is not set
1226# CONFIG_SND_OPL3_LIB_SEQ is not set
1227# CONFIG_SND_OPL4_LIB_SEQ is not set
1228# CONFIG_SND_SBAWE_SEQ is not set
1229# CONFIG_SND_EMU10K1_SEQ is not set
1230CONFIG_SND_DRIVERS=y
1231# CONFIG_SND_DUMMY is not set
1232# CONFIG_SND_MTPAV is not set
1233# CONFIG_SND_SERIAL_U16550 is not set
1234# CONFIG_SND_MPU401 is not set
1235CONFIG_SND_ARM=y
1236CONFIG_SND_SPI=y
1237CONFIG_SND_USB=y
1238# CONFIG_SND_USB_AUDIO is not set
1239# CONFIG_SND_USB_CAIAQ is not set
1240CONFIG_SND_SOC=y
1241CONFIG_SND_DAVINCI_SOC=y
1242CONFIG_SND_DAVINCI_SOC_MCASP=y
1243CONFIG_SND_DM6467_SOC_EVM=y
1244CONFIG_SND_SOC_I2C_AND_SPI=y
1245# CONFIG_SND_SOC_ALL_CODECS is not set
1246CONFIG_SND_SOC_SPDIF=y
1247CONFIG_SND_SOC_TLV320AIC3X=y
1248# CONFIG_SOUND_PRIME is not set
1249CONFIG_HID_SUPPORT=y
1250CONFIG_HID=y
1251# CONFIG_HIDRAW is not set
1252
1253#
1254# USB Input Devices
1255#
1256CONFIG_USB_HID=y
1257# CONFIG_HID_PID is not set
1258# CONFIG_USB_HIDDEV is not set
1259
1260#
1261# Special HID drivers
1262#
1263CONFIG_HID_A4TECH=m
1264CONFIG_HID_APPLE=m
1265CONFIG_HID_BELKIN=m
1266CONFIG_HID_CHERRY=m
1267CONFIG_HID_CHICONY=m
1268CONFIG_HID_CYPRESS=m
1269# CONFIG_HID_DRAGONRISE is not set
1270CONFIG_HID_EZKEY=m
1271# CONFIG_HID_KYE is not set
1272CONFIG_HID_GYRATION=m
1273# CONFIG_HID_TWINHAN is not set
1274# CONFIG_HID_KENSINGTON is not set
1275CONFIG_HID_LOGITECH=m
1276# CONFIG_LOGITECH_FF is not set
1277# CONFIG_LOGIRUMBLEPAD2_FF is not set
1278CONFIG_HID_MICROSOFT=m
1279CONFIG_HID_MONTEREY=m
1280# CONFIG_HID_NTRIG is not set
1281CONFIG_HID_PANTHERLORD=m
1282# CONFIG_PANTHERLORD_FF is not set
1283CONFIG_HID_PETALYNX=m
1284CONFIG_HID_SAMSUNG=m
1285CONFIG_HID_SONY=m
1286CONFIG_HID_SUNPLUS=m
1287# CONFIG_HID_GREENASIA is not set
1288# CONFIG_HID_SMARTJOYPLUS is not set
1289# CONFIG_HID_TOPSEED is not set
1290# CONFIG_HID_THRUSTMASTER is not set
1291# CONFIG_HID_ZEROPLUS is not set
1292CONFIG_USB_SUPPORT=y
1293CONFIG_USB_ARCH_HAS_HCD=y
1294# CONFIG_USB_ARCH_HAS_OHCI is not set
1295# CONFIG_USB_ARCH_HAS_EHCI is not set
1296CONFIG_USB=y
1297# CONFIG_USB_DEBUG is not set
1298# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
1299
1300#
1301# Miscellaneous USB options
1302#
1303CONFIG_USB_DEVICEFS=y
1304CONFIG_USB_DEVICE_CLASS=y
1305# CONFIG_USB_DYNAMIC_MINORS is not set
1306# CONFIG_USB_OTG is not set
1307# CONFIG_USB_OTG_WHITELIST is not set
1308# CONFIG_USB_OTG_BLACKLIST_HUB is not set
1309CONFIG_USB_MON=y
1310# CONFIG_USB_WUSB is not set
1311# CONFIG_USB_WUSB_CBAF is not set
1312
1313#
1314# USB Host Controller Drivers
1315#
1316# CONFIG_USB_C67X00_HCD is not set
1317# CONFIG_USB_OXU210HP_HCD is not set
1318# CONFIG_USB_ISP116X_HCD is not set
1319# CONFIG_USB_ISP1760_HCD is not set
1320# CONFIG_USB_ISP1362_HCD is not set
1321# CONFIG_USB_SL811_HCD is not set
1322# CONFIG_USB_R8A66597_HCD is not set
1323# CONFIG_USB_HWA_HCD is not set
1324CONFIG_USB_MUSB_HDRC=y
1325CONFIG_USB_MUSB_SOC=y
1326
1327#
1328# DaVinci 35x, 36x, 644x USB support
1329#
1330# CONFIG_USB_MUSB_HOST is not set
1331CONFIG_USB_MUSB_PERIPHERAL=y
1332# CONFIG_USB_MUSB_OTG is not set
1333CONFIG_USB_GADGET_MUSB_HDRC=y
1334CONFIG_MUSB_PIO_ONLY=y
1335# CONFIG_USB_MUSB_DEBUG is not set
1336
1337#
1338# USB Device Class drivers
1339#
1340# CONFIG_USB_ACM is not set
1341# CONFIG_USB_PRINTER is not set
1342# CONFIG_USB_WDM is not set
1343# CONFIG_USB_TMC is not set
1344
1345#
1346# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
1347#
1348
1349#
1350# also be needed; see USB_STORAGE Help for more info
1351#
1352CONFIG_USB_STORAGE=y
1353# CONFIG_USB_STORAGE_DEBUG is not set
1354# CONFIG_USB_STORAGE_DATAFAB is not set
1355# CONFIG_USB_STORAGE_FREECOM is not set
1356# CONFIG_USB_STORAGE_ISD200 is not set
1357# CONFIG_USB_STORAGE_USBAT is not set
1358# CONFIG_USB_STORAGE_SDDR09 is not set
1359# CONFIG_USB_STORAGE_SDDR55 is not set
1360# CONFIG_USB_STORAGE_JUMPSHOT is not set
1361# CONFIG_USB_STORAGE_ALAUDA is not set
1362# CONFIG_USB_STORAGE_ONETOUCH is not set
1363# CONFIG_USB_STORAGE_KARMA is not set
1364# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
1365# CONFIG_USB_LIBUSUAL is not set
1366
1367#
1368# USB Imaging devices
1369#
1370# CONFIG_USB_MDC800 is not set
1371# CONFIG_USB_MICROTEK is not set
1372
1373#
1374# USB port drivers
1375#
1376# CONFIG_USB_SERIAL is not set
1377
1378#
1379# USB Miscellaneous drivers
1380#
1381# CONFIG_USB_EMI62 is not set
1382# CONFIG_USB_EMI26 is not set
1383# CONFIG_USB_ADUTUX is not set
1384# CONFIG_USB_SEVSEG is not set
1385# CONFIG_USB_RIO500 is not set
1386# CONFIG_USB_LEGOTOWER is not set
1387# CONFIG_USB_LCD is not set
1388# CONFIG_USB_BERRY_CHARGE is not set
1389# CONFIG_USB_LED is not set
1390# CONFIG_USB_CYPRESS_CY7C63 is not set
1391# CONFIG_USB_CYTHERM is not set
1392# CONFIG_USB_IDMOUSE is not set
1393# CONFIG_USB_FTDI_ELAN is not set
1394# CONFIG_USB_APPLEDISPLAY is not set
1395# CONFIG_USB_SISUSBVGA is not set
1396# CONFIG_USB_LD is not set
1397# CONFIG_USB_TRANCEVIBRATOR is not set
1398# CONFIG_USB_IOWARRIOR is not set
1399CONFIG_USB_TEST=y
1400# CONFIG_USB_ISIGHTFW is not set
1401# CONFIG_USB_VST is not set
1402CONFIG_USB_GADGET=y
1403# CONFIG_USB_GADGET_DEBUG is not set
1404CONFIG_USB_GADGET_DEBUG_FILES=y
1405CONFIG_USB_GADGET_DEBUG_FS=y
1406CONFIG_USB_GADGET_VBUS_DRAW=2
1407CONFIG_USB_GADGET_SELECTED=y
1408# CONFIG_USB_GADGET_AT91 is not set
1409# CONFIG_USB_GADGET_ATMEL_USBA is not set
1410# CONFIG_USB_GADGET_FSL_USB2 is not set
1411# CONFIG_USB_GADGET_LH7A40X is not set
1412# CONFIG_USB_GADGET_OMAP is not set
1413# CONFIG_USB_GADGET_PXA25X is not set
1414# CONFIG_USB_GADGET_R8A66597 is not set
1415# CONFIG_USB_GADGET_PXA27X is not set
1416# CONFIG_USB_GADGET_S3C_HSOTG is not set
1417# CONFIG_USB_GADGET_IMX is not set
1418# CONFIG_USB_GADGET_S3C2410 is not set
1419# CONFIG_USB_GADGET_M66592 is not set
1420# CONFIG_USB_GADGET_AMD5536UDC is not set
1421# CONFIG_USB_GADGET_FSL_QE is not set
1422# CONFIG_USB_GADGET_CI13XXX is not set
1423# CONFIG_USB_GADGET_NET2280 is not set
1424# CONFIG_USB_GADGET_GOKU is not set
1425# CONFIG_USB_GADGET_LANGWELL is not set
1426# CONFIG_USB_GADGET_DUMMY_HCD is not set
1427CONFIG_USB_GADGET_DUALSPEED=y
1428# CONFIG_USB_ZERO is not set
1429# CONFIG_USB_AUDIO is not set
1430CONFIG_USB_ETH=y
1431CONFIG_USB_ETH_RNDIS=y
1432# CONFIG_USB_ETH_EEM is not set
1433# CONFIG_USB_GADGETFS is not set
1434# CONFIG_USB_FILE_STORAGE is not set
1435# CONFIG_USB_G_SERIAL is not set
1436# CONFIG_USB_MIDI_GADGET is not set
1437# CONFIG_USB_G_PRINTER is not set
1438# CONFIG_USB_CDC_COMPOSITE is not set
1439
1440#
1441# OTG and related infrastructure
1442#
1443CONFIG_USB_OTG_UTILS=y
1444# CONFIG_USB_GPIO_VBUS is not set
1445CONFIG_NOP_USB_XCEIV=y
1446CONFIG_MMC=y
1447# CONFIG_MMC_DEBUG is not set
1448# CONFIG_MMC_UNSAFE_RESUME is not set
1449
1450#
1451# MMC/SD/SDIO Card Drivers
1452#
1453CONFIG_MMC_BLOCK=y
1454# CONFIG_MMC_BLOCK_BOUNCE is not set
1455# CONFIG_SDIO_UART is not set
1456# CONFIG_MMC_TEST is not set
1457
1458#
1459# MMC/SD/SDIO Host Controller Drivers
1460#
1461# CONFIG_MMC_SDHCI is not set
1462# CONFIG_MMC_AT91 is not set
1463# CONFIG_MMC_ATMELMCI is not set
1464CONFIG_MMC_DAVINCI=y
1465# CONFIG_MMC_SPI is not set
1466# CONFIG_MEMSTICK is not set
1467CONFIG_NEW_LEDS=y
1468CONFIG_LEDS_CLASS=y
1469
1470#
1471# LED drivers
1472#
1473# CONFIG_LEDS_PCA9532 is not set
1474CONFIG_LEDS_GPIO=y
1475CONFIG_LEDS_GPIO_PLATFORM=y
1476# CONFIG_LEDS_LP3944 is not set
1477# CONFIG_LEDS_PCA955X is not set
1478# CONFIG_LEDS_DAC124S085 is not set
1479# CONFIG_LEDS_BD2802 is not set
1480
1481#
1482# LED Triggers
1483#
1484CONFIG_LEDS_TRIGGERS=y
1485CONFIG_LEDS_TRIGGER_TIMER=y
1486# CONFIG_LEDS_TRIGGER_IDE_DISK is not set
1487CONFIG_LEDS_TRIGGER_HEARTBEAT=y
1488# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
1489# CONFIG_LEDS_TRIGGER_GPIO is not set
1490# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
1491
1492#
1493# iptables trigger is under Netfilter config (LED target)
1494#
1495# CONFIG_ACCESSIBILITY is not set
1496CONFIG_RTC_LIB=y
1497CONFIG_RTC_CLASS=y
1498CONFIG_RTC_HCTOSYS=y
1499CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
1500# CONFIG_RTC_DEBUG is not set
1501
1502#
1503# RTC interfaces
1504#
1505CONFIG_RTC_INTF_SYSFS=y
1506CONFIG_RTC_INTF_PROC=y
1507CONFIG_RTC_INTF_DEV=y
1508# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
1509# CONFIG_RTC_DRV_TEST is not set
1510
1511#
1512# I2C RTC drivers
1513#
1514# CONFIG_RTC_DRV_DS1307 is not set
1515# CONFIG_RTC_DRV_DS1374 is not set
1516# CONFIG_RTC_DRV_DS1672 is not set
1517# CONFIG_RTC_DRV_MAX6900 is not set
1518# CONFIG_RTC_DRV_RS5C372 is not set
1519# CONFIG_RTC_DRV_ISL1208 is not set
1520# CONFIG_RTC_DRV_X1205 is not set
1521# CONFIG_RTC_DRV_PCF8563 is not set
1522# CONFIG_RTC_DRV_PCF8583 is not set
1523# CONFIG_RTC_DRV_M41T80 is not set
1524# CONFIG_RTC_DRV_S35390A is not set
1525# CONFIG_RTC_DRV_FM3130 is not set
1526# CONFIG_RTC_DRV_RX8581 is not set
1527# CONFIG_RTC_DRV_RX8025 is not set
1528
1529#
1530# SPI RTC drivers
1531#
1532# CONFIG_RTC_DRV_M41T94 is not set
1533# CONFIG_RTC_DRV_DS1305 is not set
1534# CONFIG_RTC_DRV_DS1390 is not set
1535# CONFIG_RTC_DRV_MAX6902 is not set
1536# CONFIG_RTC_DRV_R9701 is not set
1537# CONFIG_RTC_DRV_RS5C348 is not set
1538# CONFIG_RTC_DRV_DS3234 is not set
1539# CONFIG_RTC_DRV_PCF2123 is not set
1540
1541#
1542# Platform RTC drivers
1543#
1544# CONFIG_RTC_DRV_CMOS is not set
1545# CONFIG_RTC_DRV_DS1286 is not set
1546# CONFIG_RTC_DRV_DS1511 is not set
1547# CONFIG_RTC_DRV_DS1553 is not set
1548# CONFIG_RTC_DRV_DS1742 is not set
1549# CONFIG_RTC_DRV_STK17TA8 is not set
1550# CONFIG_RTC_DRV_M48T86 is not set
1551# CONFIG_RTC_DRV_M48T35 is not set
1552# CONFIG_RTC_DRV_M48T59 is not set
1553# CONFIG_RTC_DRV_BQ4802 is not set
1554# CONFIG_RTC_DRV_V3020 is not set
1555
1556#
1557# on-CPU RTC drivers
1558#
1559# CONFIG_DMADEVICES is not set
1560# CONFIG_AUXDISPLAY is not set
1561# CONFIG_UIO is not set
1562
1563#
1564# TI VLYNQ
1565#
1566# CONFIG_STAGING is not set
1567
1568#
1569# File systems
1570#
1571CONFIG_EXT2_FS=y
1572# CONFIG_EXT2_FS_XATTR is not set
1573# CONFIG_EXT2_FS_XIP is not set
1574CONFIG_EXT3_FS=y
1575# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
1576CONFIG_EXT3_FS_XATTR=y
1577# CONFIG_EXT3_FS_POSIX_ACL is not set
1578# CONFIG_EXT3_FS_SECURITY is not set
1579# CONFIG_EXT4_FS is not set
1580CONFIG_JBD=y
1581# CONFIG_JBD_DEBUG is not set
1582CONFIG_FS_MBCACHE=y
1583# CONFIG_REISERFS_FS is not set
1584# CONFIG_JFS_FS is not set
1585# CONFIG_FS_POSIX_ACL is not set
1586CONFIG_XFS_FS=m
1587# CONFIG_XFS_QUOTA is not set
1588# CONFIG_XFS_POSIX_ACL is not set
1589# CONFIG_XFS_RT is not set
1590# CONFIG_XFS_DEBUG is not set
1591# CONFIG_GFS2_FS is not set
1592# CONFIG_OCFS2_FS is not set
1593# CONFIG_BTRFS_FS is not set
1594# CONFIG_NILFS2_FS is not set
1595CONFIG_FILE_LOCKING=y
1596CONFIG_FSNOTIFY=y
1597CONFIG_DNOTIFY=y
1598CONFIG_INOTIFY=y
1599CONFIG_INOTIFY_USER=y
1600# CONFIG_QUOTA is not set
1601# CONFIG_AUTOFS_FS is not set
1602CONFIG_AUTOFS4_FS=m
1603# CONFIG_FUSE_FS is not set
1604
1605#
1606# Caches
1607#
1608# CONFIG_FSCACHE is not set
1609
1610#
1611# CD-ROM/DVD Filesystems
1612#
1613# CONFIG_ISO9660_FS is not set
1614# CONFIG_UDF_FS is not set
1615
1616#
1617# DOS/FAT/NT Filesystems
1618#
1619CONFIG_FAT_FS=y
1620CONFIG_MSDOS_FS=y
1621CONFIG_VFAT_FS=y
1622CONFIG_FAT_DEFAULT_CODEPAGE=437
1623CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1624# CONFIG_NTFS_FS is not set
1625
1626#
1627# Pseudo filesystems
1628#
1629CONFIG_PROC_FS=y
1630CONFIG_PROC_SYSCTL=y
1631CONFIG_PROC_PAGE_MONITOR=y
1632CONFIG_SYSFS=y
1633CONFIG_TMPFS=y
1634# CONFIG_TMPFS_POSIX_ACL is not set
1635# CONFIG_HUGETLB_PAGE is not set
1636# CONFIG_CONFIGFS_FS is not set
1637CONFIG_MISC_FILESYSTEMS=y
1638# CONFIG_ADFS_FS is not set
1639# CONFIG_AFFS_FS is not set
1640# CONFIG_HFS_FS is not set
1641# CONFIG_HFSPLUS_FS is not set
1642# CONFIG_BEFS_FS is not set
1643# CONFIG_BFS_FS is not set
1644# CONFIG_EFS_FS is not set
1645CONFIG_JFFS2_FS=y
1646CONFIG_JFFS2_FS_DEBUG=0
1647CONFIG_JFFS2_FS_WRITEBUFFER=y
1648# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
1649# CONFIG_JFFS2_SUMMARY is not set
1650# CONFIG_JFFS2_FS_XATTR is not set
1651# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
1652CONFIG_JFFS2_ZLIB=y
1653# CONFIG_JFFS2_LZO is not set
1654CONFIG_JFFS2_RTIME=y
1655# CONFIG_JFFS2_RUBIN is not set
1656CONFIG_CRAMFS=y
1657# CONFIG_SQUASHFS is not set
1658# CONFIG_VXFS_FS is not set
1659CONFIG_MINIX_FS=m
1660# CONFIG_OMFS_FS is not set
1661# CONFIG_HPFS_FS is not set
1662# CONFIG_QNX4FS_FS is not set
1663# CONFIG_ROMFS_FS is not set
1664# CONFIG_SYSV_FS is not set
1665# CONFIG_UFS_FS is not set
1666CONFIG_NETWORK_FILESYSTEMS=y
1667CONFIG_NFS_FS=y
1668CONFIG_NFS_V3=y
1669# CONFIG_NFS_V3_ACL is not set
1670# CONFIG_NFS_V4 is not set
1671CONFIG_ROOT_NFS=y
1672CONFIG_NFSD=m
1673CONFIG_NFSD_V3=y
1674# CONFIG_NFSD_V3_ACL is not set
1675# CONFIG_NFSD_V4 is not set
1676CONFIG_LOCKD=y
1677CONFIG_LOCKD_V4=y
1678CONFIG_EXPORTFS=m
1679CONFIG_NFS_COMMON=y
1680CONFIG_SUNRPC=y
1681# CONFIG_RPCSEC_GSS_KRB5 is not set
1682# CONFIG_RPCSEC_GSS_SPKM3 is not set
1683CONFIG_SMB_FS=m
1684# CONFIG_SMB_NLS_DEFAULT is not set
1685# CONFIG_CIFS is not set
1686# CONFIG_NCP_FS is not set
1687# CONFIG_CODA_FS is not set
1688# CONFIG_AFS_FS is not set
1689
1690#
1691# Partition Types
1692#
1693CONFIG_PARTITION_ADVANCED=y
1694# CONFIG_ACORN_PARTITION is not set
1695# CONFIG_OSF_PARTITION is not set
1696# CONFIG_AMIGA_PARTITION is not set
1697# CONFIG_ATARI_PARTITION is not set
1698# CONFIG_MAC_PARTITION is not set
1699CONFIG_MSDOS_PARTITION=y
1700# CONFIG_BSD_DISKLABEL is not set
1701# CONFIG_MINIX_SUBPARTITION is not set
1702# CONFIG_SOLARIS_X86_PARTITION is not set
1703# CONFIG_UNIXWARE_DISKLABEL is not set
1704# CONFIG_LDM_PARTITION is not set
1705# CONFIG_SGI_PARTITION is not set
1706# CONFIG_ULTRIX_PARTITION is not set
1707# CONFIG_SUN_PARTITION is not set
1708# CONFIG_KARMA_PARTITION is not set
1709# CONFIG_EFI_PARTITION is not set
1710# CONFIG_SYSV68_PARTITION is not set
1711CONFIG_NLS=y
1712CONFIG_NLS_DEFAULT="iso8859-1"
1713CONFIG_NLS_CODEPAGE_437=y
1714# CONFIG_NLS_CODEPAGE_737 is not set
1715# CONFIG_NLS_CODEPAGE_775 is not set
1716# CONFIG_NLS_CODEPAGE_850 is not set
1717# CONFIG_NLS_CODEPAGE_852 is not set
1718# CONFIG_NLS_CODEPAGE_855 is not set
1719# CONFIG_NLS_CODEPAGE_857 is not set
1720# CONFIG_NLS_CODEPAGE_860 is not set
1721# CONFIG_NLS_CODEPAGE_861 is not set
1722# CONFIG_NLS_CODEPAGE_862 is not set
1723# CONFIG_NLS_CODEPAGE_863 is not set
1724# CONFIG_NLS_CODEPAGE_864 is not set
1725# CONFIG_NLS_CODEPAGE_865 is not set
1726# CONFIG_NLS_CODEPAGE_866 is not set
1727# CONFIG_NLS_CODEPAGE_869 is not set
1728# CONFIG_NLS_CODEPAGE_936 is not set
1729# CONFIG_NLS_CODEPAGE_950 is not set
1730# CONFIG_NLS_CODEPAGE_932 is not set
1731# CONFIG_NLS_CODEPAGE_949 is not set
1732# CONFIG_NLS_CODEPAGE_874 is not set
1733# CONFIG_NLS_ISO8859_8 is not set
1734# CONFIG_NLS_CODEPAGE_1250 is not set
1735# CONFIG_NLS_CODEPAGE_1251 is not set
1736CONFIG_NLS_ASCII=m
1737CONFIG_NLS_ISO8859_1=y
1738# CONFIG_NLS_ISO8859_2 is not set
1739# CONFIG_NLS_ISO8859_3 is not set
1740# CONFIG_NLS_ISO8859_4 is not set
1741# CONFIG_NLS_ISO8859_5 is not set
1742# CONFIG_NLS_ISO8859_6 is not set
1743# CONFIG_NLS_ISO8859_7 is not set
1744# CONFIG_NLS_ISO8859_9 is not set
1745# CONFIG_NLS_ISO8859_13 is not set
1746# CONFIG_NLS_ISO8859_14 is not set
1747# CONFIG_NLS_ISO8859_15 is not set
1748# CONFIG_NLS_KOI8_R is not set
1749# CONFIG_NLS_KOI8_U is not set
1750CONFIG_NLS_UTF8=m
1751# CONFIG_DLM is not set
1752
1753#
1754# Kernel hacking
1755#
1756# CONFIG_PRINTK_TIME is not set
1757CONFIG_ENABLE_WARN_DEPRECATED=y
1758CONFIG_ENABLE_MUST_CHECK=y
1759CONFIG_FRAME_WARN=1024
1760# CONFIG_MAGIC_SYSRQ is not set
1761# CONFIG_STRIP_ASM_SYMS is not set
1762# CONFIG_UNUSED_SYMBOLS is not set
1763CONFIG_DEBUG_FS=y
1764# CONFIG_HEADERS_CHECK is not set
1765CONFIG_DEBUG_KERNEL=y
1766# CONFIG_DEBUG_SHIRQ is not set
1767CONFIG_DETECT_SOFTLOCKUP=y
1768# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
1769CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
1770CONFIG_DETECT_HUNG_TASK=y
1771# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
1772CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
1773CONFIG_SCHED_DEBUG=y
1774# CONFIG_SCHEDSTATS is not set
1775CONFIG_TIMER_STATS=y
1776# CONFIG_DEBUG_OBJECTS is not set
1777# CONFIG_SLUB_DEBUG_ON is not set
1778# CONFIG_SLUB_STATS is not set
1779# CONFIG_DEBUG_KMEMLEAK is not set
1780CONFIG_DEBUG_PREEMPT=y
1781CONFIG_DEBUG_RT_MUTEXES=y
1782CONFIG_DEBUG_PI_LIST=y
1783# CONFIG_RT_MUTEX_TESTER is not set
1784# CONFIG_DEBUG_SPINLOCK is not set
1785CONFIG_DEBUG_MUTEXES=y
1786# CONFIG_DEBUG_LOCK_ALLOC is not set
1787# CONFIG_PROVE_LOCKING is not set
1788# CONFIG_LOCK_STAT is not set
1789# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
1790# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
1791# CONFIG_DEBUG_KOBJECT is not set
1792CONFIG_DEBUG_BUGVERBOSE=y
1793# CONFIG_DEBUG_INFO is not set
1794# CONFIG_DEBUG_VM is not set
1795# CONFIG_DEBUG_WRITECOUNT is not set
1796# CONFIG_DEBUG_MEMORY_INIT is not set
1797# CONFIG_DEBUG_LIST is not set
1798# CONFIG_DEBUG_SG is not set
1799# CONFIG_DEBUG_NOTIFIERS is not set
1800# CONFIG_DEBUG_CREDENTIALS is not set
1801CONFIG_FRAME_POINTER=y
1802# CONFIG_BOOT_PRINTK_DELAY is not set
1803# CONFIG_RCU_TORTURE_TEST is not set
1804# CONFIG_RCU_CPU_STALL_DETECTOR is not set
1805# CONFIG_BACKTRACE_SELF_TEST is not set
1806# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
1807# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
1808# CONFIG_FAULT_INJECTION is not set
1809# CONFIG_LATENCYTOP is not set
1810# CONFIG_SYSCTL_SYSCALL_CHECK is not set
1811# CONFIG_PAGE_POISONING is not set
1812CONFIG_HAVE_FUNCTION_TRACER=y
1813CONFIG_TRACING_SUPPORT=y
1814CONFIG_FTRACE=y
1815# CONFIG_FUNCTION_TRACER is not set
1816# CONFIG_IRQSOFF_TRACER is not set
1817# CONFIG_PREEMPT_TRACER is not set
1818# CONFIG_SCHED_TRACER is not set
1819# CONFIG_ENABLE_DEFAULT_TRACERS is not set
1820# CONFIG_BOOT_TRACER is not set
1821CONFIG_BRANCH_PROFILE_NONE=y
1822# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
1823# CONFIG_PROFILE_ALL_BRANCHES is not set
1824# CONFIG_STACK_TRACER is not set
1825# CONFIG_KMEMTRACE is not set
1826# CONFIG_WORKQUEUE_TRACER is not set
1827# CONFIG_BLK_DEV_IO_TRACE is not set
1828# CONFIG_DYNAMIC_DEBUG is not set
1829# CONFIG_SAMPLES is not set
1830CONFIG_HAVE_ARCH_KGDB=y
1831# CONFIG_KGDB is not set
1832# CONFIG_ARM_UNWIND is not set
1833CONFIG_DEBUG_USER=y
1834CONFIG_DEBUG_ERRORS=y
1835# CONFIG_DEBUG_STACK_USAGE is not set
1836# CONFIG_DEBUG_LL is not set
1837
1838#
1839# Security options
1840#
1841# CONFIG_KEYS is not set
1842# CONFIG_SECURITY is not set
1843# CONFIG_SECURITYFS is not set
1844# CONFIG_SECURITY_FILE_CAPABILITIES is not set
1845CONFIG_CRYPTO=y
1846
1847#
1848# Crypto core or helper
1849#
1850# CONFIG_CRYPTO_MANAGER is not set
1851# CONFIG_CRYPTO_MANAGER2 is not set
1852# CONFIG_CRYPTO_GF128MUL is not set
1853# CONFIG_CRYPTO_NULL is not set
1854# CONFIG_CRYPTO_CRYPTD is not set
1855# CONFIG_CRYPTO_AUTHENC is not set
1856# CONFIG_CRYPTO_TEST is not set
1857
1858#
1859# Authenticated Encryption with Associated Data
1860#
1861# CONFIG_CRYPTO_CCM is not set
1862# CONFIG_CRYPTO_GCM is not set
1863# CONFIG_CRYPTO_SEQIV is not set
1864
1865#
1866# Block modes
1867#
1868# CONFIG_CRYPTO_CBC is not set
1869# CONFIG_CRYPTO_CTR is not set
1870# CONFIG_CRYPTO_CTS is not set
1871# CONFIG_CRYPTO_ECB is not set
1872# CONFIG_CRYPTO_LRW is not set
1873# CONFIG_CRYPTO_PCBC is not set
1874# CONFIG_CRYPTO_XTS is not set
1875
1876#
1877# Hash modes
1878#
1879# CONFIG_CRYPTO_HMAC is not set
1880# CONFIG_CRYPTO_XCBC is not set
1881# CONFIG_CRYPTO_VMAC is not set
1882
1883#
1884# Digest
1885#
1886# CONFIG_CRYPTO_CRC32C is not set
1887# CONFIG_CRYPTO_GHASH is not set
1888# CONFIG_CRYPTO_MD4 is not set
1889# CONFIG_CRYPTO_MD5 is not set
1890# CONFIG_CRYPTO_MICHAEL_MIC is not set
1891# CONFIG_CRYPTO_RMD128 is not set
1892# CONFIG_CRYPTO_RMD160 is not set
1893# CONFIG_CRYPTO_RMD256 is not set
1894# CONFIG_CRYPTO_RMD320 is not set
1895# CONFIG_CRYPTO_SHA1 is not set
1896# CONFIG_CRYPTO_SHA256 is not set
1897# CONFIG_CRYPTO_SHA512 is not set
1898# CONFIG_CRYPTO_TGR192 is not set
1899# CONFIG_CRYPTO_WP512 is not set
1900
1901#
1902# Ciphers
1903#
1904# CONFIG_CRYPTO_AES is not set
1905# CONFIG_CRYPTO_ANUBIS is not set
1906# CONFIG_CRYPTO_ARC4 is not set
1907# CONFIG_CRYPTO_BLOWFISH is not set
1908# CONFIG_CRYPTO_CAMELLIA is not set
1909# CONFIG_CRYPTO_CAST5 is not set
1910# CONFIG_CRYPTO_CAST6 is not set
1911# CONFIG_CRYPTO_DES is not set
1912# CONFIG_CRYPTO_FCRYPT is not set
1913# CONFIG_CRYPTO_KHAZAD is not set
1914# CONFIG_CRYPTO_SALSA20 is not set
1915# CONFIG_CRYPTO_SEED is not set
1916# CONFIG_CRYPTO_SERPENT is not set
1917# CONFIG_CRYPTO_TEA is not set
1918# CONFIG_CRYPTO_TWOFISH is not set
1919
1920#
1921# Compression
1922#
1923# CONFIG_CRYPTO_DEFLATE is not set
1924# CONFIG_CRYPTO_ZLIB is not set
1925# CONFIG_CRYPTO_LZO is not set
1926
1927#
1928# Random Number Generation
1929#
1930# CONFIG_CRYPTO_ANSI_CPRNG is not set
1931# CONFIG_CRYPTO_HW is not set
1932# CONFIG_BINARY_PRINTF is not set
1933
1934#
1935# Library routines
1936#
1937CONFIG_BITREVERSE=y
1938CONFIG_GENERIC_FIND_LAST_BIT=y
1939CONFIG_CRC_CCITT=y
1940# CONFIG_CRC16 is not set
1941CONFIG_CRC_T10DIF=m
1942# CONFIG_CRC_ITU_T is not set
1943CONFIG_CRC32=y
1944# CONFIG_CRC7 is not set
1945# CONFIG_LIBCRC32C is not set
1946CONFIG_ZLIB_INFLATE=y
1947CONFIG_ZLIB_DEFLATE=y
1948CONFIG_DECOMPRESS_GZIP=y
1949CONFIG_GENERIC_ALLOCATOR=y
1950CONFIG_HAS_IOMEM=y
1951CONFIG_HAS_IOPORT=y
1952CONFIG_HAS_DMA=y
1953CONFIG_NLATTR=y
diff --git a/recipes-kernel/linux/linux-davinci/omapl137/configs/da830_omapl137_defconfig b/recipes-kernel/linux/linux-davinci/omapl137/configs/da830_omapl137_defconfig
deleted file mode 100644
index 7a3a609e..00000000
--- a/recipes-kernel/linux/linux-davinci/omapl137/configs/da830_omapl137_defconfig
+++ /dev/null
@@ -1,1803 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.33-rc4
4# Mon Feb 15 17:57:47 2010
5#
6CONFIG_ARM=y
7CONFIG_SYS_SUPPORTS_APM_EMULATION=y
8CONFIG_GENERIC_GPIO=y
9CONFIG_GENERIC_TIME=y
10CONFIG_GENERIC_CLOCKEVENTS=y
11CONFIG_GENERIC_HARDIRQS=y
12CONFIG_STACKTRACE_SUPPORT=y
13CONFIG_HAVE_LATENCYTOP_SUPPORT=y
14CONFIG_LOCKDEP_SUPPORT=y
15CONFIG_TRACE_IRQFLAGS_SUPPORT=y
16CONFIG_HARDIRQS_SW_RESEND=y
17CONFIG_GENERIC_IRQ_PROBE=y
18CONFIG_RWSEM_GENERIC_SPINLOCK=y
19CONFIG_GENERIC_HWEIGHT=y
20CONFIG_GENERIC_CALIBRATE_DELAY=y
21CONFIG_ZONE_DMA=y
22CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
23CONFIG_VECTORS_BASE=0xffff0000
24CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
25CONFIG_CONSTRUCTORS=y
26
27#
28# General setup
29#
30CONFIG_EXPERIMENTAL=y
31CONFIG_BROKEN_ON_SMP=y
32CONFIG_LOCK_KERNEL=y
33CONFIG_INIT_ENV_ARG_LIMIT=32
34CONFIG_LOCALVERSION=""
35# CONFIG_LOCALVERSION_AUTO is not set
36CONFIG_HAVE_KERNEL_GZIP=y
37CONFIG_HAVE_KERNEL_LZO=y
38CONFIG_KERNEL_GZIP=y
39# CONFIG_KERNEL_BZIP2 is not set
40# CONFIG_KERNEL_LZMA is not set
41# CONFIG_KERNEL_LZO is not set
42CONFIG_SWAP=y
43CONFIG_SYSVIPC=y
44CONFIG_SYSVIPC_SYSCTL=y
45CONFIG_POSIX_MQUEUE=y
46CONFIG_POSIX_MQUEUE_SYSCTL=y
47# CONFIG_BSD_PROCESS_ACCT is not set
48# CONFIG_TASKSTATS is not set
49# CONFIG_AUDIT is not set
50
51#
52# RCU Subsystem
53#
54CONFIG_TREE_RCU=y
55# CONFIG_TREE_PREEMPT_RCU is not set
56# CONFIG_TINY_RCU is not set
57# CONFIG_RCU_TRACE is not set
58CONFIG_RCU_FANOUT=32
59# CONFIG_RCU_FANOUT_EXACT is not set
60# CONFIG_TREE_RCU_TRACE is not set
61CONFIG_IKCONFIG=y
62CONFIG_IKCONFIG_PROC=y
63CONFIG_LOG_BUF_SHIFT=14
64CONFIG_GROUP_SCHED=y
65CONFIG_FAIR_GROUP_SCHED=y
66# CONFIG_RT_GROUP_SCHED is not set
67CONFIG_USER_SCHED=y
68# CONFIG_CGROUP_SCHED is not set
69# CONFIG_CGROUPS is not set
70# CONFIG_SYSFS_DEPRECATED_V2 is not set
71# CONFIG_RELAY is not set
72# CONFIG_NAMESPACES is not set
73CONFIG_BLK_DEV_INITRD=y
74CONFIG_INITRAMFS_SOURCE=""
75CONFIG_RD_GZIP=y
76# CONFIG_RD_BZIP2 is not set
77# CONFIG_RD_LZMA is not set
78# CONFIG_RD_LZO is not set
79CONFIG_CC_OPTIMIZE_FOR_SIZE=y
80CONFIG_SYSCTL=y
81CONFIG_ANON_INODES=y
82CONFIG_EMBEDDED=y
83CONFIG_UID16=y
84CONFIG_SYSCTL_SYSCALL=y
85CONFIG_KALLSYMS=y
86# CONFIG_KALLSYMS_EXTRA_PASS is not set
87CONFIG_HOTPLUG=y
88CONFIG_PRINTK=y
89CONFIG_BUG=y
90CONFIG_ELF_CORE=y
91CONFIG_BASE_FULL=y
92CONFIG_FUTEX=y
93CONFIG_EPOLL=y
94CONFIG_SIGNALFD=y
95CONFIG_TIMERFD=y
96CONFIG_EVENTFD=y
97CONFIG_SHMEM=y
98CONFIG_AIO=y
99
100#
101# Kernel Performance Events And Counters
102#
103CONFIG_VM_EVENT_COUNTERS=y
104CONFIG_SLUB_DEBUG=y
105CONFIG_COMPAT_BRK=y
106# CONFIG_SLAB is not set
107CONFIG_SLUB=y
108# CONFIG_SLOB is not set
109# CONFIG_PROFILING is not set
110CONFIG_HAVE_OPROFILE=y
111# CONFIG_KPROBES is not set
112CONFIG_HAVE_KPROBES=y
113CONFIG_HAVE_KRETPROBES=y
114CONFIG_HAVE_CLK=y
115
116#
117# GCOV-based kernel profiling
118#
119# CONFIG_SLOW_WORK is not set
120CONFIG_HAVE_GENERIC_DMA_COHERENT=y
121CONFIG_SLABINFO=y
122CONFIG_RT_MUTEXES=y
123CONFIG_BASE_SMALL=0
124CONFIG_MODULES=y
125# CONFIG_MODULE_FORCE_LOAD is not set
126CONFIG_MODULE_UNLOAD=y
127CONFIG_MODULE_FORCE_UNLOAD=y
128CONFIG_MODVERSIONS=y
129# CONFIG_MODULE_SRCVERSION_ALL is not set
130CONFIG_BLOCK=y
131CONFIG_LBDAF=y
132# CONFIG_BLK_DEV_BSG is not set
133# CONFIG_BLK_DEV_INTEGRITY is not set
134
135#
136# IO Schedulers
137#
138CONFIG_IOSCHED_NOOP=y
139# CONFIG_IOSCHED_DEADLINE is not set
140# CONFIG_IOSCHED_CFQ is not set
141# CONFIG_DEFAULT_DEADLINE is not set
142# CONFIG_DEFAULT_CFQ is not set
143CONFIG_DEFAULT_NOOP=y
144CONFIG_DEFAULT_IOSCHED="noop"
145# CONFIG_INLINE_SPIN_TRYLOCK is not set
146# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
147# CONFIG_INLINE_SPIN_LOCK is not set
148# CONFIG_INLINE_SPIN_LOCK_BH is not set
149# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
150# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
151# CONFIG_INLINE_SPIN_UNLOCK is not set
152# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
153# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set
154# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
155# CONFIG_INLINE_READ_TRYLOCK is not set
156# CONFIG_INLINE_READ_LOCK is not set
157# CONFIG_INLINE_READ_LOCK_BH is not set
158# CONFIG_INLINE_READ_LOCK_IRQ is not set
159# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
160# CONFIG_INLINE_READ_UNLOCK is not set
161# CONFIG_INLINE_READ_UNLOCK_BH is not set
162# CONFIG_INLINE_READ_UNLOCK_IRQ is not set
163# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
164# CONFIG_INLINE_WRITE_TRYLOCK is not set
165# CONFIG_INLINE_WRITE_LOCK is not set
166# CONFIG_INLINE_WRITE_LOCK_BH is not set
167# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
168# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
169# CONFIG_INLINE_WRITE_UNLOCK is not set
170# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
171# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set
172# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
173# CONFIG_MUTEX_SPIN_ON_OWNER is not set
174# CONFIG_FREEZER is not set
175
176#
177# System Type
178#
179CONFIG_MMU=y
180# CONFIG_ARCH_AAEC2000 is not set
181# CONFIG_ARCH_INTEGRATOR is not set
182# CONFIG_ARCH_REALVIEW is not set
183# CONFIG_ARCH_VERSATILE is not set
184# CONFIG_ARCH_AT91 is not set
185# CONFIG_ARCH_CLPS711X is not set
186# CONFIG_ARCH_GEMINI is not set
187# CONFIG_ARCH_EBSA110 is not set
188# CONFIG_ARCH_EP93XX is not set
189# CONFIG_ARCH_FOOTBRIDGE is not set
190# CONFIG_ARCH_MXC is not set
191# CONFIG_ARCH_STMP3XXX is not set
192# CONFIG_ARCH_NETX is not set
193# CONFIG_ARCH_H720X is not set
194# CONFIG_ARCH_NOMADIK is not set
195# CONFIG_ARCH_IOP13XX is not set
196# CONFIG_ARCH_IOP32X is not set
197# CONFIG_ARCH_IOP33X is not set
198# CONFIG_ARCH_IXP23XX is not set
199# CONFIG_ARCH_IXP2000 is not set
200# CONFIG_ARCH_IXP4XX is not set
201# CONFIG_ARCH_L7200 is not set
202# CONFIG_ARCH_DOVE is not set
203# CONFIG_ARCH_KIRKWOOD is not set
204# CONFIG_ARCH_LOKI is not set
205# CONFIG_ARCH_MV78XX0 is not set
206# CONFIG_ARCH_ORION5X is not set
207# CONFIG_ARCH_MMP is not set
208# CONFIG_ARCH_KS8695 is not set
209# CONFIG_ARCH_NS9XXX is not set
210# CONFIG_ARCH_W90X900 is not set
211# CONFIG_ARCH_PNX4008 is not set
212# CONFIG_ARCH_PXA is not set
213# CONFIG_ARCH_MSM is not set
214# CONFIG_ARCH_RPC is not set
215# CONFIG_ARCH_SA1100 is not set
216# CONFIG_ARCH_S3C2410 is not set
217# CONFIG_ARCH_S3C64XX is not set
218# CONFIG_ARCH_S5PC1XX is not set
219# CONFIG_ARCH_SHARK is not set
220# CONFIG_ARCH_LH7A40X is not set
221# CONFIG_ARCH_U300 is not set
222CONFIG_ARCH_DAVINCI=y
223# CONFIG_ARCH_OMAP is not set
224# CONFIG_ARCH_BCMRING is not set
225# CONFIG_ARCH_U8500 is not set
226CONFIG_CP_INTC=y
227
228#
229# TI DaVinci Implementations
230#
231
232#
233# DaVinci Core Type
234#
235# CONFIG_ARCH_DAVINCI_DM644x is not set
236# CONFIG_ARCH_DAVINCI_DM355 is not set
237# CONFIG_ARCH_DAVINCI_DM646x is not set
238CONFIG_ARCH_DAVINCI_DA830=y
239# CONFIG_ARCH_DAVINCI_DA850 is not set
240CONFIG_DA8XX_MAX_SPEED_300=y
241# CONFIG_DA8XX_MAX_SPEED_372 is not set
242# CONFIG_DA8XX_MAX_SPEED_408 is not set
243# CONFIG_DA8XX_MAX_SPEED_456 is not set
244CONFIG_ARCH_DAVINCI_DA8XX=y
245# CONFIG_ARCH_DAVINCI_DM365 is not set
246
247#
248# DaVinci Board Type
249#
250CONFIG_MACH_DAVINCI_DA830_EVM=y
251CONFIG_DA830_UI_LCD=y
252# CONFIG_DA830_UI_NAND is not set
253CONFIG_DAVINCI_MUX=y
254# CONFIG_DAVINCI_MUX_DEBUG is not set
255# CONFIG_DAVINCI_MUX_WARNINGS is not set
256CONFIG_DAVINCI_RESET_CLOCKS=y
257# CONFIG_DAVINCI_MCBSP is not set
258
259#
260# Processor Type
261#
262CONFIG_CPU_ARM926T=y
263CONFIG_CPU_32v5=y
264CONFIG_CPU_ABRT_EV5TJ=y
265CONFIG_CPU_PABRT_LEGACY=y
266CONFIG_CPU_CACHE_VIVT=y
267CONFIG_CPU_COPY_V4WB=y
268CONFIG_CPU_TLB_V4WBI=y
269CONFIG_CPU_CP15=y
270CONFIG_CPU_CP15_MMU=y
271
272#
273# Processor Features
274#
275CONFIG_ARM_THUMB=y
276# CONFIG_CPU_ICACHE_DISABLE is not set
277# CONFIG_CPU_DCACHE_DISABLE is not set
278CONFIG_CPU_DCACHE_WRITETHROUGH=y
279# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
280CONFIG_ARM_L1_CACHE_SHIFT=5
281CONFIG_COMMON_CLKDEV=y
282
283#
284# Bus support
285#
286# CONFIG_PCI_SYSCALL is not set
287# CONFIG_ARCH_SUPPORTS_MSI is not set
288# CONFIG_PCCARD is not set
289
290#
291# Kernel Features
292#
293CONFIG_TICK_ONESHOT=y
294CONFIG_NO_HZ=y
295CONFIG_HIGH_RES_TIMERS=y
296CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
297CONFIG_VMSPLIT_3G=y
298# CONFIG_VMSPLIT_2G is not set
299# CONFIG_VMSPLIT_1G is not set
300CONFIG_PAGE_OFFSET=0xC0000000
301# CONFIG_PREEMPT_NONE is not set
302# CONFIG_PREEMPT_VOLUNTARY is not set
303CONFIG_PREEMPT=y
304CONFIG_HZ=100
305CONFIG_AEABI=y
306# CONFIG_OABI_COMPAT is not set
307CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y
308# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
309# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
310# CONFIG_HIGHMEM is not set
311CONFIG_SELECT_MEMORY_MODEL=y
312CONFIG_FLATMEM_MANUAL=y
313# CONFIG_DISCONTIGMEM_MANUAL is not set
314# CONFIG_SPARSEMEM_MANUAL is not set
315CONFIG_FLATMEM=y
316CONFIG_FLAT_NODE_MEM_MAP=y
317CONFIG_PAGEFLAGS_EXTENDED=y
318CONFIG_SPLIT_PTLOCK_CPUS=999999
319# CONFIG_PHYS_ADDR_T_64BIT is not set
320CONFIG_ZONE_DMA_FLAG=1
321CONFIG_BOUNCE=y
322CONFIG_VIRT_TO_BUS=y
323# CONFIG_KSM is not set
324CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
325CONFIG_LEDS=y
326# CONFIG_LEDS_CPU is not set
327CONFIG_ALIGNMENT_TRAP=y
328# CONFIG_UACCESS_WITH_MEMCPY is not set
329
330#
331# Boot options
332#
333CONFIG_ZBOOT_ROM_TEXT=0x0
334CONFIG_ZBOOT_ROM_BSS=0x0
335CONFIG_CMDLINE=""
336# CONFIG_XIP_KERNEL is not set
337# CONFIG_KEXEC is not set
338
339#
340# CPU Power Management
341#
342# CONFIG_CPU_IDLE is not set
343
344#
345# Floating point emulation
346#
347
348#
349# At least one emulation must be selected
350#
351# CONFIG_VFP is not set
352
353#
354# Userspace binary formats
355#
356CONFIG_BINFMT_ELF=y
357# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
358CONFIG_HAVE_AOUT=y
359# CONFIG_BINFMT_AOUT is not set
360# CONFIG_BINFMT_MISC is not set
361
362#
363# Power management options
364#
365# CONFIG_PM is not set
366CONFIG_ARCH_SUSPEND_POSSIBLE=y
367CONFIG_NET=y
368
369#
370# Networking options
371#
372CONFIG_PACKET=y
373# CONFIG_PACKET_MMAP is not set
374CONFIG_UNIX=y
375CONFIG_XFRM=y
376# CONFIG_XFRM_USER is not set
377# CONFIG_XFRM_SUB_POLICY is not set
378# CONFIG_XFRM_MIGRATE is not set
379# CONFIG_XFRM_STATISTICS is not set
380# CONFIG_NET_KEY is not set
381CONFIG_INET=y
382# CONFIG_IP_MULTICAST is not set
383# CONFIG_IP_ADVANCED_ROUTER is not set
384CONFIG_IP_FIB_HASH=y
385CONFIG_IP_PNP=y
386CONFIG_IP_PNP_DHCP=y
387# CONFIG_IP_PNP_BOOTP is not set
388# CONFIG_IP_PNP_RARP is not set
389# CONFIG_NET_IPIP is not set
390# CONFIG_NET_IPGRE is not set
391# CONFIG_ARPD is not set
392# CONFIG_SYN_COOKIES is not set
393# CONFIG_INET_AH is not set
394# CONFIG_INET_ESP is not set
395# CONFIG_INET_IPCOMP is not set
396# CONFIG_INET_XFRM_TUNNEL is not set
397CONFIG_INET_TUNNEL=m
398CONFIG_INET_XFRM_MODE_TRANSPORT=y
399CONFIG_INET_XFRM_MODE_TUNNEL=y
400CONFIG_INET_XFRM_MODE_BEET=y
401# CONFIG_INET_LRO is not set
402CONFIG_INET_DIAG=y
403CONFIG_INET_TCP_DIAG=y
404# CONFIG_TCP_CONG_ADVANCED is not set
405CONFIG_TCP_CONG_CUBIC=y
406CONFIG_DEFAULT_TCP_CONG="cubic"
407# CONFIG_TCP_MD5SIG is not set
408CONFIG_IPV6=m
409# CONFIG_IPV6_PRIVACY is not set
410# CONFIG_IPV6_ROUTER_PREF is not set
411# CONFIG_IPV6_OPTIMISTIC_DAD is not set
412# CONFIG_INET6_AH is not set
413# CONFIG_INET6_ESP is not set
414# CONFIG_INET6_IPCOMP is not set
415# CONFIG_IPV6_MIP6 is not set
416# CONFIG_INET6_XFRM_TUNNEL is not set
417# CONFIG_INET6_TUNNEL is not set
418CONFIG_INET6_XFRM_MODE_TRANSPORT=m
419CONFIG_INET6_XFRM_MODE_TUNNEL=m
420CONFIG_INET6_XFRM_MODE_BEET=m
421# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
422CONFIG_IPV6_SIT=m
423# CONFIG_IPV6_SIT_6RD is not set
424CONFIG_IPV6_NDISC_NODETYPE=y
425# CONFIG_IPV6_TUNNEL is not set
426# CONFIG_IPV6_MULTIPLE_TABLES is not set
427# CONFIG_IPV6_MROUTE is not set
428# CONFIG_NETWORK_SECMARK is not set
429CONFIG_NETFILTER=y
430# CONFIG_NETFILTER_DEBUG is not set
431CONFIG_NETFILTER_ADVANCED=y
432
433#
434# Core Netfilter Configuration
435#
436# CONFIG_NETFILTER_NETLINK_QUEUE is not set
437# CONFIG_NETFILTER_NETLINK_LOG is not set
438# CONFIG_NF_CONNTRACK is not set
439# CONFIG_NETFILTER_XTABLES is not set
440# CONFIG_IP_VS is not set
441
442#
443# IP: Netfilter Configuration
444#
445# CONFIG_NF_DEFRAG_IPV4 is not set
446# CONFIG_IP_NF_QUEUE is not set
447# CONFIG_IP_NF_IPTABLES is not set
448# CONFIG_IP_NF_ARPTABLES is not set
449
450#
451# IPv6: Netfilter Configuration
452#
453# CONFIG_IP6_NF_QUEUE is not set
454# CONFIG_IP6_NF_IPTABLES is not set
455# CONFIG_IP_DCCP is not set
456# CONFIG_IP_SCTP is not set
457# CONFIG_RDS is not set
458# CONFIG_TIPC is not set
459# CONFIG_ATM is not set
460# CONFIG_BRIDGE is not set
461# CONFIG_NET_DSA is not set
462# CONFIG_VLAN_8021Q is not set
463# CONFIG_DECNET is not set
464# CONFIG_LLC2 is not set
465# CONFIG_IPX is not set
466# CONFIG_ATALK is not set
467# CONFIG_X25 is not set
468# CONFIG_LAPB is not set
469# CONFIG_ECONET is not set
470# CONFIG_WAN_ROUTER is not set
471# CONFIG_PHONET is not set
472# CONFIG_IEEE802154 is not set
473# CONFIG_NET_SCHED is not set
474# CONFIG_DCB is not set
475
476#
477# Network testing
478#
479# CONFIG_NET_PKTGEN is not set
480# CONFIG_HAMRADIO is not set
481# CONFIG_CAN is not set
482# CONFIG_IRDA is not set
483# CONFIG_BT is not set
484# CONFIG_AF_RXRPC is not set
485CONFIG_WIRELESS=y
486# CONFIG_CFG80211 is not set
487# CONFIG_LIB80211 is not set
488
489#
490# CFG80211 needs to be enabled for MAC80211
491#
492# CONFIG_WIMAX is not set
493# CONFIG_RFKILL is not set
494# CONFIG_NET_9P is not set
495
496#
497# Device Drivers
498#
499
500#
501# Generic Driver Options
502#
503CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
504# CONFIG_DEVTMPFS is not set
505CONFIG_STANDALONE=y
506CONFIG_PREVENT_FIRMWARE_BUILD=y
507# CONFIG_FW_LOADER is not set
508# CONFIG_SYS_HYPERVISOR is not set
509# CONFIG_CONNECTOR is not set
510CONFIG_MTD=y
511# CONFIG_MTD_DEBUG is not set
512# CONFIG_MTD_TESTS is not set
513# CONFIG_MTD_CONCAT is not set
514CONFIG_MTD_PARTITIONS=y
515# CONFIG_MTD_REDBOOT_PARTS is not set
516# CONFIG_MTD_CMDLINE_PARTS is not set
517# CONFIG_MTD_AFS_PARTS is not set
518# CONFIG_MTD_AR7_PARTS is not set
519
520#
521# User Modules And Translation Layers
522#
523CONFIG_MTD_CHAR=y
524CONFIG_MTD_BLKDEVS=y
525CONFIG_MTD_BLOCK=y
526# CONFIG_FTL is not set
527# CONFIG_NFTL is not set
528# CONFIG_INFTL is not set
529# CONFIG_RFD_FTL is not set
530# CONFIG_SSFDC is not set
531# CONFIG_MTD_OOPS is not set
532
533#
534# RAM/ROM/Flash chip drivers
535#
536# CONFIG_MTD_CFI is not set
537# CONFIG_MTD_JEDECPROBE is not set
538CONFIG_MTD_MAP_BANK_WIDTH_1=y
539CONFIG_MTD_MAP_BANK_WIDTH_2=y
540CONFIG_MTD_MAP_BANK_WIDTH_4=y
541# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
542# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
543# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
544CONFIG_MTD_CFI_I1=y
545CONFIG_MTD_CFI_I2=y
546# CONFIG_MTD_CFI_I4 is not set
547# CONFIG_MTD_CFI_I8 is not set
548# CONFIG_MTD_RAM is not set
549# CONFIG_MTD_ROM is not set
550# CONFIG_MTD_ABSENT is not set
551
552#
553# Mapping drivers for chip access
554#
555# CONFIG_MTD_COMPLEX_MAPPINGS is not set
556# CONFIG_MTD_PLATRAM is not set
557
558#
559# Self-contained MTD device drivers
560#
561# CONFIG_MTD_DATAFLASH is not set
562CONFIG_MTD_M25P80=y
563CONFIG_M25PXX_USE_FAST_READ=y
564# CONFIG_MTD_SST25L is not set
565# CONFIG_MTD_SLRAM is not set
566# CONFIG_MTD_PHRAM is not set
567# CONFIG_MTD_MTDRAM is not set
568# CONFIG_MTD_BLOCK2MTD is not set
569
570#
571# Disk-On-Chip Device Drivers
572#
573# CONFIG_MTD_DOC2000 is not set
574# CONFIG_MTD_DOC2001 is not set
575# CONFIG_MTD_DOC2001PLUS is not set
576# CONFIG_MTD_NAND is not set
577# CONFIG_MTD_ONENAND is not set
578
579#
580# LPDDR flash memory drivers
581#
582# CONFIG_MTD_LPDDR is not set
583
584#
585# UBI - Unsorted block images
586#
587# CONFIG_MTD_UBI is not set
588# CONFIG_PARPORT is not set
589CONFIG_BLK_DEV=y
590# CONFIG_BLK_DEV_COW_COMMON is not set
591CONFIG_BLK_DEV_LOOP=m
592# CONFIG_BLK_DEV_CRYPTOLOOP is not set
593
594#
595# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
596#
597# CONFIG_BLK_DEV_NBD is not set
598# CONFIG_BLK_DEV_UB is not set
599CONFIG_BLK_DEV_RAM=y
600CONFIG_BLK_DEV_RAM_COUNT=1
601CONFIG_BLK_DEV_RAM_SIZE=32768
602# CONFIG_BLK_DEV_XIP is not set
603# CONFIG_CDROM_PKTCDVD is not set
604# CONFIG_ATA_OVER_ETH is not set
605# CONFIG_MG_DISK is not set
606CONFIG_MISC_DEVICES=y
607# CONFIG_AD525X_DPOT is not set
608# CONFIG_ICS932S401 is not set
609# CONFIG_ENCLOSURE_SERVICES is not set
610# CONFIG_ISL29003 is not set
611# CONFIG_DS1682 is not set
612# CONFIG_TI_DAC7512 is not set
613# CONFIG_C2PORT is not set
614
615#
616# EEPROM support
617#
618CONFIG_EEPROM_AT24=y
619# CONFIG_EEPROM_AT25 is not set
620# CONFIG_EEPROM_LEGACY is not set
621# CONFIG_EEPROM_MAX6875 is not set
622# CONFIG_EEPROM_93CX6 is not set
623# CONFIG_IWMC3200TOP is not set
624CONFIG_HAVE_IDE=y
625# CONFIG_IDE is not set
626
627#
628# SCSI device support
629#
630# CONFIG_RAID_ATTRS is not set
631CONFIG_SCSI=y
632CONFIG_SCSI_DMA=y
633# CONFIG_SCSI_TGT is not set
634# CONFIG_SCSI_NETLINK is not set
635CONFIG_SCSI_PROC_FS=y
636
637#
638# SCSI support type (disk, tape, CD-ROM)
639#
640CONFIG_BLK_DEV_SD=y
641# CONFIG_CHR_DEV_ST is not set
642# CONFIG_CHR_DEV_OSST is not set
643# CONFIG_BLK_DEV_SR is not set
644CONFIG_CHR_DEV_SG=y
645# CONFIG_CHR_DEV_SCH is not set
646# CONFIG_SCSI_MULTI_LUN is not set
647# CONFIG_SCSI_CONSTANTS is not set
648# CONFIG_SCSI_LOGGING is not set
649# CONFIG_SCSI_SCAN_ASYNC is not set
650CONFIG_SCSI_WAIT_SCAN=m
651
652#
653# SCSI Transports
654#
655# CONFIG_SCSI_SPI_ATTRS is not set
656# CONFIG_SCSI_FC_ATTRS is not set
657# CONFIG_SCSI_ISCSI_ATTRS is not set
658# CONFIG_SCSI_SAS_LIBSAS is not set
659# CONFIG_SCSI_SRP_ATTRS is not set
660CONFIG_SCSI_LOWLEVEL=y
661# CONFIG_ISCSI_TCP is not set
662# CONFIG_LIBFC is not set
663# CONFIG_LIBFCOE is not set
664# CONFIG_SCSI_DEBUG is not set
665# CONFIG_SCSI_DH is not set
666# CONFIG_SCSI_OSD_INITIATOR is not set
667# CONFIG_ATA is not set
668# CONFIG_MD is not set
669CONFIG_NETDEVICES=y
670# CONFIG_DUMMY is not set
671# CONFIG_BONDING is not set
672# CONFIG_MACVLAN is not set
673# CONFIG_EQUALIZER is not set
674CONFIG_TUN=m
675# CONFIG_VETH is not set
676CONFIG_PHYLIB=y
677
678#
679# MII PHY device drivers
680#
681# CONFIG_MARVELL_PHY is not set
682# CONFIG_DAVICOM_PHY is not set
683# CONFIG_QSEMI_PHY is not set
684CONFIG_LXT_PHY=y
685# CONFIG_CICADA_PHY is not set
686# CONFIG_VITESSE_PHY is not set
687# CONFIG_SMSC_PHY is not set
688# CONFIG_BROADCOM_PHY is not set
689# CONFIG_ICPLUS_PHY is not set
690# CONFIG_REALTEK_PHY is not set
691# CONFIG_NATIONAL_PHY is not set
692# CONFIG_STE10XP is not set
693CONFIG_LSI_ET1011C_PHY=y
694# CONFIG_FIXED_PHY is not set
695# CONFIG_MDIO_BITBANG is not set
696CONFIG_NET_ETHERNET=y
697CONFIG_MII=y
698# CONFIG_AX88796 is not set
699# CONFIG_SMC91X is not set
700CONFIG_TI_DAVINCI_EMAC=y
701# CONFIG_DM9000 is not set
702# CONFIG_ENC28J60 is not set
703# CONFIG_ETHOC is not set
704# CONFIG_SMC911X is not set
705# CONFIG_SMSC911X is not set
706# CONFIG_DNET is not set
707# CONFIG_IBM_NEW_EMAC_ZMII is not set
708# CONFIG_IBM_NEW_EMAC_RGMII is not set
709# CONFIG_IBM_NEW_EMAC_TAH is not set
710# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
711# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
712# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
713# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
714# CONFIG_B44 is not set
715# CONFIG_KS8842 is not set
716# CONFIG_KS8851 is not set
717# CONFIG_KS8851_MLL is not set
718# CONFIG_NETDEV_1000 is not set
719# CONFIG_NETDEV_10000 is not set
720CONFIG_WLAN=y
721# CONFIG_USB_ZD1201 is not set
722# CONFIG_HOSTAP is not set
723
724#
725# Enable WiMAX (Networking options) to see the WiMAX drivers
726#
727
728#
729# USB Network Adapters
730#
731# CONFIG_USB_CATC is not set
732# CONFIG_USB_KAWETH is not set
733# CONFIG_USB_PEGASUS is not set
734# CONFIG_USB_RTL8150 is not set
735# CONFIG_USB_USBNET is not set
736# CONFIG_WAN is not set
737# CONFIG_PPP is not set
738# CONFIG_SLIP is not set
739CONFIG_NETCONSOLE=y
740# CONFIG_NETCONSOLE_DYNAMIC is not set
741CONFIG_NETPOLL=y
742CONFIG_NETPOLL_TRAP=y
743CONFIG_NET_POLL_CONTROLLER=y
744# CONFIG_ISDN is not set
745# CONFIG_PHONE is not set
746
747#
748# Input device support
749#
750CONFIG_INPUT=y
751# CONFIG_INPUT_FF_MEMLESS is not set
752# CONFIG_INPUT_POLLDEV is not set
753# CONFIG_INPUT_SPARSEKMAP is not set
754
755#
756# Userland interfaces
757#
758# CONFIG_INPUT_MOUSEDEV is not set
759# CONFIG_INPUT_JOYDEV is not set
760CONFIG_INPUT_EVDEV=y
761CONFIG_INPUT_EVBUG=m
762
763#
764# Input Device Drivers
765#
766CONFIG_INPUT_KEYBOARD=y
767# CONFIG_KEYBOARD_ADP5588 is not set
768CONFIG_KEYBOARD_ATKBD=m
769# CONFIG_QT2160 is not set
770# CONFIG_KEYBOARD_LKKBD is not set
771CONFIG_KEYBOARD_GPIO=y
772# CONFIG_KEYBOARD_MATRIX is not set
773# CONFIG_KEYBOARD_MAX7359 is not set
774# CONFIG_KEYBOARD_NEWTON is not set
775# CONFIG_KEYBOARD_OPENCORES is not set
776# CONFIG_KEYBOARD_STOWAWAY is not set
777# CONFIG_KEYBOARD_SUNKBD is not set
778CONFIG_KEYBOARD_XTKBD=m
779# CONFIG_INPUT_MOUSE is not set
780# CONFIG_INPUT_JOYSTICK is not set
781# CONFIG_INPUT_TABLET is not set
782CONFIG_INPUT_TOUCHSCREEN=y
783# CONFIG_TOUCHSCREEN_ADS7846 is not set
784# CONFIG_TOUCHSCREEN_AD7877 is not set
785# CONFIG_TOUCHSCREEN_AD7879_I2C is not set
786# CONFIG_TOUCHSCREEN_AD7879_SPI is not set
787# CONFIG_TOUCHSCREEN_AD7879 is not set
788# CONFIG_TOUCHSCREEN_DYNAPRO is not set
789# CONFIG_TOUCHSCREEN_EETI is not set
790# CONFIG_TOUCHSCREEN_FUJITSU is not set
791# CONFIG_TOUCHSCREEN_GUNZE is not set
792# CONFIG_TOUCHSCREEN_ELO is not set
793# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
794# CONFIG_TOUCHSCREEN_MCS5000 is not set
795# CONFIG_TOUCHSCREEN_MTOUCH is not set
796# CONFIG_TOUCHSCREEN_INEXIO is not set
797# CONFIG_TOUCHSCREEN_MK712 is not set
798# CONFIG_TOUCHSCREEN_PENMOUNT is not set
799# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
800# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
801# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
802# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
803# CONFIG_TOUCHSCREEN_TSC2007 is not set
804CONFIG_TOUCHSCREEN_TSC2004=y
805# CONFIG_TOUCHSCREEN_W90X900 is not set
806# CONFIG_TOUCHSCREEN_TPS6507X is not set
807# CONFIG_INPUT_MISC is not set
808
809#
810# Hardware I/O ports
811#
812CONFIG_SERIO=y
813CONFIG_SERIO_SERPORT=y
814CONFIG_SERIO_LIBPS2=y
815# CONFIG_SERIO_RAW is not set
816# CONFIG_SERIO_ALTERA_PS2 is not set
817# CONFIG_GAMEPORT is not set
818
819#
820# Character devices
821#
822CONFIG_VT=y
823CONFIG_CONSOLE_TRANSLATIONS=y
824# CONFIG_VT_CONSOLE is not set
825CONFIG_HW_CONSOLE=y
826# CONFIG_VT_HW_CONSOLE_BINDING is not set
827CONFIG_DEVKMEM=y
828# CONFIG_SERIAL_NONSTANDARD is not set
829
830#
831# Serial drivers
832#
833CONFIG_SERIAL_8250=y
834CONFIG_SERIAL_8250_CONSOLE=y
835CONFIG_SERIAL_8250_NR_UARTS=3
836CONFIG_SERIAL_8250_RUNTIME_UARTS=3
837# CONFIG_SERIAL_8250_EXTENDED is not set
838
839#
840# Non-8250 serial port support
841#
842# CONFIG_SERIAL_MAX3100 is not set
843CONFIG_SERIAL_CORE=y
844CONFIG_SERIAL_CORE_CONSOLE=y
845CONFIG_UNIX98_PTYS=y
846# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
847CONFIG_LEGACY_PTYS=y
848CONFIG_LEGACY_PTY_COUNT=8
849# CONFIG_IPMI_HANDLER is not set
850CONFIG_HW_RANDOM=m
851# CONFIG_HW_RANDOM_TIMERIOMEM is not set
852# CONFIG_R3964 is not set
853# CONFIG_RAW_DRIVER is not set
854# CONFIG_TCG_TPM is not set
855CONFIG_I2C=y
856CONFIG_I2C_BOARDINFO=y
857CONFIG_I2C_COMPAT=y
858CONFIG_I2C_CHARDEV=y
859CONFIG_I2C_HELPER_AUTO=y
860
861#
862# I2C Hardware Bus support
863#
864
865#
866# I2C system bus drivers (mostly embedded / system-on-chip)
867#
868CONFIG_I2C_DAVINCI=y
869# CONFIG_I2C_DESIGNWARE is not set
870# CONFIG_I2C_GPIO is not set
871# CONFIG_I2C_OCORES is not set
872# CONFIG_I2C_SIMTEC is not set
873
874#
875# External I2C/SMBus adapter drivers
876#
877# CONFIG_I2C_PARPORT_LIGHT is not set
878# CONFIG_I2C_TAOS_EVM is not set
879# CONFIG_I2C_TINY_USB is not set
880
881#
882# Other I2C/SMBus bus drivers
883#
884# CONFIG_I2C_PCA_PLATFORM is not set
885# CONFIG_I2C_STUB is not set
886
887#
888# Miscellaneous I2C Chip support
889#
890# CONFIG_SENSORS_TSL2550 is not set
891# CONFIG_I2C_DEBUG_CORE is not set
892# CONFIG_I2C_DEBUG_ALGO is not set
893# CONFIG_I2C_DEBUG_BUS is not set
894# CONFIG_I2C_DEBUG_CHIP is not set
895CONFIG_SPI=y
896CONFIG_SPI_MASTER=y
897
898#
899# SPI Master Controller Drivers
900#
901CONFIG_SPI_DAVINCI=y
902CONFIG_SPI_BITBANG=y
903# CONFIG_SPI_GPIO is not set
904# CONFIG_SPI_XILINX is not set
905# CONFIG_SPI_DESIGNWARE is not set
906
907#
908# SPI Protocol Masters
909#
910# CONFIG_SPI_SPIDEV is not set
911# CONFIG_SPI_TLE62X0 is not set
912
913#
914# PPS support
915#
916# CONFIG_PPS is not set
917CONFIG_ARCH_REQUIRE_GPIOLIB=y
918CONFIG_GPIOLIB=y
919# CONFIG_GPIO_SYSFS is not set
920
921#
922# Memory mapped GPIO expanders:
923#
924
925#
926# I2C GPIO expanders:
927#
928# CONFIG_GPIO_MAX732X is not set
929CONFIG_GPIO_PCA953X=y
930CONFIG_GPIO_PCF857X=y
931# CONFIG_GPIO_ADP5588 is not set
932
933#
934# PCI GPIO expanders:
935#
936
937#
938# SPI GPIO expanders:
939#
940# CONFIG_GPIO_MAX7301 is not set
941# CONFIG_GPIO_MCP23S08 is not set
942# CONFIG_GPIO_MC33880 is not set
943
944#
945# AC97 GPIO expanders:
946#
947# CONFIG_W1 is not set
948# CONFIG_POWER_SUPPLY is not set
949# CONFIG_HWMON is not set
950# CONFIG_THERMAL is not set
951CONFIG_WATCHDOG=y
952# CONFIG_WATCHDOG_NOWAYOUT is not set
953
954#
955# Watchdog Device Drivers
956#
957# CONFIG_SOFT_WATCHDOG is not set
958CONFIG_DAVINCI_WATCHDOG=y
959
960#
961# USB-based Watchdog Cards
962#
963# CONFIG_USBPCWATCHDOG is not set
964CONFIG_SSB_POSSIBLE=y
965
966#
967# Sonics Silicon Backplane
968#
969# CONFIG_SSB is not set
970
971#
972# Multifunction device drivers
973#
974# CONFIG_MFD_CORE is not set
975# CONFIG_MFD_SM501 is not set
976# CONFIG_MFD_ASIC3 is not set
977# CONFIG_HTC_EGPIO is not set
978# CONFIG_HTC_PASIC3 is not set
979# CONFIG_TPS65010 is not set
980# CONFIG_TPS6507x is not set
981# CONFIG_TWL4030_CORE is not set
982# CONFIG_MFD_TMIO is not set
983# CONFIG_MFD_T7L66XB is not set
984# CONFIG_MFD_TC6387XB is not set
985# CONFIG_MFD_TC6393XB is not set
986# CONFIG_PMIC_DA903X is not set
987# CONFIG_PMIC_ADP5520 is not set
988# CONFIG_MFD_WM8400 is not set
989# CONFIG_MFD_WM831X is not set
990# CONFIG_MFD_WM8350_I2C is not set
991# CONFIG_MFD_PCF50633 is not set
992# CONFIG_MFD_MC13783 is not set
993# CONFIG_AB3100_CORE is not set
994# CONFIG_EZX_PCAP is not set
995# CONFIG_MFD_88PM8607 is not set
996# CONFIG_AB4500_CORE is not set
997# CONFIG_REGULATOR is not set
998CONFIG_MEDIA_SUPPORT=y
999
1000#
1001# Multimedia core support
1002#
1003CONFIG_VIDEO_DEV=y
1004CONFIG_VIDEO_V4L2_COMMON=y
1005CONFIG_VIDEO_ALLOW_V4L1=y
1006CONFIG_VIDEO_V4L1_COMPAT=y
1007# CONFIG_DVB_CORE is not set
1008CONFIG_VIDEO_MEDIA=y
1009
1010#
1011# Multimedia drivers
1012#
1013CONFIG_IR_CORE=y
1014CONFIG_VIDEO_IR=y
1015# CONFIG_MEDIA_ATTACH is not set
1016CONFIG_MEDIA_TUNER=y
1017# CONFIG_MEDIA_TUNER_CUSTOMISE is not set
1018CONFIG_MEDIA_TUNER_SIMPLE=y
1019CONFIG_MEDIA_TUNER_TDA8290=y
1020CONFIG_MEDIA_TUNER_TDA9887=y
1021CONFIG_MEDIA_TUNER_TEA5761=y
1022CONFIG_MEDIA_TUNER_TEA5767=y
1023CONFIG_MEDIA_TUNER_MT20XX=y
1024CONFIG_MEDIA_TUNER_XC2028=y
1025CONFIG_MEDIA_TUNER_XC5000=y
1026CONFIG_MEDIA_TUNER_MC44S803=y
1027CONFIG_VIDEO_V4L2=y
1028CONFIG_VIDEO_V4L1=y
1029CONFIG_VIDEO_CAPTURE_DRIVERS=y
1030# CONFIG_VIDEO_ADV_DEBUG is not set
1031# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
1032CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
1033CONFIG_VIDEO_IR_I2C=y
1034# CONFIG_VIDEO_VIVI is not set
1035CONFIG_VIDEO_VPSS_SYSTEM=y
1036# CONFIG_VIDEO_VPFE_CAPTURE is not set
1037# CONFIG_VIDEO_CPIA is not set
1038# CONFIG_VIDEO_CPIA2 is not set
1039# CONFIG_VIDEO_SAA5246A is not set
1040# CONFIG_VIDEO_SAA5249 is not set
1041# CONFIG_SOC_CAMERA is not set
1042CONFIG_V4L_USB_DRIVERS=y
1043CONFIG_USB_VIDEO_CLASS=y
1044CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
1045CONFIG_USB_GSPCA=m
1046# CONFIG_USB_M5602 is not set
1047# CONFIG_USB_STV06XX is not set
1048# CONFIG_USB_GL860 is not set
1049# CONFIG_USB_GSPCA_CONEX is not set
1050# CONFIG_USB_GSPCA_ETOMS is not set
1051# CONFIG_USB_GSPCA_FINEPIX is not set
1052# CONFIG_USB_GSPCA_JEILINJ is not set
1053# CONFIG_USB_GSPCA_MARS is not set
1054# CONFIG_USB_GSPCA_MR97310A is not set
1055# CONFIG_USB_GSPCA_OV519 is not set
1056# CONFIG_USB_GSPCA_OV534 is not set
1057# CONFIG_USB_GSPCA_PAC207 is not set
1058# CONFIG_USB_GSPCA_PAC7302 is not set
1059# CONFIG_USB_GSPCA_PAC7311 is not set
1060# CONFIG_USB_GSPCA_SN9C20X is not set
1061# CONFIG_USB_GSPCA_SONIXB is not set
1062# CONFIG_USB_GSPCA_SONIXJ is not set
1063# CONFIG_USB_GSPCA_SPCA500 is not set
1064# CONFIG_USB_GSPCA_SPCA501 is not set
1065# CONFIG_USB_GSPCA_SPCA505 is not set
1066# CONFIG_USB_GSPCA_SPCA506 is not set
1067# CONFIG_USB_GSPCA_SPCA508 is not set
1068# CONFIG_USB_GSPCA_SPCA561 is not set
1069# CONFIG_USB_GSPCA_SQ905 is not set
1070# CONFIG_USB_GSPCA_SQ905C is not set
1071# CONFIG_USB_GSPCA_STK014 is not set
1072# CONFIG_USB_GSPCA_STV0680 is not set
1073# CONFIG_USB_GSPCA_SUNPLUS is not set
1074# CONFIG_USB_GSPCA_T613 is not set
1075# CONFIG_USB_GSPCA_TV8532 is not set
1076# CONFIG_USB_GSPCA_VC032X is not set
1077# CONFIG_USB_GSPCA_ZC3XX is not set
1078# CONFIG_VIDEO_PVRUSB2 is not set
1079# CONFIG_VIDEO_HDPVR is not set
1080# CONFIG_VIDEO_EM28XX is not set
1081# CONFIG_VIDEO_CX231XX is not set
1082# CONFIG_VIDEO_USBVISION is not set
1083# CONFIG_USB_VICAM is not set
1084# CONFIG_USB_IBMCAM is not set
1085# CONFIG_USB_KONICAWC is not set
1086# CONFIG_USB_QUICKCAM_MESSENGER is not set
1087# CONFIG_USB_ET61X251 is not set
1088# CONFIG_VIDEO_OVCAMCHIP is not set
1089# CONFIG_USB_OV511 is not set
1090# CONFIG_USB_SE401 is not set
1091# CONFIG_USB_SN9C102 is not set
1092# CONFIG_USB_STV680 is not set
1093# CONFIG_USB_ZC0301 is not set
1094# CONFIG_USB_PWC is not set
1095CONFIG_USB_PWC_INPUT_EVDEV=y
1096# CONFIG_USB_ZR364XX is not set
1097# CONFIG_USB_STKWEBCAM is not set
1098# CONFIG_USB_S2255 is not set
1099CONFIG_RADIO_ADAPTERS=y
1100# CONFIG_I2C_SI4713 is not set
1101# CONFIG_RADIO_SI4713 is not set
1102# CONFIG_USB_DSBR is not set
1103# CONFIG_RADIO_SI470X is not set
1104# CONFIG_USB_MR800 is not set
1105# CONFIG_RADIO_TEA5764 is not set
1106# CONFIG_RADIO_TEF6862 is not set
1107# CONFIG_DAB is not set
1108
1109#
1110# Graphics support
1111#
1112# CONFIG_VGASTATE is not set
1113# CONFIG_VIDEO_OUTPUT_CONTROL is not set
1114CONFIG_FB=y
1115# CONFIG_FIRMWARE_EDID is not set
1116# CONFIG_FB_DDC is not set
1117# CONFIG_FB_BOOT_VESA_SUPPORT is not set
1118CONFIG_FB_CFB_FILLRECT=y
1119CONFIG_FB_CFB_COPYAREA=y
1120CONFIG_FB_CFB_IMAGEBLIT=y
1121# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
1122# CONFIG_FB_SYS_FILLRECT is not set
1123# CONFIG_FB_SYS_COPYAREA is not set
1124# CONFIG_FB_SYS_IMAGEBLIT is not set
1125# CONFIG_FB_FOREIGN_ENDIAN is not set
1126# CONFIG_FB_SYS_FOPS is not set
1127# CONFIG_FB_SVGALIB is not set
1128# CONFIG_FB_MACMODES is not set
1129# CONFIG_FB_BACKLIGHT is not set
1130# CONFIG_FB_MODE_HELPERS is not set
1131# CONFIG_FB_TILEBLITTING is not set
1132
1133#
1134# Frame buffer hardware drivers
1135#
1136# CONFIG_FB_S1D13XXX is not set
1137# CONFIG_FB_DAVINCI is not set
1138# CONFIG_FB_VIRTUAL is not set
1139CONFIG_FB_DA8XX=y
1140# CONFIG_FB_METRONOME is not set
1141# CONFIG_FB_MB862XX is not set
1142# CONFIG_FB_BROADSHEET is not set
1143# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
1144
1145#
1146# Display device support
1147#
1148# CONFIG_DISPLAY_SUPPORT is not set
1149
1150#
1151# Console display driver support
1152#
1153# CONFIG_VGA_CONSOLE is not set
1154CONFIG_DUMMY_CONSOLE=y
1155CONFIG_FRAMEBUFFER_CONSOLE=y
1156# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
1157# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
1158# CONFIG_FONTS is not set
1159CONFIG_FONT_8x8=y
1160CONFIG_FONT_8x16=y
1161CONFIG_LOGO=y
1162CONFIG_LOGO_LINUX_MONO=y
1163CONFIG_LOGO_LINUX_VGA16=y
1164CONFIG_LOGO_LINUX_CLUT224=y
1165CONFIG_SOUND=y
1166# CONFIG_SOUND_OSS_CORE is not set
1167CONFIG_SND=y
1168CONFIG_SND_TIMER=y
1169CONFIG_SND_PCM=y
1170CONFIG_SND_HWDEP=y
1171CONFIG_SND_RAWMIDI=y
1172CONFIG_SND_JACK=y
1173# CONFIG_SND_SEQUENCER is not set
1174# CONFIG_SND_MIXER_OSS is not set
1175# CONFIG_SND_PCM_OSS is not set
1176# CONFIG_SND_HRTIMER is not set
1177# CONFIG_SND_DYNAMIC_MINORS is not set
1178CONFIG_SND_SUPPORT_OLD_API=y
1179CONFIG_SND_VERBOSE_PROCFS=y
1180# CONFIG_SND_VERBOSE_PRINTK is not set
1181# CONFIG_SND_DEBUG is not set
1182# CONFIG_SND_RAWMIDI_SEQ is not set
1183# CONFIG_SND_OPL3_LIB_SEQ is not set
1184# CONFIG_SND_OPL4_LIB_SEQ is not set
1185# CONFIG_SND_SBAWE_SEQ is not set
1186# CONFIG_SND_EMU10K1_SEQ is not set
1187CONFIG_SND_DRIVERS=y
1188# CONFIG_SND_DUMMY is not set
1189# CONFIG_SND_MTPAV is not set
1190# CONFIG_SND_SERIAL_U16550 is not set
1191# CONFIG_SND_MPU401 is not set
1192CONFIG_SND_ARM=y
1193CONFIG_SND_SPI=y
1194CONFIG_SND_USB=y
1195CONFIG_SND_USB_AUDIO=y
1196# CONFIG_SND_USB_CAIAQ is not set
1197CONFIG_SND_SOC=y
1198CONFIG_SND_DAVINCI_SOC=y
1199CONFIG_SND_DAVINCI_SOC_MCASP=y
1200CONFIG_SND_DA830_SOC_EVM=y
1201CONFIG_SND_SOC_I2C_AND_SPI=y
1202# CONFIG_SND_SOC_ALL_CODECS is not set
1203CONFIG_SND_SOC_TLV320AIC3X=y
1204# CONFIG_SOUND_PRIME is not set
1205CONFIG_HID_SUPPORT=y
1206CONFIG_HID=y
1207# CONFIG_HIDRAW is not set
1208
1209#
1210# USB Input Devices
1211#
1212CONFIG_USB_HID=y
1213# CONFIG_HID_PID is not set
1214# CONFIG_USB_HIDDEV is not set
1215
1216#
1217# Special HID drivers
1218#
1219# CONFIG_HID_A4TECH is not set
1220# CONFIG_HID_APPLE is not set
1221# CONFIG_HID_BELKIN is not set
1222# CONFIG_HID_CHERRY is not set
1223# CONFIG_HID_CHICONY is not set
1224# CONFIG_HID_CYPRESS is not set
1225# CONFIG_HID_DRAGONRISE is not set
1226# CONFIG_HID_EZKEY is not set
1227# CONFIG_HID_KYE is not set
1228# CONFIG_HID_GYRATION is not set
1229# CONFIG_HID_TWINHAN is not set
1230# CONFIG_HID_KENSINGTON is not set
1231# CONFIG_HID_LOGITECH is not set
1232# CONFIG_HID_MICROSOFT is not set
1233# CONFIG_HID_MONTEREY is not set
1234# CONFIG_HID_NTRIG is not set
1235# CONFIG_HID_PANTHERLORD is not set
1236# CONFIG_HID_PETALYNX is not set
1237# CONFIG_HID_SAMSUNG is not set
1238# CONFIG_HID_SONY is not set
1239# CONFIG_HID_SUNPLUS is not set
1240# CONFIG_HID_GREENASIA is not set
1241# CONFIG_HID_SMARTJOYPLUS is not set
1242# CONFIG_HID_TOPSEED is not set
1243# CONFIG_HID_THRUSTMASTER is not set
1244# CONFIG_HID_ZEROPLUS is not set
1245CONFIG_USB_SUPPORT=y
1246CONFIG_USB_ARCH_HAS_HCD=y
1247CONFIG_USB_ARCH_HAS_OHCI=y
1248# CONFIG_USB_ARCH_HAS_EHCI is not set
1249CONFIG_USB=y
1250# CONFIG_USB_DEBUG is not set
1251# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
1252
1253#
1254# Miscellaneous USB options
1255#
1256# CONFIG_USB_DEVICEFS is not set
1257CONFIG_USB_DEVICE_CLASS=y
1258# CONFIG_USB_DYNAMIC_MINORS is not set
1259# CONFIG_USB_OTG is not set
1260# CONFIG_USB_OTG_WHITELIST is not set
1261# CONFIG_USB_OTG_BLACKLIST_HUB is not set
1262# CONFIG_USB_MON is not set
1263# CONFIG_USB_WUSB is not set
1264# CONFIG_USB_WUSB_CBAF is not set
1265
1266#
1267# USB Host Controller Drivers
1268#
1269# CONFIG_USB_C67X00_HCD is not set
1270# CONFIG_USB_OXU210HP_HCD is not set
1271# CONFIG_USB_ISP116X_HCD is not set
1272# CONFIG_USB_ISP1760_HCD is not set
1273# CONFIG_USB_ISP1362_HCD is not set
1274CONFIG_USB_OHCI_HCD=y
1275# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
1276# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
1277CONFIG_USB_OHCI_LITTLE_ENDIAN=y
1278# CONFIG_USB_SL811_HCD is not set
1279# CONFIG_USB_R8A66597_HCD is not set
1280# CONFIG_USB_HWA_HCD is not set
1281CONFIG_USB_MUSB_HDRC=y
1282CONFIG_USB_MUSB_SOC=y
1283
1284#
1285# DA830/OMAP-L137 USB support
1286#
1287CONFIG_USB_MUSB_HOST=y
1288# CONFIG_USB_MUSB_PERIPHERAL is not set
1289# CONFIG_USB_MUSB_OTG is not set
1290CONFIG_USB_MUSB_HDRC_HCD=y
1291# CONFIG_MUSB_PIO_ONLY is not set
1292# CONFIG_USB_INVENTRA_DMA is not set
1293# CONFIG_USB_TI_CPPI_DMA is not set
1294CONFIG_USB_TI_CPPI41_DMA=y
1295CONFIG_USB_MUSB_DEBUG=y
1296
1297#
1298# USB Device Class drivers
1299#
1300# CONFIG_USB_ACM is not set
1301# CONFIG_USB_PRINTER is not set
1302# CONFIG_USB_WDM is not set
1303# CONFIG_USB_TMC is not set
1304
1305#
1306# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
1307#
1308
1309#
1310# also be needed; see USB_STORAGE Help for more info
1311#
1312CONFIG_USB_STORAGE=y
1313# CONFIG_USB_STORAGE_DEBUG is not set
1314# CONFIG_USB_STORAGE_DATAFAB is not set
1315# CONFIG_USB_STORAGE_FREECOM is not set
1316# CONFIG_USB_STORAGE_ISD200 is not set
1317# CONFIG_USB_STORAGE_USBAT is not set
1318# CONFIG_USB_STORAGE_SDDR09 is not set
1319# CONFIG_USB_STORAGE_SDDR55 is not set
1320# CONFIG_USB_STORAGE_JUMPSHOT is not set
1321# CONFIG_USB_STORAGE_ALAUDA is not set
1322# CONFIG_USB_STORAGE_ONETOUCH is not set
1323# CONFIG_USB_STORAGE_KARMA is not set
1324# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
1325# CONFIG_USB_LIBUSUAL is not set
1326
1327#
1328# USB Imaging devices
1329#
1330# CONFIG_USB_MDC800 is not set
1331# CONFIG_USB_MICROTEK is not set
1332
1333#
1334# USB port drivers
1335#
1336# CONFIG_USB_SERIAL is not set
1337
1338#
1339# USB Miscellaneous drivers
1340#
1341# CONFIG_USB_EMI62 is not set
1342# CONFIG_USB_EMI26 is not set
1343# CONFIG_USB_ADUTUX is not set
1344# CONFIG_USB_SEVSEG is not set
1345# CONFIG_USB_RIO500 is not set
1346# CONFIG_USB_LEGOTOWER is not set
1347# CONFIG_USB_LCD is not set
1348# CONFIG_USB_BERRY_CHARGE is not set
1349# CONFIG_USB_LED is not set
1350# CONFIG_USB_CYPRESS_CY7C63 is not set
1351# CONFIG_USB_CYTHERM is not set
1352# CONFIG_USB_IDMOUSE is not set
1353# CONFIG_USB_FTDI_ELAN is not set
1354# CONFIG_USB_APPLEDISPLAY is not set
1355# CONFIG_USB_SISUSBVGA is not set
1356# CONFIG_USB_LD is not set
1357# CONFIG_USB_TRANCEVIBRATOR is not set
1358# CONFIG_USB_IOWARRIOR is not set
1359# CONFIG_USB_TEST is not set
1360# CONFIG_USB_ISIGHTFW is not set
1361# CONFIG_USB_VST is not set
1362# CONFIG_USB_GADGET is not set
1363
1364#
1365# OTG and related infrastructure
1366#
1367CONFIG_USB_OTG_UTILS=y
1368# CONFIG_USB_GPIO_VBUS is not set
1369# CONFIG_USB_ULPI is not set
1370CONFIG_NOP_USB_XCEIV=y
1371CONFIG_MMC=y
1372# CONFIG_MMC_DEBUG is not set
1373# CONFIG_MMC_UNSAFE_RESUME is not set
1374
1375#
1376# MMC/SD/SDIO Card Drivers
1377#
1378CONFIG_MMC_BLOCK=y
1379CONFIG_MMC_BLOCK_BOUNCE=y
1380# CONFIG_SDIO_UART is not set
1381# CONFIG_MMC_TEST is not set
1382
1383#
1384# MMC/SD/SDIO Host Controller Drivers
1385#
1386# CONFIG_MMC_SDHCI is not set
1387# CONFIG_MMC_AT91 is not set
1388# CONFIG_MMC_ATMELMCI is not set
1389CONFIG_MMC_DAVINCI=y
1390# CONFIG_MMC_SPI is not set
1391# CONFIG_MEMSTICK is not set
1392# CONFIG_NEW_LEDS is not set
1393# CONFIG_ACCESSIBILITY is not set
1394CONFIG_RTC_LIB=y
1395CONFIG_RTC_CLASS=y
1396CONFIG_RTC_HCTOSYS=y
1397CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
1398# CONFIG_RTC_DEBUG is not set
1399
1400#
1401# RTC interfaces
1402#
1403CONFIG_RTC_INTF_SYSFS=y
1404CONFIG_RTC_INTF_PROC=y
1405CONFIG_RTC_INTF_DEV=y
1406# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
1407# CONFIG_RTC_DRV_TEST is not set
1408
1409#
1410# I2C RTC drivers
1411#
1412# CONFIG_RTC_DRV_DS1307 is not set
1413# CONFIG_RTC_DRV_DS1374 is not set
1414# CONFIG_RTC_DRV_DS1672 is not set
1415# CONFIG_RTC_DRV_MAX6900 is not set
1416# CONFIG_RTC_DRV_RS5C372 is not set
1417# CONFIG_RTC_DRV_ISL1208 is not set
1418# CONFIG_RTC_DRV_X1205 is not set
1419# CONFIG_RTC_DRV_PCF8563 is not set
1420# CONFIG_RTC_DRV_PCF8583 is not set
1421# CONFIG_RTC_DRV_M41T80 is not set
1422# CONFIG_RTC_DRV_BQ32K is not set
1423# CONFIG_RTC_DRV_S35390A is not set
1424# CONFIG_RTC_DRV_FM3130 is not set
1425# CONFIG_RTC_DRV_RX8581 is not set
1426# CONFIG_RTC_DRV_RX8025 is not set
1427
1428#
1429# SPI RTC drivers
1430#
1431# CONFIG_RTC_DRV_M41T94 is not set
1432# CONFIG_RTC_DRV_DS1305 is not set
1433# CONFIG_RTC_DRV_DS1390 is not set
1434# CONFIG_RTC_DRV_MAX6902 is not set
1435# CONFIG_RTC_DRV_R9701 is not set
1436# CONFIG_RTC_DRV_RS5C348 is not set
1437# CONFIG_RTC_DRV_DS3234 is not set
1438# CONFIG_RTC_DRV_PCF2123 is not set
1439
1440#
1441# Platform RTC drivers
1442#
1443# CONFIG_RTC_DRV_CMOS is not set
1444# CONFIG_RTC_DRV_DS1286 is not set
1445# CONFIG_RTC_DRV_DS1511 is not set
1446# CONFIG_RTC_DRV_DS1553 is not set
1447# CONFIG_RTC_DRV_DS1742 is not set
1448# CONFIG_RTC_DRV_STK17TA8 is not set
1449# CONFIG_RTC_DRV_M48T86 is not set
1450# CONFIG_RTC_DRV_M48T35 is not set
1451# CONFIG_RTC_DRV_M48T59 is not set
1452# CONFIG_RTC_DRV_MSM6242 is not set
1453# CONFIG_RTC_DRV_BQ4802 is not set
1454# CONFIG_RTC_DRV_RP5C01 is not set
1455# CONFIG_RTC_DRV_V3020 is not set
1456
1457#
1458# on-CPU RTC drivers
1459#
1460CONFIG_RTC_DRV_OMAP=y
1461# CONFIG_DMADEVICES is not set
1462# CONFIG_AUXDISPLAY is not set
1463# CONFIG_UIO is not set
1464
1465#
1466# TI VLYNQ
1467#
1468# CONFIG_STAGING is not set
1469
1470#
1471# File systems
1472#
1473CONFIG_EXT2_FS=y
1474# CONFIG_EXT2_FS_XATTR is not set
1475# CONFIG_EXT2_FS_XIP is not set
1476CONFIG_EXT3_FS=y
1477# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
1478CONFIG_EXT3_FS_XATTR=y
1479# CONFIG_EXT3_FS_POSIX_ACL is not set
1480# CONFIG_EXT3_FS_SECURITY is not set
1481# CONFIG_EXT4_FS is not set
1482CONFIG_JBD=y
1483CONFIG_FS_MBCACHE=y
1484# CONFIG_REISERFS_FS is not set
1485# CONFIG_JFS_FS is not set
1486# CONFIG_FS_POSIX_ACL is not set
1487CONFIG_XFS_FS=m
1488# CONFIG_XFS_QUOTA is not set
1489# CONFIG_XFS_POSIX_ACL is not set
1490# CONFIG_XFS_RT is not set
1491# CONFIG_XFS_DEBUG is not set
1492# CONFIG_GFS2_FS is not set
1493# CONFIG_OCFS2_FS is not set
1494# CONFIG_BTRFS_FS is not set
1495# CONFIG_NILFS2_FS is not set
1496CONFIG_FILE_LOCKING=y
1497CONFIG_FSNOTIFY=y
1498CONFIG_DNOTIFY=y
1499CONFIG_INOTIFY=y
1500CONFIG_INOTIFY_USER=y
1501# CONFIG_QUOTA is not set
1502# CONFIG_AUTOFS_FS is not set
1503CONFIG_AUTOFS4_FS=m
1504# CONFIG_FUSE_FS is not set
1505
1506#
1507# Caches
1508#
1509# CONFIG_FSCACHE is not set
1510
1511#
1512# CD-ROM/DVD Filesystems
1513#
1514# CONFIG_ISO9660_FS is not set
1515# CONFIG_UDF_FS is not set
1516
1517#
1518# DOS/FAT/NT Filesystems
1519#
1520CONFIG_FAT_FS=y
1521CONFIG_MSDOS_FS=y
1522CONFIG_VFAT_FS=y
1523CONFIG_FAT_DEFAULT_CODEPAGE=437
1524CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1525# CONFIG_NTFS_FS is not set
1526
1527#
1528# Pseudo filesystems
1529#
1530CONFIG_PROC_FS=y
1531CONFIG_PROC_SYSCTL=y
1532CONFIG_PROC_PAGE_MONITOR=y
1533CONFIG_SYSFS=y
1534CONFIG_TMPFS=y
1535# CONFIG_TMPFS_POSIX_ACL is not set
1536# CONFIG_HUGETLB_PAGE is not set
1537# CONFIG_CONFIGFS_FS is not set
1538CONFIG_MISC_FILESYSTEMS=y
1539# CONFIG_ADFS_FS is not set
1540# CONFIG_AFFS_FS is not set
1541# CONFIG_HFS_FS is not set
1542# CONFIG_HFSPLUS_FS is not set
1543# CONFIG_BEFS_FS is not set
1544# CONFIG_BFS_FS is not set
1545# CONFIG_EFS_FS is not set
1546CONFIG_JFFS2_FS=y
1547CONFIG_JFFS2_FS_DEBUG=0
1548CONFIG_JFFS2_FS_WRITEBUFFER=y
1549# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
1550# CONFIG_JFFS2_SUMMARY is not set
1551# CONFIG_JFFS2_FS_XATTR is not set
1552# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
1553CONFIG_JFFS2_ZLIB=y
1554# CONFIG_JFFS2_LZO is not set
1555CONFIG_JFFS2_RTIME=y
1556# CONFIG_JFFS2_RUBIN is not set
1557CONFIG_CRAMFS=y
1558# CONFIG_SQUASHFS is not set
1559# CONFIG_VXFS_FS is not set
1560CONFIG_MINIX_FS=m
1561# CONFIG_OMFS_FS is not set
1562# CONFIG_HPFS_FS is not set
1563# CONFIG_QNX4FS_FS is not set
1564# CONFIG_ROMFS_FS is not set
1565# CONFIG_SYSV_FS is not set
1566# CONFIG_UFS_FS is not set
1567CONFIG_NETWORK_FILESYSTEMS=y
1568CONFIG_NFS_FS=y
1569CONFIG_NFS_V3=y
1570# CONFIG_NFS_V3_ACL is not set
1571# CONFIG_NFS_V4 is not set
1572CONFIG_ROOT_NFS=y
1573CONFIG_NFSD=m
1574CONFIG_NFSD_V3=y
1575# CONFIG_NFSD_V3_ACL is not set
1576# CONFIG_NFSD_V4 is not set
1577CONFIG_LOCKD=y
1578CONFIG_LOCKD_V4=y
1579CONFIG_EXPORTFS=m
1580CONFIG_NFS_COMMON=y
1581CONFIG_SUNRPC=y
1582# CONFIG_RPCSEC_GSS_KRB5 is not set
1583# CONFIG_RPCSEC_GSS_SPKM3 is not set
1584CONFIG_SMB_FS=m
1585# CONFIG_SMB_NLS_DEFAULT is not set
1586# CONFIG_CIFS is not set
1587# CONFIG_NCP_FS is not set
1588# CONFIG_CODA_FS is not set
1589# CONFIG_AFS_FS is not set
1590
1591#
1592# Partition Types
1593#
1594CONFIG_PARTITION_ADVANCED=y
1595# CONFIG_ACORN_PARTITION is not set
1596# CONFIG_OSF_PARTITION is not set
1597# CONFIG_AMIGA_PARTITION is not set
1598# CONFIG_ATARI_PARTITION is not set
1599# CONFIG_MAC_PARTITION is not set
1600CONFIG_MSDOS_PARTITION=y
1601# CONFIG_BSD_DISKLABEL is not set
1602# CONFIG_MINIX_SUBPARTITION is not set
1603# CONFIG_SOLARIS_X86_PARTITION is not set
1604# CONFIG_UNIXWARE_DISKLABEL is not set
1605# CONFIG_LDM_PARTITION is not set
1606# CONFIG_SGI_PARTITION is not set
1607# CONFIG_ULTRIX_PARTITION is not set
1608# CONFIG_SUN_PARTITION is not set
1609# CONFIG_KARMA_PARTITION is not set
1610# CONFIG_EFI_PARTITION is not set
1611# CONFIG_SYSV68_PARTITION is not set
1612CONFIG_NLS=y
1613CONFIG_NLS_DEFAULT="iso8859-1"
1614CONFIG_NLS_CODEPAGE_437=y
1615# CONFIG_NLS_CODEPAGE_737 is not set
1616# CONFIG_NLS_CODEPAGE_775 is not set
1617# CONFIG_NLS_CODEPAGE_850 is not set
1618# CONFIG_NLS_CODEPAGE_852 is not set
1619# CONFIG_NLS_CODEPAGE_855 is not set
1620# CONFIG_NLS_CODEPAGE_857 is not set
1621# CONFIG_NLS_CODEPAGE_860 is not set
1622# CONFIG_NLS_CODEPAGE_861 is not set
1623# CONFIG_NLS_CODEPAGE_862 is not set
1624# CONFIG_NLS_CODEPAGE_863 is not set
1625# CONFIG_NLS_CODEPAGE_864 is not set
1626# CONFIG_NLS_CODEPAGE_865 is not set
1627# CONFIG_NLS_CODEPAGE_866 is not set
1628# CONFIG_NLS_CODEPAGE_869 is not set
1629# CONFIG_NLS_CODEPAGE_936 is not set
1630# CONFIG_NLS_CODEPAGE_950 is not set
1631# CONFIG_NLS_CODEPAGE_932 is not set
1632# CONFIG_NLS_CODEPAGE_949 is not set
1633# CONFIG_NLS_CODEPAGE_874 is not set
1634# CONFIG_NLS_ISO8859_8 is not set
1635# CONFIG_NLS_CODEPAGE_1250 is not set
1636# CONFIG_NLS_CODEPAGE_1251 is not set
1637CONFIG_NLS_ASCII=m
1638CONFIG_NLS_ISO8859_1=y
1639# CONFIG_NLS_ISO8859_2 is not set
1640# CONFIG_NLS_ISO8859_3 is not set
1641# CONFIG_NLS_ISO8859_4 is not set
1642# CONFIG_NLS_ISO8859_5 is not set
1643# CONFIG_NLS_ISO8859_6 is not set
1644# CONFIG_NLS_ISO8859_7 is not set
1645# CONFIG_NLS_ISO8859_9 is not set
1646# CONFIG_NLS_ISO8859_13 is not set
1647# CONFIG_NLS_ISO8859_14 is not set
1648# CONFIG_NLS_ISO8859_15 is not set
1649# CONFIG_NLS_KOI8_R is not set
1650# CONFIG_NLS_KOI8_U is not set
1651CONFIG_NLS_UTF8=m
1652# CONFIG_DLM is not set
1653
1654#
1655# Kernel hacking
1656#
1657# CONFIG_PRINTK_TIME is not set
1658# CONFIG_ENABLE_WARN_DEPRECATED is not set
1659# CONFIG_ENABLE_MUST_CHECK is not set
1660CONFIG_FRAME_WARN=1024
1661# CONFIG_MAGIC_SYSRQ is not set
1662# CONFIG_STRIP_ASM_SYMS is not set
1663# CONFIG_UNUSED_SYMBOLS is not set
1664# CONFIG_DEBUG_FS is not set
1665# CONFIG_HEADERS_CHECK is not set
1666# CONFIG_DEBUG_KERNEL is not set
1667# CONFIG_SLUB_DEBUG_ON is not set
1668# CONFIG_SLUB_STATS is not set
1669CONFIG_DEBUG_BUGVERBOSE=y
1670# CONFIG_DEBUG_MEMORY_INIT is not set
1671CONFIG_FRAME_POINTER=y
1672# CONFIG_RCU_CPU_STALL_DETECTOR is not set
1673# CONFIG_LATENCYTOP is not set
1674# CONFIG_SYSCTL_SYSCALL_CHECK is not set
1675CONFIG_HAVE_FUNCTION_TRACER=y
1676CONFIG_TRACING_SUPPORT=y
1677# CONFIG_FTRACE is not set
1678# CONFIG_SAMPLES is not set
1679CONFIG_HAVE_ARCH_KGDB=y
1680# CONFIG_ARM_UNWIND is not set
1681# CONFIG_DEBUG_USER is not set
1682# CONFIG_OC_ETM is not set
1683
1684#
1685# Security options
1686#
1687# CONFIG_KEYS is not set
1688# CONFIG_SECURITY is not set
1689# CONFIG_SECURITYFS is not set
1690# CONFIG_DEFAULT_SECURITY_SELINUX is not set
1691# CONFIG_DEFAULT_SECURITY_SMACK is not set
1692# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
1693CONFIG_DEFAULT_SECURITY_DAC=y
1694CONFIG_DEFAULT_SECURITY=""
1695CONFIG_CRYPTO=y
1696
1697#
1698# Crypto core or helper
1699#
1700# CONFIG_CRYPTO_MANAGER is not set
1701# CONFIG_CRYPTO_MANAGER2 is not set
1702# CONFIG_CRYPTO_GF128MUL is not set
1703# CONFIG_CRYPTO_NULL is not set
1704# CONFIG_CRYPTO_CRYPTD is not set
1705# CONFIG_CRYPTO_AUTHENC is not set
1706# CONFIG_CRYPTO_TEST is not set
1707
1708#
1709# Authenticated Encryption with Associated Data
1710#
1711# CONFIG_CRYPTO_CCM is not set
1712# CONFIG_CRYPTO_GCM is not set
1713# CONFIG_CRYPTO_SEQIV is not set
1714
1715#
1716# Block modes
1717#
1718# CONFIG_CRYPTO_CBC is not set
1719# CONFIG_CRYPTO_CTR is not set
1720# CONFIG_CRYPTO_CTS is not set
1721# CONFIG_CRYPTO_ECB is not set
1722# CONFIG_CRYPTO_LRW is not set
1723# CONFIG_CRYPTO_PCBC is not set
1724# CONFIG_CRYPTO_XTS is not set
1725
1726#
1727# Hash modes
1728#
1729# CONFIG_CRYPTO_HMAC is not set
1730# CONFIG_CRYPTO_XCBC is not set
1731# CONFIG_CRYPTO_VMAC is not set
1732
1733#
1734# Digest
1735#
1736# CONFIG_CRYPTO_CRC32C is not set
1737# CONFIG_CRYPTO_GHASH is not set
1738# CONFIG_CRYPTO_MD4 is not set
1739# CONFIG_CRYPTO_MD5 is not set
1740# CONFIG_CRYPTO_MICHAEL_MIC is not set
1741# CONFIG_CRYPTO_RMD128 is not set
1742# CONFIG_CRYPTO_RMD160 is not set
1743# CONFIG_CRYPTO_RMD256 is not set
1744# CONFIG_CRYPTO_RMD320 is not set
1745# CONFIG_CRYPTO_SHA1 is not set
1746# CONFIG_CRYPTO_SHA256 is not set
1747# CONFIG_CRYPTO_SHA512 is not set
1748# CONFIG_CRYPTO_TGR192 is not set
1749# CONFIG_CRYPTO_WP512 is not set
1750
1751#
1752# Ciphers
1753#
1754# CONFIG_CRYPTO_AES is not set
1755# CONFIG_CRYPTO_ANUBIS is not set
1756# CONFIG_CRYPTO_ARC4 is not set
1757# CONFIG_CRYPTO_BLOWFISH is not set
1758# CONFIG_CRYPTO_CAMELLIA is not set
1759# CONFIG_CRYPTO_CAST5 is not set
1760# CONFIG_CRYPTO_CAST6 is not set
1761# CONFIG_CRYPTO_DES is not set
1762# CONFIG_CRYPTO_FCRYPT is not set
1763# CONFIG_CRYPTO_KHAZAD is not set
1764# CONFIG_CRYPTO_SALSA20 is not set
1765# CONFIG_CRYPTO_SEED is not set
1766# CONFIG_CRYPTO_SERPENT is not set
1767# CONFIG_CRYPTO_TEA is not set
1768# CONFIG_CRYPTO_TWOFISH is not set
1769
1770#
1771# Compression
1772#
1773# CONFIG_CRYPTO_DEFLATE is not set
1774# CONFIG_CRYPTO_ZLIB is not set
1775# CONFIG_CRYPTO_LZO is not set
1776
1777#
1778# Random Number Generation
1779#
1780# CONFIG_CRYPTO_ANSI_CPRNG is not set
1781# CONFIG_CRYPTO_HW is not set
1782# CONFIG_BINARY_PRINTF is not set
1783
1784#
1785# Library routines
1786#
1787CONFIG_BITREVERSE=y
1788CONFIG_GENERIC_FIND_LAST_BIT=y
1789CONFIG_CRC_CCITT=m
1790# CONFIG_CRC16 is not set
1791CONFIG_CRC_T10DIF=m
1792# CONFIG_CRC_ITU_T is not set
1793CONFIG_CRC32=y
1794# CONFIG_CRC7 is not set
1795# CONFIG_LIBCRC32C is not set
1796CONFIG_ZLIB_INFLATE=y
1797CONFIG_ZLIB_DEFLATE=y
1798CONFIG_DECOMPRESS_GZIP=y
1799CONFIG_GENERIC_ALLOCATOR=y
1800CONFIG_HAS_IOMEM=y
1801CONFIG_HAS_IOPORT=y
1802CONFIG_HAS_DMA=y
1803CONFIG_NLATTR=y
diff --git a/recipes-kernel/linux/linux-davinci/omapl137/defconfig b/recipes-kernel/linux/linux-davinci/omapl137/defconfig
deleted file mode 100644
index 7a3a609e..00000000
--- a/recipes-kernel/linux/linux-davinci/omapl137/defconfig
+++ /dev/null
@@ -1,1803 +0,0 @@
1#
2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.33-rc4
4# Mon Feb 15 17:57:47 2010
5#
6CONFIG_ARM=y
7CONFIG_SYS_SUPPORTS_APM_EMULATION=y
8CONFIG_GENERIC_GPIO=y
9CONFIG_GENERIC_TIME=y
10CONFIG_GENERIC_CLOCKEVENTS=y
11CONFIG_GENERIC_HARDIRQS=y
12CONFIG_STACKTRACE_SUPPORT=y
13CONFIG_HAVE_LATENCYTOP_SUPPORT=y
14CONFIG_LOCKDEP_SUPPORT=y
15CONFIG_TRACE_IRQFLAGS_SUPPORT=y
16CONFIG_HARDIRQS_SW_RESEND=y
17CONFIG_GENERIC_IRQ_PROBE=y
18CONFIG_RWSEM_GENERIC_SPINLOCK=y
19CONFIG_GENERIC_HWEIGHT=y
20CONFIG_GENERIC_CALIBRATE_DELAY=y
21CONFIG_ZONE_DMA=y
22CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
23CONFIG_VECTORS_BASE=0xffff0000
24CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
25CONFIG_CONSTRUCTORS=y
26
27#
28# General setup
29#
30CONFIG_EXPERIMENTAL=y
31CONFIG_BROKEN_ON_SMP=y
32CONFIG_LOCK_KERNEL=y
33CONFIG_INIT_ENV_ARG_LIMIT=32
34CONFIG_LOCALVERSION=""
35# CONFIG_LOCALVERSION_AUTO is not set
36CONFIG_HAVE_KERNEL_GZIP=y
37CONFIG_HAVE_KERNEL_LZO=y
38CONFIG_KERNEL_GZIP=y
39# CONFIG_KERNEL_BZIP2 is not set
40# CONFIG_KERNEL_LZMA is not set
41# CONFIG_KERNEL_LZO is not set
42CONFIG_SWAP=y
43CONFIG_SYSVIPC=y
44CONFIG_SYSVIPC_SYSCTL=y
45CONFIG_POSIX_MQUEUE=y
46CONFIG_POSIX_MQUEUE_SYSCTL=y
47# CONFIG_BSD_PROCESS_ACCT is not set
48# CONFIG_TASKSTATS is not set
49# CONFIG_AUDIT is not set
50
51#
52# RCU Subsystem
53#
54CONFIG_TREE_RCU=y
55# CONFIG_TREE_PREEMPT_RCU is not set
56# CONFIG_TINY_RCU is not set
57# CONFIG_RCU_TRACE is not set
58CONFIG_RCU_FANOUT=32
59# CONFIG_RCU_FANOUT_EXACT is not set
60# CONFIG_TREE_RCU_TRACE is not set
61CONFIG_IKCONFIG=y
62CONFIG_IKCONFIG_PROC=y
63CONFIG_LOG_BUF_SHIFT=14
64CONFIG_GROUP_SCHED=y
65CONFIG_FAIR_GROUP_SCHED=y
66# CONFIG_RT_GROUP_SCHED is not set
67CONFIG_USER_SCHED=y
68# CONFIG_CGROUP_SCHED is not set
69# CONFIG_CGROUPS is not set
70# CONFIG_SYSFS_DEPRECATED_V2 is not set
71# CONFIG_RELAY is not set
72# CONFIG_NAMESPACES is not set
73CONFIG_BLK_DEV_INITRD=y
74CONFIG_INITRAMFS_SOURCE=""
75CONFIG_RD_GZIP=y
76# CONFIG_RD_BZIP2 is not set
77# CONFIG_RD_LZMA is not set
78# CONFIG_RD_LZO is not set
79CONFIG_CC_OPTIMIZE_FOR_SIZE=y
80CONFIG_SYSCTL=y
81CONFIG_ANON_INODES=y
82CONFIG_EMBEDDED=y
83CONFIG_UID16=y
84CONFIG_SYSCTL_SYSCALL=y
85CONFIG_KALLSYMS=y
86# CONFIG_KALLSYMS_EXTRA_PASS is not set
87CONFIG_HOTPLUG=y
88CONFIG_PRINTK=y
89CONFIG_BUG=y
90CONFIG_ELF_CORE=y
91CONFIG_BASE_FULL=y
92CONFIG_FUTEX=y
93CONFIG_EPOLL=y
94CONFIG_SIGNALFD=y
95CONFIG_TIMERFD=y
96CONFIG_EVENTFD=y
97CONFIG_SHMEM=y
98CONFIG_AIO=y
99
100#
101# Kernel Performance Events And Counters
102#
103CONFIG_VM_EVENT_COUNTERS=y
104CONFIG_SLUB_DEBUG=y
105CONFIG_COMPAT_BRK=y
106# CONFIG_SLAB is not set
107CONFIG_SLUB=y
108# CONFIG_SLOB is not set
109# CONFIG_PROFILING is not set
110CONFIG_HAVE_OPROFILE=y
111# CONFIG_KPROBES is not set
112CONFIG_HAVE_KPROBES=y
113CONFIG_HAVE_KRETPROBES=y
114CONFIG_HAVE_CLK=y
115
116#
117# GCOV-based kernel profiling
118#
119# CONFIG_SLOW_WORK is not set
120CONFIG_HAVE_GENERIC_DMA_COHERENT=y
121CONFIG_SLABINFO=y
122CONFIG_RT_MUTEXES=y
123CONFIG_BASE_SMALL=0
124CONFIG_MODULES=y
125# CONFIG_MODULE_FORCE_LOAD is not set
126CONFIG_MODULE_UNLOAD=y
127CONFIG_MODULE_FORCE_UNLOAD=y
128CONFIG_MODVERSIONS=y
129# CONFIG_MODULE_SRCVERSION_ALL is not set
130CONFIG_BLOCK=y
131CONFIG_LBDAF=y
132# CONFIG_BLK_DEV_BSG is not set
133# CONFIG_BLK_DEV_INTEGRITY is not set
134
135#
136# IO Schedulers
137#
138CONFIG_IOSCHED_NOOP=y
139# CONFIG_IOSCHED_DEADLINE is not set
140# CONFIG_IOSCHED_CFQ is not set
141# CONFIG_DEFAULT_DEADLINE is not set
142# CONFIG_DEFAULT_CFQ is not set
143CONFIG_DEFAULT_NOOP=y
144CONFIG_DEFAULT_IOSCHED="noop"
145# CONFIG_INLINE_SPIN_TRYLOCK is not set
146# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
147# CONFIG_INLINE_SPIN_LOCK is not set
148# CONFIG_INLINE_SPIN_LOCK_BH is not set
149# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
150# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
151# CONFIG_INLINE_SPIN_UNLOCK is not set
152# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
153# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set
154# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
155# CONFIG_INLINE_READ_TRYLOCK is not set
156# CONFIG_INLINE_READ_LOCK is not set
157# CONFIG_INLINE_READ_LOCK_BH is not set
158# CONFIG_INLINE_READ_LOCK_IRQ is not set
159# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
160# CONFIG_INLINE_READ_UNLOCK is not set
161# CONFIG_INLINE_READ_UNLOCK_BH is not set
162# CONFIG_INLINE_READ_UNLOCK_IRQ is not set
163# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
164# CONFIG_INLINE_WRITE_TRYLOCK is not set
165# CONFIG_INLINE_WRITE_LOCK is not set
166# CONFIG_INLINE_WRITE_LOCK_BH is not set
167# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
168# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
169# CONFIG_INLINE_WRITE_UNLOCK is not set
170# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
171# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set
172# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
173# CONFIG_MUTEX_SPIN_ON_OWNER is not set
174# CONFIG_FREEZER is not set
175
176#
177# System Type
178#
179CONFIG_MMU=y
180# CONFIG_ARCH_AAEC2000 is not set
181# CONFIG_ARCH_INTEGRATOR is not set
182# CONFIG_ARCH_REALVIEW is not set
183# CONFIG_ARCH_VERSATILE is not set
184# CONFIG_ARCH_AT91 is not set
185# CONFIG_ARCH_CLPS711X is not set
186# CONFIG_ARCH_GEMINI is not set
187# CONFIG_ARCH_EBSA110 is not set
188# CONFIG_ARCH_EP93XX is not set
189# CONFIG_ARCH_FOOTBRIDGE is not set
190# CONFIG_ARCH_MXC is not set
191# CONFIG_ARCH_STMP3XXX is not set
192# CONFIG_ARCH_NETX is not set
193# CONFIG_ARCH_H720X is not set
194# CONFIG_ARCH_NOMADIK is not set
195# CONFIG_ARCH_IOP13XX is not set
196# CONFIG_ARCH_IOP32X is not set
197# CONFIG_ARCH_IOP33X is not set
198# CONFIG_ARCH_IXP23XX is not set
199# CONFIG_ARCH_IXP2000 is not set
200# CONFIG_ARCH_IXP4XX is not set
201# CONFIG_ARCH_L7200 is not set
202# CONFIG_ARCH_DOVE is not set
203# CONFIG_ARCH_KIRKWOOD is not set
204# CONFIG_ARCH_LOKI is not set
205# CONFIG_ARCH_MV78XX0 is not set
206# CONFIG_ARCH_ORION5X is not set
207# CONFIG_ARCH_MMP is not set
208# CONFIG_ARCH_KS8695 is not set
209# CONFIG_ARCH_NS9XXX is not set
210# CONFIG_ARCH_W90X900 is not set
211# CONFIG_ARCH_PNX4008 is not set
212# CONFIG_ARCH_PXA is not set
213# CONFIG_ARCH_MSM is not set
214# CONFIG_ARCH_RPC is not set
215# CONFIG_ARCH_SA1100 is not set
216# CONFIG_ARCH_S3C2410 is not set
217# CONFIG_ARCH_S3C64XX is not set
218# CONFIG_ARCH_S5PC1XX is not set
219# CONFIG_ARCH_SHARK is not set
220# CONFIG_ARCH_LH7A40X is not set
221# CONFIG_ARCH_U300 is not set
222CONFIG_ARCH_DAVINCI=y
223# CONFIG_ARCH_OMAP is not set
224# CONFIG_ARCH_BCMRING is not set
225# CONFIG_ARCH_U8500 is not set
226CONFIG_CP_INTC=y
227
228#
229# TI DaVinci Implementations
230#
231
232#
233# DaVinci Core Type
234#
235# CONFIG_ARCH_DAVINCI_DM644x is not set
236# CONFIG_ARCH_DAVINCI_DM355 is not set
237# CONFIG_ARCH_DAVINCI_DM646x is not set
238CONFIG_ARCH_DAVINCI_DA830=y
239# CONFIG_ARCH_DAVINCI_DA850 is not set
240CONFIG_DA8XX_MAX_SPEED_300=y
241# CONFIG_DA8XX_MAX_SPEED_372 is not set
242# CONFIG_DA8XX_MAX_SPEED_408 is not set
243# CONFIG_DA8XX_MAX_SPEED_456 is not set
244CONFIG_ARCH_DAVINCI_DA8XX=y
245# CONFIG_ARCH_DAVINCI_DM365 is not set
246
247#
248# DaVinci Board Type
249#
250CONFIG_MACH_DAVINCI_DA830_EVM=y
251CONFIG_DA830_UI_LCD=y
252# CONFIG_DA830_UI_NAND is not set
253CONFIG_DAVINCI_MUX=y
254# CONFIG_DAVINCI_MUX_DEBUG is not set
255# CONFIG_DAVINCI_MUX_WARNINGS is not set
256CONFIG_DAVINCI_RESET_CLOCKS=y
257# CONFIG_DAVINCI_MCBSP is not set
258
259#
260# Processor Type
261#
262CONFIG_CPU_ARM926T=y
263CONFIG_CPU_32v5=y
264CONFIG_CPU_ABRT_EV5TJ=y
265CONFIG_CPU_PABRT_LEGACY=y
266CONFIG_CPU_CACHE_VIVT=y
267CONFIG_CPU_COPY_V4WB=y
268CONFIG_CPU_TLB_V4WBI=y
269CONFIG_CPU_CP15=y
270CONFIG_CPU_CP15_MMU=y
271
272#
273# Processor Features
274#
275CONFIG_ARM_THUMB=y
276# CONFIG_CPU_ICACHE_DISABLE is not set
277# CONFIG_CPU_DCACHE_DISABLE is not set
278CONFIG_CPU_DCACHE_WRITETHROUGH=y
279# CONFIG_CPU_CACHE_ROUND_ROBIN is not set
280CONFIG_ARM_L1_CACHE_SHIFT=5
281CONFIG_COMMON_CLKDEV=y
282
283#
284# Bus support
285#
286# CONFIG_PCI_SYSCALL is not set
287# CONFIG_ARCH_SUPPORTS_MSI is not set
288# CONFIG_PCCARD is not set
289
290#
291# Kernel Features
292#
293CONFIG_TICK_ONESHOT=y
294CONFIG_NO_HZ=y
295CONFIG_HIGH_RES_TIMERS=y
296CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
297CONFIG_VMSPLIT_3G=y
298# CONFIG_VMSPLIT_2G is not set
299# CONFIG_VMSPLIT_1G is not set
300CONFIG_PAGE_OFFSET=0xC0000000
301# CONFIG_PREEMPT_NONE is not set
302# CONFIG_PREEMPT_VOLUNTARY is not set
303CONFIG_PREEMPT=y
304CONFIG_HZ=100
305CONFIG_AEABI=y
306# CONFIG_OABI_COMPAT is not set
307CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y
308# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
309# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
310# CONFIG_HIGHMEM is not set
311CONFIG_SELECT_MEMORY_MODEL=y
312CONFIG_FLATMEM_MANUAL=y
313# CONFIG_DISCONTIGMEM_MANUAL is not set
314# CONFIG_SPARSEMEM_MANUAL is not set
315CONFIG_FLATMEM=y
316CONFIG_FLAT_NODE_MEM_MAP=y
317CONFIG_PAGEFLAGS_EXTENDED=y
318CONFIG_SPLIT_PTLOCK_CPUS=999999
319# CONFIG_PHYS_ADDR_T_64BIT is not set
320CONFIG_ZONE_DMA_FLAG=1
321CONFIG_BOUNCE=y
322CONFIG_VIRT_TO_BUS=y
323# CONFIG_KSM is not set
324CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
325CONFIG_LEDS=y
326# CONFIG_LEDS_CPU is not set
327CONFIG_ALIGNMENT_TRAP=y
328# CONFIG_UACCESS_WITH_MEMCPY is not set
329
330#
331# Boot options
332#
333CONFIG_ZBOOT_ROM_TEXT=0x0
334CONFIG_ZBOOT_ROM_BSS=0x0
335CONFIG_CMDLINE=""
336# CONFIG_XIP_KERNEL is not set
337# CONFIG_KEXEC is not set
338
339#
340# CPU Power Management
341#
342# CONFIG_CPU_IDLE is not set
343
344#
345# Floating point emulation
346#
347
348#
349# At least one emulation must be selected
350#
351# CONFIG_VFP is not set
352
353#
354# Userspace binary formats
355#
356CONFIG_BINFMT_ELF=y
357# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
358CONFIG_HAVE_AOUT=y
359# CONFIG_BINFMT_AOUT is not set
360# CONFIG_BINFMT_MISC is not set
361
362#
363# Power management options
364#
365# CONFIG_PM is not set
366CONFIG_ARCH_SUSPEND_POSSIBLE=y
367CONFIG_NET=y
368
369#
370# Networking options
371#
372CONFIG_PACKET=y
373# CONFIG_PACKET_MMAP is not set
374CONFIG_UNIX=y
375CONFIG_XFRM=y
376# CONFIG_XFRM_USER is not set
377# CONFIG_XFRM_SUB_POLICY is not set
378# CONFIG_XFRM_MIGRATE is not set
379# CONFIG_XFRM_STATISTICS is not set
380# CONFIG_NET_KEY is not set
381CONFIG_INET=y
382# CONFIG_IP_MULTICAST is not set
383# CONFIG_IP_ADVANCED_ROUTER is not set
384CONFIG_IP_FIB_HASH=y
385CONFIG_IP_PNP=y
386CONFIG_IP_PNP_DHCP=y
387# CONFIG_IP_PNP_BOOTP is not set
388# CONFIG_IP_PNP_RARP is not set
389# CONFIG_NET_IPIP is not set
390# CONFIG_NET_IPGRE is not set
391# CONFIG_ARPD is not set
392# CONFIG_SYN_COOKIES is not set
393# CONFIG_INET_AH is not set
394# CONFIG_INET_ESP is not set
395# CONFIG_INET_IPCOMP is not set
396# CONFIG_INET_XFRM_TUNNEL is not set
397CONFIG_INET_TUNNEL=m
398CONFIG_INET_XFRM_MODE_TRANSPORT=y
399CONFIG_INET_XFRM_MODE_TUNNEL=y
400CONFIG_INET_XFRM_MODE_BEET=y
401# CONFIG_INET_LRO is not set
402CONFIG_INET_DIAG=y
403CONFIG_INET_TCP_DIAG=y
404# CONFIG_TCP_CONG_ADVANCED is not set
405CONFIG_TCP_CONG_CUBIC=y
406CONFIG_DEFAULT_TCP_CONG="cubic"
407# CONFIG_TCP_MD5SIG is not set
408CONFIG_IPV6=m
409# CONFIG_IPV6_PRIVACY is not set
410# CONFIG_IPV6_ROUTER_PREF is not set
411# CONFIG_IPV6_OPTIMISTIC_DAD is not set
412# CONFIG_INET6_AH is not set
413# CONFIG_INET6_ESP is not set
414# CONFIG_INET6_IPCOMP is not set
415# CONFIG_IPV6_MIP6 is not set
416# CONFIG_INET6_XFRM_TUNNEL is not set
417# CONFIG_INET6_TUNNEL is not set
418CONFIG_INET6_XFRM_MODE_TRANSPORT=m
419CONFIG_INET6_XFRM_MODE_TUNNEL=m
420CONFIG_INET6_XFRM_MODE_BEET=m
421# CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set
422CONFIG_IPV6_SIT=m
423# CONFIG_IPV6_SIT_6RD is not set
424CONFIG_IPV6_NDISC_NODETYPE=y
425# CONFIG_IPV6_TUNNEL is not set
426# CONFIG_IPV6_MULTIPLE_TABLES is not set
427# CONFIG_IPV6_MROUTE is not set
428# CONFIG_NETWORK_SECMARK is not set
429CONFIG_NETFILTER=y
430# CONFIG_NETFILTER_DEBUG is not set
431CONFIG_NETFILTER_ADVANCED=y
432
433#
434# Core Netfilter Configuration
435#
436# CONFIG_NETFILTER_NETLINK_QUEUE is not set
437# CONFIG_NETFILTER_NETLINK_LOG is not set
438# CONFIG_NF_CONNTRACK is not set
439# CONFIG_NETFILTER_XTABLES is not set
440# CONFIG_IP_VS is not set
441
442#
443# IP: Netfilter Configuration
444#
445# CONFIG_NF_DEFRAG_IPV4 is not set
446# CONFIG_IP_NF_QUEUE is not set
447# CONFIG_IP_NF_IPTABLES is not set
448# CONFIG_IP_NF_ARPTABLES is not set
449
450#
451# IPv6: Netfilter Configuration
452#
453# CONFIG_IP6_NF_QUEUE is not set
454# CONFIG_IP6_NF_IPTABLES is not set
455# CONFIG_IP_DCCP is not set
456# CONFIG_IP_SCTP is not set
457# CONFIG_RDS is not set
458# CONFIG_TIPC is not set
459# CONFIG_ATM is not set
460# CONFIG_BRIDGE is not set
461# CONFIG_NET_DSA is not set
462# CONFIG_VLAN_8021Q is not set
463# CONFIG_DECNET is not set
464# CONFIG_LLC2 is not set
465# CONFIG_IPX is not set
466# CONFIG_ATALK is not set
467# CONFIG_X25 is not set
468# CONFIG_LAPB is not set
469# CONFIG_ECONET is not set
470# CONFIG_WAN_ROUTER is not set
471# CONFIG_PHONET is not set
472# CONFIG_IEEE802154 is not set
473# CONFIG_NET_SCHED is not set
474# CONFIG_DCB is not set
475
476#
477# Network testing
478#
479# CONFIG_NET_PKTGEN is not set
480# CONFIG_HAMRADIO is not set
481# CONFIG_CAN is not set
482# CONFIG_IRDA is not set
483# CONFIG_BT is not set
484# CONFIG_AF_RXRPC is not set
485CONFIG_WIRELESS=y
486# CONFIG_CFG80211 is not set
487# CONFIG_LIB80211 is not set
488
489#
490# CFG80211 needs to be enabled for MAC80211
491#
492# CONFIG_WIMAX is not set
493# CONFIG_RFKILL is not set
494# CONFIG_NET_9P is not set
495
496#
497# Device Drivers
498#
499
500#
501# Generic Driver Options
502#
503CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
504# CONFIG_DEVTMPFS is not set
505CONFIG_STANDALONE=y
506CONFIG_PREVENT_FIRMWARE_BUILD=y
507# CONFIG_FW_LOADER is not set
508# CONFIG_SYS_HYPERVISOR is not set
509# CONFIG_CONNECTOR is not set
510CONFIG_MTD=y
511# CONFIG_MTD_DEBUG is not set
512# CONFIG_MTD_TESTS is not set
513# CONFIG_MTD_CONCAT is not set
514CONFIG_MTD_PARTITIONS=y
515# CONFIG_MTD_REDBOOT_PARTS is not set
516# CONFIG_MTD_CMDLINE_PARTS is not set
517# CONFIG_MTD_AFS_PARTS is not set
518# CONFIG_MTD_AR7_PARTS is not set
519
520#
521# User Modules And Translation Layers
522#
523CONFIG_MTD_CHAR=y
524CONFIG_MTD_BLKDEVS=y
525CONFIG_MTD_BLOCK=y
526# CONFIG_FTL is not set
527# CONFIG_NFTL is not set
528# CONFIG_INFTL is not set
529# CONFIG_RFD_FTL is not set
530# CONFIG_SSFDC is not set
531# CONFIG_MTD_OOPS is not set
532
533#
534# RAM/ROM/Flash chip drivers
535#
536# CONFIG_MTD_CFI is not set
537# CONFIG_MTD_JEDECPROBE is not set
538CONFIG_MTD_MAP_BANK_WIDTH_1=y
539CONFIG_MTD_MAP_BANK_WIDTH_2=y
540CONFIG_MTD_MAP_BANK_WIDTH_4=y
541# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
542# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
543# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
544CONFIG_MTD_CFI_I1=y
545CONFIG_MTD_CFI_I2=y
546# CONFIG_MTD_CFI_I4 is not set
547# CONFIG_MTD_CFI_I8 is not set
548# CONFIG_MTD_RAM is not set
549# CONFIG_MTD_ROM is not set
550# CONFIG_MTD_ABSENT is not set
551
552#
553# Mapping drivers for chip access
554#
555# CONFIG_MTD_COMPLEX_MAPPINGS is not set
556# CONFIG_MTD_PLATRAM is not set
557
558#
559# Self-contained MTD device drivers
560#
561# CONFIG_MTD_DATAFLASH is not set
562CONFIG_MTD_M25P80=y
563CONFIG_M25PXX_USE_FAST_READ=y
564# CONFIG_MTD_SST25L is not set
565# CONFIG_MTD_SLRAM is not set
566# CONFIG_MTD_PHRAM is not set
567# CONFIG_MTD_MTDRAM is not set
568# CONFIG_MTD_BLOCK2MTD is not set
569
570#
571# Disk-On-Chip Device Drivers
572#
573# CONFIG_MTD_DOC2000 is not set
574# CONFIG_MTD_DOC2001 is not set
575# CONFIG_MTD_DOC2001PLUS is not set
576# CONFIG_MTD_NAND is not set
577# CONFIG_MTD_ONENAND is not set
578
579#
580# LPDDR flash memory drivers
581#
582# CONFIG_MTD_LPDDR is not set
583
584#
585# UBI - Unsorted block images
586#
587# CONFIG_MTD_UBI is not set
588# CONFIG_PARPORT is not set
589CONFIG_BLK_DEV=y
590# CONFIG_BLK_DEV_COW_COMMON is not set
591CONFIG_BLK_DEV_LOOP=m
592# CONFIG_BLK_DEV_CRYPTOLOOP is not set
593
594#
595# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
596#
597# CONFIG_BLK_DEV_NBD is not set
598# CONFIG_BLK_DEV_UB is not set
599CONFIG_BLK_DEV_RAM=y
600CONFIG_BLK_DEV_RAM_COUNT=1
601CONFIG_BLK_DEV_RAM_SIZE=32768
602# CONFIG_BLK_DEV_XIP is not set
603# CONFIG_CDROM_PKTCDVD is not set
604# CONFIG_ATA_OVER_ETH is not set
605# CONFIG_MG_DISK is not set
606CONFIG_MISC_DEVICES=y
607# CONFIG_AD525X_DPOT is not set
608# CONFIG_ICS932S401 is not set
609# CONFIG_ENCLOSURE_SERVICES is not set
610# CONFIG_ISL29003 is not set
611# CONFIG_DS1682 is not set
612# CONFIG_TI_DAC7512 is not set
613# CONFIG_C2PORT is not set
614
615#
616# EEPROM support
617#
618CONFIG_EEPROM_AT24=y
619# CONFIG_EEPROM_AT25 is not set
620# CONFIG_EEPROM_LEGACY is not set
621# CONFIG_EEPROM_MAX6875 is not set
622# CONFIG_EEPROM_93CX6 is not set
623# CONFIG_IWMC3200TOP is not set
624CONFIG_HAVE_IDE=y
625# CONFIG_IDE is not set
626
627#
628# SCSI device support
629#
630# CONFIG_RAID_ATTRS is not set
631CONFIG_SCSI=y
632CONFIG_SCSI_DMA=y
633# CONFIG_SCSI_TGT is not set
634# CONFIG_SCSI_NETLINK is not set
635CONFIG_SCSI_PROC_FS=y
636
637#
638# SCSI support type (disk, tape, CD-ROM)
639#
640CONFIG_BLK_DEV_SD=y
641# CONFIG_CHR_DEV_ST is not set
642# CONFIG_CHR_DEV_OSST is not set
643# CONFIG_BLK_DEV_SR is not set
644CONFIG_CHR_DEV_SG=y
645# CONFIG_CHR_DEV_SCH is not set
646# CONFIG_SCSI_MULTI_LUN is not set
647# CONFIG_SCSI_CONSTANTS is not set
648# CONFIG_SCSI_LOGGING is not set
649# CONFIG_SCSI_SCAN_ASYNC is not set
650CONFIG_SCSI_WAIT_SCAN=m
651
652#
653# SCSI Transports
654#
655# CONFIG_SCSI_SPI_ATTRS is not set
656# CONFIG_SCSI_FC_ATTRS is not set
657# CONFIG_SCSI_ISCSI_ATTRS is not set
658# CONFIG_SCSI_SAS_LIBSAS is not set
659# CONFIG_SCSI_SRP_ATTRS is not set
660CONFIG_SCSI_LOWLEVEL=y
661# CONFIG_ISCSI_TCP is not set
662# CONFIG_LIBFC is not set
663# CONFIG_LIBFCOE is not set
664# CONFIG_SCSI_DEBUG is not set
665# CONFIG_SCSI_DH is not set
666# CONFIG_SCSI_OSD_INITIATOR is not set
667# CONFIG_ATA is not set
668# CONFIG_MD is not set
669CONFIG_NETDEVICES=y
670# CONFIG_DUMMY is not set
671# CONFIG_BONDING is not set
672# CONFIG_MACVLAN is not set
673# CONFIG_EQUALIZER is not set
674CONFIG_TUN=m
675# CONFIG_VETH is not set
676CONFIG_PHYLIB=y
677
678#
679# MII PHY device drivers
680#
681# CONFIG_MARVELL_PHY is not set
682# CONFIG_DAVICOM_PHY is not set
683# CONFIG_QSEMI_PHY is not set
684CONFIG_LXT_PHY=y
685# CONFIG_CICADA_PHY is not set
686# CONFIG_VITESSE_PHY is not set
687# CONFIG_SMSC_PHY is not set
688# CONFIG_BROADCOM_PHY is not set
689# CONFIG_ICPLUS_PHY is not set
690# CONFIG_REALTEK_PHY is not set
691# CONFIG_NATIONAL_PHY is not set
692# CONFIG_STE10XP is not set
693CONFIG_LSI_ET1011C_PHY=y
694# CONFIG_FIXED_PHY is not set
695# CONFIG_MDIO_BITBANG is not set
696CONFIG_NET_ETHERNET=y
697CONFIG_MII=y
698# CONFIG_AX88796 is not set
699# CONFIG_SMC91X is not set
700CONFIG_TI_DAVINCI_EMAC=y
701# CONFIG_DM9000 is not set
702# CONFIG_ENC28J60 is not set
703# CONFIG_ETHOC is not set
704# CONFIG_SMC911X is not set
705# CONFIG_SMSC911X is not set
706# CONFIG_DNET is not set
707# CONFIG_IBM_NEW_EMAC_ZMII is not set
708# CONFIG_IBM_NEW_EMAC_RGMII is not set
709# CONFIG_IBM_NEW_EMAC_TAH is not set
710# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
711# CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set
712# CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set
713# CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set
714# CONFIG_B44 is not set
715# CONFIG_KS8842 is not set
716# CONFIG_KS8851 is not set
717# CONFIG_KS8851_MLL is not set
718# CONFIG_NETDEV_1000 is not set
719# CONFIG_NETDEV_10000 is not set
720CONFIG_WLAN=y
721# CONFIG_USB_ZD1201 is not set
722# CONFIG_HOSTAP is not set
723
724#
725# Enable WiMAX (Networking options) to see the WiMAX drivers
726#
727
728#
729# USB Network Adapters
730#
731# CONFIG_USB_CATC is not set
732# CONFIG_USB_KAWETH is not set
733# CONFIG_USB_PEGASUS is not set
734# CONFIG_USB_RTL8150 is not set
735# CONFIG_USB_USBNET is not set
736# CONFIG_WAN is not set
737# CONFIG_PPP is not set
738# CONFIG_SLIP is not set
739CONFIG_NETCONSOLE=y
740# CONFIG_NETCONSOLE_DYNAMIC is not set
741CONFIG_NETPOLL=y
742CONFIG_NETPOLL_TRAP=y
743CONFIG_NET_POLL_CONTROLLER=y
744# CONFIG_ISDN is not set
745# CONFIG_PHONE is not set
746
747#
748# Input device support
749#
750CONFIG_INPUT=y
751# CONFIG_INPUT_FF_MEMLESS is not set
752# CONFIG_INPUT_POLLDEV is not set
753# CONFIG_INPUT_SPARSEKMAP is not set
754
755#
756# Userland interfaces
757#
758# CONFIG_INPUT_MOUSEDEV is not set
759# CONFIG_INPUT_JOYDEV is not set
760CONFIG_INPUT_EVDEV=y
761CONFIG_INPUT_EVBUG=m
762
763#
764# Input Device Drivers
765#
766CONFIG_INPUT_KEYBOARD=y
767# CONFIG_KEYBOARD_ADP5588 is not set
768CONFIG_KEYBOARD_ATKBD=m
769# CONFIG_QT2160 is not set
770# CONFIG_KEYBOARD_LKKBD is not set
771CONFIG_KEYBOARD_GPIO=y
772# CONFIG_KEYBOARD_MATRIX is not set
773# CONFIG_KEYBOARD_MAX7359 is not set
774# CONFIG_KEYBOARD_NEWTON is not set
775# CONFIG_KEYBOARD_OPENCORES is not set
776# CONFIG_KEYBOARD_STOWAWAY is not set
777# CONFIG_KEYBOARD_SUNKBD is not set
778CONFIG_KEYBOARD_XTKBD=m
779# CONFIG_INPUT_MOUSE is not set
780# CONFIG_INPUT_JOYSTICK is not set
781# CONFIG_INPUT_TABLET is not set
782CONFIG_INPUT_TOUCHSCREEN=y
783# CONFIG_TOUCHSCREEN_ADS7846 is not set
784# CONFIG_TOUCHSCREEN_AD7877 is not set
785# CONFIG_TOUCHSCREEN_AD7879_I2C is not set
786# CONFIG_TOUCHSCREEN_AD7879_SPI is not set
787# CONFIG_TOUCHSCREEN_AD7879 is not set
788# CONFIG_TOUCHSCREEN_DYNAPRO is not set
789# CONFIG_TOUCHSCREEN_EETI is not set
790# CONFIG_TOUCHSCREEN_FUJITSU is not set
791# CONFIG_TOUCHSCREEN_GUNZE is not set
792# CONFIG_TOUCHSCREEN_ELO is not set
793# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set
794# CONFIG_TOUCHSCREEN_MCS5000 is not set
795# CONFIG_TOUCHSCREEN_MTOUCH is not set
796# CONFIG_TOUCHSCREEN_INEXIO is not set
797# CONFIG_TOUCHSCREEN_MK712 is not set
798# CONFIG_TOUCHSCREEN_PENMOUNT is not set
799# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set
800# CONFIG_TOUCHSCREEN_TOUCHWIN is not set
801# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set
802# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set
803# CONFIG_TOUCHSCREEN_TSC2007 is not set
804CONFIG_TOUCHSCREEN_TSC2004=y
805# CONFIG_TOUCHSCREEN_W90X900 is not set
806# CONFIG_TOUCHSCREEN_TPS6507X is not set
807# CONFIG_INPUT_MISC is not set
808
809#
810# Hardware I/O ports
811#
812CONFIG_SERIO=y
813CONFIG_SERIO_SERPORT=y
814CONFIG_SERIO_LIBPS2=y
815# CONFIG_SERIO_RAW is not set
816# CONFIG_SERIO_ALTERA_PS2 is not set
817# CONFIG_GAMEPORT is not set
818
819#
820# Character devices
821#
822CONFIG_VT=y
823CONFIG_CONSOLE_TRANSLATIONS=y
824# CONFIG_VT_CONSOLE is not set
825CONFIG_HW_CONSOLE=y
826# CONFIG_VT_HW_CONSOLE_BINDING is not set
827CONFIG_DEVKMEM=y
828# CONFIG_SERIAL_NONSTANDARD is not set
829
830#
831# Serial drivers
832#
833CONFIG_SERIAL_8250=y
834CONFIG_SERIAL_8250_CONSOLE=y
835CONFIG_SERIAL_8250_NR_UARTS=3
836CONFIG_SERIAL_8250_RUNTIME_UARTS=3
837# CONFIG_SERIAL_8250_EXTENDED is not set
838
839#
840# Non-8250 serial port support
841#
842# CONFIG_SERIAL_MAX3100 is not set
843CONFIG_SERIAL_CORE=y
844CONFIG_SERIAL_CORE_CONSOLE=y
845CONFIG_UNIX98_PTYS=y
846# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
847CONFIG_LEGACY_PTYS=y
848CONFIG_LEGACY_PTY_COUNT=8
849# CONFIG_IPMI_HANDLER is not set
850CONFIG_HW_RANDOM=m
851# CONFIG_HW_RANDOM_TIMERIOMEM is not set
852# CONFIG_R3964 is not set
853# CONFIG_RAW_DRIVER is not set
854# CONFIG_TCG_TPM is not set
855CONFIG_I2C=y
856CONFIG_I2C_BOARDINFO=y
857CONFIG_I2C_COMPAT=y
858CONFIG_I2C_CHARDEV=y
859CONFIG_I2C_HELPER_AUTO=y
860
861#
862# I2C Hardware Bus support
863#
864
865#
866# I2C system bus drivers (mostly embedded / system-on-chip)
867#
868CONFIG_I2C_DAVINCI=y
869# CONFIG_I2C_DESIGNWARE is not set
870# CONFIG_I2C_GPIO is not set
871# CONFIG_I2C_OCORES is not set
872# CONFIG_I2C_SIMTEC is not set
873
874#
875# External I2C/SMBus adapter drivers
876#
877# CONFIG_I2C_PARPORT_LIGHT is not set
878# CONFIG_I2C_TAOS_EVM is not set
879# CONFIG_I2C_TINY_USB is not set
880
881#
882# Other I2C/SMBus bus drivers
883#
884# CONFIG_I2C_PCA_PLATFORM is not set
885# CONFIG_I2C_STUB is not set
886
887#
888# Miscellaneous I2C Chip support
889#
890# CONFIG_SENSORS_TSL2550 is not set
891# CONFIG_I2C_DEBUG_CORE is not set
892# CONFIG_I2C_DEBUG_ALGO is not set
893# CONFIG_I2C_DEBUG_BUS is not set
894# CONFIG_I2C_DEBUG_CHIP is not set
895CONFIG_SPI=y
896CONFIG_SPI_MASTER=y
897
898#
899# SPI Master Controller Drivers
900#
901CONFIG_SPI_DAVINCI=y
902CONFIG_SPI_BITBANG=y
903# CONFIG_SPI_GPIO is not set
904# CONFIG_SPI_XILINX is not set
905# CONFIG_SPI_DESIGNWARE is not set
906
907#
908# SPI Protocol Masters
909#
910# CONFIG_SPI_SPIDEV is not set
911# CONFIG_SPI_TLE62X0 is not set
912
913#
914# PPS support
915#
916# CONFIG_PPS is not set
917CONFIG_ARCH_REQUIRE_GPIOLIB=y
918CONFIG_GPIOLIB=y
919# CONFIG_GPIO_SYSFS is not set
920
921#
922# Memory mapped GPIO expanders:
923#
924
925#
926# I2C GPIO expanders:
927#
928# CONFIG_GPIO_MAX732X is not set
929CONFIG_GPIO_PCA953X=y
930CONFIG_GPIO_PCF857X=y
931# CONFIG_GPIO_ADP5588 is not set
932
933#
934# PCI GPIO expanders:
935#
936
937#
938# SPI GPIO expanders:
939#
940# CONFIG_GPIO_MAX7301 is not set
941# CONFIG_GPIO_MCP23S08 is not set
942# CONFIG_GPIO_MC33880 is not set
943
944#
945# AC97 GPIO expanders:
946#
947# CONFIG_W1 is not set
948# CONFIG_POWER_SUPPLY is not set
949# CONFIG_HWMON is not set
950# CONFIG_THERMAL is not set
951CONFIG_WATCHDOG=y
952# CONFIG_WATCHDOG_NOWAYOUT is not set
953
954#
955# Watchdog Device Drivers
956#
957# CONFIG_SOFT_WATCHDOG is not set
958CONFIG_DAVINCI_WATCHDOG=y
959
960#
961# USB-based Watchdog Cards
962#
963# CONFIG_USBPCWATCHDOG is not set
964CONFIG_SSB_POSSIBLE=y
965
966#
967# Sonics Silicon Backplane
968#
969# CONFIG_SSB is not set
970
971#
972# Multifunction device drivers
973#
974# CONFIG_MFD_CORE is not set
975# CONFIG_MFD_SM501 is not set
976# CONFIG_MFD_ASIC3 is not set
977# CONFIG_HTC_EGPIO is not set
978# CONFIG_HTC_PASIC3 is not set
979# CONFIG_TPS65010 is not set
980# CONFIG_TPS6507x is not set
981# CONFIG_TWL4030_CORE is not set
982# CONFIG_MFD_TMIO is not set
983# CONFIG_MFD_T7L66XB is not set
984# CONFIG_MFD_TC6387XB is not set
985# CONFIG_MFD_TC6393XB is not set
986# CONFIG_PMIC_DA903X is not set
987# CONFIG_PMIC_ADP5520 is not set
988# CONFIG_MFD_WM8400 is not set
989# CONFIG_MFD_WM831X is not set
990# CONFIG_MFD_WM8350_I2C is not set
991# CONFIG_MFD_PCF50633 is not set
992# CONFIG_MFD_MC13783 is not set
993# CONFIG_AB3100_CORE is not set
994# CONFIG_EZX_PCAP is not set
995# CONFIG_MFD_88PM8607 is not set
996# CONFIG_AB4500_CORE is not set
997# CONFIG_REGULATOR is not set
998CONFIG_MEDIA_SUPPORT=y
999
1000#
1001# Multimedia core support
1002#
1003CONFIG_VIDEO_DEV=y
1004CONFIG_VIDEO_V4L2_COMMON=y
1005CONFIG_VIDEO_ALLOW_V4L1=y
1006CONFIG_VIDEO_V4L1_COMPAT=y
1007# CONFIG_DVB_CORE is not set
1008CONFIG_VIDEO_MEDIA=y
1009
1010#
1011# Multimedia drivers
1012#
1013CONFIG_IR_CORE=y
1014CONFIG_VIDEO_IR=y
1015# CONFIG_MEDIA_ATTACH is not set
1016CONFIG_MEDIA_TUNER=y
1017# CONFIG_MEDIA_TUNER_CUSTOMISE is not set
1018CONFIG_MEDIA_TUNER_SIMPLE=y
1019CONFIG_MEDIA_TUNER_TDA8290=y
1020CONFIG_MEDIA_TUNER_TDA9887=y
1021CONFIG_MEDIA_TUNER_TEA5761=y
1022CONFIG_MEDIA_TUNER_TEA5767=y
1023CONFIG_MEDIA_TUNER_MT20XX=y
1024CONFIG_MEDIA_TUNER_XC2028=y
1025CONFIG_MEDIA_TUNER_XC5000=y
1026CONFIG_MEDIA_TUNER_MC44S803=y
1027CONFIG_VIDEO_V4L2=y
1028CONFIG_VIDEO_V4L1=y
1029CONFIG_VIDEO_CAPTURE_DRIVERS=y
1030# CONFIG_VIDEO_ADV_DEBUG is not set
1031# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
1032CONFIG_VIDEO_HELPER_CHIPS_AUTO=y
1033CONFIG_VIDEO_IR_I2C=y
1034# CONFIG_VIDEO_VIVI is not set
1035CONFIG_VIDEO_VPSS_SYSTEM=y
1036# CONFIG_VIDEO_VPFE_CAPTURE is not set
1037# CONFIG_VIDEO_CPIA is not set
1038# CONFIG_VIDEO_CPIA2 is not set
1039# CONFIG_VIDEO_SAA5246A is not set
1040# CONFIG_VIDEO_SAA5249 is not set
1041# CONFIG_SOC_CAMERA is not set
1042CONFIG_V4L_USB_DRIVERS=y
1043CONFIG_USB_VIDEO_CLASS=y
1044CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
1045CONFIG_USB_GSPCA=m
1046# CONFIG_USB_M5602 is not set
1047# CONFIG_USB_STV06XX is not set
1048# CONFIG_USB_GL860 is not set
1049# CONFIG_USB_GSPCA_CONEX is not set
1050# CONFIG_USB_GSPCA_ETOMS is not set
1051# CONFIG_USB_GSPCA_FINEPIX is not set
1052# CONFIG_USB_GSPCA_JEILINJ is not set
1053# CONFIG_USB_GSPCA_MARS is not set
1054# CONFIG_USB_GSPCA_MR97310A is not set
1055# CONFIG_USB_GSPCA_OV519 is not set
1056# CONFIG_USB_GSPCA_OV534 is not set
1057# CONFIG_USB_GSPCA_PAC207 is not set
1058# CONFIG_USB_GSPCA_PAC7302 is not set
1059# CONFIG_USB_GSPCA_PAC7311 is not set
1060# CONFIG_USB_GSPCA_SN9C20X is not set
1061# CONFIG_USB_GSPCA_SONIXB is not set
1062# CONFIG_USB_GSPCA_SONIXJ is not set
1063# CONFIG_USB_GSPCA_SPCA500 is not set
1064# CONFIG_USB_GSPCA_SPCA501 is not set
1065# CONFIG_USB_GSPCA_SPCA505 is not set
1066# CONFIG_USB_GSPCA_SPCA506 is not set
1067# CONFIG_USB_GSPCA_SPCA508 is not set
1068# CONFIG_USB_GSPCA_SPCA561 is not set
1069# CONFIG_USB_GSPCA_SQ905 is not set
1070# CONFIG_USB_GSPCA_SQ905C is not set
1071# CONFIG_USB_GSPCA_STK014 is not set
1072# CONFIG_USB_GSPCA_STV0680 is not set
1073# CONFIG_USB_GSPCA_SUNPLUS is not set
1074# CONFIG_USB_GSPCA_T613 is not set
1075# CONFIG_USB_GSPCA_TV8532 is not set
1076# CONFIG_USB_GSPCA_VC032X is not set
1077# CONFIG_USB_GSPCA_ZC3XX is not set
1078# CONFIG_VIDEO_PVRUSB2 is not set
1079# CONFIG_VIDEO_HDPVR is not set
1080# CONFIG_VIDEO_EM28XX is not set
1081# CONFIG_VIDEO_CX231XX is not set
1082# CONFIG_VIDEO_USBVISION is not set
1083# CONFIG_USB_VICAM is not set
1084# CONFIG_USB_IBMCAM is not set
1085# CONFIG_USB_KONICAWC is not set
1086# CONFIG_USB_QUICKCAM_MESSENGER is not set
1087# CONFIG_USB_ET61X251 is not set
1088# CONFIG_VIDEO_OVCAMCHIP is not set
1089# CONFIG_USB_OV511 is not set
1090# CONFIG_USB_SE401 is not set
1091# CONFIG_USB_SN9C102 is not set
1092# CONFIG_USB_STV680 is not set
1093# CONFIG_USB_ZC0301 is not set
1094# CONFIG_USB_PWC is not set
1095CONFIG_USB_PWC_INPUT_EVDEV=y
1096# CONFIG_USB_ZR364XX is not set
1097# CONFIG_USB_STKWEBCAM is not set
1098# CONFIG_USB_S2255 is not set
1099CONFIG_RADIO_ADAPTERS=y
1100# CONFIG_I2C_SI4713 is not set
1101# CONFIG_RADIO_SI4713 is not set
1102# CONFIG_USB_DSBR is not set
1103# CONFIG_RADIO_SI470X is not set
1104# CONFIG_USB_MR800 is not set
1105# CONFIG_RADIO_TEA5764 is not set
1106# CONFIG_RADIO_TEF6862 is not set
1107# CONFIG_DAB is not set
1108
1109#
1110# Graphics support
1111#
1112# CONFIG_VGASTATE is not set
1113# CONFIG_VIDEO_OUTPUT_CONTROL is not set
1114CONFIG_FB=y
1115# CONFIG_FIRMWARE_EDID is not set
1116# CONFIG_FB_DDC is not set
1117# CONFIG_FB_BOOT_VESA_SUPPORT is not set
1118CONFIG_FB_CFB_FILLRECT=y
1119CONFIG_FB_CFB_COPYAREA=y
1120CONFIG_FB_CFB_IMAGEBLIT=y
1121# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
1122# CONFIG_FB_SYS_FILLRECT is not set
1123# CONFIG_FB_SYS_COPYAREA is not set
1124# CONFIG_FB_SYS_IMAGEBLIT is not set
1125# CONFIG_FB_FOREIGN_ENDIAN is not set
1126# CONFIG_FB_SYS_FOPS is not set
1127# CONFIG_FB_SVGALIB is not set
1128# CONFIG_FB_MACMODES is not set
1129# CONFIG_FB_BACKLIGHT is not set
1130# CONFIG_FB_MODE_HELPERS is not set
1131# CONFIG_FB_TILEBLITTING is not set
1132
1133#
1134# Frame buffer hardware drivers
1135#
1136# CONFIG_FB_S1D13XXX is not set
1137# CONFIG_FB_DAVINCI is not set
1138# CONFIG_FB_VIRTUAL is not set
1139CONFIG_FB_DA8XX=y
1140# CONFIG_FB_METRONOME is not set
1141# CONFIG_FB_MB862XX is not set
1142# CONFIG_FB_BROADSHEET is not set
1143# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
1144
1145#
1146# Display device support
1147#
1148# CONFIG_DISPLAY_SUPPORT is not set
1149
1150#
1151# Console display driver support
1152#
1153# CONFIG_VGA_CONSOLE is not set
1154CONFIG_DUMMY_CONSOLE=y
1155CONFIG_FRAMEBUFFER_CONSOLE=y
1156# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
1157# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
1158# CONFIG_FONTS is not set
1159CONFIG_FONT_8x8=y
1160CONFIG_FONT_8x16=y
1161CONFIG_LOGO=y
1162CONFIG_LOGO_LINUX_MONO=y
1163CONFIG_LOGO_LINUX_VGA16=y
1164CONFIG_LOGO_LINUX_CLUT224=y
1165CONFIG_SOUND=y
1166# CONFIG_SOUND_OSS_CORE is not set
1167CONFIG_SND=y
1168CONFIG_SND_TIMER=y
1169CONFIG_SND_PCM=y
1170CONFIG_SND_HWDEP=y
1171CONFIG_SND_RAWMIDI=y
1172CONFIG_SND_JACK=y
1173# CONFIG_SND_SEQUENCER is not set
1174# CONFIG_SND_MIXER_OSS is not set
1175# CONFIG_SND_PCM_OSS is not set
1176# CONFIG_SND_HRTIMER is not set
1177# CONFIG_SND_DYNAMIC_MINORS is not set
1178CONFIG_SND_SUPPORT_OLD_API=y
1179CONFIG_SND_VERBOSE_PROCFS=y
1180# CONFIG_SND_VERBOSE_PRINTK is not set
1181# CONFIG_SND_DEBUG is not set
1182# CONFIG_SND_RAWMIDI_SEQ is not set
1183# CONFIG_SND_OPL3_LIB_SEQ is not set
1184# CONFIG_SND_OPL4_LIB_SEQ is not set
1185# CONFIG_SND_SBAWE_SEQ is not set
1186# CONFIG_SND_EMU10K1_SEQ is not set
1187CONFIG_SND_DRIVERS=y
1188# CONFIG_SND_DUMMY is not set
1189# CONFIG_SND_MTPAV is not set
1190# CONFIG_SND_SERIAL_U16550 is not set
1191# CONFIG_SND_MPU401 is not set
1192CONFIG_SND_ARM=y
1193CONFIG_SND_SPI=y
1194CONFIG_SND_USB=y
1195CONFIG_SND_USB_AUDIO=y
1196# CONFIG_SND_USB_CAIAQ is not set
1197CONFIG_SND_SOC=y
1198CONFIG_SND_DAVINCI_SOC=y
1199CONFIG_SND_DAVINCI_SOC_MCASP=y
1200CONFIG_SND_DA830_SOC_EVM=y
1201CONFIG_SND_SOC_I2C_AND_SPI=y
1202# CONFIG_SND_SOC_ALL_CODECS is not set
1203CONFIG_SND_SOC_TLV320AIC3X=y
1204# CONFIG_SOUND_PRIME is not set
1205CONFIG_HID_SUPPORT=y
1206CONFIG_HID=y
1207# CONFIG_HIDRAW is not set
1208
1209#
1210# USB Input Devices
1211#
1212CONFIG_USB_HID=y
1213# CONFIG_HID_PID is not set
1214# CONFIG_USB_HIDDEV is not set
1215
1216#
1217# Special HID drivers
1218#
1219# CONFIG_HID_A4TECH is not set
1220# CONFIG_HID_APPLE is not set
1221# CONFIG_HID_BELKIN is not set
1222# CONFIG_HID_CHERRY is not set
1223# CONFIG_HID_CHICONY is not set
1224# CONFIG_HID_CYPRESS is not set
1225# CONFIG_HID_DRAGONRISE is not set
1226# CONFIG_HID_EZKEY is not set
1227# CONFIG_HID_KYE is not set
1228# CONFIG_HID_GYRATION is not set
1229# CONFIG_HID_TWINHAN is not set
1230# CONFIG_HID_KENSINGTON is not set
1231# CONFIG_HID_LOGITECH is not set
1232# CONFIG_HID_MICROSOFT is not set
1233# CONFIG_HID_MONTEREY is not set
1234# CONFIG_HID_NTRIG is not set
1235# CONFIG_HID_PANTHERLORD is not set
1236# CONFIG_HID_PETALYNX is not set
1237# CONFIG_HID_SAMSUNG is not set
1238# CONFIG_HID_SONY is not set
1239# CONFIG_HID_SUNPLUS is not set
1240# CONFIG_HID_GREENASIA is not set
1241# CONFIG_HID_SMARTJOYPLUS is not set
1242# CONFIG_HID_TOPSEED is not set
1243# CONFIG_HID_THRUSTMASTER is not set
1244# CONFIG_HID_ZEROPLUS is not set
1245CONFIG_USB_SUPPORT=y
1246CONFIG_USB_ARCH_HAS_HCD=y
1247CONFIG_USB_ARCH_HAS_OHCI=y
1248# CONFIG_USB_ARCH_HAS_EHCI is not set
1249CONFIG_USB=y
1250# CONFIG_USB_DEBUG is not set
1251# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set
1252
1253#
1254# Miscellaneous USB options
1255#
1256# CONFIG_USB_DEVICEFS is not set
1257CONFIG_USB_DEVICE_CLASS=y
1258# CONFIG_USB_DYNAMIC_MINORS is not set
1259# CONFIG_USB_OTG is not set
1260# CONFIG_USB_OTG_WHITELIST is not set
1261# CONFIG_USB_OTG_BLACKLIST_HUB is not set
1262# CONFIG_USB_MON is not set
1263# CONFIG_USB_WUSB is not set
1264# CONFIG_USB_WUSB_CBAF is not set
1265
1266#
1267# USB Host Controller Drivers
1268#
1269# CONFIG_USB_C67X00_HCD is not set
1270# CONFIG_USB_OXU210HP_HCD is not set
1271# CONFIG_USB_ISP116X_HCD is not set
1272# CONFIG_USB_ISP1760_HCD is not set
1273# CONFIG_USB_ISP1362_HCD is not set
1274CONFIG_USB_OHCI_HCD=y
1275# CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
1276# CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
1277CONFIG_USB_OHCI_LITTLE_ENDIAN=y
1278# CONFIG_USB_SL811_HCD is not set
1279# CONFIG_USB_R8A66597_HCD is not set
1280# CONFIG_USB_HWA_HCD is not set
1281CONFIG_USB_MUSB_HDRC=y
1282CONFIG_USB_MUSB_SOC=y
1283
1284#
1285# DA830/OMAP-L137 USB support
1286#
1287CONFIG_USB_MUSB_HOST=y
1288# CONFIG_USB_MUSB_PERIPHERAL is not set
1289# CONFIG_USB_MUSB_OTG is not set
1290CONFIG_USB_MUSB_HDRC_HCD=y
1291# CONFIG_MUSB_PIO_ONLY is not set
1292# CONFIG_USB_INVENTRA_DMA is not set
1293# CONFIG_USB_TI_CPPI_DMA is not set
1294CONFIG_USB_TI_CPPI41_DMA=y
1295CONFIG_USB_MUSB_DEBUG=y
1296
1297#
1298# USB Device Class drivers
1299#
1300# CONFIG_USB_ACM is not set
1301# CONFIG_USB_PRINTER is not set
1302# CONFIG_USB_WDM is not set
1303# CONFIG_USB_TMC is not set
1304
1305#
1306# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
1307#
1308
1309#
1310# also be needed; see USB_STORAGE Help for more info
1311#
1312CONFIG_USB_STORAGE=y
1313# CONFIG_USB_STORAGE_DEBUG is not set
1314# CONFIG_USB_STORAGE_DATAFAB is not set
1315# CONFIG_USB_STORAGE_FREECOM is not set
1316# CONFIG_USB_STORAGE_ISD200 is not set
1317# CONFIG_USB_STORAGE_USBAT is not set
1318# CONFIG_USB_STORAGE_SDDR09 is not set
1319# CONFIG_USB_STORAGE_SDDR55 is not set
1320# CONFIG_USB_STORAGE_JUMPSHOT is not set
1321# CONFIG_USB_STORAGE_ALAUDA is not set
1322# CONFIG_USB_STORAGE_ONETOUCH is not set
1323# CONFIG_USB_STORAGE_KARMA is not set
1324# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
1325# CONFIG_USB_LIBUSUAL is not set
1326
1327#
1328# USB Imaging devices
1329#
1330# CONFIG_USB_MDC800 is not set
1331# CONFIG_USB_MICROTEK is not set
1332
1333#
1334# USB port drivers
1335#
1336# CONFIG_USB_SERIAL is not set
1337
1338#
1339# USB Miscellaneous drivers
1340#
1341# CONFIG_USB_EMI62 is not set
1342# CONFIG_USB_EMI26 is not set
1343# CONFIG_USB_ADUTUX is not set
1344# CONFIG_USB_SEVSEG is not set
1345# CONFIG_USB_RIO500 is not set
1346# CONFIG_USB_LEGOTOWER is not set
1347# CONFIG_USB_LCD is not set
1348# CONFIG_USB_BERRY_CHARGE is not set
1349# CONFIG_USB_LED is not set
1350# CONFIG_USB_CYPRESS_CY7C63 is not set
1351# CONFIG_USB_CYTHERM is not set
1352# CONFIG_USB_IDMOUSE is not set
1353# CONFIG_USB_FTDI_ELAN is not set
1354# CONFIG_USB_APPLEDISPLAY is not set
1355# CONFIG_USB_SISUSBVGA is not set
1356# CONFIG_USB_LD is not set
1357# CONFIG_USB_TRANCEVIBRATOR is not set
1358# CONFIG_USB_IOWARRIOR is not set
1359# CONFIG_USB_TEST is not set
1360# CONFIG_USB_ISIGHTFW is not set
1361# CONFIG_USB_VST is not set
1362# CONFIG_USB_GADGET is not set
1363
1364#
1365# OTG and related infrastructure
1366#
1367CONFIG_USB_OTG_UTILS=y
1368# CONFIG_USB_GPIO_VBUS is not set
1369# CONFIG_USB_ULPI is not set
1370CONFIG_NOP_USB_XCEIV=y
1371CONFIG_MMC=y
1372# CONFIG_MMC_DEBUG is not set
1373# CONFIG_MMC_UNSAFE_RESUME is not set
1374
1375#
1376# MMC/SD/SDIO Card Drivers
1377#
1378CONFIG_MMC_BLOCK=y
1379CONFIG_MMC_BLOCK_BOUNCE=y
1380# CONFIG_SDIO_UART is not set
1381# CONFIG_MMC_TEST is not set
1382
1383#
1384# MMC/SD/SDIO Host Controller Drivers
1385#
1386# CONFIG_MMC_SDHCI is not set
1387# CONFIG_MMC_AT91 is not set
1388# CONFIG_MMC_ATMELMCI is not set
1389CONFIG_MMC_DAVINCI=y
1390# CONFIG_MMC_SPI is not set
1391# CONFIG_MEMSTICK is not set
1392# CONFIG_NEW_LEDS is not set
1393# CONFIG_ACCESSIBILITY is not set
1394CONFIG_RTC_LIB=y
1395CONFIG_RTC_CLASS=y
1396CONFIG_RTC_HCTOSYS=y
1397CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
1398# CONFIG_RTC_DEBUG is not set
1399
1400#
1401# RTC interfaces
1402#
1403CONFIG_RTC_INTF_SYSFS=y
1404CONFIG_RTC_INTF_PROC=y
1405CONFIG_RTC_INTF_DEV=y
1406# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
1407# CONFIG_RTC_DRV_TEST is not set
1408
1409#
1410# I2C RTC drivers
1411#
1412# CONFIG_RTC_DRV_DS1307 is not set
1413# CONFIG_RTC_DRV_DS1374 is not set
1414# CONFIG_RTC_DRV_DS1672 is not set
1415# CONFIG_RTC_DRV_MAX6900 is not set
1416# CONFIG_RTC_DRV_RS5C372 is not set
1417# CONFIG_RTC_DRV_ISL1208 is not set
1418# CONFIG_RTC_DRV_X1205 is not set
1419# CONFIG_RTC_DRV_PCF8563 is not set
1420# CONFIG_RTC_DRV_PCF8583 is not set
1421# CONFIG_RTC_DRV_M41T80 is not set
1422# CONFIG_RTC_DRV_BQ32K is not set
1423# CONFIG_RTC_DRV_S35390A is not set
1424# CONFIG_RTC_DRV_FM3130 is not set
1425# CONFIG_RTC_DRV_RX8581 is not set
1426# CONFIG_RTC_DRV_RX8025 is not set
1427
1428#
1429# SPI RTC drivers
1430#
1431# CONFIG_RTC_DRV_M41T94 is not set
1432# CONFIG_RTC_DRV_DS1305 is not set
1433# CONFIG_RTC_DRV_DS1390 is not set
1434# CONFIG_RTC_DRV_MAX6902 is not set
1435# CONFIG_RTC_DRV_R9701 is not set
1436# CONFIG_RTC_DRV_RS5C348 is not set
1437# CONFIG_RTC_DRV_DS3234 is not set
1438# CONFIG_RTC_DRV_PCF2123 is not set
1439
1440#
1441# Platform RTC drivers
1442#
1443# CONFIG_RTC_DRV_CMOS is not set
1444# CONFIG_RTC_DRV_DS1286 is not set
1445# CONFIG_RTC_DRV_DS1511 is not set
1446# CONFIG_RTC_DRV_DS1553 is not set
1447# CONFIG_RTC_DRV_DS1742 is not set
1448# CONFIG_RTC_DRV_STK17TA8 is not set
1449# CONFIG_RTC_DRV_M48T86 is not set
1450# CONFIG_RTC_DRV_M48T35 is not set
1451# CONFIG_RTC_DRV_M48T59 is not set
1452# CONFIG_RTC_DRV_MSM6242 is not set
1453# CONFIG_RTC_DRV_BQ4802 is not set
1454# CONFIG_RTC_DRV_RP5C01 is not set
1455# CONFIG_RTC_DRV_V3020 is not set
1456
1457#
1458# on-CPU RTC drivers
1459#
1460CONFIG_RTC_DRV_OMAP=y
1461# CONFIG_DMADEVICES is not set
1462# CONFIG_AUXDISPLAY is not set
1463# CONFIG_UIO is not set
1464
1465#
1466# TI VLYNQ
1467#
1468# CONFIG_STAGING is not set
1469
1470#
1471# File systems
1472#
1473CONFIG_EXT2_FS=y
1474# CONFIG_EXT2_FS_XATTR is not set
1475# CONFIG_EXT2_FS_XIP is not set
1476CONFIG_EXT3_FS=y
1477# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
1478CONFIG_EXT3_FS_XATTR=y
1479# CONFIG_EXT3_FS_POSIX_ACL is not set
1480# CONFIG_EXT3_FS_SECURITY is not set
1481# CONFIG_EXT4_FS is not set
1482CONFIG_JBD=y
1483CONFIG_FS_MBCACHE=y
1484# CONFIG_REISERFS_FS is not set
1485# CONFIG_JFS_FS is not set
1486# CONFIG_FS_POSIX_ACL is not set
1487CONFIG_XFS_FS=m
1488# CONFIG_XFS_QUOTA is not set
1489# CONFIG_XFS_POSIX_ACL is not set
1490# CONFIG_XFS_RT is not set
1491# CONFIG_XFS_DEBUG is not set
1492# CONFIG_GFS2_FS is not set
1493# CONFIG_OCFS2_FS is not set
1494# CONFIG_BTRFS_FS is not set
1495# CONFIG_NILFS2_FS is not set
1496CONFIG_FILE_LOCKING=y
1497CONFIG_FSNOTIFY=y
1498CONFIG_DNOTIFY=y
1499CONFIG_INOTIFY=y
1500CONFIG_INOTIFY_USER=y
1501# CONFIG_QUOTA is not set
1502# CONFIG_AUTOFS_FS is not set
1503CONFIG_AUTOFS4_FS=m
1504# CONFIG_FUSE_FS is not set
1505
1506#
1507# Caches
1508#
1509# CONFIG_FSCACHE is not set
1510
1511#
1512# CD-ROM/DVD Filesystems
1513#
1514# CONFIG_ISO9660_FS is not set
1515# CONFIG_UDF_FS is not set
1516
1517#
1518# DOS/FAT/NT Filesystems
1519#
1520CONFIG_FAT_FS=y
1521CONFIG_MSDOS_FS=y
1522CONFIG_VFAT_FS=y
1523CONFIG_FAT_DEFAULT_CODEPAGE=437
1524CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
1525# CONFIG_NTFS_FS is not set
1526
1527#
1528# Pseudo filesystems
1529#
1530CONFIG_PROC_FS=y
1531CONFIG_PROC_SYSCTL=y
1532CONFIG_PROC_PAGE_MONITOR=y
1533CONFIG_SYSFS=y
1534CONFIG_TMPFS=y
1535# CONFIG_TMPFS_POSIX_ACL is not set
1536# CONFIG_HUGETLB_PAGE is not set
1537# CONFIG_CONFIGFS_FS is not set
1538CONFIG_MISC_FILESYSTEMS=y
1539# CONFIG_ADFS_FS is not set
1540# CONFIG_AFFS_FS is not set
1541# CONFIG_HFS_FS is not set
1542# CONFIG_HFSPLUS_FS is not set
1543# CONFIG_BEFS_FS is not set
1544# CONFIG_BFS_FS is not set
1545# CONFIG_EFS_FS is not set
1546CONFIG_JFFS2_FS=y
1547CONFIG_JFFS2_FS_DEBUG=0
1548CONFIG_JFFS2_FS_WRITEBUFFER=y
1549# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
1550# CONFIG_JFFS2_SUMMARY is not set
1551# CONFIG_JFFS2_FS_XATTR is not set
1552# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
1553CONFIG_JFFS2_ZLIB=y
1554# CONFIG_JFFS2_LZO is not set
1555CONFIG_JFFS2_RTIME=y
1556# CONFIG_JFFS2_RUBIN is not set
1557CONFIG_CRAMFS=y
1558# CONFIG_SQUASHFS is not set
1559# CONFIG_VXFS_FS is not set
1560CONFIG_MINIX_FS=m
1561# CONFIG_OMFS_FS is not set
1562# CONFIG_HPFS_FS is not set
1563# CONFIG_QNX4FS_FS is not set
1564# CONFIG_ROMFS_FS is not set
1565# CONFIG_SYSV_FS is not set
1566# CONFIG_UFS_FS is not set
1567CONFIG_NETWORK_FILESYSTEMS=y
1568CONFIG_NFS_FS=y
1569CONFIG_NFS_V3=y
1570# CONFIG_NFS_V3_ACL is not set
1571# CONFIG_NFS_V4 is not set
1572CONFIG_ROOT_NFS=y
1573CONFIG_NFSD=m
1574CONFIG_NFSD_V3=y
1575# CONFIG_NFSD_V3_ACL is not set
1576# CONFIG_NFSD_V4 is not set
1577CONFIG_LOCKD=y
1578CONFIG_LOCKD_V4=y
1579CONFIG_EXPORTFS=m
1580CONFIG_NFS_COMMON=y
1581CONFIG_SUNRPC=y
1582# CONFIG_RPCSEC_GSS_KRB5 is not set
1583# CONFIG_RPCSEC_GSS_SPKM3 is not set
1584CONFIG_SMB_FS=m
1585# CONFIG_SMB_NLS_DEFAULT is not set
1586# CONFIG_CIFS is not set
1587# CONFIG_NCP_FS is not set
1588# CONFIG_CODA_FS is not set
1589# CONFIG_AFS_FS is not set
1590
1591#
1592# Partition Types
1593#
1594CONFIG_PARTITION_ADVANCED=y
1595# CONFIG_ACORN_PARTITION is not set
1596# CONFIG_OSF_PARTITION is not set
1597# CONFIG_AMIGA_PARTITION is not set
1598# CONFIG_ATARI_PARTITION is not set
1599# CONFIG_MAC_PARTITION is not set
1600CONFIG_MSDOS_PARTITION=y
1601# CONFIG_BSD_DISKLABEL is not set
1602# CONFIG_MINIX_SUBPARTITION is not set
1603# CONFIG_SOLARIS_X86_PARTITION is not set
1604# CONFIG_UNIXWARE_DISKLABEL is not set
1605# CONFIG_LDM_PARTITION is not set
1606# CONFIG_SGI_PARTITION is not set
1607# CONFIG_ULTRIX_PARTITION is not set
1608# CONFIG_SUN_PARTITION is not set
1609# CONFIG_KARMA_PARTITION is not set
1610# CONFIG_EFI_PARTITION is not set
1611# CONFIG_SYSV68_PARTITION is not set
1612CONFIG_NLS=y
1613CONFIG_NLS_DEFAULT="iso8859-1"
1614CONFIG_NLS_CODEPAGE_437=y
1615# CONFIG_NLS_CODEPAGE_737 is not set
1616# CONFIG_NLS_CODEPAGE_775 is not set
1617# CONFIG_NLS_CODEPAGE_850 is not set
1618# CONFIG_NLS_CODEPAGE_852 is not set
1619# CONFIG_NLS_CODEPAGE_855 is not set
1620# CONFIG_NLS_CODEPAGE_857 is not set
1621# CONFIG_NLS_CODEPAGE_860 is not set
1622# CONFIG_NLS_CODEPAGE_861 is not set
1623# CONFIG_NLS_CODEPAGE_862 is not set
1624# CONFIG_NLS_CODEPAGE_863 is not set
1625# CONFIG_NLS_CODEPAGE_864 is not set
1626# CONFIG_NLS_CODEPAGE_865 is not set
1627# CONFIG_NLS_CODEPAGE_866 is not set
1628# CONFIG_NLS_CODEPAGE_869 is not set
1629# CONFIG_NLS_CODEPAGE_936 is not set
1630# CONFIG_NLS_CODEPAGE_950 is not set
1631# CONFIG_NLS_CODEPAGE_932 is not set
1632# CONFIG_NLS_CODEPAGE_949 is not set
1633# CONFIG_NLS_CODEPAGE_874 is not set
1634# CONFIG_NLS_ISO8859_8 is not set
1635# CONFIG_NLS_CODEPAGE_1250 is not set
1636# CONFIG_NLS_CODEPAGE_1251 is not set
1637CONFIG_NLS_ASCII=m
1638CONFIG_NLS_ISO8859_1=y
1639# CONFIG_NLS_ISO8859_2 is not set
1640# CONFIG_NLS_ISO8859_3 is not set
1641# CONFIG_NLS_ISO8859_4 is not set
1642# CONFIG_NLS_ISO8859_5 is not set
1643# CONFIG_NLS_ISO8859_6 is not set
1644# CONFIG_NLS_ISO8859_7 is not set
1645# CONFIG_NLS_ISO8859_9 is not set
1646# CONFIG_NLS_ISO8859_13 is not set
1647# CONFIG_NLS_ISO8859_14 is not set
1648# CONFIG_NLS_ISO8859_15 is not set
1649# CONFIG_NLS_KOI8_R is not set
1650# CONFIG_NLS_KOI8_U is not set
1651CONFIG_NLS_UTF8=m
1652# CONFIG_DLM is not set
1653
1654#
1655# Kernel hacking
1656#
1657# CONFIG_PRINTK_TIME is not set
1658# CONFIG_ENABLE_WARN_DEPRECATED is not set
1659# CONFIG_ENABLE_MUST_CHECK is not set
1660CONFIG_FRAME_WARN=1024
1661# CONFIG_MAGIC_SYSRQ is not set
1662# CONFIG_STRIP_ASM_SYMS is not set
1663# CONFIG_UNUSED_SYMBOLS is not set
1664# CONFIG_DEBUG_FS is not set
1665# CONFIG_HEADERS_CHECK is not set
1666# CONFIG_DEBUG_KERNEL is not set
1667# CONFIG_SLUB_DEBUG_ON is not set
1668# CONFIG_SLUB_STATS is not set
1669CONFIG_DEBUG_BUGVERBOSE=y
1670# CONFIG_DEBUG_MEMORY_INIT is not set
1671CONFIG_FRAME_POINTER=y
1672# CONFIG_RCU_CPU_STALL_DETECTOR is not set
1673# CONFIG_LATENCYTOP is not set
1674# CONFIG_SYSCTL_SYSCALL_CHECK is not set
1675CONFIG_HAVE_FUNCTION_TRACER=y
1676CONFIG_TRACING_SUPPORT=y
1677# CONFIG_FTRACE is not set
1678# CONFIG_SAMPLES is not set
1679CONFIG_HAVE_ARCH_KGDB=y
1680# CONFIG_ARM_UNWIND is not set
1681# CONFIG_DEBUG_USER is not set
1682# CONFIG_OC_ETM is not set
1683
1684#
1685# Security options
1686#
1687# CONFIG_KEYS is not set
1688# CONFIG_SECURITY is not set
1689# CONFIG_SECURITYFS is not set
1690# CONFIG_DEFAULT_SECURITY_SELINUX is not set
1691# CONFIG_DEFAULT_SECURITY_SMACK is not set
1692# CONFIG_DEFAULT_SECURITY_TOMOYO is not set
1693CONFIG_DEFAULT_SECURITY_DAC=y
1694CONFIG_DEFAULT_SECURITY=""
1695CONFIG_CRYPTO=y
1696
1697#
1698# Crypto core or helper
1699#
1700# CONFIG_CRYPTO_MANAGER is not set
1701# CONFIG_CRYPTO_MANAGER2 is not set
1702# CONFIG_CRYPTO_GF128MUL is not set
1703# CONFIG_CRYPTO_NULL is not set
1704# CONFIG_CRYPTO_CRYPTD is not set
1705# CONFIG_CRYPTO_AUTHENC is not set
1706# CONFIG_CRYPTO_TEST is not set
1707
1708#
1709# Authenticated Encryption with Associated Data
1710#
1711# CONFIG_CRYPTO_CCM is not set
1712# CONFIG_CRYPTO_GCM is not set
1713# CONFIG_CRYPTO_SEQIV is not set
1714
1715#
1716# Block modes
1717#
1718# CONFIG_CRYPTO_CBC is not set
1719# CONFIG_CRYPTO_CTR is not set
1720# CONFIG_CRYPTO_CTS is not set
1721# CONFIG_CRYPTO_ECB is not set
1722# CONFIG_CRYPTO_LRW is not set
1723# CONFIG_CRYPTO_PCBC is not set
1724# CONFIG_CRYPTO_XTS is not set
1725
1726#
1727# Hash modes
1728#
1729# CONFIG_CRYPTO_HMAC is not set
1730# CONFIG_CRYPTO_XCBC is not set
1731# CONFIG_CRYPTO_VMAC is not set
1732
1733#
1734# Digest
1735#
1736# CONFIG_CRYPTO_CRC32C is not set
1737# CONFIG_CRYPTO_GHASH is not set
1738# CONFIG_CRYPTO_MD4 is not set
1739# CONFIG_CRYPTO_MD5 is not set
1740# CONFIG_CRYPTO_MICHAEL_MIC is not set
1741# CONFIG_CRYPTO_RMD128 is not set
1742# CONFIG_CRYPTO_RMD160 is not set
1743# CONFIG_CRYPTO_RMD256 is not set
1744# CONFIG_CRYPTO_RMD320 is not set
1745# CONFIG_CRYPTO_SHA1 is not set
1746# CONFIG_CRYPTO_SHA256 is not set
1747# CONFIG_CRYPTO_SHA512 is not set
1748# CONFIG_CRYPTO_TGR192 is not set
1749# CONFIG_CRYPTO_WP512 is not set
1750
1751#
1752# Ciphers
1753#
1754# CONFIG_CRYPTO_AES is not set
1755# CONFIG_CRYPTO_ANUBIS is not set
1756# CONFIG_CRYPTO_ARC4 is not set
1757# CONFIG_CRYPTO_BLOWFISH is not set
1758# CONFIG_CRYPTO_CAMELLIA is not set
1759# CONFIG_CRYPTO_CAST5 is not set
1760# CONFIG_CRYPTO_CAST6 is not set
1761# CONFIG_CRYPTO_DES is not set
1762# CONFIG_CRYPTO_FCRYPT is not set
1763# CONFIG_CRYPTO_KHAZAD is not set
1764# CONFIG_CRYPTO_SALSA20 is not set
1765# CONFIG_CRYPTO_SEED is not set
1766# CONFIG_CRYPTO_SERPENT is not set
1767# CONFIG_CRYPTO_TEA is not set
1768# CONFIG_CRYPTO_TWOFISH is not set
1769
1770#
1771# Compression
1772#
1773# CONFIG_CRYPTO_DEFLATE is not set
1774# CONFIG_CRYPTO_ZLIB is not set
1775# CONFIG_CRYPTO_LZO is not set
1776
1777#
1778# Random Number Generation
1779#
1780# CONFIG_CRYPTO_ANSI_CPRNG is not set
1781# CONFIG_CRYPTO_HW is not set
1782# CONFIG_BINARY_PRINTF is not set
1783
1784#
1785# Library routines
1786#
1787CONFIG_BITREVERSE=y
1788CONFIG_GENERIC_FIND_LAST_BIT=y
1789CONFIG_CRC_CCITT=m
1790# CONFIG_CRC16 is not set
1791CONFIG_CRC_T10DIF=m
1792# CONFIG_CRC_ITU_T is not set
1793CONFIG_CRC32=y
1794# CONFIG_CRC7 is not set
1795# CONFIG_LIBCRC32C is not set
1796CONFIG_ZLIB_INFLATE=y
1797CONFIG_ZLIB_DEFLATE=y
1798CONFIG_DECOMPRESS_GZIP=y
1799CONFIG_GENERIC_ALLOCATOR=y
1800CONFIG_HAS_IOMEM=y
1801CONFIG_HAS_IOPORT=y
1802CONFIG_HAS_DMA=y
1803CONFIG_NLATTR=y
diff --git a/recipes-kernel/linux/linux-davinci/vfpe1.patch b/recipes-kernel/linux/linux-davinci/vfpe1.patch
deleted file mode 100644
index 8694d1b7..00000000
--- a/recipes-kernel/linux/linux-davinci/vfpe1.patch
+++ /dev/null
@@ -1,3928 +0,0 @@
1Subject:
2[PATCH 1/7] VPFE capture driver for DM355 and DM6446
3From:
4m-karicheri2-l0cyMroinI0@public.gmane.org
5Date:
6Fri, 13 Mar 2009 17:15:31 -0400
7To:
8davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org, davinci_opensource_ccb-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org, psp_video-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org
9Newsgroups:
10gmane.linux.davinci
11
12This patch is for the vpfe capture driver for DM355 &
13DM6446 from Texas instruments. VPFE stands for Video
14Processing Front End which is the basic IP on DMxxx
15family for video capture and processing. vpfe capture
16driver is a v4l2 bridge driver developed based on
17v4l2-int-device model. It interfaces slave decoder devices
18to the bridge driver using this model. V4L2 community
19has already developed a v4l2 sub device model for this
20purpose. But at this time, tvp514x, the only slave
21decoder that can work with DM355 and DM6446 VPFE, is using
22the v4l2-int-device model. So decision is taken to first
23use this model to submit the driver to the community and
24plan for a migration to sub device model when tvp514x
25driver become sub device compliant.
26
27The driver uses ccdc_hw_device interface to configure
28CCDC based on the interface requirement of the slave
29decoder device. This driver is integrated with the tvp514x
30driver available in open source kernel. The driver is
31tested using a loopback application (Will be made
32available upon request) that captures video frames from the
33capture driver and display it at the output of VPBE using
34the FBDev video output device.
35
36Signed-off-by: Murali Karicheri <m-karicheri2-l0cyMroinI0@public.gmane.org>
37---
38 drivers/media/video/davinci/vpfe_capture.c | 2248 ++++++++++++++++++++++++++++
39 drivers/media/video/davinci_vpfe.c | 1136 --------------
40 include/media/davinci/vpfe_capture.h | 272 ++++
41 include/media/davinci/vpfe_types.h | 71 +
42 include/media/davinci_vpfe.h | 121 --
43 5 files changed, 2591 insertions(+), 1257 deletions(-)
44 create mode 100644 drivers/media/video/davinci/vpfe_capture.c
45 delete mode 100644 drivers/media/video/davinci_vpfe.c
46 create mode 100644 include/media/davinci/vpfe_capture.h
47 create mode 100644 include/media/davinci/vpfe_types.h
48 delete mode 100644 include/media/davinci_vpfe.h
49
50diff --git a/drivers/media/video/davinci/vpfe_capture.c b/drivers/media/video/davinci/vpfe_capture.c
51new file mode 100644
52index 0000000..decbffc
53--- /dev/null
54+++ b/drivers/media/video/davinci/vpfe_capture.c
55@@ -0,0 +1,2248 @@
56+/*
57+ * Copyright (C) 2008-2009 Texas Instruments Inc
58+ *
59+ * This program is free software; you can redistribute it and/or modify
60+ * it under the terms of the GNU General Public License as published by
61+ * the Free Software Foundation; either version 2 of the License, or
62+ * (at your option) any later version.
63+ *
64+ * This program is distributed in the hope that it will be useful,
65+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
66+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
67+ * GNU General Public License for more details.
68+ *
69+ * You should have received a copy of the GNU General Public License
70+ * along with this program; if not, write to the Free Software
71+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
72+ */
73+#include <linux/module.h>
74+#include <linux/init.h>
75+#include <linux/platform_device.h>
76+#include <linux/interrupt.h>
77+#include <linux/version.h>
78+#include <media/v4l2-common.h>
79+#include <linux/io.h>
80+#include <mach/cpu.h>
81+#include <media/davinci/vpfe_capture.h>
82+#include <media/tvp514x.h>
83+static int debug;
84+static char *ch0_decoder = "TVP514X";
85+static u32 ch0_numbuffers = 3;
86+static u32 ch0_bufsize = (720 * 576 * 2);
87+module_param(ch0_decoder, charp, S_IRUGO);
88+module_param(ch0_numbuffers, uint, S_IRUGO);
89+module_param(ch0_bufsize, uint, S_IRUGO);
90+module_param(debug, int, 0);
91+
92+static struct vpfe_config_params config_params = {
93+ .min_numbuffers = 3,
94+ .numbuffers[0] = 3,
95+ .min_bufsize[0] = 720 * 480 * 2,
96+ .channel_bufsize[0] = 720 * 576 * 2,
97+};
98+
99+static int vpfe_nr[] = { 0 };
100+
101+static struct vpfe_device vpfe_obj = { {NULL} };
102+static struct device *vpfe_dev;
103+
104+static struct v4l2_capability vpfe_videocap = {
105+ .driver = CAPTURE_DRV_NAME,
106+ .card = "DaVinci EVM",
107+ .bus_info = "Platform",
108+ .version = VPFE_CAPTURE_VERSION_CODE,
109+ .capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING
110+};
111+
112+#define VPFE_PIXELASPECT_NTSC {11, 10}
113+#define VPFE_PIXELASPECT_PAL {54, 59}
114+
115+/* standard information */
116+struct vpfe_standard {
117+ v4l2_std_id std_id;
118+ unsigned int width;
119+ unsigned int height;
120+ struct v4l2_fract pixelaspect;
121+ /* 0 - progressive, 1 - interlaced */
122+ char frame_format;
123+};
124+
125+struct vpfe_standard vpfe_standards[] = {
126+ {V4L2_STD_NTSC, 720, 480, VPFE_PIXELASPECT_NTSC, 1},
127+ {V4L2_STD_PAL, 720, 576, VPFE_PIXELASPECT_PAL, 1},
128+};
129+
130+static int vpfe_max_standards = ARRAY_SIZE(vpfe_standards);
131+
132+/* Used when raw Bayer image from ccdc is directly captured to SDRAM */
133+static struct vpfe_pixel_format
134+ vpfe_pix_fmts[VPFE_MAX_PIX_FORMATS] = {
135+ {
136+ .pix_fmt = V4L2_PIX_FMT_SBGGR8,
137+ .desc = "Raw Bayer GrRBGb 8bit A-Law compressed",
138+ .hw_fmt = VPFE_BAYER_8BIT_PACK_ALAW,
139+ },
140+ {
141+ .pix_fmt = V4L2_PIX_FMT_SBGGR16,
142+ .desc = "Raw Bayer GrRBGb - 16bit",
143+ .hw_fmt = VPFE_BAYER,
144+ },
145+ {
146+ .pix_fmt = V4L2_PIX_FMT_SGRBG10DPCM8,
147+ .desc = "Raw Bayer GrRBGb 8 bit DPCM compressed",
148+ .hw_fmt = VPFE_BAYER_8BIT_PACK_DPCM,
149+ },
150+ {
151+ .pix_fmt = V4L2_PIX_FMT_UYVY,
152+ .desc = "YCbCr 4:2:2 Interleaved UYVY",
153+ .hw_fmt = VPFE_UYVY,
154+ },
155+ {
156+ .pix_fmt = V4L2_PIX_FMT_YUYV,
157+ .desc = "YCbCr 4:2:2 Interleaved YUYV",
158+ .hw_fmt = VPFE_YUYV,
159+ },
160+ {
161+ .pix_fmt = V4L2_PIX_FMT_NV12,
162+ .desc = "Y/CbCr 4:2:0 - Semi planar",
163+ .hw_fmt = VPFE_YUV420,
164+ },
165+};
166+
167+
168+static int vpfe_lookup_hw_format(u32 pix_format)
169+{
170+ int i, ret = -EINVAL;
171+
172+ for (i = 0; i < VPFE_MAX_PIX_FORMATS; i++) {
173+ if (pix_format == vpfe_pix_fmts[i].pix_fmt) {
174+ ret = i;
175+ break;
176+ }
177+ }
178+ return ret;
179+}
180+
181+static int vpfe_lookup_v4l2_pix_format(enum vpfe_hw_pix_format hw_pix)
182+{
183+ int i, ret = -EINVAL;
184+
185+ for (i = 0; i < VPFE_MAX_PIX_FORMATS; i++) {
186+ if (hw_pix == vpfe_pix_fmts[i].hw_fmt) {
187+ ret = i;
188+ break;
189+ }
190+ }
191+ return ret;
192+}
193+
194+
195+/* Used when raw YUV image from ccdc is directly captured to SDRAM */
196+static void vpfe_slave_device_unregister(struct v4l2_int_device *s)
197+{
198+ int index;
199+ struct channel_obj *channel = s->u.slave->master->priv;
200+
201+ for (index = 0; index < VPFE_CAPTURE_NUM_DECODERS; index++) {
202+ if ((channel->decoder[index] == s)
203+ && (index == channel->current_decoder)) {
204+ if (channel->common->started) {
205+ /* Streaming is ON. So return busy */
206+ v4l2_err(vpfe_dev->driver,
207+ "Steaming ON. Cannot unregister"
208+ "decoder %s\n", s->name);
209+ return;
210+ } else {
211+ channel->decoder[index] = NULL;
212+ channel->numdecoders--;
213+ break;
214+ }
215+ }
216+ }
217+ if (index == VPFE_CAPTURE_NUM_DECODERS)
218+ v4l2_err(vpfe_dev->driver,
219+ "No matching decoder registered"
220+ "decoder %s\n", s->name);
221+}
222+
223+static int vpfe_get_stdinfo(struct channel_obj *ch, v4l2_std_id *std_id)
224+{
225+ int i;
226+ struct video_obj *vid_ch = NULL;
227+
228+ vid_ch = &(ch->video);
229+
230+ for (i = 0; i < vpfe_max_standards; i++) {
231+ if (vpfe_standards[i].std_id == *std_id) {
232+ vid_ch->std_info.activepixels =
233+ vpfe_standards[i].width;
234+ vid_ch->std_info.activelines =
235+ vpfe_standards[i].height;
236+ vid_ch->std_info.frame_format =
237+ vpfe_standards[i].frame_format;
238+ vid_ch->index = i;
239+ break;
240+ }
241+ }
242+ if (i == vpfe_max_standards) {
243+ v4l2_err(vpfe_dev->driver, "standard not supported\n");
244+ return -EFAULT;
245+ }
246+ return 0;
247+}
248+
249+/* vpfe_device_register: Used for registering a slave decoder
250+ * device with master
251+ */
252+static int vpfe_slave_device_register(struct v4l2_int_device *s)
253+{
254+ struct channel_obj *channel = s->u.slave->master->priv;
255+ struct common_obj *common = &channel->common[VPFE_VIDEO_INDEX];
256+ int err = 0, index;
257+ dev_notice(vpfe_dev, "register slave %s \n", s->name);
258+ if (ISNULL(channel))
259+ return -EINVAL;
260+
261+ if (!channel->numdecoders) {
262+ if (!vidioc_int_dev_init(s)) {
263+ channel->current_decoder = 0;
264+ channel->decoder[channel->current_decoder] = s;
265+ v4l2_info(vpfe_dev->driver, "Current decoder is set to"
266+ " %s\n", (s->name));
267+ }
268+ } else {
269+ /* search through the array for an empty entry */
270+ for (index = 0; index < VPFE_CAPTURE_NUM_DECODERS; index++) {
271+ if (ISNULL(channel->decoder[index])) {
272+ channel->decoder[index] = s;
273+ break;
274+ }
275+ }
276+ if (index == VPFE_CAPTURE_NUM_DECODERS) {
277+ v4l2_err(vpfe_dev->driver,
278+ "decoder count reached"
279+ " maximum allowed\n");
280+ return -ENOMEM;
281+ }
282+ if (!strncmp(ch0_decoder, s->name, strlen(ch0_decoder))) {
283+ if (!common->started) {
284+ if (!vidioc_int_dev_init(s)) {
285+ channel->current_decoder = index;
286+ v4l2_info(vpfe_dev->driver,
287+ "Current decoder is"
288+ " set to %s\n", (s->name));
289+ }
290+ }
291+ }
292+ }
293+ channel->numdecoders++;
294+ return err;
295+}
296+
297+/* vpfe capture master. All slave decoders registers
298+ * with master using vpfe_device_register and deregisters
299+ * using vpfe_slave_device_unregister
300+ */
301+static struct v4l2_int_master vpfe_master = {
302+ .attach = vpfe_slave_device_register,
303+ .detach = vpfe_slave_device_unregister,
304+};
305+
306+static struct v4l2_int_device vpfe_capture = {
307+ .module = THIS_MODULE,
308+ .name = CAPTURE_DRV_NAME,
309+ .type = v4l2_int_type_master,
310+ .u = {
311+ .master = &vpfe_master
312+ },
313+};
314+
315+/* Call this after storing ifparams in channel block */
316+static int vpfe_set_hw_if_type(struct channel_obj *channel)
317+{
318+ struct vpfe_capture_input *input = channel->video.input;
319+
320+ switch (input->inputs[input->current_input].route.output) {
321+ case OUTPUT_10BIT_422_EMBEDDED_SYNC:
322+ channel->vpfe_if = VPFE_BT656;
323+ break;
324+ case OUTPUT_20BIT_422_SEPERATE_SYNC:
325+ channel->vpfe_if = VPFE_YCBCR_SYNC_16;
326+ break;
327+ case OUTPUT_10BIT_422_SEPERATE_SYNC:
328+ channel->vpfe_if = VPFE_YCBCR_SYNC_8;
329+ default:
330+ v4l2_err(vpfe_dev->driver, "decoder output"
331+ " not supported, %d\n",
332+ input->inputs[input->current_input].route.output);
333+ return -EFAULT;
334+ }
335+ return ccdc_hw_dev.set_hw_if_type(channel->vpfe_if);
336+}
337+
338+static int vpfe_get_image_format(struct v4l2_format *f)
339+{
340+ struct v4l2_rect image_win;
341+ enum ccdc_buftype buf_type;
342+ enum ccdc_frmfmt frm_fmt;
343+ enum vpfe_hw_pix_format hw_pix;
344+ int ret = 0;
345+
346+ memset(f, 0, sizeof(struct v4l2_format));
347+ f->type = V4L2_BUF_TYPE_VIDEO_OUTPUT;
348+ ccdc_hw_dev.get_image_window(&image_win);
349+ f->fmt.pix.width = image_win.width;
350+ f->fmt.pix.height = image_win.height;
351+ ccdc_hw_dev.get_line_length(&f->fmt.pix.bytesperline);
352+ f->fmt.pix.sizeimage = f->fmt.pix.bytesperline *
353+ f->fmt.pix.height;
354+ ccdc_hw_dev.get_buftype(&buf_type);
355+ ccdc_hw_dev.get_pixelformat(&hw_pix);
356+
357+ if (hw_pix == VPFE_BAYER)
358+ f->fmt.pix.pixelformat = V4L2_PIX_FMT_SBGGR16;
359+ else if (hw_pix == VPFE_BAYER_8BIT_PACK_ALAW)
360+ f->fmt.pix.pixelformat = V4L2_PIX_FMT_SBGGR8;
361+ else if (hw_pix == VPFE_UYVY)
362+ f->fmt.pix.pixelformat = V4L2_PIX_FMT_UYVY;
363+ else if (hw_pix == VPFE_YUYV)
364+ f->fmt.pix.pixelformat = V4L2_PIX_FMT_YUYV;
365+ else {
366+ v4l2_err(vpfe_dev->driver, "Invalid HW pix format detected");
367+ ret = -EINVAL;
368+ goto out;
369+ }
370+ ccdc_hw_dev.get_frame_format(&frm_fmt);
371+ if (frm_fmt == CCDC_FRMFMT_PROGRESSIVE)
372+ f->fmt.pix.field = V4L2_FIELD_NONE;
373+ else if (frm_fmt == CCDC_FRMFMT_INTERLACED) {
374+ if (buf_type == CCDC_BUFTYPE_FLD_INTERLEAVED)
375+ f->fmt.pix.field = V4L2_FIELD_INTERLACED;
376+ else if (buf_type == CCDC_BUFTYPE_FLD_SEPARATED)
377+ f->fmt.pix.field = V4L2_FIELD_SEQ_TB;
378+ else
379+ ret = -EINVAL;
380+ } else
381+ ret = -EINVAL;
382+out:
383+ return ret;
384+}
385+
386+/* vpfe_config_default_format: Update format information */
387+static int vpfe_config_default_format(struct channel_obj *ch)
388+{
389+ struct common_obj *common = &(ch->common[VPFE_VIDEO_INDEX]);
390+ struct v4l2_int_device *dec = ch->decoder[ch->current_decoder];
391+ struct v4l2_rect win;
392+ int err = 0;
393+ struct video_obj *vid_ch = NULL;
394+
395+ vid_ch = &(ch->video);
396+ common->crop.top = 0;
397+ common->crop.left = 0;
398+ /* first get format information from the decoder.
399+ * if not available, get it from CCDC
400+ */
401+ if ((vidioc_int_g_fmt_cap(dec, &common->fmt)) < 0)
402+ vpfe_get_image_format(&common->fmt);
403+ else {
404+ /* set up all parameters in CCDC */
405+ win.top = common->crop.top;
406+ win.left = common->crop.left;
407+ win.width = common->fmt.fmt.pix.width;
408+ win.height = common->fmt.fmt.pix.height;
409+ ccdc_hw_dev.set_image_window(&win);
410+ if (common->fmt.fmt.pix.field ==
411+ V4L2_FIELD_INTERLACED) {
412+ err |=
413+ ccdc_hw_dev.set_buftype(CCDC_BUFTYPE_FLD_INTERLEAVED);
414+ err |=
415+ ccdc_hw_dev.set_frame_format(CCDC_FRMFMT_INTERLACED);
416+ } else if (common->fmt.fmt.pix.field ==
417+ V4L2_FIELD_SEQ_TB) {
418+ err |=
419+ ccdc_hw_dev.set_buftype(CCDC_BUFTYPE_FLD_SEPARATED);
420+ err |=
421+ ccdc_hw_dev.set_frame_format(CCDC_FRMFMT_INTERLACED);
422+ } else if (common->fmt.fmt.pix.field ==
423+ V4L2_FIELD_NONE) {
424+ err |=
425+ ccdc_hw_dev.set_frame_format(CCDC_FRMFMT_PROGRESSIVE);
426+ } else {
427+ v4l2_dbg(1, debug, vpfe_dev->driver,
428+ "\n Decoder field not supported!");
429+ err = -EINVAL;
430+ goto out;
431+ }
432+ }
433+ /* set the crop limits */
434+ vid_ch->std_info.activepixels = common->fmt.fmt.pix.width;
435+ vid_ch->std_info.activelines = common->fmt.fmt.pix.height;
436+ if (config_params.numbuffers[ch->channel_id] == 0)
437+ common->memory = V4L2_MEMORY_USERPTR;
438+ else
439+ common->memory = V4L2_MEMORY_MMAP;
440+out:
441+ return err;
442+}
443+
444+static int vpfe_initialize_channel(struct channel_obj *channel,
445+ struct v4l2_int_device *dec)
446+{
447+ struct common_obj *common = NULL;
448+ struct video_obj *vid_ch = NULL;
449+ int err = 0;
450+
451+ common = &(channel->common[VPFE_VIDEO_INDEX]);
452+ vid_ch = &(channel->video);
453+ channel->out_from = VPFE_CCDC_OUT;
454+ vid_ch->input->current_input = 0;
455+
456+ err = vidioc_int_g_ifparm(dec, &channel->ifparams);
457+ if (err) {
458+ v4l2_err(vpfe_dev->driver,
459+ "vidioc_int_g_ifparm failed with %d\n", err);
460+ return err;
461+ }
462+
463+ err = vpfe_set_hw_if_type(channel);
464+ if (err)
465+ return err;
466+
467+ /* Initialize decoder by calling initialize function */
468+ err = vidioc_int_s_power(dec, 1);
469+ if (err) {
470+ v4l2_err(vpfe_dev->driver,
471+ "unable to power on the decoder, %s, error %d\n",
472+ dec->name,
473+ err);
474+ return err;
475+ }
476+
477+ err = vidioc_int_init(dec);
478+ if (err) {
479+ v4l2_err(vpfe_dev->driver,
480+ "cannot initialize decoder - error %d\n",
481+ err);
482+ return err;
483+ }
484+
485+ /* Configure the default format information */
486+ err = vpfe_config_default_format(channel);
487+
488+ /* now open the ccdc device to initialize it */
489+ ccdc_hw_dev.open(vpfe_dev);
490+ channel->initialized = 1;
491+ return err;
492+}
493+
494+/* vpfe_open : It creates object of file handle structure and
495+ * stores it in private_data member of filepointer
496+ */
497+static int vpfe_open(struct file *filep)
498+{
499+ int minor = iminor(filep->f_path.dentry->d_inode);
500+ struct channel_obj *channel = NULL;
501+ struct v4l2_int_device *dec = NULL;
502+ struct common_obj *common = NULL;
503+ struct vpfe_fh *fh = NULL;
504+
505+ v4l2_dbg(1, debug, vpfe_dev->driver, "vpfe_open\n");
506+
507+ /* Check for valid minor number */
508+ channel = vpfe_obj.dev[0];
509+ common = &(channel->common[VPFE_VIDEO_INDEX]);
510+ if (minor != channel->video_dev->minor) {
511+ v4l2_err(vpfe_dev->driver, "device not found\n");
512+ return -ENODEV;
513+ }
514+
515+ if (!channel->numdecoders) {
516+ v4l2_err(vpfe_dev->driver, "No decoder registered\n");
517+ return -ENODEV;
518+ }
519+
520+ dec = channel->decoder[channel->current_decoder];
521+
522+ /* Allocate memory for the file handle object */
523+ fh = kmalloc(sizeof(struct vpfe_fh), GFP_KERNEL);
524+ if (ISNULL(fh)) {
525+ v4l2_err(vpfe_dev->driver,
526+ "unable to allocate memory for file handle object\n");
527+ return -ENOMEM;
528+ }
529+ /* store pointer to fh in private_data member of filep */
530+ filep->private_data = fh;
531+ fh->channel = channel;
532+ fh->initialized = 0;
533+ /* If decoder is not initialized. initialize it */
534+ if (!channel->initialized) {
535+ if (vpfe_initialize_channel(channel, dec))
536+ return -ENODEV;
537+ fh->initialized = 1;
538+ }
539+ /* Increment channel usrs counter */
540+ channel->usrs++;
541+ /* Set io_allowed member to false */
542+ fh->io_allowed[VPFE_VIDEO_INDEX] = 0;
543+ /* Initialize priority of this instance to default priority */
544+ fh->prio = V4L2_PRIORITY_UNSET;
545+ v4l2_prio_open(&channel->prio, &fh->prio);
546+
547+ v4l2_dbg(1, debug, vpfe_dev->driver, "</vpfe_open>\n");
548+ return 0;
549+}
550+
551+/*ISR for VINT0*/
552+static irqreturn_t vpfe_isr(int irq, void *dev_id)
553+{
554+ struct timeval timevalue;
555+ struct channel_obj *channel = NULL;
556+ struct common_obj *common = NULL;
557+ struct video_obj *vid_ch = NULL;
558+ struct vpfe_device *dev = dev_id;
559+ unsigned long addr;
560+ int fid;
561+ enum v4l2_field field;
562+ channel = dev->dev[VPFE_CHANNEL0_VIDEO];
563+ common = &(channel->common[VPFE_VIDEO_INDEX]);
564+ vid_ch = &(channel->video);
565+ field = common->fmt.fmt.pix.field;
566+ do_gettimeofday(&timevalue);
567+
568+ v4l2_dbg(1, debug, vpfe_dev->driver, "\nStarting vpfe_isr...");
569+
570+ /* only for 6446 this will be applicable */
571+ if (!(ISNULL(ccdc_hw_dev.reset)))
572+ ccdc_hw_dev.reset();
573+
574+ if (field == V4L2_FIELD_INTERLACED ||
575+ (field == V4L2_FIELD_SEQ_TB)) {
576+ /* Interlaced */
577+ /* check which field we are in hardware */
578+ fid = ccdc_hw_dev.getfid();
579+ /* switch the software maintained field id */
580+ channel->field_id ^= 1;
581+ v4l2_dbg(1, debug, vpfe_dev->driver, "field id = %x:%x.\n", fid,
582+ channel->field_id);
583+ if (fid == channel->field_id) {
584+ /* we are in-sync here,continue */
585+ if (fid == 0) {
586+ /* One frame is just being captured. If the
587+ * next frame is available, release the current
588+ * frame and move on
589+ */
590+ if (common->curFrm != common->nextFrm) {
591+ /* Copy frame capture time value in
592+ * curFrm->ts
593+ */
594+ common->curFrm->ts = timevalue;
595+ common->curFrm->state = VIDEOBUF_DONE;
596+ wake_up_interruptible(&common->curFrm->
597+ done);
598+ common->curFrm = common->nextFrm;
599+ }
600+ /* based on whether the two fields are stored
601+ * interleavely or separately in memory,
602+ * reconfigure the CCDC memory address
603+ */
604+ if (channel->out_from == VPFE_CCDC_OUT &&
605+ field == V4L2_FIELD_SEQ_TB) {
606+ addr =
607+ videobuf_to_dma_contig(common->curFrm);
608+ addr += common->field_off;
609+ ccdc_hw_dev.setfbaddr(addr);
610+ }
611+ } else if (fid == 1) {
612+ /* if one field is just being captured
613+ * configure the next frame
614+ * get the next frame from the empty queue
615+ * if no frame is available
616+ * hold on to the current buffer
617+ */
618+ if (channel->out_from == VPFE_CCDC_OUT &&
619+ !list_empty(&common->dma_queue) &&
620+ common->curFrm == common->nextFrm) {
621+ common->nextFrm =
622+ list_entry(common->
623+ dma_queue.next,
624+ struct
625+ videobuf_buffer,
626+ queue);
627+ list_del(&common->nextFrm->queue);
628+ common->nextFrm->state =
629+ VIDEOBUF_ACTIVE;
630+ addr = videobuf_to_dma_contig(common->
631+ nextFrm);
632+ ccdc_hw_dev.setfbaddr(addr);
633+ }
634+ }
635+ } else if (fid == 0) {
636+ /* recover from any hardware out-of-sync due to
637+ * possible switch of video source
638+ * for fid == 0, sync up the two fids
639+ * for fid == 1, no action, one bad frame will
640+ * go out, but it is not a big deal
641+ */
642+ channel->field_id = fid;
643+ }
644+ } else if (field == V4L2_FIELD_NONE) {
645+
646+ v4l2_dbg(1, debug, vpfe_dev->driver,
647+ "\nframe format is progressive...");
648+ if (common->curFrm != common->nextFrm) {
649+ /* Copy frame capture time value in curFrm->ts */
650+ common->curFrm->ts = timevalue;
651+ common->curFrm->state = VIDEOBUF_DONE;
652+ wake_up_interruptible(&common->curFrm->done);
653+ common->curFrm = common->nextFrm;
654+ }
655+
656+ }
657+ v4l2_dbg(1, debug, vpfe_dev->driver, "interrupt returned.\n");
658+ return IRQ_RETVAL(1);
659+}
660+
661+static irqreturn_t vdint1_isr(int irq, void *dev_id)
662+{
663+ struct channel_obj *channel = NULL;
664+ struct common_obj *common = NULL;
665+ struct vpfe_device *dev = dev_id;
666+ unsigned long addr;
667+ channel = dev->dev[VPFE_CHANNEL0_VIDEO];
668+ common = &(channel->common[VPFE_VIDEO_INDEX]);
669+
670+ v4l2_dbg(1, debug, vpfe_dev->driver, "\nInside vdint1_isr...");
671+
672+ if ((common->fmt.fmt.pix.field == V4L2_FIELD_NONE) &&
673+ !list_empty(&common->dma_queue) &&
674+ common->curFrm == common->nextFrm) {
675+ common->nextFrm =
676+ list_entry(common->dma_queue.next,
677+ struct videobuf_buffer, queue);
678+ list_del(&common->nextFrm->queue);
679+ common->nextFrm->state = VIDEOBUF_ACTIVE;
680+ addr = videobuf_to_dma_contig(common->nextFrm);
681+ ccdc_hw_dev.setfbaddr(addr);
682+ }
683+ return IRQ_RETVAL(1);
684+}
685+
686+static int vpfe_detach_irq(struct channel_obj *channel)
687+{
688+ enum ccdc_frmfmt frame_format;
689+ int err = 0;
690+
691+ /* First clear irq if already in use */
692+ switch (channel->irq_type) {
693+ case VPFE_USE_CCDC_IRQ:
694+ ccdc_hw_dev.get_frame_format(&frame_format);
695+ if (frame_format == CCDC_FRMFMT_PROGRESSIVE)
696+ free_irq(IRQ_VDINT1, &vpfe_obj);
697+ channel->irq_type = VPFE_NO_IRQ;
698+ break;
699+ case VPFE_NO_IRQ:
700+ break;
701+ default:
702+ return -1;
703+ }
704+ return err;
705+}
706+
707+static int vpfe_attach_irq(struct channel_obj *channel)
708+{
709+ enum ccdc_frmfmt frame_format;
710+ int err = 0;
711+
712+ channel->irq_type = VPFE_USE_CCDC_IRQ;
713+
714+ switch (channel->irq_type) {
715+ case VPFE_USE_CCDC_IRQ:
716+ {
717+ ccdc_hw_dev.get_frame_format(&frame_format);
718+ if (frame_format == CCDC_FRMFMT_PROGRESSIVE) {
719+ err =
720+ request_irq(channel->ccdc_irq1,
721+ vdint1_isr,
722+ IRQF_DISABLED,
723+ "vpfe_capture1",
724+ (void *)&vpfe_obj);
725+ if (err < 0)
726+ return -1;
727+ }
728+ }
729+ break;
730+ default:
731+ return -1;
732+ }
733+ return 0;
734+}
735+
736+/* vpfe_release : This function deletes buffer queue, frees the
737+ * buffers and the vpfe file handle
738+ */
739+static int vpfe_release(struct file *filep)
740+{
741+ int ret;
742+ struct common_obj *common = NULL;
743+ /* Get the channel object and file handle object */
744+ struct vpfe_fh *fh = filep->private_data;
745+ struct channel_obj *channel = fh->channel;
746+ struct v4l2_int_device *dec =
747+ channel->decoder[channel->current_decoder];
748+
749+ v4l2_dbg(1, debug, vpfe_dev->driver, "<vpfe_release>\n");
750+ common = &(channel->common[VPFE_VIDEO_INDEX]);
751+ /* If this is doing IO and other channels are not closed */
752+ if ((channel->usrs != 1) && fh->io_allowed[VPFE_VIDEO_INDEX]) {
753+ v4l2_err(vpfe_dev->driver, "Close other instances\n");
754+ return -EAGAIN;
755+ }
756+ /* Get the lock on channel object */
757+ ret = mutex_lock_interruptible(&common->lock);
758+ if (ret)
759+ return ret;
760+ /* if this instance is doing IO */
761+ if (fh->io_allowed[VPFE_VIDEO_INDEX]) {
762+ /* Reset io_usrs member of channel object */
763+ if (common->started) {
764+ ccdc_hw_dev.enable(0);
765+ if (ccdc_hw_dev.enable_out_to_sdram)
766+ ccdc_hw_dev.enable_out_to_sdram(0);
767+ if (vpfe_detach_irq(channel) < 0) {
768+ v4l2_err(vpfe_dev->driver,
769+ "Error in detaching IRQ\n");
770+ mutex_unlock(&common->lock);
771+ return -EFAULT;
772+ }
773+ }
774+
775+ common->io_usrs = 0;
776+ /* Disable channel/vbi as per its device type and channel id */
777+ common->started = 0;
778+ /* Free buffers allocated */
779+ common->numbuffers =
780+ config_params.numbuffers[channel->channel_id];
781+ }
782+
783+ /* Decrement channel usrs counter */
784+ channel->usrs--;
785+ /* unlock semaphore on channel object */
786+ mutex_unlock(&common->lock);
787+ /* Close the priority */
788+ v4l2_prio_close(&channel->prio, &fh->prio);
789+ /* If this file handle has initialize decoder device, reset it */
790+ if (fh->initialized) {
791+ vidioc_int_s_power(dec, 0);
792+ channel->initialized = 0;
793+ if (ccdc_hw_dev.close)
794+ ccdc_hw_dev.close(vpfe_dev);
795+ }
796+ filep->private_data = NULL;
797+ /* Free memory allocated to file handle object */
798+ kfree(fh);
799+
800+ v4l2_dbg(1, debug, vpfe_dev->driver, "</vpfe_release>\n");
801+ return 0;
802+}
803+
804+/* vpfe_mmap : It is used to map kernel space buffers
805+ * into user spaces
806+ */
807+static int vpfe_mmap(struct file *filep, struct vm_area_struct *vma)
808+{
809+ /* Get the channel object and file handle object */
810+ struct vpfe_fh *fh = filep->private_data;
811+ struct channel_obj *channel = fh->channel;
812+ struct common_obj *common;
813+ int err = 0;
814+ v4l2_dbg(1, debug, vpfe_dev->driver, "Start of vpfe mmap\n");
815+ common = &(channel->common[VPFE_VIDEO_INDEX]);
816+
817+ err = videobuf_mmap_mapper(&common->buffer_queue, vma);
818+ v4l2_dbg(1, debug, vpfe_dev->driver, "End of vpfe mmap\n");
819+ return err;
820+}
821+
822+/* vpfe_poll: It is used for select/poll system call
823+ */
824+static unsigned int vpfe_poll(struct file *filep, poll_table *wait)
825+{
826+ int err = 0;
827+ struct vpfe_fh *fh = filep->private_data;
828+ struct channel_obj *channel = fh->channel;
829+ struct common_obj *common = &(channel->common[VPFE_VIDEO_INDEX]);
830+
831+ v4l2_dbg(1, debug, vpfe_dev->driver, "<vpfe_poll>");
832+
833+ if (common->started)
834+ err = videobuf_poll_stream(filep, &common->buffer_queue, wait);
835+
836+ v4l2_dbg(1, debug, vpfe_dev->driver, "</vpfe_poll>");
837+ return err;
838+}
839+
840+/* vpfe capture driver file operations */
841+static struct v4l2_file_operations vpfe_fops = {
842+ .owner = THIS_MODULE,
843+ .open = vpfe_open,
844+ .release = vpfe_release,
845+ .ioctl = video_ioctl2,
846+ .mmap = vpfe_mmap,
847+ .poll = vpfe_poll
848+};
849+
850+static struct vpfe_pixel_format *
851+ vpfe_check_format(struct channel_obj *channel,
852+ struct v4l2_pix_format *pixfmt,
853+ int check)
854+{
855+ struct common_obj *common = &(channel->common[VPFE_VIDEO_INDEX]);
856+ struct video_obj *vid_ch = &(channel->video);
857+ struct vpfe_pixel_format *pix_fmt;
858+ enum vpfe_hw_pix_format hw_pix;
859+ int temp, found, hpitch, vpitch, bpp, min_height = 1,
860+ min_width = 32, max_width, max_height;
861+
862+
863+ temp = vpfe_lookup_hw_format(pixfmt->pixelformat);
864+ if (temp < 0) {
865+ if (check) {
866+ v4l2_err(vpfe_dev->driver, "invalid pixel format\n");
867+ return NULL;
868+ }
869+ /* if invalid and this is a try format, then use hw default */
870+ pixfmt->pixelformat = common->fmt.fmt.pix.pixelformat;
871+ /* Since this is hw default, we will find this pix format */
872+ temp = vpfe_lookup_hw_format(pixfmt->pixelformat);
873+
874+ } else {
875+ /* check if hw supports it */
876+ pix_fmt = &vpfe_pix_fmts[temp];
877+ temp = 0;
878+ found = 0;
879+ while (ccdc_hw_dev.enum_pix(&hw_pix, temp) >= 0) {
880+ if (pix_fmt->hw_fmt == hw_pix) {
881+ found = 1;
882+ break;
883+ }
884+ temp++;
885+ }
886+ if (!found) {
887+ if (check) {
888+ v4l2_err(vpfe_dev->driver, "hw doesn't"
889+ "support the pixel format\n");
890+ return NULL;
891+ }
892+ /* Since this is hw default, we will find this
893+ * pix format
894+ */
895+ pixfmt->pixelformat = common->fmt.fmt.pix.pixelformat;
896+ temp = vpfe_lookup_hw_format(pixfmt->pixelformat);
897+ }
898+ }
899+ pix_fmt = &vpfe_pix_fmts[temp];
900+ if (pixfmt->field == V4L2_FIELD_ANY) {
901+ /* if ANY set the field to match with decoder */
902+ pixfmt->field = common->fmt.fmt.pix.field;
903+ }
904+
905+ /* Try matching the field with the decoder scan field */
906+ if (common->fmt.fmt.pix.field != pixfmt->field) {
907+ if (!(VPFE_VALID_FIELD(pixfmt->field)) && check) {
908+ v4l2_err(vpfe_dev->driver, "invalid field format\n");
909+ return NULL;
910+ }
911+ if (common->fmt.fmt.pix.field == V4L2_FIELD_INTERLACED) {
912+ if (pixfmt->field != V4L2_FIELD_SEQ_TB) {
913+ if (check) {
914+ v4l2_err(vpfe_dev->driver,
915+ "invalid field format\n");
916+ return NULL;
917+ }
918+ pixfmt->field = common->fmt.fmt.pix.field;
919+ }
920+ } else if (common->fmt.fmt.pix.field == V4L2_FIELD_NONE) {
921+ if (check) {
922+ v4l2_err(vpfe_dev->driver,
923+ "invalid field format\n");
924+ return NULL;
925+ }
926+ pixfmt->field = common->fmt.fmt.pix.field;
927+ } else
928+ pixfmt->field = common->fmt.fmt.pix.field;
929+ }
930+
931+ if (pixfmt->field == V4L2_FIELD_INTERLACED)
932+ min_height = 2;
933+
934+ max_width = vid_ch->std_info.activepixels;
935+ max_height = vid_ch->std_info.activelines;
936+ if ((pixfmt->pixelformat == V4L2_PIX_FMT_SBGGR8) ||
937+ (pixfmt->pixelformat == V4L2_PIX_FMT_NV12) ||
938+ (pixfmt->pixelformat == V4L2_PIX_FMT_SGRBG10DPCM8))
939+ bpp = 1;
940+ else
941+ bpp = 2;
942+ min_width /= bpp;
943+ hpitch = pixfmt->width;
944+ vpitch = pixfmt->height;
945+ v4l2_info(vpfe_dev->driver, "hpitch = %d, vpitch = %d, bpp = %d\n",
946+ hpitch, vpitch, bpp);
947+ if (hpitch < min_width)
948+ hpitch = min_width;
949+ if (vpitch < min_width)
950+ vpitch = min_height;
951+
952+ /* Check for upper limits of pitch */
953+ if (hpitch > max_width)
954+ hpitch = max_width;
955+ if (vpitch > max_height)
956+ vpitch = max_height;
957+
958+ /* recalculate bytesperline and sizeimage since width
959+ * and height might have changed
960+ */
961+ pixfmt->bytesperline = (((hpitch * bpp) + 31) & ~31);
962+ if (pixfmt->pixelformat == V4L2_PIX_FMT_NV12)
963+ pixfmt->sizeimage = pixfmt->bytesperline * vpitch +
964+ ((pixfmt->bytesperline * vpitch) >> 1);
965+ else
966+ pixfmt->sizeimage = pixfmt->bytesperline * vpitch;
967+ pixfmt->width = hpitch;
968+ pixfmt->height = vpitch;
969+ v4l2_info(vpfe_dev->driver, "adjusted hpitch = %d, vpitch ="
970+ " %d, bpp = %d\n", hpitch, vpitch, bpp);
971+ return pix_fmt;
972+}
973+
974+static int vpfe_querycap(struct file *file, void *priv,
975+ struct v4l2_capability *cap)
976+{
977+ struct vpfe_fh *fh = file->private_data;
978+ struct channel_obj *channel = fh->channel;
979+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_QUERYCAP\n");
980+ memset(cap, 0, sizeof(*cap));
981+ if ((VPFE_CHANNEL0_VIDEO == channel->channel_id))
982+ *cap = vpfe_videocap;
983+ else
984+ return -EINVAL;
985+ return 0;
986+}
987+
988+static int vpfe_g_fmt_vid_cap(struct file *file, void *priv,
989+ struct v4l2_format *fmt)
990+{
991+ int ret = 0;
992+ struct vpfe_fh *fh = file->private_data;
993+ struct channel_obj *channel = fh->channel;
994+ struct common_obj *common = NULL;
995+ common = &(channel->common[VPFE_VIDEO_INDEX]);
996+
997+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_G_FMT\n");
998+ /* Fill in the information about
999+ * format
1000+ */
1001+ ret = mutex_lock_interruptible(&(common->lock));
1002+ if (ret)
1003+ goto lock_out;
1004+ *fmt = common->fmt;
1005+lock_out:
1006+ mutex_unlock(&(common->lock));
1007+ return ret;
1008+}
1009+
1010+static int vpfe_enum_fmt_vid_cap(struct file *file, void *priv,
1011+ struct v4l2_fmtdesc *fmt)
1012+{
1013+ int ret;
1014+ enum vpfe_hw_pix_format hw_pix;
1015+
1016+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_ENUM_FMT\n");
1017+ /* Fill in the information about format */
1018+ fmt->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
1019+ ret = ccdc_hw_dev.enum_pix(&hw_pix, fmt->index);
1020+ if (!ret) {
1021+ ret = vpfe_lookup_v4l2_pix_format(hw_pix);
1022+ if (ret >= 0) {
1023+ strcpy(fmt->description, vpfe_pix_fmts[ret].desc);
1024+ fmt->pixelformat = vpfe_pix_fmts[ret].pix_fmt;
1025+ ret = 0;
1026+ }
1027+ }
1028+ return ret;
1029+}
1030+
1031+static int vpfe_s_fmt_vid_cap(struct file *file, void *priv,
1032+ struct v4l2_format *fmt)
1033+{
1034+ struct vpfe_fh *fh = file->private_data;
1035+ struct channel_obj *channel = fh->channel;
1036+ struct common_obj *common = NULL;
1037+ struct v4l2_rect win;
1038+ struct vpfe_pixel_format *pix_fmts;
1039+ int ret = 0;
1040+ common = &(channel->common[VPFE_VIDEO_INDEX]);
1041+
1042+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_S_FMT\n");
1043+ /* If streaming is started, return error */
1044+ if (common->started) {
1045+ v4l2_err(vpfe_dev->driver, "Streaming is started\n");
1046+ ret = -EBUSY;
1047+ goto out;
1048+ }
1049+ /* Check for valid frame format */
1050+ pix_fmts = vpfe_check_format(channel, &fmt->fmt.pix, 1);
1051+
1052+ if (ISNULL(pix_fmts)) {
1053+ ret = -EINVAL;
1054+ goto out;
1055+ }
1056+
1057+ /* store the pixel format in the channel
1058+ * object */
1059+ ret = mutex_lock_interruptible(&common->lock);
1060+ if (ret)
1061+ goto out;
1062+
1063+ /* First detach any IRQ if currently attached */
1064+ if (vpfe_detach_irq(channel) < 0) {
1065+ v4l2_err(vpfe_dev->driver, "Error in detaching IRQ\n");
1066+ ret = -EFAULT;
1067+ goto lock_out;
1068+ }
1069+
1070+ common->fmt = *fmt;
1071+
1072+ /* we are using same variable for setting crop window
1073+ * at ccdc. For ccdc, this is same as
1074+ * image window
1075+ */
1076+ ccdc_hw_dev.get_image_window(&win);
1077+ win.width = common->fmt.fmt.pix.width;
1078+ win.height = common->fmt.fmt.pix.height;
1079+ ccdc_hw_dev.set_image_window(&win);
1080+
1081+ /* In this case, image window and crop window are
1082+ * the same
1083+ */
1084+ if (common->fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_SBGGR16)
1085+ ccdc_hw_dev.set_pixelformat(VPFE_BAYER);
1086+ else if (common->fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_SBGGR8)
1087+ ccdc_hw_dev.set_pixelformat(VPFE_BAYER_8BIT_PACK_ALAW);
1088+ else if (common->fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_UYVY)
1089+ ccdc_hw_dev.set_pixelformat(VPFE_UYVY);
1090+ else if (common->fmt.fmt.pix.pixelformat == V4L2_PIX_FMT_YUYV)
1091+ ccdc_hw_dev.set_pixelformat(VPFE_YUYV);
1092+ else {
1093+ /* invalid pix format */
1094+ ret = -EINVAL;
1095+ goto lock_out;
1096+ }
1097+ if (common->fmt.fmt.pix.field ==
1098+ V4L2_FIELD_INTERLACED) {
1099+ ccdc_hw_dev.set_buftype(CCDC_BUFTYPE_FLD_INTERLEAVED);
1100+ ccdc_hw_dev.set_frame_format(CCDC_FRMFMT_INTERLACED);
1101+ } else if (common->fmt.fmt.pix.field ==
1102+ V4L2_FIELD_SEQ_TB) {
1103+ ccdc_hw_dev.set_buftype(CCDC_BUFTYPE_FLD_SEPARATED);
1104+ ccdc_hw_dev.set_frame_format(CCDC_FRMFMT_INTERLACED);
1105+ } else if (common->fmt.fmt.pix.field == V4L2_FIELD_NONE)
1106+ ccdc_hw_dev.set_frame_format(CCDC_FRMFMT_PROGRESSIVE);
1107+ else {
1108+ v4l2_err(vpfe_dev->driver, "\n field error!");
1109+ ret = -EINVAL;
1110+ }
1111+lock_out:
1112+ mutex_unlock(&common->lock);
1113+out:
1114+ return ret;
1115+}
1116+
1117+static int vpfe_try_fmt_vid_cap(struct file *file, void *priv,
1118+ struct v4l2_format *f)
1119+{
1120+ struct vpfe_fh *fh = file->private_data;
1121+ struct channel_obj *channel = fh->channel;
1122+ struct vpfe_pixel_format *pix_fmts;
1123+
1124+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_TRY_FMT\n");
1125+
1126+ pix_fmts = vpfe_check_format(channel, &f->fmt.pix, 0);
1127+ if (ISNULL(pix_fmts))
1128+ return -EINVAL;
1129+ return 0;
1130+}
1131+
1132+static void vpfe_config_format(struct channel_obj *ch)
1133+{
1134+ struct common_obj *common = &(ch->common[VPFE_VIDEO_INDEX]);
1135+ struct v4l2_rect win;
1136+ struct video_obj *vid_ch = NULL;
1137+
1138+ vid_ch = &(ch->video);
1139+ common->crop.top = 0;
1140+ common->crop.top = 0;
1141+ common->crop.width = common->fmt.fmt.pix.width =
1142+ vid_ch->std_info.activepixels;
1143+ common->crop.height = common->fmt.fmt.pix.height =
1144+ vid_ch->std_info.activelines;
1145+ win.top = common->crop.top;
1146+ win.left = common->crop.left;
1147+ win.width = common->fmt.fmt.pix.width;
1148+ win.height = common->fmt.fmt.pix.height;
1149+ ccdc_hw_dev.set_image_window(&win);
1150+ if (vid_ch->std_info.frame_format) {
1151+ common->fmt.fmt.pix.field = V4L2_FIELD_INTERLACED;
1152+ ccdc_hw_dev.set_frame_format(CCDC_FRMFMT_INTERLACED);
1153+ ccdc_hw_dev.set_buftype(CCDC_BUFTYPE_FLD_INTERLEAVED);
1154+ } else {
1155+ common->fmt.fmt.pix.field = V4L2_FIELD_NONE;
1156+ ccdc_hw_dev.set_frame_format(CCDC_FRMFMT_PROGRESSIVE);
1157+ }
1158+ ccdc_hw_dev.get_line_length(&common->fmt.fmt.pix.bytesperline);
1159+ common->fmt.fmt.pix.sizeimage = common->fmt.fmt.pix.bytesperline *
1160+ common->fmt.fmt.pix.height;
1161+}
1162+
1163+static int vpfe_enum_input(struct file *file, void *priv,
1164+ struct v4l2_input *inp)
1165+{
1166+ struct vpfe_fh *fh = file->private_data;
1167+ struct channel_obj *channel = fh->channel;
1168+ struct vpfe_capture_input *vpfe_inputs = channel->video.input;
1169+ int ret = -EINVAL;
1170+
1171+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_ENUMINPUT\n");
1172+
1173+ if (inp->index > vpfe_inputs->num_inputs)
1174+ return ret;
1175+
1176+ if (vpfe_inputs->inputs[inp->index].input.name[0]) {
1177+ memcpy(inp, &vpfe_inputs->inputs[inp->index].input,
1178+ sizeof(struct v4l2_input));
1179+ return 0;
1180+ }
1181+ return ret;
1182+}
1183+
1184+static int vpfe_g_input(struct file *file, void *priv, unsigned int *index)
1185+{
1186+ struct vpfe_fh *fh = file->private_data;
1187+ struct channel_obj *channel = fh->channel;
1188+ struct common_obj *common =
1189+ &(channel->common[VPFE_VIDEO_INDEX]);
1190+ struct vpfe_capture_input *vpfe_inputs = channel->video.input;
1191+ int ret = 0;
1192+
1193+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_G_INPUT\n");
1194+ ret = mutex_lock_interruptible(&common->lock);
1195+ if (!ret)
1196+ *index = vpfe_inputs->current_input;
1197+ mutex_unlock(&common->lock);
1198+ return ret;
1199+}
1200+
1201+
1202+static int vpfe_s_input(struct file *file, void *priv, unsigned int index)
1203+{
1204+ int i, ret = -EINVAL;
1205+ v4l2_std_id std_id;
1206+ struct vpfe_fh *fh = file->private_data;
1207+ struct channel_obj *channel = fh->channel;
1208+ struct v4l2_int_device *new_dec, *curr_dec =
1209+ channel->decoder[channel->current_decoder];
1210+ struct common_obj *common =
1211+ &(channel->common[VPFE_VIDEO_INDEX]);
1212+ struct vpfe_capture_input *vpfe_inputs = channel->video.input;
1213+ char *new_dec_name;
1214+
1215+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_S_INPUT\n");
1216+ if (index > vpfe_inputs->num_inputs) {
1217+ v4l2_err(vpfe_dev->driver, "input index exceeds limit\n");
1218+ return ret;
1219+ }
1220+
1221+ if (!vpfe_inputs->inputs[index].input.name[0]) {
1222+ v4l2_err(vpfe_dev->driver, "input index exceeds limit\n");
1223+ return ret;
1224+ }
1225+
1226+ ret = mutex_lock_interruptible(&common->lock);
1227+ if (ret)
1228+ goto out;
1229+ /* If streaming is started return device busy
1230+ * error
1231+ */
1232+ if (common->started) {
1233+ v4l2_err(vpfe_dev->driver, "Streaming is on\n");
1234+ ret = -EBUSY;
1235+ goto lock_out;
1236+ }
1237+ new_dec_name = vpfe_inputs->inputs[index].dec_name;
1238+ /* switch in new decoder to be active */
1239+ if (strcmp(new_dec_name, curr_dec->name)) {
1240+ for (i = 0; i < VPFE_CAPTURE_NUM_DECODERS; i++) {
1241+ if (channel->decoder[i] &&
1242+ !strcmp(new_dec_name,
1243+ channel->decoder[i]->name)) {
1244+ new_dec = channel->decoder[i];
1245+ channel->current_decoder = i;
1246+ /* Deinitialize the previous decoder
1247+ * and power down
1248+ */
1249+ vidioc_int_s_power(curr_dec, 0);
1250+
1251+ ret = vidioc_int_s_power(new_dec, 1);
1252+ if (ret)
1253+ goto lock_out;
1254+ ret = vidioc_int_init(new_dec);
1255+ if (ret)
1256+ goto lock_out;
1257+ curr_dec = new_dec;
1258+ }
1259+ }
1260+
1261+ if (i == VPFE_CAPTURE_NUM_DECODERS)
1262+ /* couldn't find the decoder */
1263+ goto lock_out;
1264+ }
1265+ ret = 0;
1266+ /* Set the input in the decoder */
1267+ if (vpfe_inputs->inputs[index].routing_supported)
1268+ ret = vidioc_int_s_video_routing(curr_dec,
1269+ &vpfe_inputs->inputs[index].route);
1270+
1271+ if (ret) {
1272+ v4l2_err(vpfe_dev->driver,
1273+ "vpfe_doioctl:error in setting input in decoder \n");
1274+ ret = -EINVAL;
1275+ goto lock_out;
1276+ }
1277+
1278+ vpfe_inputs->current_input = index;
1279+ ret = vpfe_set_hw_if_type(channel);
1280+ if (ret)
1281+ goto lock_out;
1282+
1283+ ret = vpfe_config_default_format(channel);
1284+ if (ret)
1285+ goto lock_out;
1286+
1287+ /* Detect default standard */
1288+ ret = vidioc_int_querystd(curr_dec, &std_id);
1289+ if (!ret)
1290+ ret = vpfe_get_stdinfo(channel, &std_id);
1291+
1292+ if (ret)
1293+ goto lock_out;
1294+
1295+ vpfe_config_format(channel);
1296+lock_out:
1297+ mutex_unlock(&common->lock);
1298+out:
1299+ return ret;
1300+}
1301+
1302+static int vpfe_querystd(struct file *file, void *priv, v4l2_std_id *std_id)
1303+{
1304+ int ret = 0;
1305+ struct vpfe_fh *fh = file->private_data;
1306+ struct channel_obj *channel = fh->channel;
1307+ struct common_obj *common =
1308+ &(channel->common[VPFE_VIDEO_INDEX]);
1309+ struct v4l2_int_device *dec =
1310+ channel->decoder[channel->current_decoder];
1311+ ret = mutex_lock_interruptible(&common->lock);
1312+ if (ret)
1313+ goto lock_out;
1314+ /* Call querystd function of decoder device */
1315+ ret = vidioc_int_querystd(dec, std_id);
1316+ /* Set format based on the standard selected */
1317+ if (!ret)
1318+ ret = vpfe_get_stdinfo(channel, std_id);
1319+ vpfe_config_format(channel);
1320+lock_out:
1321+ mutex_unlock(&common->lock);
1322+ return ret;
1323+}
1324+
1325+static int vpfe_s_std(struct file *file, void *priv, v4l2_std_id *std_id)
1326+{
1327+ int ret = 0;
1328+ struct vpfe_fh *fh = file->private_data;
1329+ struct channel_obj *channel = fh->channel;
1330+ struct common_obj *common =
1331+ &(channel->common[VPFE_VIDEO_INDEX]);
1332+ struct v4l2_int_device *dec =
1333+ channel->decoder[channel->current_decoder];
1334+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_S_STD\n");
1335+
1336+ /* If streaming is started, return device
1337+ busy error */
1338+ if (common->started) {
1339+ v4l2_err(vpfe_dev->driver, "streaming is started\n");
1340+ ret = -EBUSY;
1341+ goto out;
1342+ }
1343+ /* Call decoder driver function to set the
1344+ standard */
1345+ ret = mutex_lock_interruptible(&common->lock);
1346+ if (ret)
1347+ goto out;
1348+ ret = vidioc_int_s_std(dec, std_id);
1349+
1350+ /* If it returns error, return error */
1351+ if (!ret)
1352+ ret = vpfe_get_stdinfo(channel, std_id);
1353+
1354+ if (!ret)
1355+ vpfe_config_format(channel);
1356+out:
1357+ mutex_unlock(&common->lock);
1358+ return ret;
1359+}
1360+
1361+static int vpfe_g_std(struct file *file, void *priv, v4l2_std_id *std_id)
1362+{
1363+ struct vpfe_fh *fh = file->private_data;
1364+ struct channel_obj *channel = fh->channel;
1365+ struct v4l2_int_device *dec =
1366+ channel->decoder[channel->current_decoder];
1367+ int ret;
1368+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_G_STD\n");
1369+ ret = vidioc_int_querystd(dec, std_id);
1370+ if (ret)
1371+ goto out;
1372+
1373+ ret = vpfe_get_stdinfo(channel, std_id);
1374+ if (!ret)
1375+ vpfe_config_format(channel);
1376+out:
1377+ return ret;
1378+}
1379+/*
1380+ * Videobuf operations
1381+ */
1382+static int vpfe_videobuf_setup(struct videobuf_queue *vq,
1383+ unsigned int *count,
1384+ unsigned int *size)
1385+{
1386+ /* Get the file handle object and channel object */
1387+ struct vpfe_fh *fh = vq->priv_data;
1388+ struct channel_obj *channel = fh->channel;
1389+ v4l2_dbg(1, debug, vpfe_dev->driver, "<vpfe_buffer_setup>\n");
1390+ *size = config_params.channel_bufsize[channel->channel_id];
1391+
1392+ if (*count < config_params.min_numbuffers)
1393+ *count = config_params.min_numbuffers;
1394+ v4l2_dbg(1, debug, vpfe_dev->driver,
1395+ "count=%d, size=%d\n", *count, *size);
1396+ return 0;
1397+}
1398+
1399+static int vpfe_videobuf_prepare(struct videobuf_queue *vq,
1400+ struct videobuf_buffer *vb,
1401+ enum v4l2_field field)
1402+{
1403+ int ret = 0;
1404+ /* Get the file handle object and channel object */
1405+ struct vpfe_fh *fh = vq->priv_data;
1406+ struct channel_obj *channel = fh->channel;
1407+ struct common_obj *common;
1408+ unsigned long addr;
1409+
1410+ v4l2_dbg(1, debug, vpfe_dev->driver, "<vpfe_buffer_prepare>\n");
1411+
1412+ common = &(channel->common[VPFE_VIDEO_INDEX]);
1413+
1414+ if (V4L2_MEMORY_USERPTR == common->memory) {
1415+ /* we don't support user ptr IO */
1416+ v4l2_dbg(1, debug, vpfe_dev->driver,
1417+ "<vpfe_buffer_prepare: USERPTR IO"
1418+ " not supported>\n");
1419+ ret = -EINVAL;
1420+ goto out;
1421+ }
1422+
1423+ /* If buffer is not initialized, initialize it */
1424+ if (VIDEOBUF_NEEDS_INIT == vb->state) {
1425+ vb->width = common->width;
1426+ vb->height = common->height;
1427+ vb->size = vb->width * vb->height * 2;
1428+ vb->field = field;
1429+ }
1430+ addr = videobuf_to_dma_contig(vb);
1431+ if (vq->streaming) {
1432+ if (!ISALIGNED(addr)) {
1433+ v4l2_err(vpfe_dev->driver, "buffer_prepare:offset is"
1434+ "not aligned to 32 bytes\n");
1435+ ret = -EINVAL;
1436+ goto out;
1437+ }
1438+ }
1439+ vb->state = VIDEOBUF_PREPARED;
1440+ v4l2_dbg(1, debug, vpfe_dev->driver, "</vpfe_buffer_prepare>\n");
1441+out:
1442+ return ret;
1443+}
1444+
1445+static void vpfe_videobuf_queue(struct videobuf_queue *vq,
1446+ struct videobuf_buffer *vb)
1447+{
1448+ /* Get the file handle object and channel object */
1449+ struct vpfe_fh *fh = vq->priv_data;
1450+ struct channel_obj *channel = fh->channel;
1451+ struct common_obj *common = NULL;
1452+
1453+ v4l2_dbg(1, debug, vpfe_dev->driver, "<vpfe_buffer_queue>\n");
1454+ common = &(channel->common[VPFE_VIDEO_INDEX]);
1455+
1456+ /* add the buffer to the DMA queue */
1457+ list_add_tail(&vb->queue, &common->dma_queue);
1458+ /* Change state of the buffer */
1459+ vb->state = VIDEOBUF_QUEUED;
1460+ v4l2_dbg(1, debug, vpfe_dev->driver, "</vpfe_buffer_queue>\n");
1461+}
1462+
1463+static void vpfe_videobuf_release(struct videobuf_queue *vq,
1464+ struct videobuf_buffer *vb)
1465+{
1466+ v4l2_dbg(1, debug, vpfe_dev->driver, "vpfe_videobuf_release\n");
1467+ videobuf_dma_contig_free(vq, vb);
1468+ vb->state = VIDEOBUF_NEEDS_INIT;
1469+}
1470+
1471+static struct videobuf_queue_ops vpfe_videobuf_qops = {
1472+ .buf_setup = vpfe_videobuf_setup,
1473+ .buf_prepare = vpfe_videobuf_prepare,
1474+ .buf_queue = vpfe_videobuf_queue,
1475+ .buf_release = vpfe_videobuf_release,
1476+};
1477+
1478+static int vpfe_reqbufs(struct file *file, void *priv,
1479+ struct v4l2_requestbuffers *p)
1480+{
1481+ int ret = 0;
1482+ struct vpfe_fh *fh = file->private_data;
1483+ struct channel_obj *channel = fh->channel;
1484+ struct common_obj *common = NULL;
1485+ enum v4l2_field field;
1486+
1487+ v4l2_dbg(1, debug, vpfe_dev->driver, "<vpfe_buffer_queue>\n");
1488+ common = &(channel->common[VPFE_VIDEO_INDEX]);
1489+
1490+ v4l2_dbg(1, debug, vpfe_dev->driver, "\nEnd of VIDIOC_REQBUFS ioctl");
1491+
1492+ if (V4L2_BUF_TYPE_VIDEO_CAPTURE != p->type) {
1493+ ret = -EINVAL;
1494+ goto out;
1495+ }
1496+ if (common->io_usrs != 0) {
1497+ ret = -EBUSY;
1498+ goto out;
1499+ }
1500+
1501+ ret = mutex_lock_interruptible(&common->lock);
1502+ if (ret)
1503+ goto out;
1504+
1505+ if (common->fmt.fmt.pix.field != V4L2_FIELD_ANY)
1506+ field = common->fmt.fmt.pix.field;
1507+ else if (channel->vpfe_if == VPFE_RAW_BAYER)
1508+ field = V4L2_FIELD_NONE;
1509+ else
1510+ field = V4L2_FIELD_INTERLACED;
1511+
1512+ videobuf_queue_dma_contig_init(&common->buffer_queue,
1513+ &vpfe_videobuf_qops,
1514+ NULL,
1515+ &common->irqlock,
1516+ p->type,
1517+ field,
1518+ sizeof(struct videobuf_buffer),
1519+ fh);
1520+
1521+ fh->io_allowed[VPFE_VIDEO_INDEX] = 1;
1522+ common->io_usrs = 1;
1523+ INIT_LIST_HEAD(&common->dma_queue);
1524+ ret = videobuf_reqbufs(&common->buffer_queue, p);
1525+ mutex_unlock(&common->lock);
1526+out:
1527+ return ret;
1528+}
1529+
1530+static int vpfe_querybuf(struct file *file, void *priv,
1531+ struct v4l2_buffer *p)
1532+{
1533+
1534+ struct vpfe_fh *fh = file->private_data;
1535+ struct channel_obj *channel = fh->channel;
1536+ struct common_obj *common = NULL;
1537+ int ret = 0;
1538+ u8 buf_type_index = 0;
1539+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_QUERYBUF\n");
1540+ buf_type_index = VPFE_VIDEO_INDEX;
1541+ if (V4L2_BUF_TYPE_VIDEO_CAPTURE != p->type) {
1542+ v4l2_err(vpfe_dev->driver,
1543+ "VIDIOC_QUERYBUF:Invalid buf type\n");
1544+ ret = -EINVAL;
1545+ goto out;
1546+ }
1547+ common = &(channel->common[buf_type_index]);
1548+ if (p->memory != V4L2_MEMORY_MMAP) {
1549+ v4l2_err(vpfe_dev->driver,
1550+ "VIDIOC_QUERYBUF:Invalid memory\n");
1551+ ret = -EINVAL;
1552+ goto out;
1553+ }
1554+ /* Call videobuf_querybuf to get information */
1555+ return videobuf_querybuf(&common->buffer_queue, p);
1556+out:
1557+ return ret;
1558+}
1559+
1560+static int vpfe_qbuf(struct file *file, void *priv,
1561+ struct v4l2_buffer *p)
1562+{
1563+ struct vpfe_fh *fh = file->private_data;
1564+ struct channel_obj *channel = fh->channel;
1565+ struct common_obj *common = NULL;
1566+ int buf_type_index, ret = 0;
1567+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_QBUF\n");
1568+ buf_type_index = VPFE_VIDEO_INDEX;
1569+ if (V4L2_BUF_TYPE_VIDEO_CAPTURE != p->type) {
1570+ v4l2_err(vpfe_dev->driver, "VIDIOC_QBUF:Invalid buf type\n");
1571+ ret = -EINVAL;
1572+ goto out;
1573+ }
1574+ common = &(channel->common[buf_type_index]);
1575+
1576+ /* If this file handle is not allowed to do IO,
1577+ * return error
1578+ */
1579+ if (!fh->io_allowed[buf_type_index]) {
1580+ v4l2_err(vpfe_dev->driver, "fh->io_allowed\n");
1581+ ret = -EACCES;
1582+ goto out;
1583+ }
1584+ return videobuf_qbuf(&common->buffer_queue, p);
1585+out:
1586+ return ret;
1587+}
1588+static int vpfe_dqbuf(struct file *file, void *priv,
1589+ struct v4l2_buffer *p)
1590+{
1591+ struct vpfe_fh *fh = file->private_data;
1592+ struct channel_obj *channel = fh->channel;
1593+ struct common_obj *common = NULL;
1594+ int buf_type_index = 0, ret = 0;
1595+ buf_type_index = VPFE_VIDEO_INDEX;
1596+ common = &(channel->common[buf_type_index]);
1597+
1598+ if (V4L2_BUF_TYPE_VIDEO_CAPTURE != p->type) {
1599+ v4l2_err(vpfe_dev->driver, "VIDIOC_DQBUF:Invalid buf type\n");
1600+ ret = -EINVAL;
1601+ goto out;
1602+ }
1603+ if (file->f_flags & O_NONBLOCK)
1604+ ret = videobuf_dqbuf(&common->buffer_queue, p, 1);
1605+ else
1606+ ret = videobuf_dqbuf(&common->buffer_queue, p, 0);
1607+out:
1608+ return ret;
1609+}
1610+
1611+/* vpfe_calculate_offsets : This function calculates buffers offset
1612+ * for top and bottom field
1613+ */
1614+static void vpfe_calculate_offsets(struct channel_obj *channel)
1615+{
1616+ struct common_obj *common = &(channel->common[VPFE_VIDEO_INDEX]);
1617+
1618+ struct v4l2_rect image_win;
1619+
1620+ v4l2_dbg(1, debug, vpfe_dev->driver, "<vpfe_calculate_offsets>\n");
1621+
1622+ common->field_off = 0;
1623+ ccdc_hw_dev.get_image_window(&image_win);
1624+ common->field_off = (image_win.height - 2) * image_win.width;
1625+ v4l2_dbg(1, debug, vpfe_dev->driver, "</vpfe_calculate_offsets>\n");
1626+}
1627+
1628+static int vpfe_streamon(struct file *file, void *priv,
1629+ enum v4l2_buf_type i)
1630+{
1631+ int ret = 0;
1632+ struct vpfe_fh *fh = file->private_data;
1633+ struct channel_obj *channel = fh->channel;
1634+ struct common_obj *common = NULL;
1635+ int buf_type_index = VPFE_VIDEO_INDEX;
1636+ unsigned long addr;
1637+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_STREAMON\n");
1638+ if (V4L2_BUF_TYPE_VIDEO_CAPTURE != i) {
1639+ v4l2_err(vpfe_dev->driver,
1640+ "VIDIOC_STREAMON:Invalid buf type\n");
1641+ ret = -EINVAL;
1642+ goto out;
1643+ }
1644+ common = &(channel->common[buf_type_index]);
1645+ /* If file handle is not allowed IO,
1646+ * return error
1647+ */
1648+ if (!fh->io_allowed[buf_type_index]) {
1649+ v4l2_err(vpfe_dev->driver, "fh->io_allowed\n");
1650+ ret = -EACCES;
1651+ goto out;
1652+ }
1653+ /* If Streaming is already started,
1654+ * return error
1655+ */
1656+ if (common->started) {
1657+ v4l2_err(vpfe_dev->driver, "channel->started\n");
1658+ ret = -EBUSY;
1659+ goto out;
1660+ }
1661+ /* Call videobuf_streamon to start streaming
1662+ * in videobuf
1663+ */
1664+ ret = videobuf_streamon(&common->buffer_queue);
1665+ if (ret)
1666+ goto out;
1667+
1668+ ret = mutex_lock_interruptible(&common->lock);
1669+ if (ret)
1670+ goto out;
1671+ /* If buffer queue is empty, return error */
1672+ if (list_empty(&common->dma_queue)) {
1673+ v4l2_err(vpfe_dev->driver, "buffer queue is empty\n");
1674+ ret = -EIO;
1675+ goto lock_out;
1676+ }
1677+ /* Get the next frame from the buffer queue */
1678+ common->nextFrm = common->curFrm =
1679+ list_entry(common->dma_queue.next,
1680+ struct videobuf_buffer, queue);
1681+ /* Remove buffer from the buffer queue */
1682+ list_del(&common->curFrm->queue);
1683+ /* Mark state of the current frame to active */
1684+ common->curFrm->state = VIDEOBUF_ACTIVE;
1685+ /* Initialize field_id and started member */
1686+ channel->field_id = 0;
1687+ common->started = 1;
1688+
1689+ addr = videobuf_to_dma_contig(common->curFrm);
1690+
1691+ /* Calculate field offset */
1692+ vpfe_calculate_offsets(channel);
1693+
1694+ if (vpfe_attach_irq(channel) < 0) {
1695+ v4l2_err(vpfe_dev->driver,
1696+ "Error in attaching interrupt handle\n");
1697+ ret = -EFAULT;
1698+ goto lock_out;
1699+ }
1700+
1701+ ccdc_hw_dev.configure();
1702+ ccdc_hw_dev.setfbaddr((unsigned long)(addr));
1703+ ccdc_hw_dev.enable(1);
1704+ if (ccdc_hw_dev.enable_out_to_sdram)
1705+ ccdc_hw_dev.enable_out_to_sdram(1);
1706+lock_out:
1707+ mutex_unlock(&common->lock);
1708+out:
1709+ return ret;
1710+}
1711+
1712+static int vpfe_streamoff(struct file *file, void *priv,
1713+ enum v4l2_buf_type i)
1714+{
1715+ struct vpfe_fh *fh = file->private_data;
1716+ struct channel_obj *channel = fh->channel;
1717+ struct common_obj *common = NULL;
1718+ int buf_type_index = VPFE_VIDEO_INDEX, ret = 0;
1719+ if (V4L2_BUF_TYPE_VIDEO_CAPTURE != i) {
1720+ v4l2_err(vpfe_dev->driver,
1721+ "VIDIOC_STREAMOFF:Invalid buf type\n");
1722+ return -EINVAL;
1723+ }
1724+ common = &(channel->common[buf_type_index]);
1725+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_STREAMOFF\n");
1726+ /* If io is allowed for this file handle,
1727+ * return error
1728+ */
1729+ if (!fh->io_allowed[buf_type_index]) {
1730+ v4l2_err(vpfe_dev->driver, "fh->io_allowed\n");
1731+ ret = -EACCES;
1732+ goto out;
1733+ }
1734+ /* If streaming is not started, return error */
1735+ if (!common->started) {
1736+ v4l2_err(vpfe_dev->driver, "channel->started\n");
1737+ ret = -EINVAL;
1738+ goto out;
1739+ }
1740+ ret = mutex_lock_interruptible(&common->lock);
1741+ if (ret)
1742+ goto out;
1743+ common->started = 0;
1744+ ccdc_hw_dev.enable(0);
1745+ if (ccdc_hw_dev.enable_out_to_sdram)
1746+ ccdc_hw_dev.enable_out_to_sdram(0);
1747+ if (vpfe_detach_irq(channel) < 0) {
1748+ v4l2_err(vpfe_dev->driver,
1749+ "Error in detaching interrupt handler\n");
1750+ mutex_unlock(&common->lock);
1751+ ret = -EFAULT;
1752+ goto lock_out;
1753+ }
1754+ ret = videobuf_streamoff(&common->buffer_queue);
1755+lock_out:
1756+ mutex_unlock(&common->lock);
1757+out:
1758+ return ret;
1759+}
1760+
1761+static int vpfe_queryctrl(struct file *file, void *priv,
1762+ struct v4l2_queryctrl *qc)
1763+{
1764+ struct vpfe_fh *fh = file->private_data;
1765+ struct channel_obj *channel = fh->channel;
1766+ struct v4l2_int_device *dec =
1767+ channel->decoder[channel->current_decoder];
1768+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_QUERYCTRL\n");
1769+ /* Call queryctrl function of decoder device */
1770+ return vidioc_int_queryctrl(dec, qc);
1771+}
1772+
1773+static int vpfe_g_ctrl(struct file *file, void *priv,
1774+ struct v4l2_control *ctrl)
1775+{
1776+ struct vpfe_fh *fh = file->private_data;
1777+ struct channel_obj *channel = fh->channel;
1778+ struct v4l2_int_device *dec =
1779+ channel->decoder[channel->current_decoder];
1780+ struct common_obj *common =
1781+ &(channel->common[VPFE_VIDEO_INDEX]);
1782+ int ret = 0;
1783+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_G_CTRL\n");
1784+ /* Call getcontrol function of decoder device */
1785+ ret = mutex_lock_interruptible(&common->lock);
1786+ if (ret)
1787+ return ret;
1788+ ret = vidioc_int_g_ctrl(dec, ctrl);
1789+ mutex_unlock(&common->lock);
1790+ return ret;
1791+}
1792+
1793+static int vpfe_s_ctrl(struct file *file, void *priv,
1794+ struct v4l2_control *ctrl)
1795+{
1796+ int ret = 0;
1797+ struct vpfe_fh *fh = file->private_data;
1798+ struct channel_obj *channel = fh->channel;
1799+ struct common_obj *common =
1800+ &(channel->common[VPFE_VIDEO_INDEX]);
1801+ struct v4l2_int_device *dec =
1802+ channel->decoder[channel->current_decoder];
1803+ v4l2_dbg(1, debug, vpfe_dev->driver, "VIDIOC_S_CTRL\n");
1804+ /* Call setcontrol function of decoder device */
1805+ ret = mutex_lock_interruptible(&common->lock);
1806+ if (ret)
1807+ return ret;
1808+ ret = vidioc_int_s_ctrl(dec, ctrl);
1809+ mutex_unlock(&common->lock);
1810+ return ret;
1811+}
1812+
1813+static int vpfe_cropcap(struct file *file, void *priv,
1814+ struct v4l2_cropcap *crop)
1815+{
1816+ struct vpfe_fh *fh = file->private_data;
1817+ struct channel_obj *channel = fh->channel;
1818+ struct video_obj *vid_ch = NULL;
1819+ vid_ch = &(channel->video);
1820+
1821+ if (vid_ch->index > vpfe_max_standards)
1822+ return -EINVAL;
1823+ memset(crop, 0, sizeof(struct v4l2_cropcap));
1824+ crop->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
1825+ crop->bounds.width = crop->defrect.width =
1826+ vpfe_standards[vid_ch->index].width;
1827+ crop->bounds.height = crop->defrect.height =
1828+ vpfe_standards[vid_ch->index].height;
1829+ crop->pixelaspect = vpfe_standards[vid_ch->index].pixelaspect;
1830+ return 0;
1831+}
1832+
1833+static int vpfe_g_crop(struct file *file, void *priv,
1834+ struct v4l2_crop *crop)
1835+{
1836+ struct vpfe_fh *fh = file->private_data;
1837+ struct channel_obj *channel = fh->channel;
1838+ struct common_obj *common = NULL;
1839+ common = &(channel->common[VPFE_VIDEO_INDEX]);
1840+ v4l2_dbg(1, debug, vpfe_dev->driver, "\nStarting VIDIOC_G_CROP ioctl");
1841+ crop->c = common->crop;
1842+ return 0;
1843+}
1844+
1845+static int vpfe_s_crop(struct file *file, void *priv,
1846+ struct v4l2_crop *crop)
1847+{
1848+ int ret = 0;
1849+ struct vpfe_fh *fh = file->private_data;
1850+ struct channel_obj *channel = fh->channel;
1851+ struct common_obj *common = NULL;
1852+ struct video_obj *vid_ch = NULL;
1853+ common = &(channel->common[VPFE_VIDEO_INDEX]);
1854+ vid_ch = &(channel->video);
1855+ v4l2_dbg(1, debug, vpfe_dev->driver, "\nStarting VIDIOC_S_CROP ioctl");
1856+ if (common->started) {
1857+ /* make sure streaming is not started */
1858+ v4l2_err(vpfe_dev->driver,
1859+ "Cannot change crop when streaming is ON\n");
1860+ ret = -EBUSY;
1861+ goto out;
1862+ }
1863+
1864+ ret = mutex_lock_interruptible(&common->lock);
1865+ if (ret)
1866+ goto out;
1867+ /* make sure parameters are valid */
1868+ if ((crop->c.left + crop->c.width <= vid_ch->std_info.activepixels) &&
1869+ (crop->c.top + crop->c.height <= vid_ch->std_info.activelines)) {
1870+ /* adjust the width to 16 pixel boundry */
1871+ crop->c.width = ((crop->c.width + 15) & ~0xf);
1872+ ccdc_hw_dev.set_image_window(&crop->c);
1873+ common->fmt.fmt.pix.width = crop->c.width;
1874+ common->fmt.fmt.pix.height = crop->c.height;
1875+ ccdc_hw_dev.get_line_length(&common->fmt.fmt.pix.bytesperline);
1876+ common->fmt.fmt.pix.sizeimage =
1877+ common->fmt.fmt.pix.
1878+ bytesperline *
1879+ common->fmt.fmt.pix.height;
1880+ common->crop = crop->c;
1881+ } else {
1882+ v4l2_err(vpfe_dev->driver, "Error in S_CROP params\n");
1883+ ret = -EINVAL;
1884+ }
1885+ mutex_unlock(&common->lock);
1886+out:
1887+ return ret;
1888+}
1889+
1890+
1891+static long vpfe_param_handler(struct file *file, void *priv,
1892+ int cmd, void *param)
1893+{
1894+ struct vpfe_fh *fh = file->private_data;
1895+ struct channel_obj *channel = fh->channel;
1896+ struct common_obj *common = NULL;
1897+ int ret = 0;
1898+ common = &(channel->common[VPFE_VIDEO_INDEX]);
1899+
1900+ if (common->started) {
1901+ /* only allowed if streaming is not started */
1902+ v4l2_err(vpfe_dev->driver, "channel already started\n");
1903+ ret = -EBUSY;
1904+ goto out;
1905+ }
1906+ ret = mutex_lock_interruptible(&common->lock);
1907+ if (ret)
1908+ goto out;
1909+ switch (cmd) {
1910+ case VPFE_CMD_S_SOC_PARAMS:
1911+ {
1912+ ret = ccdc_hw_dev.setparams(param);
1913+ if (ret) {
1914+ v4l2_err(vpfe_dev->driver,
1915+ "Error in setting parameters"
1916+ " in CCDC \n");
1917+ goto lock_out;
1918+ }
1919+ if (vpfe_get_image_format(&common->fmt) < 0) {
1920+ v4l2_err(vpfe_dev->driver,
1921+ "Invalid image format at CCDC \n");
1922+ goto lock_out;
1923+ }
1924+ break;
1925+ }
1926+ default:
1927+ ret = -EINVAL;
1928+ }
1929+lock_out:
1930+ mutex_unlock(&common->lock);
1931+out:
1932+ return ret;
1933+}
1934+
1935+
1936+/* vpfe capture ioctl operations */
1937+static const struct v4l2_ioctl_ops vpfe_ioctl_ops = {
1938+ .vidioc_querycap = vpfe_querycap,
1939+ .vidioc_g_fmt_vid_cap = vpfe_g_fmt_vid_cap,
1940+ .vidioc_enum_fmt_vid_cap = vpfe_enum_fmt_vid_cap,
1941+ .vidioc_s_fmt_vid_cap = vpfe_s_fmt_vid_cap,
1942+ .vidioc_try_fmt_vid_cap = vpfe_try_fmt_vid_cap,
1943+ .vidioc_enum_input = vpfe_enum_input,
1944+ .vidioc_g_input = vpfe_g_input,
1945+ .vidioc_s_input = vpfe_s_input,
1946+ .vidioc_querystd = vpfe_querystd,
1947+ .vidioc_s_std = vpfe_s_std,
1948+ .vidioc_g_std = vpfe_g_std,
1949+ .vidioc_reqbufs = vpfe_reqbufs,
1950+ .vidioc_querybuf = vpfe_querybuf,
1951+ .vidioc_qbuf = vpfe_qbuf,
1952+ .vidioc_dqbuf = vpfe_dqbuf,
1953+ .vidioc_streamon = vpfe_streamon,
1954+ .vidioc_streamoff = vpfe_streamoff,
1955+ .vidioc_queryctrl = vpfe_queryctrl,
1956+ .vidioc_g_ctrl = vpfe_g_ctrl,
1957+ .vidioc_s_ctrl = vpfe_s_ctrl,
1958+ .vidioc_cropcap = vpfe_cropcap,
1959+ .vidioc_g_crop = vpfe_g_crop,
1960+ .vidioc_s_crop = vpfe_s_crop,
1961+ .vidioc_default = vpfe_param_handler,
1962+};
1963+
1964+/* vpfe_probe : This function creates device entries by register
1965+ * itself to the V4L2 driver and initializes fields of each
1966+ * channel objects
1967+ */
1968+static __init int vpfe_probe(struct platform_device *device)
1969+{
1970+ struct common_obj *common = NULL;
1971+ int err = -ENOMEM, index = 0;
1972+ struct video_device *vfd = NULL;
1973+ struct channel_obj *channel = NULL;
1974+ struct video_obj *vid_ch = NULL;
1975+ struct resource *res1, *res2;
1976+ void *__iomem mem1;
1977+ void *__iomem mem2;
1978+
1979+ vpfe_dev = &device->dev;
1980+
1981+ /* Get the pointer to the channel object */
1982+ channel = vpfe_obj.dev[0];
1983+ /* Allocate memory for video device */
1984+ vfd = video_device_alloc();
1985+ if (ISNULL(vfd)) {
1986+ v4l2_err(vpfe_dev->driver,
1987+ "Unable to alloc video device\n");
1988+ return err;
1989+ }
1990+
1991+ /* Initialize field of video device */
1992+ vfd->release = video_device_release;
1993+ vfd->current_norm = V4L2_STD_UNKNOWN;
1994+ vfd->fops = &vpfe_fops;
1995+ vfd->ioctl_ops = &vpfe_ioctl_ops;
1996+ vfd->minor = -1;
1997+ vfd->tvnorms = V4L2_STD_UNKNOWN,
1998+ vfd->dev = device->dev;
1999+ snprintf(vfd->name, sizeof(vfd->name),
2000+ "%s_V%d.%d.%d",
2001+ CAPTURE_DRV_NAME,
2002+ (VPFE_CAPTURE_VERSION_CODE >> 16) & 0xff,
2003+ (VPFE_CAPTURE_VERSION_CODE >> 8) & 0xff,
2004+ (VPFE_CAPTURE_VERSION_CODE) & 0xff);
2005+ /* Set video_dev to the video device */
2006+ channel->video_dev = vfd;
2007+
2008+ channel->usrs = 0;
2009+ common = &(channel->common[VPFE_VIDEO_INDEX]);
2010+ common->io_usrs = 0;
2011+ common->started = 0;
2012+ spin_lock_init(&common->irqlock);
2013+ common->numbuffers = 0;
2014+ common->field_off = 0;
2015+ common->curFrm = common->nextFrm = NULL;
2016+ memset(&common->fmt, 0, sizeof(struct v4l2_format));
2017+ channel->initialized = 0;
2018+ channel->channel_id = 0;
2019+ vid_ch = &(channel->video);
2020+ vid_ch->input = device->dev.platform_data;
2021+ if (!vid_ch->input) {
2022+ v4l2_err(vpfe_dev->driver,
2023+ "Unable to get inputs to vpfe\n");
2024+ err = -ENOENT;
2025+ goto probe_out_release;
2026+ }
2027+ vid_ch->index = 0;
2028+ channel->irq_type = VPFE_NO_IRQ;
2029+ /* Get VINT0 irq resource */
2030+ res1 = platform_get_resource(device, IORESOURCE_IRQ, 0);
2031+ if (!res1) {
2032+ err = -ENOENT;
2033+ v4l2_err(vpfe_dev->driver, "Unable to get interrupt for VINT0");
2034+ goto probe_out_release;
2035+ }
2036+ channel->ccdc_irq0 = res1->start;
2037+
2038+ /* Get VINT1 irq resource */
2039+ res1 = platform_get_resource(device,
2040+ IORESOURCE_IRQ, 1);
2041+ if (!res1) {
2042+ err = -ENOENT;
2043+ v4l2_err(vpfe_dev->driver,
2044+ "Unable to get interrupt for VINT1");
2045+ goto probe_out_release;
2046+ }
2047+ channel->ccdc_irq1 = res1->start;
2048+ channel->res1 = platform_get_resource(device, IORESOURCE_MEM, 0);
2049+ channel->res2 = platform_get_resource(device, IORESOURCE_MEM, 1);
2050+ if (!channel->res1 || !channel->res2) {
2051+ v4l2_err(vpfe_dev->driver,
2052+ "Unable to get register address map\n");
2053+ err = -ENOENT;
2054+ goto probe_out_release;
2055+ }
2056+ res1 = (struct resource *)channel->res1;
2057+ res2 = (struct resource *)channel->res2;
2058+ if (!request_mem_region(res1->start, res1->end - res1->start + 1,
2059+ vpfe_dev->driver->name)) {
2060+ err = -ENXIO;
2061+ v4l2_err(vpfe_dev->driver,
2062+ "Failed request_mem_region for ccdc base\n");
2063+ goto probe_out_release;
2064+ }
2065+
2066+ mem1 = ioremap_nocache(res1->start, res1->end - res1->start + 1);
2067+ if (!mem1) {
2068+ v4l2_err(vpfe_dev->driver, "Unable to ioremap ccdc address\n");
2069+ goto probe_out_release_mem1;
2070+ }
2071+
2072+ ccdc_hw_dev.set_ccdc_base(mem1, res1->end - res1->start + 1);
2073+
2074+ if (!request_mem_region(res2->start, res2->end - res2->start + 1,
2075+ vpfe_dev->driver->name)) {
2076+ err = -ENXIO;
2077+ v4l2_err(vpfe_dev->driver,
2078+ "Failed request_mem_region for"
2079+ " vpss base\n");
2080+ goto probe_out_unmap1;
2081+ }
2082+
2083+ mem2 = ioremap_nocache(res2->start, res2->end - res2->start + 1);
2084+ if (!mem2) {
2085+ v4l2_err(vpfe_dev->driver, "Unable to ioremap vpss address\n");
2086+ goto probe_out_release_mem2;
2087+ }
2088+
2089+ ccdc_hw_dev.set_vpss_base(mem2, res2->end - res2->start + 1);
2090+
2091+ err = request_irq(channel->ccdc_irq0, vpfe_isr, IRQF_DISABLED,
2092+ "vpfe_capture0", (void *)&vpfe_obj);
2093+
2094+ if (0 != err) {
2095+ v4l2_err(vpfe_dev->driver,
2096+ "Unable to request interrupt\n");
2097+ goto probe_out_unmap2;
2098+ }
2099+
2100+ /* Initialize field of the channel objects */
2101+ channel->usrs = common->io_usrs = 0;
2102+ common->started = channel->initialized = 0;
2103+ channel->channel_id = 0;
2104+ common->numbuffers = config_params.numbuffers[channel->channel_id];
2105+ channel->numdecoders = 0;
2106+ channel->current_decoder = 0;
2107+ for (index = 0; index < VPFE_CAPTURE_NUM_DECODERS; index++)
2108+ channel->decoder[index] = NULL;
2109+
2110+ /* Initialize prio member of channel object */
2111+ v4l2_prio_init(&channel->prio);
2112+
2113+ /* register video device */
2114+ v4l2_dbg(1, debug, vpfe_dev->driver,
2115+ "trying to register vpfe device.\n");
2116+ v4l2_dbg(1, debug, vpfe_dev->driver,
2117+ "channel=%x,channel->video_dev=%x\n",
2118+ (int)channel, (int)&channel->video_dev);
2119+ channel->common[VPFE_VIDEO_INDEX].fmt.type =
2120+ V4L2_BUF_TYPE_VIDEO_CAPTURE;
2121+ err = video_register_device(channel->video_dev,
2122+ VFL_TYPE_GRABBER, vpfe_nr[0]);
2123+
2124+ dev_notice(vpfe_dev, "video device registered\n");
2125+ if (err) {
2126+ v4l2_err(vpfe_dev->driver,
2127+ "Unable to register video device.\n");
2128+ goto probe_out_release_irq;
2129+ }
2130+
2131+ vpfe_capture.priv = channel;
2132+ err = v4l2_int_device_register(&vpfe_capture);
2133+ if (err) {
2134+ v4l2_err(vpfe_dev->driver,
2135+ "Unable to register int master device.\n");
2136+ goto probe_out;
2137+ }
2138+ dev_notice(vpfe_dev, "v4l2 int master registered\n");
2139+ mutex_init(&common->lock);
2140+ return 0;
2141+
2142+probe_out:
2143+ /* Get the pointer to the channel object */
2144+ channel = vpfe_obj.dev[0];
2145+ /* Unregister video device */
2146+ video_unregister_device(channel->video_dev);
2147+ v4l2_int_device_unregister(&vpfe_capture);
2148+
2149+probe_out_release_irq:
2150+ free_irq(channel->ccdc_irq0, (void *)&vpfe_obj);
2151+probe_out_unmap2:
2152+ iounmap(mem2);
2153+probe_out_unmap1:
2154+ iounmap(mem1);
2155+probe_out_release_mem1:
2156+ release_mem_region(res1->start, res1->end -
2157+ res1->start + 1);
2158+probe_out_release_mem2:
2159+ release_mem_region(res2->start,
2160+ res2->end -
2161+ res2->start + 1);
2162+probe_out_release:
2163+ video_device_release(channel->video_dev);
2164+ channel->video_dev = NULL;
2165+ v4l2_dbg(1, debug, vpfe_dev->driver, "</vpfe_probe>\n");
2166+ return err;
2167+}
2168+
2169+/* vpfe_remove : It un-register channels from V4L2 driver
2170+ */
2171+static int vpfe_remove(struct platform_device *device)
2172+{
2173+ struct channel_obj *channel;
2174+ struct common_obj *common = NULL;
2175+ struct resource *res;
2176+ v4l2_dbg(1, debug, vpfe_dev->driver, "<vpfe_remove>\n");
2177+
2178+ /* un-register device */
2179+ channel = vpfe_obj.dev[0];
2180+ common = &(channel->common[VPFE_VIDEO_INDEX]);
2181+ free_irq(channel->ccdc_irq0, (void *)&vpfe_obj);
2182+ /* Unregister video device */
2183+ video_unregister_device(channel->video_dev);
2184+ video_device_release(channel->video_dev);
2185+ v4l2_int_device_unregister(&vpfe_capture);
2186+ channel->video_dev = NULL;
2187+ res = (struct resource *)channel->res1;
2188+ release_mem_region(res->start, res->end - res->start + 1);
2189+ res = (struct resource *)channel->res2;
2190+ release_mem_region(res->start, res->end - res->start + 1);
2191+ iounmap(ccdc_hw_dev.get_ccdc_base());
2192+ iounmap(ccdc_hw_dev.get_vpss_base());
2193+ v4l2_dbg(1, debug, vpfe_dev->driver, "</vpfe_remove>\n");
2194+ return 0;
2195+}
2196+
2197+static int
2198+vpfe_suspend(struct platform_device *dev, pm_message_t state)
2199+{
2200+ /* add suspend code here later */
2201+ return 0;
2202+}
2203+
2204+static int
2205+vpfe_resume(struct platform_device *dev)
2206+{
2207+ /* add resume code here later */
2208+ return 0;
2209+}
2210+
2211+static struct platform_driver vpfe_driver = {
2212+ .driver = {
2213+ .name = CAPTURE_DRV_NAME,
2214+ .owner = THIS_MODULE,
2215+ },
2216+ .probe = vpfe_probe,
2217+ .remove = __devexit_p(vpfe_remove),
2218+ .suspend = vpfe_suspend,
2219+ .resume = vpfe_resume,
2220+};
2221+
2222+static __init int vpfe_init(void)
2223+{
2224+ int err = 0;
2225+
2226+ /* Default number of buffers should be 3 */
2227+ if ((ch0_numbuffers > 0) &&
2228+ (ch0_numbuffers < config_params.min_numbuffers))
2229+ ch0_numbuffers = config_params.min_numbuffers;
2230+
2231+ /* Set buffer size to min buffers size if invalid buffer size is
2232+ * given
2233+ */
2234+ if (ch0_bufsize < config_params.min_bufsize[VPFE_CHANNEL0_VIDEO])
2235+ ch0_bufsize =
2236+ config_params.min_bufsize[VPFE_CHANNEL0_VIDEO];
2237+
2238+ config_params.numbuffers[VPFE_CHANNEL0_VIDEO] = ch0_numbuffers;
2239+
2240+ if (ch0_numbuffers)
2241+ config_params.channel_bufsize[VPFE_CHANNEL0_VIDEO]
2242+ = ch0_bufsize;
2243+
2244+ if (ISNULL(ccdc_hw_dev.enable) ||
2245+ ISNULL(ccdc_hw_dev.open) ||
2246+ ISNULL(ccdc_hw_dev.set_hw_if_type) ||
2247+ ISNULL(ccdc_hw_dev.configure) ||
2248+ ISNULL(ccdc_hw_dev.set_buftype) ||
2249+ ISNULL(ccdc_hw_dev.get_buftype) ||
2250+ ISNULL(ccdc_hw_dev.enum_pix) ||
2251+ ISNULL(ccdc_hw_dev.set_frame_format) ||
2252+ ISNULL(ccdc_hw_dev.get_frame_format) ||
2253+ ISNULL(ccdc_hw_dev.get_pixelformat) ||
2254+ ISNULL(ccdc_hw_dev.set_pixelformat) ||
2255+ ISNULL(ccdc_hw_dev.setparams) ||
2256+ ISNULL(ccdc_hw_dev.set_image_window) ||
2257+ ISNULL(ccdc_hw_dev.get_image_window) ||
2258+ ISNULL(ccdc_hw_dev.get_line_length) ||
2259+ ISNULL(ccdc_hw_dev.setfbaddr) ||
2260+ ISNULL(ccdc_hw_dev.getfid)) {
2261+ printk(KERN_ERR "vpfe_init:CCDC module interface"
2262+ "has missing mandatory functions\n");
2263+ return -ENODEV;
2264+ }
2265+
2266+ /* Allocate memory for channel objects */
2267+ vpfe_obj.dev[0] = kmalloc(sizeof(struct channel_obj), GFP_KERNEL);
2268+ /* If memory allocation fails, return error */
2269+ if (!vpfe_obj.dev[0]) {
2270+ err = -ENOMEM;
2271+ printk(KERN_ERR "vpfe_init:Memory allocation failed\n");
2272+ goto vpfe_init_free_channel_object;
2273+ }
2274+
2275+ /* Register driver to the kernel */
2276+ err = platform_driver_register(&vpfe_driver);
2277+ if (0 != err)
2278+ goto vpfe_init_free_channel_object;
2279+
2280+ printk(KERN_NOTICE "vpfe_capture: init successful\n");
2281+ return err;
2282+
2283+vpfe_init_free_channel_object:
2284+ kfree(vpfe_obj.dev[0]);
2285+ vpfe_obj.dev[0] = NULL;
2286+ return err;
2287+}
2288+
2289+/* vpfe_cleanup : This function un-registers device and driver
2290+ * to the kernel, frees requested irq handler and de-allocates memory
2291+ * allocated for channel objects.
2292+ */
2293+static void vpfe_cleanup(void)
2294+{
2295+ platform_driver_unregister(&vpfe_driver);
2296+ kfree(vpfe_obj.dev[0]);
2297+ vpfe_obj.dev[0] = NULL;
2298+}
2299+module_init(vpfe_init);
2300+module_exit(vpfe_cleanup);
2301+MODULE_AUTHOR("Texas Instruments.");
2302+MODULE_DESCRIPTION("VPFE Video for Linux Capture Driver");
2303+MODULE_LICENSE("GPL");
2304diff --git a/drivers/media/video/davinci_vpfe.c b/drivers/media/video/davinci_vpfe.c
2305deleted file mode 100644
2306index 1128eb5..0000000
2307--- a/drivers/media/video/davinci_vpfe.c
2308+++ /dev/null
2309@@ -1,1136 +0,0 @@
2310-/*
2311- *
2312- *
2313- * Copyright (C) 2006 Texas Instruments Inc
2314- *
2315- * This program is free software; you can redistribute it and/or modify
2316- * it under the terms of the GNU General Public License as published by
2317- * the Free Software Foundation; either version 2 of the License, or
2318- * (at your option) any later version.
2319- *
2320- * This program is distributed in the hope that it will be useful,
2321- * but WITHOUT ANY WARRANTY; without even the implied warranty of
2322- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2323- * GNU General Public License for more details.
2324- *
2325- * You should have received a copy of the GNU General Public License
2326- * along with this program; if not, write to the Free Software
2327- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2328- */
2329-/* davinci_vpfe.c */
2330-
2331-#include <linux/init.h>
2332-#include <linux/module.h>
2333-#include <linux/delay.h>
2334-#include <linux/errno.h>
2335-#include <linux/fs.h>
2336-#include <linux/kernel.h>
2337-#include <linux/sched.h>
2338-#include <linux/interrupt.h>
2339-#include <linux/kdev_t.h>
2340-#include <linux/string.h>
2341-#include <linux/videodev.h>
2342-#include <linux/wait.h>
2343-#include <linux/dma-mapping.h>
2344-#include <linux/platform_device.h>
2345-
2346-#include <asm/irq.h>
2347-#include <asm/page.h>
2348-#include <asm/io.h>
2349-#include <asm/dma-mapping.h>
2350-
2351-#include <media/davinci_vpfe.h>
2352-
2353-#define debug_print(x...) //printk(x)
2354-
2355-MODULE_LICENSE("GPL");
2356-
2357-static struct v4l2_rect ntsc_bounds = VPFE_WIN_NTSC;
2358-static struct v4l2_rect pal_bounds = VPFE_WIN_PAL;
2359-static struct v4l2_fract ntsc_aspect = VPFE_PIXELASPECT_NTSC;
2360-static struct v4l2_fract pal_aspect = VPFE_PIXELASPECT_PAL;
2361-static struct v4l2_rect ntscsp_bounds = VPFE_WIN_NTSC_SP;
2362-static struct v4l2_rect palsp_bounds = VPFE_WIN_PAL_SP;
2363-static struct v4l2_fract sp_aspect = VPFE_PIXELASPECT_NTSC_SP;
2364-
2365-static vpfe_obj vpfe_device = { /* the default format is NTSC */
2366- .usrs = 0,
2367- .io_usrs = 0,
2368- .std = VPFE_STD_AUTO,
2369- .vwin = VPFE_WIN_PAL,
2370- .bounds = VPFE_WIN_PAL,
2371- .pixelaspect = VPFE_PIXELASPECT_NTSC,
2372- .pixelfmt = V4L2_PIX_FMT_UYVY,
2373- .field = V4L2_FIELD_INTERLACED,
2374- .numbuffers = VPFE_DEFNUM_FBUFS,
2375- .ccdc_params = {
2376- .pix_fmt = CCDC_PIXFMT_YCBCR_8BIT,
2377- .frm_fmt = CCDC_FRMFMT_INTERLACED,
2378- .win = VPFE_WIN_PAL,
2379- .fid_pol = CCDC_PINPOL_POSITIVE,
2380- .vd_pol = CCDC_PINPOL_POSITIVE,
2381- .hd_pol = CCDC_PINPOL_POSITIVE,
2382- .bt656_enable = TRUE,
2383- .pix_order = CCDC_PIXORDER_CBYCRY,
2384- .buf_type = CCDC_BUFTYPE_FLD_INTERLEAVED
2385- },
2386- .tvp5146_params = {
2387- .mode = TVP5146_MODE_AUTO,
2388- .amuxmode = TVP5146_AMUX_COMPOSITE,
2389- .enablebt656sync = TRUE
2390- },
2391- .irqlock = SPIN_LOCK_UNLOCKED
2392-};
2393-
2394-struct v4l2_capability vpfe_drvcap = {
2395- .driver = "vpfe driver",
2396- .card = "DaVinci EVM",
2397- .bus_info = "Platform",
2398- .version = VPFE_VERSION_CODE,
2399- .capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING
2400-};
2401-
2402-static int sense_std(v4l2_std_id* std_id)
2403-{
2404- v4l2_std_id id = 0;
2405- tvp5146_mode mode;
2406- int ret;
2407- ret = tvp5146_ctrl(TVP5146_GET_STD, &mode);
2408- if(ret < 0)
2409- return ret;
2410- switch (mode & 0x7) {
2411- case TVP5146_MODE_NTSC:
2412- id = V4L2_STD_NTSC;
2413- break;
2414- case TVP5146_MODE_PAL:
2415- id = V4L2_STD_PAL;
2416- break;
2417- case TVP5146_MODE_PAL_M:
2418- id = V4L2_STD_PAL_M;
2419- break;
2420- case TVP5146_MODE_PAL_CN:
2421- id = V4L2_STD_PAL_N;
2422- break;
2423- case TVP5146_MODE_SECAM:
2424- id = V4L2_STD_SECAM;
2425- break;
2426- case TVP5146_MODE_PAL_60:
2427- id = V4L2_STD_PAL_60;
2428- break;
2429- }
2430- if (mode & 0x8) { /* square pixel mode */
2431- id <<= 32;
2432- }
2433- if (mode == TVP5146_MODE_AUTO) {
2434- id = VPFE_STD_AUTO; /* auto-detection for all other modes */
2435- } else if (mode == TVP5146_MODE_AUTO_SQP) {
2436- id = VPFE_STD_AUTO_SQP;
2437- }
2438- if(id == 0)
2439- return -EINVAL;
2440- *std_id = id;
2441- return 0;
2442-}
2443-
2444-static irqreturn_t vpfe_isr(int irq, void *dev_id)
2445-{
2446- vpfe_obj *vpfe = &vpfe_device;
2447- int fid;
2448-
2449- /* check which field we are in hardware */
2450- fid = ccdc_getfid();
2451- vpfe->field_id ^= 1; /* switch the software maintained field id */
2452- debug_print(KERN_INFO "field id = %x:%x.\n", fid, vpfe->field_id);
2453- if (fid == vpfe->field_id) { /* we are in-sync here, continue */
2454- if (fid == 0) {
2455- /* One frame is just being captured. If the next frame
2456- is available, release the current frame and move on */
2457- if (vpfe->curFrm != vpfe->nextFrm) {
2458- vpfe->curFrm->state = STATE_DONE;
2459- wake_up_interruptible(&vpfe->curFrm->done);
2460- vpfe->curFrm = vpfe->nextFrm;
2461- }
2462- /* based on whether the two fields are stored interleavely */
2463- /* or separately in memory, reconfigure the CCDC memory address */
2464- if (vpfe->field == V4L2_FIELD_SEQ_TB) {
2465- u32 addr =
2466- vpfe->curFrm->boff + vpfe->field_offset;
2467- ccdc_setfbaddr((unsigned long)addr);
2468- }
2469- } else if (fid == 1) {
2470- /* if one field is just being captured */
2471- /* configure the next frame */
2472- /* get the next frame from the empty queue */
2473- /* if no frame is available, hold on to the current buffer */
2474- if (!list_empty(&vpfe->dma_queue)
2475- && vpfe->curFrm == vpfe->nextFrm) {
2476- vpfe->nextFrm = list_entry(vpfe->dma_queue.next,
2477- struct videobuf_buffer, queue);
2478- list_del(&vpfe->nextFrm->queue);
2479- vpfe->nextFrm->state = STATE_ACTIVE;
2480- ccdc_setfbaddr(
2481- (unsigned long)vpfe->nextFrm->boff);
2482- }
2483- if (vpfe->mode_changed) {
2484- ccdc_setwin(&vpfe->ccdc_params);
2485- /* update the field offset */
2486- vpfe->field_offset =
2487- (vpfe->vwin.height - 2) * vpfe->vwin.width;
2488- vpfe->mode_changed = FALSE;
2489- }
2490- }
2491- } else if (fid == 0) {
2492- /* recover from any hardware out-of-sync due to */
2493- /* possible switch of video source */
2494- /* for fid == 0, sync up the two fids */
2495- /* for fid == 1, no action, one bad frame will */
2496- /* go out, but it is not a big deal */
2497- vpfe->field_id = fid;
2498- }
2499- debug_print(KERN_INFO "interrupt returned.\n");
2500- return IRQ_RETVAL(1);
2501-}
2502-
2503-/* this is the callback function called from videobuf_qbuf() function */
2504-/* the buffer is prepared and queued into the dma queue */
2505-static int buffer_prepare(struct videobuf_queue *q,
2506- struct videobuf_buffer *vb,
2507- enum v4l2_field field)
2508-{
2509- vpfe_obj *vpfe = &vpfe_device;
2510-
2511-
2512- if (vb->state == STATE_NEEDS_INIT) {
2513- vb->width = vpfe->vwin.width;
2514- vb->height = vpfe->vwin.height;
2515- vb->size = VPFE_MAX_FBUF_SIZE;
2516- vb->field = field;
2517- }
2518- vb->state = STATE_PREPARED;
2519-
2520- return 0;
2521-
2522-}
2523-static void
2524-buffer_config(struct videobuf_queue *q, unsigned int count)
2525-{
2526- vpfe_obj *vpfe = &vpfe_device;
2527- int i;
2528- for(i = 0; i < count; i++) {
2529- q->bufs[i]->boff = virt_to_phys(vpfe->fbuffers[i]);
2530- debug_print(KERN_INFO "buffer address: %x\n", q->bufs[i]->boff);
2531- }
2532-}
2533-
2534-static int
2535-buffer_setup(struct videobuf_queue *q, unsigned int *count, unsigned int *size)
2536-{
2537- vpfe_obj *vpfe = &vpfe_device;
2538- int i;
2539- *size = VPFE_MAX_FBUF_SIZE;
2540-
2541-
2542- for (i = VPFE_DEFNUM_FBUFS; i < *count; i++) {
2543- u32 size = PAGE_SIZE << VPFE_MAX_FBUF_ORDER;
2544- void *mem = (void *)__get_free_pages(GFP_KERNEL |GFP_DMA,
2545- VPFE_MAX_FBUF_ORDER);
2546- if (mem) {
2547- unsigned long adr = (unsigned long)mem;
2548- while (size > 0) {
2549- /* make sure the frame buffers are never
2550- swapped out of memory */
2551- SetPageReserved(virt_to_page(adr));
2552- adr += PAGE_SIZE;
2553- size -= PAGE_SIZE;
2554- }
2555- vpfe->fbuffers[i] = mem;
2556- } else {
2557- break;
2558- }
2559- }
2560- *count = vpfe->numbuffers = i;
2561-
2562- return 0;
2563-}
2564-
2565-static void buffer_queue(struct videobuf_queue *q, struct videobuf_buffer *vb)
2566-{
2567- vpfe_obj *vpfe = &vpfe_device;
2568- /* add the buffer to the DMA queue */
2569- list_add_tail(&vb->queue, &vpfe->dma_queue);
2570- vb->state = STATE_QUEUED;
2571-}
2572-
2573-static void buffer_release(struct videobuf_queue *q, struct videobuf_buffer *vb)
2574-{
2575- /* free the buffer if it is not one of the 3 allocated at initializaiton time */
2576- if(vb->i < vpfe_device.numbuffers
2577- && vb->i >= VPFE_DEFNUM_FBUFS
2578- && vpfe_device.fbuffers[vb->i]){
2579- free_pages((unsigned long)vpfe_device.fbuffers[vb->i],
2580- VPFE_MAX_FBUF_ORDER);
2581- vpfe_device.fbuffers[vb->i] = NULL;
2582- }
2583-}
2584-
2585-
2586-static struct videobuf_queue_ops video_qops = {
2587- .buf_setup = buffer_setup,
2588- .buf_prepare = buffer_prepare,
2589- .buf_queue = buffer_queue,
2590- .buf_release = buffer_release,
2591- .buf_config = buffer_config,
2592-};
2593-
2594-
2595-
2596-
2597-static int vpfe_doioctl(struct inode *inode, struct file *file,
2598- unsigned int cmd, void *arg)
2599-{
2600- vpfe_obj *vpfe = &vpfe_device;
2601- vpfe_fh *fh = file->private_data;
2602- int ret = 0;
2603- switch (cmd) {
2604- case VIDIOC_S_CTRL:
2605- case VIDIOC_S_FMT:
2606- case VIDIOC_S_STD:
2607- case VIDIOC_S_CROP:
2608- ret = v4l2_prio_check(&vpfe->prio, &fh->prio);
2609- if (0 != ret) {
2610- return ret;
2611- }
2612- break;
2613- }
2614-
2615- switch (cmd) {
2616- case VIDIOC_QUERYCAP:
2617- {
2618- struct v4l2_capability *cap =
2619- (struct v4l2_capability *)arg;
2620- memset(cap, 0, sizeof(*cap));
2621- *cap = vpfe_drvcap;
2622- break;
2623- }
2624- case VIDIOC_ENUM_FMT:
2625- {
2626- struct v4l2_fmtdesc *fmt = (struct v4l2_fmtdesc *)arg;
2627- u32 index = fmt->index;
2628- memset(fmt, 0, sizeof(*fmt));
2629- fmt->index = index;
2630- if (index == 0) {
2631- /* only yuv4:2:2 format is supported at this point */
2632- fmt->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
2633- strcpy(fmt->description,
2634- "YCbCr4:2:2 Interleaved UYUV");
2635- fmt->pixelformat = V4L2_PIX_FMT_UYVY;
2636- } else if (index == 1) {
2637- fmt->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
2638- strcpy(fmt->description,
2639- "YCbCr4:2:2 Interleaved YUYV");
2640- fmt->pixelformat = V4L2_PIX_FMT_YUYV;
2641- } else {
2642- ret = -EINVAL;
2643- }
2644- break;
2645- }
2646- case VIDIOC_G_FMT:
2647- {
2648- struct v4l2_format *fmt = (struct v4l2_format *)arg;
2649- if (fmt->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) {
2650- ret = -EINVAL;
2651- } else {
2652- struct v4l2_pix_format *pixfmt = &fmt->fmt.pix;
2653- down_interruptible(&vpfe->lock);
2654- pixfmt->width = vpfe->vwin.width;
2655- pixfmt->height = vpfe->vwin.height;
2656- pixfmt->field = vpfe->field;
2657- pixfmt->pixelformat = vpfe->pixelfmt;
2658- pixfmt->bytesperline = pixfmt->width * 2;
2659- pixfmt->sizeimage =
2660- pixfmt->bytesperline * pixfmt->height;
2661- pixfmt->colorspace = V4L2_COLORSPACE_SMPTE170M;
2662- up(&vpfe->lock);
2663- }
2664- break;
2665- }
2666- case VIDIOC_S_FMT:
2667- {
2668- struct v4l2_format *fmt = (struct v4l2_format *)arg;
2669- struct v4l2_pix_format *pixfmt = &fmt->fmt.pix;
2670- ccdc_params_ycbcr *params = &vpfe->ccdc_params;
2671- if (vpfe->started) { /* make sure streaming is not started */
2672- ret = -EBUSY;
2673- break;
2674- }
2675-
2676- down_interruptible(&vpfe->lock);
2677- if (fmt->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) {
2678- ret = -EINVAL;
2679- up(&vpfe->lock);
2680- break;
2681- }
2682- if ((pixfmt->width + vpfe->vwin.left <=
2683- vpfe->bounds.width)
2684- & (pixfmt->height + vpfe->vwin.top <=
2685- vpfe->bounds.height)) {
2686- /* this is the case when no scaling is supported */
2687- /* crop window is directed modified */
2688- vpfe->vwin.height = pixfmt->height;
2689- vpfe->vwin.width = pixfmt->width;
2690- params->win.width = pixfmt->width;
2691- params->win.height = pixfmt->height;
2692- } else {
2693- ret = -EINVAL;
2694- up(&vpfe->lock);
2695- break;
2696- }
2697- /* setup the CCDC parameters accordingly */
2698- if (pixfmt->pixelformat == V4L2_PIX_FMT_YUYV) {
2699- params->pix_order = CCDC_PIXORDER_YCBYCR;
2700- vpfe->pixelfmt = pixfmt->pixelformat;
2701- } else if (pixfmt->pixelformat == V4L2_PIX_FMT_UYVY) {
2702- params->pix_order = CCDC_PIXORDER_CBYCRY;
2703- vpfe->pixelfmt = pixfmt->pixelformat;
2704- } else {
2705- ret = -EINVAL; /* not supported format */
2706- up(&vpfe->lock);
2707- break;
2708- }
2709- if (pixfmt->field == V4L2_FIELD_NONE
2710- || pixfmt->field == V4L2_FIELD_INTERLACED) {
2711- params->buf_type = CCDC_BUFTYPE_FLD_INTERLEAVED;
2712- vpfe->field = pixfmt->field;
2713- } else if (pixfmt->field == V4L2_FIELD_SEQ_TB) {
2714- params->buf_type = CCDC_BUFTYPE_FLD_SEPARATED;
2715- vpfe->field = pixfmt->field;
2716- } else {
2717- ret = -EINVAL;
2718- }
2719- up(&vpfe->lock);
2720- break;
2721- }
2722- case VIDIOC_TRY_FMT:
2723- {
2724- struct v4l2_format *fmt = (struct v4l2_format *)arg;
2725- if (fmt->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) {
2726- ret = -EINVAL;
2727- } else {
2728- struct v4l2_pix_format *pixfmt = &fmt->fmt.pix;
2729- if (pixfmt->width > vpfe->bounds.width
2730- || pixfmt->height > vpfe->bounds.height
2731- || (pixfmt->pixelformat != V4L2_PIX_FMT_UYVY
2732- && pixfmt->pixelformat !=
2733- V4L2_PIX_FMT_YUYV)) {
2734- ret = -EINVAL;
2735- }
2736- }
2737- break;
2738- }
2739- case VIDIOC_G_STD:
2740- {
2741- v4l2_std_id *id = (v4l2_std_id *) arg;
2742- *id = vpfe->std;
2743- break;
2744- }
2745- case VIDIOC_S_STD:
2746- {
2747- v4l2_std_id id = *(v4l2_std_id *) arg;
2748- tvp5146_mode mode = TVP5146_MODE_INV;
2749- int sqp = 0;
2750-
2751- if (vpfe->started) { /* make sure streaming is not started */
2752- ret = -EBUSY;
2753- break;
2754- }
2755- down_interruptible(&vpfe->lock);
2756- if (id & V4L2_STD_625_50) {
2757- vpfe->std = id;
2758- vpfe->bounds = vpfe->vwin = pal_bounds;
2759- vpfe->pixelaspect = pal_aspect;
2760- vpfe->ccdc_params.win = pal_bounds;
2761-
2762- } else if (id & V4L2_STD_525_60) {
2763- vpfe->std = id;
2764- vpfe->bounds = vpfe->vwin = ntsc_bounds;
2765- vpfe->pixelaspect = ntsc_aspect;
2766- vpfe->ccdc_params.win = ntsc_bounds;
2767- } else if (id & VPFE_STD_625_50_SQP) {
2768- vpfe->std = id;
2769- vpfe->bounds = vpfe->vwin = palsp_bounds;
2770- vpfe->pixelaspect = sp_aspect;
2771- sqp = 1;
2772- id >>= 32;
2773- } else if (id & VPFE_STD_525_60_SQP) {
2774- vpfe->std = id;
2775- sqp = 1;
2776- vpfe->std = id;
2777- id >>= 32;
2778- vpfe->bounds = vpfe->vwin = ntscsp_bounds;
2779- vpfe->pixelaspect = sp_aspect;
2780- vpfe->ccdc_params.win = ntscsp_bounds;
2781- } else if (id & VPFE_STD_AUTO) {
2782- mode = TVP5146_MODE_AUTO;
2783- vpfe->bounds = vpfe->vwin = pal_bounds;
2784- vpfe->pixelaspect = pal_aspect;
2785- vpfe->ccdc_params.win = pal_bounds;
2786- vpfe->std = id;
2787- } else if (id & VPFE_STD_AUTO_SQP) {
2788- vpfe->std = id;
2789- vpfe->bounds = vpfe->vwin = palsp_bounds;
2790- vpfe->pixelaspect = sp_aspect;
2791- sqp = 1;
2792- mode = TVP5146_MODE_AUTO_SQP;
2793- vpfe->pixelaspect = sp_aspect;
2794- } else {
2795- ret = -EINVAL;
2796- }
2797- if (id == V4L2_STD_PAL_60) {
2798- mode = TVP5146_MODE_PAL_60;
2799- } else if (id == V4L2_STD_PAL_M) {
2800- mode = TVP5146_MODE_PAL_M;
2801- } else if (id == V4L2_STD_PAL_Nc
2802- || id == V4L2_STD_PAL_N) {
2803- mode = TVP5146_MODE_PAL_CN;
2804- } else if (id & V4L2_STD_PAL) {
2805- mode = TVP5146_MODE_PAL;
2806- } else if (id & V4L2_STD_NTSC) {
2807- mode = TVP5146_MODE_NTSC;
2808- } else if (id & V4L2_STD_SECAM) {
2809- mode = TVP5146_MODE_SECAM;
2810- }
2811- vpfe->tvp5146_params.mode = mode | (sqp << 3);
2812- tvp5146_ctrl(TVP5146_CONFIG, &vpfe->tvp5146_params);
2813-
2814- up(&vpfe->lock);
2815- break;
2816- }
2817- case VIDIOC_ENUMSTD:
2818- {
2819- struct v4l2_standard *std = (struct v4l2_standard *)arg;
2820- u32 index = std->index;
2821- memset(std, 0, sizeof(*std));
2822- std->index = index;
2823- if (index == 0) {
2824- std->id = V4L2_STD_525_60;
2825- strcpy(std->name, "SD-525line-30fps");
2826- std->framelines = 525;
2827- std->frameperiod.numerator = 1001;
2828- std->frameperiod.denominator = 30000;
2829- } else if (index == 1) {
2830- std->id = V4L2_STD_625_50;
2831- strcpy(std->name, "SD-625line-25fps");
2832- std->framelines = 625;
2833- std->frameperiod.numerator = 1;
2834- std->frameperiod.denominator = 25;
2835- } else if (index == 2) {
2836- std->id = VPFE_STD_625_50_SQP;
2837- strcpy(std->name,
2838- "SD-625line-25fps square pixel");
2839- std->framelines = 625;
2840- std->frameperiod.numerator = 1;
2841- std->frameperiod.denominator = 25;
2842- } else if (index == 3) {
2843- std->id = VPFE_STD_525_60_SQP;
2844- strcpy(std->name,
2845- "SD-525line-25fps square pixel");
2846- std->framelines = 525;
2847- std->frameperiod.numerator = 1001;
2848- std->frameperiod.denominator = 30000;
2849- } else if (index == 4) {
2850- std->id = VPFE_STD_AUTO;
2851- strcpy(std->name, "automatic detect");
2852- std->framelines = 625;
2853- std->frameperiod.numerator = 1;
2854- std->frameperiod.denominator = 1;
2855- } else if (index == 5) {
2856- std->id = VPFE_STD_AUTO_SQP;
2857- strcpy(std->name,
2858- "automatic detect square pixel");
2859- std->framelines = 625;
2860- std->frameperiod.numerator = 1;
2861- std->frameperiod.denominator = 1;
2862- } else {
2863- ret = -EINVAL;
2864- }
2865- break;
2866- }
2867- case VIDIOC_ENUMINPUT:
2868- {
2869- u32 index=0;
2870- struct v4l2_input *input = (struct v4l2_input *)arg;
2871- if (input->index > 1) /* only two inputs are available */
2872- ret = -EINVAL;
2873- index = input->index;
2874- memset(input, 0, sizeof(*input));
2875- input->index = index;
2876- input->type = V4L2_INPUT_TYPE_CAMERA;
2877- input->std = V4L2_STD_ALL;
2878- if(input->index == 0){
2879- sprintf(input->name, "COMPOSITE");
2880- }else if(input->index == 1) {
2881- sprintf(input->name, "S-VIDEO");
2882- }
2883- break;
2884- }
2885- case VIDIOC_G_INPUT:
2886- {
2887- int *index = (int *)arg;
2888- *index = vpfe->tvp5146_params.amuxmode;
2889- break;
2890- }
2891- case VIDIOC_S_INPUT:
2892- {
2893- int *index = (int *)arg;
2894- if (*index > 1 || *index < 0) {
2895- ret = -EINVAL;
2896- }
2897- vpfe->tvp5146_params.amuxmode = *index;
2898- tvp5146_ctrl(TVP5146_SET_AMUXMODE, index);
2899- break;
2900- }
2901- case VIDIOC_CROPCAP:
2902- {
2903- struct v4l2_cropcap *cropcap =
2904- (struct v4l2_cropcap *)arg;
2905- cropcap->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
2906- down_interruptible(&vpfe->lock);
2907- cropcap->bounds = cropcap->defrect = vpfe->vwin;
2908- cropcap->pixelaspect = vpfe->pixelaspect;
2909- up(&vpfe->lock);
2910- break;
2911- }
2912- case VIDIOC_G_PARM:
2913- {
2914- struct v4l2_streamparm *parm =
2915- (struct v4l2_streamparm *)arg;
2916- if (parm->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) {
2917- /* only capture is supported */
2918- ret = -EINVAL;
2919- } else {
2920- struct v4l2_captureparm *capparm =
2921- &parm->parm.capture;
2922- memset(capparm, 0,
2923- sizeof(struct v4l2_captureparm));
2924- down_interruptible(&vpfe->lock);
2925- if (vpfe->std & V4L2_STD_625_50) {
2926- capparm->timeperframe.numerator = 1;
2927- capparm->timeperframe.denominator = 25; /* PAL 25fps */
2928- } else {
2929- capparm->timeperframe.numerator = 1001;
2930- capparm->timeperframe.denominator = 30000; /*NTSC 29.97fps */
2931- }
2932- capparm->readbuffers = vpfe->numbuffers;
2933- up(&vpfe->lock);
2934- }
2935- break;
2936- }
2937- case VIDIOC_G_CTRL:
2938- down_interruptible(&vpfe->lock);
2939- tvp5146_ctrl(VIDIOC_G_CTRL, arg);
2940- up(&vpfe->lock);
2941- break;
2942- case VIDIOC_S_CTRL:
2943- down_interruptible(&vpfe->lock);
2944- tvp5146_ctrl(VIDIOC_S_CTRL, arg);
2945- up(&vpfe->lock);
2946- break;
2947- case VIDIOC_QUERYCTRL:
2948- down_interruptible(&vpfe->lock);
2949- tvp5146_ctrl(VIDIOC_QUERYCTRL, arg);
2950- up(&vpfe->lock);
2951- break;
2952- case VIDIOC_G_CROP:
2953- {
2954- struct v4l2_crop *crop = arg;
2955- if (crop->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) {
2956- ret = -EINVAL;
2957- } else {
2958- crop->c = vpfe->vwin;
2959- }
2960- break;
2961- }
2962- case VIDIOC_S_CROP:
2963- {
2964- struct v4l2_crop *crop = arg;
2965- ccdc_params_ycbcr *params = &vpfe->ccdc_params;
2966- if (vpfe->started) { /* make sure streaming is not started */
2967- ret = -EBUSY;
2968- break;
2969- }
2970- /*adjust the width to 16 pixel boundry */
2971- crop->c.width = ((crop->c.width + 15 )/16 ) * 16;
2972-
2973- /* make sure parameters are valid */
2974- if (crop->type == V4L2_BUF_TYPE_VIDEO_CAPTURE
2975- && (crop->c.left + crop->c.width
2976- <= vpfe->bounds.left + vpfe->bounds.width)
2977- && (crop->c.top + crop->c.height
2978- <= vpfe->bounds.top + vpfe->bounds.height)) {
2979-
2980- down_interruptible(&vpfe->lock);
2981- vpfe->vwin = crop->c;
2982- params->win = vpfe->vwin;
2983- up(&vpfe->lock);
2984- } else {
2985- ret = -EINVAL;
2986- }
2987- break;
2988- }
2989- case VIDIOC_QUERYSTD:
2990- {
2991- v4l2_std_id *id = (v4l2_std_id *) arg;
2992- down_interruptible(&vpfe->lock);
2993- ret = sense_std(id);
2994- up(&vpfe->lock);
2995- break;
2996- }
2997- case VIDIOC_G_PRIORITY:
2998- {
2999- enum v4l2_priority *p = arg;
3000- *p = v4l2_prio_max(&vpfe->prio);
3001- break;
3002- }
3003- case VIDIOC_S_PRIORITY:
3004- {
3005- enum v4l2_priority *p = arg;
3006- ret = v4l2_prio_change(&vpfe->prio, &fh->prio, *p);
3007- break;
3008- }
3009-
3010- case VIDIOC_REQBUFS:
3011- if (vpfe->io_usrs != 0) {
3012- ret = -EBUSY;
3013- break;
3014- }
3015- down_interruptible(&vpfe->lock);
3016- videobuf_queue_init(&vpfe->bufqueue, &video_qops, NULL,
3017- &vpfe->irqlock, V4L2_BUF_TYPE_VIDEO_CAPTURE, vpfe->field,
3018- sizeof(struct videobuf_buffer), fh);
3019-
3020- videobuf_set_buftype(&vpfe->bufqueue, VIDEOBUF_BUF_LINEAR);
3021-
3022- fh->io_allowed = TRUE;
3023- vpfe->io_usrs = 1;
3024- INIT_LIST_HEAD(&vpfe->dma_queue);
3025- ret = videobuf_reqbufs(&vpfe->bufqueue, arg);
3026- up(&vpfe->lock);
3027- break;
3028- case VIDIOC_QUERYBUF:
3029- ret = videobuf_querybuf(&vpfe->bufqueue, arg);
3030- break;
3031- case VIDIOC_QBUF:
3032- if (!fh->io_allowed)
3033- ret = -EACCES;
3034- else
3035- ret = videobuf_qbuf(&vpfe->bufqueue, arg);
3036- break;
3037- case VIDIOC_DQBUF:
3038- if (!fh->io_allowed)
3039- ret = -EACCES;
3040- else
3041- ret = videobuf_dqbuf(&vpfe->bufqueue, arg, 0);
3042- break;
3043- case VIDIOC_STREAMON:
3044- if (!fh->io_allowed) {
3045- ret = -EACCES;
3046- break;
3047- }
3048- if(vpfe->started){
3049- ret = -EBUSY;
3050- break;
3051- }
3052- ret = videobuf_streamon(&vpfe->bufqueue);
3053- if(ret) break;
3054-
3055- down_interruptible(&vpfe->lock);
3056- /* get the current and next frame buffers */
3057- /* we expect at least one buffer is in driver at this point */
3058- /* if not, error is returned */
3059- if (list_empty(&vpfe->dma_queue)) {
3060- ret = -EIO;
3061- break;
3062- }
3063- debug_print(KERN_INFO "cur frame %x.\n",
3064- vpfe->dma_queue.next);
3065- vpfe->nextFrm = vpfe->curFrm =
3066- list_entry(vpfe->dma_queue.next,
3067- struct videobuf_buffer, queue);
3068- /* remove the buffer from the queue */
3069- list_del(&vpfe->curFrm->queue);
3070- vpfe->curFrm->state = STATE_ACTIVE;
3071-
3072- /* sense the current video input standard */
3073- tvp5146_ctrl(TVP5146_CONFIG, &vpfe->tvp5146_params);
3074- /* configure the ccdc and resizer as needed */
3075- /* start capture by enabling CCDC and resizer */
3076- ccdc_config_ycbcr(&vpfe->ccdc_params);
3077- /* setup the memory address for the frame buffer */
3078- ccdc_setfbaddr(((unsigned long)(vpfe->curFrm->boff)));
3079- /* enable CCDC */
3080- vpfe->field_id = 0;
3081- vpfe->started = TRUE;
3082- vpfe->mode_changed = FALSE;
3083- vpfe->field_offset =
3084- (vpfe->vwin.height - 2) * vpfe->vwin.width;
3085- ccdc_enable(TRUE);
3086- up(&vpfe->lock);
3087- debug_print(KERN_INFO "started video streaming.\n");
3088- break;
3089- case VIDIOC_STREAMOFF:
3090- {
3091- if (!fh->io_allowed) {
3092- ret = -EACCES;
3093- break;
3094- }
3095- if(!vpfe->started){
3096- ret = -EINVAL;
3097- break;
3098- }
3099- /* disable CCDC */
3100- down_interruptible(&vpfe->lock);
3101- ccdc_enable(FALSE);
3102- vpfe->started = FALSE;
3103- up(&vpfe->lock);
3104- ret = videobuf_streamoff(&vpfe->bufqueue);
3105- break;
3106- }
3107- case VPFE_CMD_CONFIG_CCDC:
3108- {
3109- /* this can be used directly and bypass the V4L2 APIs */
3110- ccdc_params_ycbcr *params = &vpfe->ccdc_params;
3111- if(vpfe->started){
3112- /* only allowed if streaming is not started */
3113- ret = -EBUSY;
3114- break;
3115- }
3116- down_interruptible(&vpfe->lock);
3117- /* make sure the other v4l2 related fields
3118- have consistant settings */
3119- *params = (*(ccdc_params_ycbcr *) arg);
3120- vpfe->vwin = params->win;
3121- if (params->buf_type == CCDC_BUFTYPE_FLD_INTERLEAVED) {
3122- vpfe->field = V4L2_FIELD_INTERLACED;
3123- } else if (params->buf_type ==
3124- CCDC_BUFTYPE_FLD_SEPARATED) {
3125- vpfe->field = V4L2_FIELD_SEQ_TB;
3126- }
3127- if (params->pix_order == CCDC_PIXORDER_YCBYCR) {
3128- vpfe->pixelfmt = V4L2_PIX_FMT_YUYV;
3129- } else if (params->pix_order == CCDC_PIXORDER_CBYCRY) {
3130- vpfe->pixelfmt = V4L2_PIX_FMT_UYVY;
3131- }
3132- up(&vpfe->lock);
3133- break;
3134- }
3135- case VPFE_CMD_CONFIG_TVP5146:
3136- /* this can be used directly and bypass the V4L2 APIs */
3137- {
3138- /* the settings here must be consistant with that of the CCDC's,
3139- driver does not check the consistancy */
3140- tvp5146_params *params = (tvp5146_params *) arg;
3141- v4l2_std_id std = 0;
3142- if(vpfe->started){
3143- /* only allowed if streaming is not started */
3144- ret = -EBUSY;
3145- break;
3146- }
3147- down_interruptible(&vpfe->lock);
3148- /*make sure the other v4l2 related fields have consistant settings */
3149- switch (params->mode & 0x7) {
3150- case TVP5146_MODE_NTSC:
3151- std = V4L2_STD_NTSC;
3152- break;
3153- case TVP5146_MODE_PAL:
3154- std = V4L2_STD_PAL;
3155- break;
3156- case TVP5146_MODE_PAL_M:
3157- std = V4L2_STD_PAL_M;
3158- break;
3159- case TVP5146_MODE_PAL_CN:
3160- std = V4L2_STD_PAL_N;
3161- break;
3162- case TVP5146_MODE_SECAM:
3163- std = V4L2_STD_SECAM;
3164- break;
3165- case TVP5146_MODE_PAL_60:
3166- std = V4L2_STD_PAL_60;
3167- break;
3168- }
3169-
3170- if (params->mode & 0x8) { /* square pixel mode */
3171- std <<= 32;
3172- }
3173-
3174- if (params->mode == TVP5146_MODE_AUTO) { /* auto-detection modes */
3175- std = VPFE_STD_AUTO;
3176- } else if (params->mode == TVP5146_MODE_AUTO_SQP) {
3177- std = VPFE_STD_AUTO_SQP;
3178- }
3179-
3180- if (std & V4L2_STD_625_50) {
3181- vpfe->bounds = pal_bounds;
3182- vpfe->pixelaspect = pal_aspect;
3183- } else if (std & V4L2_STD_525_60) {
3184- vpfe->bounds = ntsc_bounds;
3185- vpfe->pixelaspect = ntsc_aspect;
3186- } else if (std & VPFE_STD_625_50_SQP) {
3187- vpfe->bounds = palsp_bounds;
3188- vpfe->pixelaspect = sp_aspect;
3189- } else if (std & VPFE_STD_525_60_SQP) {
3190- vpfe->bounds = ntscsp_bounds;
3191- vpfe->pixelaspect = sp_aspect;
3192- }
3193- vpfe->std = std;
3194- tvp5146_ctrl(TVP5146_CONFIG, params);
3195- vpfe->tvp5146_params = *params;
3196- up(&vpfe->lock);
3197- break;
3198- }
3199- default:
3200- ret = -ENOIOCTLCMD;
3201- break;
3202- } /* end switch(cmd) */
3203- return ret;
3204-}
3205-
3206-static int vpfe_ioctl(struct inode *inode, struct file *file,
3207- unsigned int cmd, unsigned long arg)
3208-{
3209- int ret;
3210- ret = video_usercopy(inode, file, cmd, arg, vpfe_doioctl);
3211- if( cmd == VIDIOC_S_FMT || cmd == VIDIOC_TRY_FMT ){
3212- ret = video_usercopy(inode, file, VIDIOC_G_FMT,
3213- arg, vpfe_doioctl);
3214- }
3215- return ret;
3216-}
3217-
3218-static int vpfe_mmap(struct file *file, struct vm_area_struct *vma)
3219-{
3220- return videobuf_mmap_mapper(&vpfe_device.bufqueue, vma);
3221-}
3222-
3223-static int vpfe_open(struct inode *inode, struct file *filep)
3224-{
3225- int minor = iminor(inode);
3226- vpfe_obj *vpfe = NULL;
3227- vpfe_fh *fh = NULL;
3228-
3229- debug_print(KERN_INFO "vpfe: open minor=%d\n", minor);
3230-
3231- /* check to make sure the minor numbers match */
3232- if (vpfe_device.video_dev && vpfe_device.video_dev->minor == minor) {
3233- vpfe = &vpfe_device;
3234- } else { /* device not found here */
3235- return -ENODEV;
3236- }
3237-
3238- /* allocate per filehandle data */
3239- if ((fh = kmalloc(sizeof(*fh), GFP_KERNEL)) == NULL) {
3240- return -ENOMEM;
3241- }
3242- filep->private_data = fh;
3243- fh->dev = vpfe;
3244- fh->io_allowed = FALSE;
3245- fh->prio = V4L2_PRIORITY_UNSET;
3246- v4l2_prio_open(&vpfe->prio, &fh->prio);
3247- vpfe->usrs++;
3248-
3249- return 0;
3250-}
3251-
3252-static int vpfe_release(struct inode *inode, struct file *filep)
3253-{
3254- vpfe_fh *fh = filep->private_data;
3255- vpfe_obj *vpfe = fh->dev;
3256-
3257- down_interruptible(&vpfe->lock);
3258- if (fh->io_allowed) {
3259- vpfe->io_usrs = 0;
3260- ccdc_enable(FALSE);
3261- vpfe->started = FALSE;
3262- videobuf_queue_cancel(&vpfe->bufqueue);
3263- vpfe->numbuffers = VPFE_DEFNUM_FBUFS;
3264- }
3265- vpfe->usrs--;
3266- v4l2_prio_close(&vpfe->prio, &fh->prio);
3267- filep->private_data = NULL;
3268- kfree(fh);
3269- up(&vpfe->lock);
3270-
3271- return 0;
3272-}
3273-
3274-static struct file_operations vpfe_fops = {
3275- .owner = THIS_MODULE,
3276- .open = vpfe_open,
3277- .release = vpfe_release,
3278- .ioctl = vpfe_ioctl,
3279- .mmap = vpfe_mmap
3280-};
3281-
3282-static struct video_device vpfe_video_template = {
3283- .name = "vpfe",
3284- .type = VID_TYPE_CAPTURE | VID_TYPE_CLIPPING | VID_TYPE_SCALES,
3285- .hardware = 0,
3286- .fops = &vpfe_fops,
3287- .minor = -1,
3288-};
3289-
3290-static void vpfe_platform_release(struct device *device)
3291-{
3292- /* This is called when the reference count goes to zero. */
3293-}
3294-
3295-static int __init vpfe_probe(struct device *device)
3296-{
3297- struct video_device *vfd;
3298- vpfe_obj *vpfe = &vpfe_device;
3299-
3300- /* alloc video device */
3301- if ((vfd = video_device_alloc()) == NULL) {
3302- return -ENOMEM;
3303- }
3304- *vfd = vpfe_video_template;
3305- vfd->dev = device;
3306- vfd->release = video_device_release;
3307- snprintf(vfd->name, sizeof(vfd->name), "DM644X_VPFE_DRIVER_V%d.%d.%d",
3308- (VPFE_VERSION_CODE >> 16) & 0xff,
3309- (VPFE_VERSION_CODE >> 8) & 0xff, (VPFE_VERSION_CODE) & 0xff);
3310-
3311- vpfe->video_dev = vfd;
3312- vpfe->usrs = 0;
3313- vpfe->io_usrs = 0;
3314- vpfe->started = FALSE;
3315- vpfe->latest_only = TRUE;
3316-
3317- v4l2_prio_init(&vpfe->prio);
3318- init_MUTEX(&vpfe->lock);
3319- /* register video device */
3320- debug_print(KERN_INFO "trying to register vpfe device.\n");
3321- debug_print(KERN_INFO "vpfe=%x,vpfe->video_dev=%x\n", (int)vpfe,
3322- (int)&vpfe->video_dev);
3323- if (video_register_device(vpfe->video_dev, VFL_TYPE_GRABBER, -1) < 0) {
3324- video_device_release(vpfe->video_dev);
3325- vpfe->video_dev = NULL;
3326- return -1;
3327- }
3328-
3329- debug_print(KERN_INFO "DM644X vpfe: driver version V%d.%d.%d loaded\n",
3330- (VPFE_VERSION_CODE >> 16) & 0xff,
3331- (VPFE_VERSION_CODE >> 8) & 0xff,
3332- (VPFE_VERSION_CODE) & 0xff);
3333-
3334- debug_print(KERN_INFO "vpfe: registered device video%d\n",
3335- vpfe->video_dev->minor & 0x1f);
3336-
3337- /* all done */
3338- return 0;
3339-}
3340-
3341-static int vpfe_remove(struct device *device)
3342-{
3343- /* un-register device */
3344- video_unregister_device(vpfe_device.video_dev);
3345-
3346- return 0;
3347-}
3348-
3349-#ifdef NEW
3350-static struct platform_driver vpfe_driver = {
3351- .driver = {
3352- .name = "VPFE",
3353- .owner = THIS_MODULE,
3354- },
3355- .probe = vpfe_probe,
3356- .remove = vpfe_remove,
3357-};
3358-
3359-#else
3360-static struct device_driver vpfe_driver = {
3361- .name = "vpfe",
3362- .bus = &platform_bus_type,
3363- .probe = vpfe_probe,
3364- .remove = vpfe_remove,
3365-};
3366-#endif
3367-
3368-static struct platform_device _vpfe_device = {
3369- .name = "vpfe",
3370- .id = 1,
3371- .dev = {
3372- .release = vpfe_platform_release,
3373- }
3374-};
3375-
3376-static int vpfe_init(void)
3377-{
3378- int i = 0;
3379- void *mem;
3380- /* allocate memory at initialization time to guarentee availability */
3381- for (i = 0; i < VPFE_DEFNUM_FBUFS; i++) {
3382- mem = (void *)__get_free_pages(GFP_KERNEL | GFP_DMA,
3383- VPFE_MAX_FBUF_ORDER);
3384- if (mem) {
3385- unsigned long adr = (unsigned long)mem;
3386- u32 size = PAGE_SIZE << VPFE_MAX_FBUF_ORDER;
3387- while (size > 0) {
3388- /* make sure the frame buffers
3389- are never swapped out of memory */
3390- SetPageReserved(virt_to_page(adr));
3391- adr += PAGE_SIZE;
3392- size -= PAGE_SIZE;
3393- }
3394- vpfe_device.fbuffers[i] = (u8 *) mem;
3395- debug_print(KERN_INFO "memory address %d\t%x\n", i,
3396- mem);
3397- } else {
3398- while (--i >= 0) {
3399- free_pages((unsigned long)vpfe_device.fbuffers[i],
3400- VPFE_MAX_FBUF_ORDER);
3401- }
3402- debug_print(KERN_INFO
3403- "frame buffer memory allocation failed.\n");
3404- return -ENOMEM;
3405- }
3406- }
3407- if (driver_register(&vpfe_driver) != 0) {
3408- debug_print(KERN_INFO "driver registration failed\n");
3409- return -1;
3410- }
3411- if (platform_device_register(&_vpfe_device) != 0) {
3412- driver_unregister(&vpfe_driver);
3413- debug_print(KERN_INFO "device registration failed\n");
3414- return -1;
3415- }
3416-
3417- ccdc_reset();
3418- tvp5146_ctrl(TVP5146_RESET, NULL);
3419- /* configure the tvp5146 to default parameters */
3420- tvp5146_ctrl(TVP5146_CONFIG, &vpfe_device.tvp5146_params);
3421- /* setup interrupt handling */
3422- request_irq(IRQ_VDINT0, vpfe_isr, SA_INTERRUPT,
3423- "dm644xv4l2", (void *)&vpfe_device);
3424-
3425- printk(KERN_INFO "DaVinci v4l2 capture driver V1.0 loaded\n");
3426- return 0;
3427-}
3428-
3429-static void vpfe_cleanup(void)
3430-{
3431- int i = vpfe_device.numbuffers;
3432- platform_device_unregister(&_vpfe_device);
3433- driver_unregister(&vpfe_driver);
3434- /* disable interrupt */
3435- free_irq(IRQ_VDINT0, &vpfe_device);
3436-
3437- while (--i >= 0) {
3438- free_pages((unsigned long)vpfe_device.fbuffers[i],
3439- VPFE_MAX_FBUF_ORDER);
3440- }
3441- debug_print(KERN_INFO "vpfe: un-registered device video.\n");
3442-}
3443-
3444-module_init(vpfe_init);
3445-module_exit(vpfe_cleanup);
3446diff --git a/include/media/davinci/vpfe_capture.h b/include/media/davinci/vpfe_capture.h
3447new file mode 100644
3448index 0000000..c2b4e11
3449--- /dev/null
3450+++ b/include/media/davinci/vpfe_capture.h
3451@@ -0,0 +1,272 @@
3452+/*
3453+ * Copyright (C) 2008-2009 Texas Instruments Inc
3454+ *
3455+ * This program is free software; you can redistribute it and/or modify
3456+ * it under the terms of the GNU General Public License as published by
3457+ * the Free Software Foundation; either version 2 of the License, or
3458+ * (at your option) any later version.
3459+ *
3460+ * This program is distributed in the hope that it will be useful,
3461+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3462+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3463+ * GNU General Public License for more details.
3464+ *
3465+ * You should have received a copy of the GNU General Public License
3466+ * along with this program; if not, write to the Free Software
3467+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3468+ */
3469+
3470+#ifndef _VPFE_CAPTURE_H
3471+#define _VPFE_CAPTURE_H
3472+
3473+#ifdef __KERNEL__
3474+
3475+/* Header files */
3476+#include <linux/videodev2.h>
3477+#include <media/v4l2-ioctl.h>
3478+#include <media/v4l2-int-device.h>
3479+#include <media/videobuf-dma-contig.h>
3480+#include <media/davinci/ccdc_hw_device.h>
3481+
3482+#define VPFE_CAPTURE_NUM_DECODERS 5
3483+
3484+/* Macros */
3485+#define VPFE_MAJOR_RELEASE 0
3486+#define VPFE_MINOR_RELEASE 0
3487+#define VPFE_BUILD 1
3488+#define VPFE_CAPTURE_VERSION_CODE ((VPFE_MAJOR_RELEASE << 16) | \
3489+ (VPFE_MINOR_RELEASE << 8) | \
3490+ VPFE_BUILD)
3491+
3492+#define VPFE_VALID_FIELD(field) ((V4L2_FIELD_ANY == field) || \
3493+ (V4L2_FIELD_NONE == field) || \
3494+ (V4L2_FIELD_INTERLACED == field) || \
3495+ (V4L2_FIELD_SEQ_TB == field))
3496+
3497+#define VPFE_VALID_BUFFER_TYPE(buftype) { \
3498+ (V4L2_BUF_TYPE_VIDEO_CAPTURE == buftype) }
3499+
3500+#define VPFE_CAPTURE_MAX_DEVICES 1
3501+#define VPFE_MAX_DECODER_STD 50
3502+#define VPFE_TIMER_COUNT 5
3503+#define VPFE_SLICED_BUF_SIZE 256
3504+#define VPFE_SLICED_MAX_SERVICES 3
3505+#define VPFE_HBI_INDEX 2
3506+#define VPFE_VBI_INDEX 1
3507+#define VPFE_VIDEO_INDEX 0
3508+
3509+/* Define for device type to be passed in init */
3510+#define MT9T001 0
3511+#define TVP5146 1
3512+#define MT9T031 2
3513+#define MT9P031 3
3514+#define TVP7002 4
3515+
3516+#define VPFE_NUMBER_OF_OBJECTS 1
3517+
3518+/* Macros */
3519+#define ISALIGNED(a) (0 == (a % 32))
3520+#define ISEXTERNALCMD(cmd) ((VPFE_CMD_S_DECODER_PARAMS == cmd) || \
3521+ (VPFE_CMD_G_DECODER_PARAMS == cmd) || \
3522+ (VPFE_CMD_S_CCDC_PARAMS == cmd) || \
3523+ (VPFE_CMD_G_CCDC_PARAMS == cmd) || \
3524+ (VPFE_CMD_CONFIG_CCDC_YCBCR == cmd) || \
3525+ (VPFE_CMD_CONFIG_CCDC_RAW == cmd) || \
3526+ (VPFE_CMD_CONFIG_TVP5146 == cmd) || \
3527+ (VPFE_CMD_S_MT9T001_PARAMS == cmd) || \
3528+ (VPFE_CMD_G_MT9T001_PARAMS == cmd))
3529+
3530+#include <media/v4l2-dev.h>
3531+#define VPFE_MAX_SECOND_RESOLUTION_SIZE (640 * 480 * 2)
3532+#define ROUND32(x) ((((x)+31) >> 5) << 5)
3533+#define ISNULL(val) ((val == NULL) ? 1 : 0)
3534+#define VPFE_MAX_PIX_FORMATS 6
3535+enum vpfe_irq_use_type {
3536+ VPFE_USE_CCDC_IRQ,
3537+ VPFE_USE_IMP_IRQ,
3538+ VPFE_NO_IRQ
3539+};
3540+
3541+/* enumerated data types */
3542+/* Enumerated data type to give id to each device per channel */
3543+enum vpfe_channel_id {
3544+ /* Channel0 Video */
3545+ VPFE_CHANNEL0_VIDEO = 0,
3546+ /* Channel1 Video */
3547+ VPFE_CHANNEL1_VIDEO,
3548+};
3549+
3550+/* structures */
3551+/* Table to keep track of the standards supported in all the decoders */
3552+struct vpfe_decoder_std_tbl {
3553+ u8 dec_idx;
3554+ u8 std_idx;
3555+ v4l2_std_id std;
3556+};
3557+
3558+enum output_src {
3559+ VPFE_CCDC_OUT = 1,
3560+ VPFE_IMP_PREV_OUT = 2,
3561+ VPFE_IMP_RSZ_OUT = 4
3562+};
3563+
3564+struct vpfe_pixel_format {
3565+ unsigned int pix_fmt;
3566+ char *desc;
3567+ enum vpfe_hw_pix_format hw_fmt;
3568+};
3569+
3570+struct vpfe_std_info {
3571+ int activepixels;
3572+ int activelines;
3573+ /* current frame format */
3574+ int frame_format;
3575+};
3576+
3577+#define VPFE_MAX_DEC_INPUTS 5
3578+
3579+/* To map high level input name to decoder input */
3580+struct vpfe_dec_input {
3581+ char dec_name[32];
3582+ struct v4l2_input input;
3583+ struct v4l2_routing route;
3584+ int routing_supported;
3585+};
3586+
3587+struct vpfe_capture_input {
3588+ int num_inputs;
3589+ struct vpfe_dec_input inputs[VPFE_MAX_DEC_INPUTS];
3590+ int current_input;
3591+};
3592+
3593+struct video_obj {
3594+ /* Keeps track of the information about the standard */
3595+ struct vpfe_std_info std_info;
3596+ /* index into std table */
3597+ int index;
3598+ /* All inputs to the driver */
3599+ struct vpfe_capture_input *input;
3600+};
3601+
3602+struct common_obj {
3603+ /* Buffer specific parameters */
3604+ /* List of buffer pointers for storing frames */
3605+ u8 *fbuffers[VIDEO_MAX_FRAME];
3606+ /* number of buffers in fbuffers */
3607+ u32 numbuffers;
3608+ /* Pointer pointing to current v4l2_buffer */
3609+ struct videobuf_buffer *curFrm;
3610+ /* Pointer pointing to next v4l2_buffer */
3611+ struct videobuf_buffer *nextFrm;
3612+ /* This field keeps track of type of buffer exchange mechanism
3613+ * user has selected
3614+ */
3615+ enum v4l2_memory memory;
3616+ /* Used to store pixel format */
3617+ struct v4l2_format fmt;
3618+ /* Buffer queue used in video-buf */
3619+ struct videobuf_queue buffer_queue;
3620+ /* Queue of filled frames */
3621+ struct list_head dma_queue;
3622+ /* Used in video-buf */
3623+ spinlock_t irqlock;
3624+ /* channel specifc parameters */
3625+ /* lock used to access this structure */
3626+ struct mutex lock;
3627+ /* number of users performing IO */
3628+ u32 io_usrs;
3629+ /* Indicates whether streaming started */
3630+ u8 started;
3631+ /* offset where second field starts from the starting of the
3632+ * buffer for field seperated YCbCr formats
3633+ */
3634+ u32 field_off;
3635+ /* Indicates width of the image data */
3636+ u32 width;
3637+ /* Indicates height of the image data */
3638+ u32 height;
3639+ /* used when IMP is chained to store the crop window which
3640+ * is different from the image window
3641+ */
3642+ struct v4l2_rect crop;
3643+};
3644+
3645+struct channel_obj {
3646+ /* V4l2 specific parameters */
3647+ /* Identifies video device for this channel */
3648+ struct video_device *video_dev;
3649+ /* Used to keep track of state of the priority */
3650+ struct v4l2_prio_state prio;
3651+ /* number of open instances of the channel */
3652+ u32 usrs;
3653+ /* Indicates id of the field which is being displayed */
3654+ u32 field_id;
3655+ /* flag to indicate whether decoder is initialized */
3656+ u8 initialized;
3657+ /* Identifies channel */
3658+ enum vpfe_channel_id channel_id;
3659+ /* current interface parameters */
3660+ struct v4l2_ifparm ifparams;
3661+ /* current interface type */
3662+ enum vpfe_hw_if_type vpfe_if;
3663+ /* number of decoders registered with the master */
3664+ u8 numdecoders;
3665+ /* decoder slave ptrs */
3666+ struct v4l2_int_device *decoder[VPFE_CAPTURE_NUM_DECODERS];
3667+ /* Index of the currently selected decoder */
3668+ u8 current_decoder;
3669+ void *res1;
3670+ void *res2;
3671+ /* To track if we need to attach IPIPE IRQ or CCDC IRQ */
3672+ enum vpfe_irq_use_type irq_type;
3673+ /* CCDC IRQs used when CCDC/ISIF output to SDRAM */
3674+ unsigned int ccdc_irq0;
3675+ unsigned int ccdc_irq1;
3676+ enum output_src out_from;
3677+ struct common_obj common[VPFE_NUMBER_OF_OBJECTS];
3678+ struct video_obj video;
3679+};
3680+
3681+/* File handle structure */
3682+struct vpfe_fh {
3683+ /* pointer to channel object for opened device */
3684+ struct channel_obj *channel;
3685+ /* Indicates whether this file handle is doing IO */
3686+ u8 io_allowed[VPFE_NUMBER_OF_OBJECTS];
3687+ /* Used to keep track priority of this instance */
3688+ enum v4l2_priority prio;
3689+ /* Used to indicate channel is initialize or not */
3690+ u8 initialized;
3691+};
3692+
3693+/* vpfe device structure */
3694+struct vpfe_device {
3695+ struct channel_obj *dev[CCDC_CAPTURE_NUM_CHANNELS];
3696+};
3697+
3698+struct vpfe_config_params {
3699+ u8 min_numbuffers;
3700+ u8 numbuffers[CCDC_CAPTURE_NUM_CHANNELS];
3701+ u32 min_bufsize[CCDC_CAPTURE_NUM_CHANNELS];
3702+ u32 channel_bufsize[CCDC_CAPTURE_NUM_CHANNELS];
3703+};
3704+
3705+
3706+/* SoC Capture hardware interface */
3707+extern struct ccdc_hw_device ccdc_hw_dev;
3708+#define CAPTURE_DRV_NAME "vpfe-capture"
3709+#endif /* End of __KERNEL__ */
3710+
3711+/* IOCTLs */
3712+#define VPFE_CMD_LATEST_FRM_ONLY \
3713+ _IOW('V', BASE_VIDIOC_PRIVATE + 1, int)
3714+#define VPFE_CMD_G_DECODER_PARAMS _IOR('V', BASE_VIDIOC_PRIVATE + 2, \
3715+ void *)
3716+#define VPFE_CMD_S_DECODER_PARAMS _IOW('V', BASE_VIDIOC_PRIVATE + 3, \
3717+ void *)
3718+#define VPFE_CMD_S_SOC_PARAMS _IOW('V', BASE_VIDIOC_PRIVATE + 4, \
3719+ void *)
3720+#define VPFE_CMD_G_SOC_PARAMS _IOW('V', BASE_VIDIOC_PRIVATE + 5, \
3721+ void *)
3722+
3723+#endif /* _DAVINCI_VPFE_H */
3724diff --git a/include/media/davinci/vpfe_types.h b/include/media/davinci/vpfe_types.h
3725new file mode 100644
3726index 0000000..09d0531
3727--- /dev/null
3728+++ b/include/media/davinci/vpfe_types.h
3729@@ -0,0 +1,71 @@
3730+/*
3731+ * Copyright (C) 2008-2009 Texas Instruments Inc
3732+ *
3733+ * This program is free software; you can redistribute it and/or modify
3734+ * it under the terms of the GNU General Public License as published by
3735+ * the Free Software Foundation; either version 2 of the License, or
3736+ * (at your option)any later version.
3737+ *
3738+ * This program is distributed in the hope that it will be useful,
3739+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3740+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3741+ * GNU General Public License for more details.
3742+ *
3743+ * You should have received a copy of the GNU General Public License
3744+ * along with this program; if not, write to the Free Software
3745+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3746+ */
3747+#ifndef _VPFE_TYPES_H
3748+#define _VPFE_TYPES_H
3749+
3750+#ifdef __KERNEL__
3751+
3752+enum vpfe_hw_if_type {
3753+ /* BT656 - 8 bit */
3754+ VPFE_BT656,
3755+ /* BT1120 - 16 bit */
3756+ VPFE_BT1120,
3757+ /* Raw Bayer */
3758+ VPFE_RAW_BAYER,
3759+ /* YCbCr - 8 bit with external sync */
3760+ VPFE_YCBCR_SYNC_8,
3761+ /* YCbCr - 16 bit with external sync */
3762+ VPFE_YCBCR_SYNC_16,
3763+ /* BT656 - 10 bit */
3764+ VPFE_BT656_10BIT
3765+};
3766+
3767+enum vpfe_sync_pol {
3768+ VPFE_SYNC_POSITIVE = 0,
3769+ VPFE_SYNC_NEGATIVE
3770+};
3771+
3772+/* Pixel format to be used across vpfe driver */
3773+enum vpfe_hw_pix_format {
3774+ VPFE_BAYER_8BIT_PACK,
3775+ VPFE_BAYER_8BIT_PACK_ALAW,
3776+ VPFE_BAYER_8BIT_PACK_DPCM,
3777+ VPFE_BAYER_12BIT_PACK,
3778+ /* 16 bit Bayer */
3779+ VPFE_BAYER,
3780+ VPFE_UYVY,
3781+ VPFE_YUYV,
3782+ VPFE_RGB565,
3783+ VPFE_RGB888,
3784+ /* YUV 420 */
3785+ VPFE_YUV420,
3786+ /* YUV 420, Y data */
3787+ VPFE_420_Y,
3788+ /* YUV 420, C data */
3789+ VPFE_420_C,
3790+};
3791+
3792+/* interface description */
3793+struct vpfe_hw_if_param {
3794+ enum vpfe_hw_if_type if_type;
3795+ enum vpfe_sync_pol hdpol;
3796+ enum vpfe_sync_pol vdpol;
3797+};
3798+
3799+#endif
3800+#endif
3801diff --git a/include/media/davinci_vpfe.h b/include/media/davinci_vpfe.h
3802deleted file mode 100644
3803index 26e7b2c..0000000
3804--- a/include/media/davinci_vpfe.h
3805+++ /dev/null
3806@@ -1,121 +0,0 @@
3807-/*
3808- * Copyright (C) 2006 Texas Instruments Inc
3809- *
3810- * This program is free software; you can redistribute it and/or modify
3811- * it under the terms of the GNU General Public License as published by
3812- * the Free Software Foundation; either version 2 of the License, or
3813- * (at your option) any later version.
3814- *
3815- * This program is distributed in the hope that it will be useful,
3816- * but WITHOUT ANY WARRANTY; without even the implied warranty of
3817- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3818- * GNU General Public License for more details.
3819- *
3820- * You should have received a copy of the GNU General Public License
3821- * along with this program; if not, write to the Free Software
3822- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
3823- */
3824-/* davinci_vpfe.h */
3825-
3826-#ifndef DAVINCI_VPFE_H
3827-#define DAVINCI_VPFE_H
3828-#ifdef __KERNEL__
3829-#include <media/v4l2-dev.h>
3830-#endif
3831-
3832-#include <media/ccdc_davinci.h>
3833-#include <media/tvp5146.h>
3834-
3835-#define TRUE 1
3836-#define FALSE 0
3837-
3838-/* vpfe specific video standards */
3839-#define VPFE_STD_625_50_SQP ((V4L2_STD_625_50)<<32)
3840-#define VPFE_STD_525_60_SQP ((V4L2_STD_525_60)<<32)
3841-#define VPFE_STD_AUTO ((v4l2_std_id)(0x1000000000000000ULL))
3842-#define VPFE_STD_AUTO_SQP ((v4l2_std_id)(0x2000000000000000ULL))
3843-
3844-#define VPFE_CMD_CONFIG_CCDC _IOW('V',BASE_VIDIOC_PRIVATE + 1,ccdc_params_ycbcr)
3845-#define VPFE_CMD_LATEST_FRM_ONLY _IOW('V',BASE_VIDIOC_PRIVATE + 2,int)
3846-#define VPFE_CMD_CONFIG_TVP5146 _IOW('V',BASE_VIDIOC_PRIVATE + 3,tvp5146_params)
3847-
3848-/* settings for commonly used video formats */
3849-#define VPFE_WIN_NTSC {0,0,720,480}
3850-#define VPFE_WIN_PAL {0,0,720,576}
3851-#define VPFE_WIN_NTSC_SP {0,0,640,480} /* ntsc square pixel */
3852-#define VPFE_WIN_PAL_SP {0,0,768,576} /* pal square pixel */
3853-#define VPFE_WIN_CIF {0,0,352,288}
3854-#define VPFE_WIN_QCIF {0,0,176,144}
3855-#define VPFE_WIN_QVGA {0,0,320,240}
3856-#define VPFE_WIN_SIF {0,0,352,240}
3857-
3858-
3859-#ifdef __KERNEL__
3860-
3861-#include <media/video-buf.h>
3862-
3863-#define VPFE_MAJOR_RELEASE 0
3864-#define VPFE_MINOR_RELEASE 0
3865-#define VPFE_BUILD 1
3866-
3867-#define VPFE_VERSION_CODE \
3868- (VPFE_MAJOR_RELEASE<<16) | (VPFE_MINOR_RELEASE<<8) | VPFE_BUILD
3869-
3870-/* By default, the driver is setup for auto-swich mode */
3871-#define VPFE_DEFAULT_STD VPFE_STD_AUTO
3872-
3873-#define VPFE_PIXELASPECT_NTSC {11, 10}
3874-#define VPFE_PIXELASPECT_PAL {54, 59}
3875-#define VPFE_PIXELASPECT_NTSC_SP {1, 1}
3876-#define VPFE_PIXELASPECT_PAL_SP {1, 1}
3877-#define VPFE_PIXELASPECT_DEFAULT {1, 1}
3878-
3879-#define VPFE_MAX_FRAME_WIDTH 768 /* account for PAL Square pixel mode */
3880-#define VPFE_MAX_FRAME_HEIGHT 576 /* account for PAL */
3881-/* 4:2:2 data */
3882-#define VPFE_MAX_FBUF_SIZE (VPFE_MAX_FRAME_WIDTH*VPFE_MAX_FRAME_HEIGHT*2)
3883-/* frame buffers allocate at driver initialization time */
3884-#define VPFE_DEFNUM_FBUFS 3
3885-
3886-#define VPFE_MAX_FBUF_ORDER \
3887- get_order(roundup_pow_of_two(VPFE_MAX_FBUF_SIZE))
3888-
3889-/* device object */
3890-typedef struct vpfe_obj {
3891- struct video_device *video_dev;
3892- struct videobuf_queue bufqueue;/* queue with frame buffers */
3893- struct list_head dma_queue;
3894- u32 latest_only; /* indicate whether to return the most */
3895- /* recent captured buffers only */
3896- u32 usrs;
3897- u32 io_usrs;
3898- struct v4l2_prio_state prio;
3899- v4l2_std_id std;
3900- struct v4l2_rect vwin;
3901- struct v4l2_rect bounds;
3902- struct v4l2_fract pixelaspect;
3903- spinlock_t irqlock;
3904- struct semaphore lock;
3905- enum v4l2_field field;
3906- u32 pixelfmt;
3907- u32 numbuffers;
3908- u8* fbuffers[VIDEO_MAX_FRAME];
3909- struct videobuf_buffer *curFrm;
3910- struct videobuf_buffer *nextFrm;
3911- int field_id;
3912- int mode_changed;
3913- int started;
3914- int field_offset;
3915- tvp5146_params tvp5146_params;
3916- ccdc_params_ycbcr ccdc_params;
3917-} vpfe_obj;
3918-
3919-/* file handle */
3920-typedef struct vpfe_fh {
3921- struct vpfe_obj *dev;
3922- int io_allowed;
3923- enum v4l2_priority prio;
3924-} vpfe_fh;
3925-#endif
3926-
3927-#endif /* DAVINCI_VPFE_H */
3928-- 1.6.0.4 \ No newline at end of file
diff --git a/recipes-kernel/linux/linux-davinci/vfpe2.patch b/recipes-kernel/linux/linux-davinci/vfpe2.patch
deleted file mode 100644
index 8915ee33..00000000
--- a/recipes-kernel/linux/linux-davinci/vfpe2.patch
+++ /dev/null
@@ -1,200 +0,0 @@
1Subject:
2[PATCH 2/7] interface for configuring CCDC and common ccdc types
3From:
4m-karicheri2-l0cyMroinI0@public.gmane.org
5Date:
6Fri, 13 Mar 2009 17:22:39 -0400
7To:
8davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org, davinci_opensource_ccb-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org, psp_video-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org
9Newsgroups:
10gmane.linux.davinci
11
12Adding an interface for configuring ccdc as per data format of decoder
13output. Also adds a header file for common ccdc data types.
14
15Signed-off-by: Murali Karicheri <m-karicheri2-l0cyMroinI0@public.gmane.org>
16---
17 include/media/davinci/ccdc_common.h | 48 +++++++++++++
18 include/media/davinci/ccdc_hw_device.h | 117 ++++++++++++++++++++++++++++++++
19 2 files changed, 165 insertions(+), 0 deletions(-)
20 create mode 100644 include/media/davinci/ccdc_common.h
21 create mode 100644 include/media/davinci/ccdc_hw_device.h
22
23diff --git a/include/media/davinci/ccdc_common.h b/include/media/davinci/ccdc_common.h
24new file mode 100644
25index 0000000..0992af5
26--- /dev/null
27+++ b/include/media/davinci/ccdc_common.h
28@@ -0,0 +1,48 @@
29+/*
30+ * Copyright (C) 2008-2009 Texas Instruments Inc
31+ *
32+ * This program is free software; you can redistribute it and/or modify
33+ * it under the terms of the GNU General Public License as published by
34+ * the Free Software Foundation; either version 2 of the License, or
35+ * (at your option) any later version.
36+ *
37+ * This program is distributed in the hope that it will be useful,
38+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
39+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40+ * GNU General Public License for more details.
41+ *
42+ * You should have received a copy of the GNU General Public License
43+ * along with this program; if not, write to the Free Software
44+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
45+ *
46+ **************************************************************************/
47+#ifndef _CCDC_COMMON_H
48+#define _CCDC_COMMON_H
49+enum ccdc_pixfmt {
50+ CCDC_PIXFMT_RAW = 0,
51+ CCDC_PIXFMT_YCBCR_16BIT = 1,
52+ CCDC_PIXFMT_YCBCR_8BIT = 2
53+};
54+
55+enum ccdc_frmfmt {
56+ CCDC_FRMFMT_PROGRESSIVE = 0,
57+ CCDC_FRMFMT_INTERLACED = 1
58+};
59+
60+/* PIXEL ORDER IN MEMORY from LSB to MSB */
61+/* only applicable for 8-bit input mode */
62+enum ccdc_pixorder {
63+ CCDC_PIXORDER_CBYCRY = 1,
64+ CCDC_PIXORDER_YCBYCR = 0
65+};
66+
67+enum ccdc_buftype {
68+ CCDC_BUFTYPE_FLD_INTERLEAVED,
69+ CCDC_BUFTYPE_FLD_SEPARATED
70+};
71+
72+enum ccdc_pinpol {
73+ CCDC_PINPOL_POSITIVE = 0,
74+ CCDC_PINPOL_NEGATIVE = 1
75+};
76+#endif
77diff --git a/include/media/davinci/ccdc_hw_device.h b/include/media/davinci/ccdc_hw_device.h
78new file mode 100644
79index 0000000..4ae9876
80--- /dev/null
81+++ b/include/media/davinci/ccdc_hw_device.h
82@@ -0,0 +1,117 @@
83+/*
84+ * Copyright (C) 2008 Texas Instruments Inc
85+ *
86+ * This program is free software; you can redistribute it and/or modify
87+ * it under the terms of the GNU General Public License as published by
88+ * the Free Software Foundation; either version 2 of the License, or
89+ * (at your option) any later version.
90+ *
91+ * This program is distributed in the hope that it will be useful,
92+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
93+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
94+ * GNU General Public License for more details.
95+ *
96+ * You should have received a copy of the GNU General Public License
97+ * along with this program; if not, write to the Free Software
98+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
99+ *
100+ * ccdc device API
101+ */
102+#ifndef _CCDC_HW_DEVICE_H
103+#define _CCDC_HW_DEVICE_H
104+
105+#ifdef __KERNEL__
106+#include <linux/videodev2.h>
107+#include <linux/device.h>
108+#include <media/davinci/vpfe_types.h>
109+#include <media/davinci/ccdc_common.h>
110+/*
111+ * Maximum number of capture channels supported by VPFE
112+ */
113+#define CCDC_CAPTURE_NUM_CHANNELS 1
114+/*
115+ * vpfe hw interface
116+ */
117+struct ccdc_hw_device {
118+
119+ /* vpfe device name */
120+ char name[30];
121+
122+ /* Pointer to initialize function to initialize ccdc device */
123+ int (*open) (struct device *dev);
124+ /* Set of functions pointers for control related functions.
125+ * Use queryctrl of decoder interface to check if it is a decoder
126+ * control id. If not passed to ccdc to process it
127+ */
128+ /* set ccdc base address */
129+ void (*set_ccdc_base)(void *base, int size);
130+
131+ /* set vpss base address */
132+ void (*set_vpss_base)(void *base, int size);
133+
134+ /* get ccdc base */
135+ void * (*get_ccdc_base)(void);
136+
137+ /* get vpss base */
138+ void * (*get_vpss_base)(void);
139+
140+ void (*enable) (int en);
141+ /*
142+ * Pointer to function to enable or disable ccdc
143+ */
144+ u32 (*reset) (void);
145+ /* reset sbl. only for 6446 */
146+ void (*enable_out_to_sdram) (int en);
147+ /* Pointer to function to set hw frame type */
148+ int (*set_hw_if_type) (enum vpfe_hw_if_type iface);
149+ /* get interface parameters */
150+ int (*get_hw_if_params) (struct vpfe_hw_if_param *param);
151+ /* Pointer to function to set parameters. Used
152+ * for implementing VPFE_S_CCDC_PARAMS
153+ */
154+ int (*setparams) (void *params);
155+ /* Pointer to function to get parameter. Used
156+ * for implementing VPFE_G_CCDC_PARAMS
157+ */
158+ int (*getparams) (void *params);
159+ /* Pointer to function to configure ccdc */
160+ int (*configure) (void);
161+
162+ /* enumerate hw pix formats */
163+ int (*enum_pix)(enum vpfe_hw_pix_format *hw_pix, int i);
164+ /* Pointer to function to set buffer type */
165+ int (*set_buftype) (enum ccdc_buftype buf_type);
166+ /* Pointer to function to get buffer type */
167+ int (*get_buftype) (enum ccdc_buftype *buf_type);
168+ /* Pointer to function to set frame format */
169+ int (*set_frame_format) (enum ccdc_frmfmt frm_fmt);
170+ /* Pointer to function to get frame format */
171+ int (*get_frame_format) (enum ccdc_frmfmt *frm_fmt);
172+ /* Pointer to function to set buffer type */
173+ int (*get_pixelformat) (enum vpfe_hw_pix_format *pixfmt);
174+ /* Pointer to function to get pixel format. Uses V4L2 type */
175+ int (*set_pixelformat) (enum vpfe_hw_pix_format pixfmt);
176+ /* Pointer to function to set image window */
177+ int (*set_image_window) (struct v4l2_rect *win);
178+ /* Pointer to function to set image window */
179+ int (*get_image_window) (struct v4l2_rect *win);
180+ /* Pointer to function to get line length */
181+ int (*get_line_length) (unsigned int *len);
182+
183+ /* Query SoC control IDs */
184+ int (*queryctrl)(struct v4l2_queryctrl *qctrl);
185+ /* Set SoC control */
186+ int (*setcontrol)(struct v4l2_control *ctrl);
187+ /* Get SoC control */
188+ int (*getcontrol)(struct v4l2_control *ctrl);
189+ /* Pointer to function to set current standard info */
190+ /* Pointer to function to set frame buffer address */
191+ void (*setfbaddr) (unsigned long addr);
192+ /* Pointer to function to get field id */
193+ int (*getfid) (void);
194+ /* Pointer to deinitialize function */
195+ int (*close) (struct device *dev);
196+};
197+
198+#endif
199+#endif
200-- 1.6.0.4 \ No newline at end of file
diff --git a/recipes-kernel/linux/linux-davinci/vfpe3.patch b/recipes-kernel/linux/linux-davinci/vfpe3.patch
deleted file mode 100644
index f655b507..00000000
--- a/recipes-kernel/linux/linux-davinci/vfpe3.patch
+++ /dev/null
@@ -1,2558 +0,0 @@
1Subject:
2[PATCH 3/7] ccdc hw module and header file for DM355
3From:
4m-karicheri2-l0cyMroinI0@public.gmane.org
5Date:
6Fri, 13 Mar 2009 17:22:56 -0400
7To:
8davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org, davinci_opensource_ccb-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org, psp_video-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org
9Newsgroups:
10gmane.linux.davinci
11
12Adds ccdc hw module and it's header file
13
14Signed-off-by: Murali Karicheri <m-karicheri2-l0cyMroinI0@public.gmane.org>
15---
16 drivers/media/video/davinci/ccdc_dm355.c | 1766 ++++++++++++++++++++++++++++++
17 drivers/media/video/davinci/ccdc_dm355.h | 758 +++++++++++++
18 2 files changed, 2524 insertions(+), 0 deletions(-)
19 create mode 100644 drivers/media/video/davinci/ccdc_dm355.c
20 create mode 100644 drivers/media/video/davinci/ccdc_dm355.h
21
22diff --git a/drivers/media/video/davinci/ccdc_dm355.c b/drivers/media/video/davinci/ccdc_dm355.c
23new file mode 100644
24index 0000000..b03dbaf
25--- /dev/null
26+++ b/drivers/media/video/davinci/ccdc_dm355.c
27@@ -0,0 +1,1766 @@
28+/*
29+ * Copyright (C) 2005-2009 Texas Instruments Inc
30+ *
31+ * This program is free software; you can redistribute it and/or modify
32+ * it under the terms of the GNU General Public License as published by
33+ * the Free Software Foundation; either version 2 of the License, or
34+ * (at your option) any later version.
35+ *
36+ * This program is distributed in the hope that it will be useful,
37+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
38+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39+ * GNU General Public License for more details.
40+ *
41+ * You should have received a copy of the GNU General Public License
42+ * along with this program; if not, write to the Free Software
43+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
44+ */
45+#include <linux/platform_device.h>
46+#include <linux/uaccess.h>
47+#include <asm/page.h>
48+#include <media/davinci/ccdc_hw_device.h>
49+#include "ccdc_dm355.h"
50+
51+static struct device *dev;
52+
53+/*Object for CCDC raw mode */
54+static struct ccdc_params_raw ccdc_hw_params_raw = {
55+ .pix_fmt = CCDC_PIXFMT_RAW,
56+ .frm_fmt = CCDC_FRMFMT_PROGRESSIVE,
57+ .win = CCDC_WIN_VGA,
58+ .fid_pol = CCDC_PINPOL_POSITIVE,
59+ .vd_pol = CCDC_PINPOL_POSITIVE,
60+ .hd_pol = CCDC_PINPOL_POSITIVE,
61+ .image_invert_enable = 0,
62+ .data_sz = _10BITS,
63+ .med_filt_thres = 0,
64+ .mfilt1 = NO_MEDIAN_FILTER1,
65+ .mfilt2 = NO_MEDIAN_FILTER2,
66+ .ccdc_offset = 0,
67+ .gain = {
68+ .r_ye = 256,
69+ .gb_g = 256,
70+ .gr_cy = 256,
71+ .b_mg = 256
72+ },
73+ .lpf_enable = 0,
74+ .datasft = 2,
75+ .alaw = {
76+ .b_alaw_enable = 0,
77+ .gama_wd = 2
78+ },
79+ .blk_clamp = {
80+ .b_clamp_enable = 0,
81+ .sample_pixel = 1,
82+ .start_pixel = 0,
83+ .dc_sub = 25
84+ },
85+ .blk_comp = {
86+ .b_comp = 0,
87+ .gb_comp = 0,
88+ .gr_comp = 0,
89+ .r_comp = 0
90+ },
91+ .vertical_dft = {
92+ .ver_dft_en = 0
93+ },
94+ .lens_sh_corr = {
95+ .lsc_enable = 0
96+ },
97+ .data_formatter_r = {
98+ .fmt_enable = 0
99+ },
100+ .color_space_con = {
101+ .csc_enable = 0
102+ },
103+ .col_pat_field0 = {
104+ .olop = CCDC_GREEN_BLUE,
105+ .olep = CCDC_BLUE,
106+ .elop = CCDC_RED,
107+ .elep = CCDC_GREEN_RED
108+ },
109+ .col_pat_field1 = {
110+ .olop = CCDC_GREEN_BLUE,
111+ .olep = CCDC_BLUE,
112+ .elop = CCDC_RED,
113+ .elep = CCDC_GREEN_RED
114+ }
115+};
116+
117+
118+/*Object for CCDC ycbcr mode */
119+static struct ccdc_params_ycbcr ccdc_hw_params_ycbcr = {
120+ .win = CCDC_WIN_PAL,
121+ .pix_fmt = CCDC_PIXFMT_YCBCR_8BIT,
122+ .frm_fmt = CCDC_FRMFMT_INTERLACED,
123+ .fid_pol = CCDC_PINPOL_POSITIVE,
124+ .vd_pol = CCDC_PINPOL_POSITIVE,
125+ .hd_pol = CCDC_PINPOL_POSITIVE,
126+ .bt656_enable = 1,
127+ .pix_order = CCDC_PIXORDER_CBYCRY,
128+ .buf_type = CCDC_BUFTYPE_FLD_INTERLEAVED
129+};
130+
131+static struct v4l2_queryctrl ccdc_control_info[CCDC_MAX_CONTROLS] = {
132+ {
133+ .id = CCDC_CID_R_GAIN,
134+ .name = "R/Ye WB Gain",
135+ .type = V4L2_CTRL_TYPE_INTEGER,
136+ .minimum = 0,
137+ .maximum = 2047,
138+ .step = 1,
139+ .default_value = 256
140+ },
141+ {
142+ .id = CCDC_CID_GR_GAIN,
143+ .name = "Gr/Cy WB Gain",
144+ .type = V4L2_CTRL_TYPE_INTEGER,
145+ .minimum = 0,
146+ .maximum = 2047,
147+ .step = 1,
148+ .default_value = 256
149+ },
150+ {
151+ .id = CCDC_CID_GB_GAIN,
152+ .name = "Gb/G WB Gain",
153+ .type = V4L2_CTRL_TYPE_INTEGER,
154+ .minimum = 0,
155+ .maximum = 2047,
156+ .step = 1,
157+ .default_value = 256
158+ },
159+ {
160+ .id = CCDC_CID_B_GAIN,
161+ .name = "B/Mg WB Gain",
162+ .type = V4L2_CTRL_TYPE_INTEGER,
163+ .minimum = 0,
164+ .maximum = 2047,
165+ .step = 1,
166+ .default_value = 256
167+ },
168+ {
169+ .id = CCDC_CID_OFFSET,
170+ .name = "Offset",
171+ .type = V4L2_CTRL_TYPE_INTEGER,
172+ .minimum = 0,
173+ .maximum = 1023,
174+ .step = 1,
175+ .default_value = 0
176+ }
177+};
178+
179+static struct ccdc_config_params_raw ccdc_hw_params_raw_temp;
180+static enum vpfe_hw_if_type ccdc_if_type;
181+static void *__iomem ccdc_base_addr;
182+static int ccdc_addr_size;
183+static void *__iomem vpss_base_addr;
184+static int vpss_addr_size;
185+
186+#define CCDC_MAX_RAW_BAYER_FORMATS 2
187+#define CCDC_MAX_RAW_YUV_FORMATS 2
188+
189+/* Raw Bayer formats */
190+enum vpfe_hw_pix_format ccdc_raw_bayer_hw_formats[CCDC_MAX_RAW_BAYER_FORMATS] =
191+ {VPFE_BAYER_8BIT_PACK_ALAW, VPFE_BAYER};
192+
193+/* Raw YUV formats */
194+enum vpfe_hw_pix_format ccdc_raw_yuv_hw_formats[CCDC_MAX_RAW_YUV_FORMATS] =
195+ {VPFE_UYVY, VPFE_YUYV};
196+
197+/* register access routines */
198+static inline u32 regr(u32 offset)
199+{
200+ if (offset <= ccdc_addr_size)
201+ return __raw_readl(ccdc_base_addr + offset);
202+ else {
203+ dev_err(dev, "offset exceeds ccdc register address space\n");
204+ return -1;
205+ }
206+}
207+
208+static inline u32 regw(u32 val, u32 offset)
209+{
210+ if (offset <= ccdc_addr_size) {
211+ __raw_writel(val, ccdc_base_addr + offset);
212+ return val;
213+ } else {
214+ dev_err(dev, "offset exceeds ccdc register address space\n");
215+ return -1;
216+ }
217+}
218+
219+/* register access routines */
220+static inline u32 regr_bl(u32 offset)
221+{
222+ if (offset <= vpss_addr_size)
223+ return __raw_readl(vpss_base_addr + offset);
224+ else {
225+ dev_err(dev, "offset exceeds vpss register address space\n");
226+ return -1;
227+ }
228+}
229+
230+static inline u32 regw_bl(u32 val, u32 offset)
231+{
232+ if (offset <= vpss_addr_size) {
233+ __raw_writel(val, vpss_base_addr + offset);
234+ return val;
235+ } else {
236+ dev_err(dev, "offset exceeds vpss register address space\n");
237+ return -1;
238+ }
239+}
240+static void ccdc_set_ccdc_base(void *addr, int size)
241+{
242+ ccdc_base_addr = addr;
243+ ccdc_addr_size = size;
244+}
245+
246+static void ccdc_set_vpss_base(void *addr, int size)
247+{
248+ vpss_base_addr = addr;
249+ vpss_addr_size = size;
250+}
251+
252+static void *ccdc_get_ccdc_base(void)
253+{
254+ return (void *)ccdc_base_addr;
255+}
256+
257+static void *ccdc_get_vpss_base(void)
258+{
259+ return (void *)vpss_base_addr;
260+}
261+
262+static void ccdc_enable(int en)
263+{
264+ unsigned int temp;
265+ temp = regr(SYNCEN);
266+ temp &= (~0x1);
267+ temp |= (en & 0x01);
268+ regw(temp, SYNCEN);
269+}
270+
271+static void ccdc_enable_output_to_sdram(int en)
272+{
273+ unsigned int temp;
274+ temp = regr(SYNCEN);
275+ temp &= (~(0x1 << 1));
276+ temp |= (en & 0x01) << 1;
277+ regw(temp, SYNCEN);
278+}
279+
280+static void ccdc_config_gain_offset(void)
281+{
282+ /* configure gain */
283+ regw(ccdc_hw_params_raw.gain.r_ye, RYEGAIN);
284+ regw(ccdc_hw_params_raw.gain.gr_cy, GRCYGAIN);
285+ regw(ccdc_hw_params_raw.gain.gb_g, GBGGAIN);
286+ regw(ccdc_hw_params_raw.gain.b_mg, BMGGAIN);
287+ /* configure offset */
288+ regw(ccdc_hw_params_raw.ccdc_offset, OFFSET);
289+}
290+
291+/* Query control. Only applicable for Bayer capture */
292+static int ccdc_queryctrl(struct v4l2_queryctrl *qctrl)
293+{
294+ int i, id;
295+ struct v4l2_queryctrl *control = NULL;
296+
297+ dev_dbg(dev, "ccdc_queryctrl: start\n");
298+ if (NULL == qctrl) {
299+ dev_err(dev, "ccdc_queryctrl : invalid user ptr\n");
300+ return -EINVAL;
301+ }
302+
303+ if (VPFE_RAW_BAYER != ccdc_if_type) {
304+ dev_err(dev,
305+ "ccdc_queryctrl : Not doing Raw Bayer Capture\n");
306+ return -EINVAL;
307+ }
308+
309+ id = qctrl->id;
310+ memset(qctrl, 0, sizeof(struct v4l2_queryctrl));
311+ for (i = 0; i < CCDC_MAX_CONTROLS; i++) {
312+ control = &ccdc_control_info[i];
313+ if (control->id == id)
314+ break;
315+ }
316+ if (i == CCDC_MAX_CONTROLS) {
317+ dev_err(dev, "ccdc_queryctrl : Invalid control ID\n");
318+ return -EINVAL;
319+ }
320+ memcpy(qctrl, control, sizeof(struct v4l2_queryctrl));
321+ dev_dbg(dev, "ccdc_queryctrl: end\n");
322+ return 0;
323+}
324+
325+static int ccdc_setcontrol(struct v4l2_control *ctrl)
326+{
327+ int i;
328+ struct v4l2_queryctrl *control = NULL;
329+ struct ccdc_gain *gain =
330+ &ccdc_hw_params_raw.gain;
331+
332+ if (NULL == ctrl) {
333+ dev_err(dev, "ccdc_setcontrol: invalid user ptr\n");
334+ return -EINVAL;
335+ }
336+
337+ if (ccdc_if_type != VPFE_RAW_BAYER) {
338+ dev_err(dev,
339+ "ccdc_setcontrol: Not doing Raw Bayer Capture\n");
340+ return -EINVAL;
341+ }
342+
343+ for (i = 0; i < CCDC_MAX_CONTROLS; i++) {
344+ control = &ccdc_control_info[i];
345+ if (control->id == ctrl->id)
346+ break;
347+ }
348+
349+ if (i == CCDC_MAX_CONTROLS) {
350+ dev_err(dev, "ccdc_queryctrl : Invalid control ID, 0x%x\n",
351+ control->id);
352+ return -EINVAL;
353+ }
354+
355+ if (ctrl->value > control->maximum) {
356+ dev_err(dev, "ccdc_queryctrl : Invalid control value\n");
357+ return -EINVAL;
358+ }
359+
360+ switch (ctrl->id) {
361+ case CCDC_CID_R_GAIN:
362+ gain->r_ye = ctrl->value & CCDC_GAIN_MASK;
363+ break;
364+ case CCDC_CID_GR_GAIN:
365+ gain->gr_cy = ctrl->value & CCDC_GAIN_MASK;
366+ break;
367+ case CCDC_CID_GB_GAIN:
368+ gain->gb_g = ctrl->value & CCDC_GAIN_MASK;
369+ break;
370+
371+ case CCDC_CID_B_GAIN:
372+ gain->b_mg = ctrl->value & CCDC_GAIN_MASK;
373+ break;
374+ default:
375+ ccdc_hw_params_raw.ccdc_offset = ctrl->value & CCDC_OFFSET_MASK;
376+ }
377+
378+ /* set it in hardware */
379+ ccdc_config_gain_offset();
380+ return 0;
381+}
382+
383+static int ccdc_getcontrol(struct v4l2_control *ctrl)
384+{
385+ int i;
386+ struct v4l2_queryctrl *control = NULL;
387+
388+ if (NULL == ctrl) {
389+ dev_err(dev, "ccdc_setcontrol: invalid user ptr\n");
390+ return -EINVAL;
391+ }
392+
393+ if (ccdc_if_type != VPFE_RAW_BAYER) {
394+ dev_err(dev,
395+ "ccdc_setcontrol: Not doing Raw Bayer Capture\n");
396+ return -EINVAL;
397+ }
398+
399+ for (i = 0; i < CCDC_MAX_CONTROLS; i++) {
400+ control = &ccdc_control_info[i];
401+ if (control->id == ctrl->id)
402+ break;
403+ }
404+
405+ if (i == CCDC_MAX_CONTROLS) {
406+ dev_err(dev, "ccdc_queryctrl : Invalid control ID\n");
407+ return -EINVAL;
408+ }
409+
410+ switch (ctrl->id) {
411+ case CCDC_CID_R_GAIN:
412+ ctrl->value = ccdc_hw_params_raw.gain.r_ye;
413+ break;
414+ case CCDC_CID_GR_GAIN:
415+ ctrl->value = ccdc_hw_params_raw.gain.gr_cy;
416+ break;
417+ case CCDC_CID_GB_GAIN:
418+ ctrl->value = ccdc_hw_params_raw.gain.gb_g;
419+ break;
420+ case CCDC_CID_B_GAIN:
421+ ctrl->value = ccdc_hw_params_raw.gain.b_mg;
422+ break;
423+ default:
424+ /* offset */
425+ ctrl->value = ccdc_hw_params_raw.ccdc_offset;
426+ }
427+ /* set it in hardware */
428+ return 0;
429+}
430+
431+static void ccdc_reset(void)
432+{
433+ int i, clkctrl;
434+ /* disable CCDC */
435+ dev_dbg(dev, "\nstarting ccdc_reset...");
436+ ccdc_enable(0);
437+ /* set all registers to default value */
438+ for (i = 0; i <= 0x15c; i += 4)
439+ regw(0, i);
440+ /* no culling support */
441+ regw(0xffff, CULH);
442+ regw(0xff, CULV);
443+ /* Set default Gain and Offset */
444+ ccdc_hw_params_raw.gain.r_ye = 256;
445+ ccdc_hw_params_raw.gain.gb_g = 256;
446+ ccdc_hw_params_raw.gain.gr_cy = 256;
447+ ccdc_hw_params_raw.gain.b_mg = 256;
448+ ccdc_hw_params_raw.ccdc_offset = 0;
449+ ccdc_config_gain_offset();
450+ /* up to 12 bit sensor */
451+ regw(0x0FFF, OUTCLIP);
452+ /* CCDC input Mux select directly from sensor */
453+ regw_bl(0x00, CCDCMUX);
454+ dev_dbg(dev, "\nEnd of ccdc_reset...");
455+}
456+
457+static int ccdc_open(struct device *device)
458+{
459+ dev = device;
460+ ccdc_reset();
461+ return 0;
462+}
463+
464+/*
465+ * ======== ccdc_setwin ========
466+ *
467+ * This function will configure the window size to
468+ * be capture in CCDC reg
469+ */
470+static void ccdc_setwin(struct ccdc_imgwin *image_win,
471+ enum ccdc_frmfmt frm_fmt, int ppc)
472+{
473+ int horz_start, horz_nr_pixels;
474+ int vert_start, vert_nr_lines;
475+ int mid_img = 0;
476+ dev_dbg(dev, "\nStarting ccdc_setwin...");
477+ /* configure horizonal and vertical starts and sizes */
478+ horz_start = image_win->left << (ppc - 1);
479+ horz_nr_pixels = ((image_win->width) << (ppc - 1)) - 1;
480+
481+ /*Writing the horizontal info into the registers */
482+ regw(horz_start & START_PX_HOR_MASK, SPH);
483+ regw(horz_nr_pixels & NUM_PX_HOR_MASK, NPH);
484+ vert_start = image_win->top;
485+
486+ if (frm_fmt == CCDC_FRMFMT_INTERLACED) {
487+ vert_nr_lines = (image_win->height >> 1) - 1;
488+ vert_start >>= 1;
489+ vert_start += 1; /* Since first line doesn't have any data */
490+ /* configure VDINT0 and VDINT1 */
491+ regw(vert_start, VDINT0);
492+ } else {
493+ vert_start += 1; /* Since first line doesn't have any data */
494+ vert_nr_lines = image_win->height - 1;
495+ /* configure VDINT0 and VDINT1 */
496+ mid_img = vert_start + (image_win->height / 2);
497+ regw(vert_start, VDINT0);
498+ regw(mid_img, VDINT1);
499+ }
500+ regw(vert_start & START_VER_ONE_MASK, SLV0);
501+ regw(vert_start & START_VER_TWO_MASK, SLV1);
502+ regw(vert_nr_lines & NUM_LINES_VER, NLV);
503+ dev_dbg(dev, "\nEnd of ccdc_setwin...");
504+}
505+
506+static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam)
507+{
508+ if (ccdcparam->pix_fmt != 0) {
509+ dev_err(dev,
510+ "Invalid value of pix_fmt, only raw supported\n");
511+ return -1;
512+ }
513+
514+ if (ccdcparam->frm_fmt != 0) {
515+ dev_err(dev,
516+ "Only Progressive frame format is supported\n");
517+ return -1;
518+ }
519+
520+ if (ccdcparam->fid_pol != CCDC_PINPOL_POSITIVE
521+ && ccdcparam->fid_pol != CCDC_PINPOL_NEGATIVE) {
522+ dev_err(dev, "Invalid value of field id polarity\n");
523+ return -1;
524+ }
525+
526+ if (ccdcparam->vd_pol != CCDC_PINPOL_POSITIVE
527+ && ccdcparam->vd_pol != CCDC_PINPOL_NEGATIVE) {
528+ dev_err(dev, "Invalid value of VD polarity\n");
529+ return -1;
530+ }
531+
532+ if (ccdcparam->hd_pol != CCDC_PINPOL_POSITIVE
533+ && ccdcparam->hd_pol != CCDC_PINPOL_NEGATIVE) {
534+ dev_err(dev, "Invalid value of HD polarity\n");
535+ return -1;
536+ }
537+
538+ if (ccdcparam->datasft < NO_SHIFT || ccdcparam->datasft > _6BIT) {
539+ dev_err(dev, "Invalid value of data shift\n");
540+ return -1;
541+ }
542+
543+ if (ccdcparam->mfilt1 < NO_MEDIAN_FILTER1
544+ || ccdcparam->mfilt1 > MEDIAN_FILTER1) {
545+ dev_err(dev, "Invalid value of median filter1\n");
546+ return -1;
547+ }
548+
549+ if (ccdcparam->mfilt2 < NO_MEDIAN_FILTER2
550+ || ccdcparam->mfilt2 > MEDIAN_FILTER2) {
551+ dev_err(dev, "Invalid value of median filter2\n");
552+ return -1;
553+ }
554+
555+ if (ccdcparam->ccdc_offset < 0 || ccdcparam->ccdc_offset > 1023) {
556+ dev_err(dev, "Invalid value of offset\n");
557+ return -1;
558+ }
559+
560+ if ((ccdcparam->med_filt_thres < 0)
561+ || (ccdcparam->med_filt_thres > 0x3FFF)) {
562+ dev_err(dev, "Invalid value of median filter thresold\n");
563+ return -1;
564+ }
565+
566+ if (ccdcparam->data_sz < _16BITS || ccdcparam->data_sz > _8BITS) {
567+ dev_err(dev, "Invalid value of data size\n");
568+ return -1;
569+ }
570+
571+ if (ccdcparam->alaw.b_alaw_enable) {
572+ if (ccdcparam->alaw.gama_wd < BITS_13_4
573+ || ccdcparam->alaw.gama_wd > BITS_09_0) {
574+ dev_err(dev, "Invalid value of ALAW\n");
575+ return -1;
576+ }
577+ }
578+
579+ if (ccdcparam->blk_clamp.b_clamp_enable) {
580+ if (ccdcparam->blk_clamp.sample_pixel < _1PIXELS
581+ || ccdcparam->blk_clamp.sample_pixel > _16PIXELS) {
582+ dev_err(dev, "Invalid value of sample pixel\n");
583+ return -1;
584+ }
585+ if (ccdcparam->blk_clamp.sample_ln < _1LINES
586+ || ccdcparam->blk_clamp.sample_ln > _16LINES) {
587+ dev_err(dev, "Invalid value of sample lines\n");
588+ return -1;
589+ }
590+
591+ }
592+
593+ if (ccdcparam->lens_sh_corr.lsc_enable) {
594+ dev_err(dev, "Lens shadding correction is not supported\n");
595+ return -1;
596+ }
597+ return 0;
598+}
599+
600+static int ccdc_update_raw_params(void *arg)
601+{
602+ struct ccdc_config_params_raw *raw =
603+ (struct ccdc_config_params_raw *)arg;
604+
605+ ccdc_hw_params_raw.pix_fmt =
606+ raw->pix_fmt;
607+ ccdc_hw_params_raw.frm_fmt =
608+ raw->frm_fmt;
609+ ccdc_hw_params_raw.win =
610+ raw->win;
611+ ccdc_hw_params_raw.fid_pol =
612+ raw->fid_pol;
613+ ccdc_hw_params_raw.vd_pol =
614+ raw->vd_pol;
615+ ccdc_hw_params_raw.hd_pol =
616+ raw->hd_pol;
617+ ccdc_hw_params_raw.buf_type =
618+ raw->buf_type;
619+ ccdc_hw_params_raw.datasft =
620+ raw->datasft;
621+ ccdc_hw_params_raw.mfilt1 =
622+ raw->mfilt1;
623+ ccdc_hw_params_raw.mfilt2 =
624+ raw->mfilt2;
625+ ccdc_hw_params_raw.lpf_enable =
626+ raw->lpf_enable;
627+ ccdc_hw_params_raw.horz_flip_enable =
628+ raw->horz_flip_enable;
629+ ccdc_hw_params_raw.ccdc_offset =
630+ raw->ccdc_offset;
631+ ccdc_hw_params_raw.med_filt_thres =
632+ raw->med_filt_thres;
633+ ccdc_hw_params_raw.image_invert_enable =
634+ raw->image_invert_enable;
635+ ccdc_hw_params_raw.data_sz =
636+ raw->data_sz;
637+ ccdc_hw_params_raw.alaw =
638+ raw->alaw;
639+ ccdc_hw_params_raw.data_offset_s =
640+ raw->data_offset_s;
641+ ccdc_hw_params_raw.blk_clamp =
642+ raw->blk_clamp;
643+ ccdc_hw_params_raw.vertical_dft =
644+ raw->vertical_dft;
645+ ccdc_hw_params_raw.lens_sh_corr =
646+ raw->lens_sh_corr;
647+ ccdc_hw_params_raw.data_formatter_r =
648+ raw->data_formatter_r;
649+ ccdc_hw_params_raw.color_space_con =
650+ raw->color_space_con;
651+ ccdc_hw_params_raw.col_pat_field0 =
652+ raw->col_pat_field0;
653+ ccdc_hw_params_raw.col_pat_field1 =
654+ raw->col_pat_field1;
655+
656+ return 0;
657+}
658+
659+static int ccdc_update_ycbcr_params(void *arg)
660+{
661+ if (copy_from_user(&ccdc_hw_params_ycbcr,
662+ (struct ccdc_params_ycbcr *)arg,
663+ sizeof(struct ccdc_params_ycbcr))) {
664+ dev_err(dev, "ccdc_update_ycbcr_params: error"
665+ "in copying ccdc params\n");
666+ return -EFAULT;
667+ }
668+ return 0;
669+}
670+
671+/* Parameter operations */
672+static int ccdc_setparams(void *params)
673+{
674+ int x;
675+ if (ccdc_if_type == VPFE_RAW_BAYER) {
676+ x = copy_from_user(&ccdc_hw_params_raw_temp,
677+ (struct ccdc_config_params_raw *)params,
678+ sizeof(struct ccdc_config_params_raw));
679+ if (x) {
680+ dev_err(dev, "ccdc_setparams: error in copying ccdc"
681+ "params, %d\n", x);
682+ return -EFAULT;
683+ }
684+
685+ if (!validate_ccdc_param(&ccdc_hw_params_raw_temp)) {
686+ if (!ccdc_update_raw_params(&ccdc_hw_params_raw_temp))
687+ return 0;
688+ }
689+ } else
690+ return ccdc_update_ycbcr_params(params);
691+ return -EINVAL;
692+}
693+
694+
695+/*This function will configure CCDC for YCbCr parameters*/
696+static void ccdc_config_ycbcr(void)
697+{
698+ u32 modeset;
699+ struct ccdc_params_ycbcr *params = &ccdc_hw_params_ycbcr;
700+
701+ /* first reset the CCDC */
702+ /* all registers have default values after reset */
703+ /* This is important since we assume default values to be set in */
704+ /* a lot of registers that we didn't touch */
705+ dev_dbg(dev, "\nStarting ccdc_config_ycbcr...");
706+ ccdc_reset();
707+
708+ /* configure pixel format */
709+ modeset = (params->pix_fmt & 0x3) << 12;
710+
711+ /* configure video frame format */
712+ modeset |= (params->frm_fmt & 0x1) << 7;
713+
714+ /* setup BT.656 sync mode */
715+ if (params->bt656_enable) {
716+ regw(3, REC656IF);
717+ /* configure the FID, VD, HD pin polarity */
718+ /* fld,hd pol positive, vd negative, 8-bit pack mode */
719+ modeset |= 0x04;
720+ } else { /* y/c external sync mode */
721+ modeset |= ((params->fid_pol & 0x1) << 4);
722+ modeset |= ((params->hd_pol & 0x1) << 3);
723+ modeset |= ((params->vd_pol & 0x1) << 2);
724+ }
725+
726+ /* pack the data to 8-bit */
727+ modeset |= 0x1 << 11;
728+
729+ regw(modeset, MODESET);
730+
731+ /* configure video window */
732+ ccdc_setwin(&params->win, params->frm_fmt, 2);
733+ /* configure the order of y cb cr in SD-RAM */
734+ regw((params->pix_order << 11) | 0x8040, CCDCFG);
735+
736+ /* configure the horizontal line offset */
737+ /* this is done by rounding up width to a multiple of 16 pixels */
738+ /* and multiply by two to account for y:cb:cr 4:2:2 data */
739+ regw(((((params->win.width * 2) + 31) & 0xffffffe0) >> 5), HSIZE);
740+
741+ /* configure the memory line offset */
742+ if (params->buf_type == CCDC_BUFTYPE_FLD_INTERLEAVED) {
743+ /* two fields are interleaved in memory */
744+ regw(0x00000249, SDOFST);
745+ }
746+
747+ dev_dbg(dev, "\nEnd of ccdc_config_ycbcr...\n");
748+}
749+
750+
751+/*
752+ * ======== ccdc_config_raw ========
753+ *
754+ * This function will configure CCDC for Raw mode parameters
755+ */
756+static void ccdc_config_raw(void)
757+{
758+ struct ccdc_params_raw *params = &ccdc_hw_params_raw;
759+ unsigned int mode_set = 0;
760+ unsigned int val = 0, val1 = 0;
761+ int temp1 = 0, temp2 = 0, i = 0, fmtreg_v = 0, shift_v = 0, flag = 0;
762+ int temp_gf = 0, temp_lcs = 0;
763+ dev_dbg(dev, "\nStarting ccdc_config_raw...");
764+ /* Reset CCDC */
765+ ccdc_reset();
766+
767+ /*
768+ * C O N F I G U R I N G T H E C C D C F G R E G I S T E R
769+ */
770+
771+ /*Set CCD Not to swap input since input is RAW data */
772+ val |= CCDC_YCINSWP_RAW;
773+
774+ /*set FID detection function to Latch at V-Sync */
775+ val |= CCDC_CCDCFG_FIDMD_LATCH_VSYNC << CCDC_CCDCFG_FIDMD_SHIFT;
776+
777+ /*set WENLOG - ccdc valid area */
778+ val |= CCDC_CCDCFG_WENLOG_AND << CCDC_CCDCFG_WENLOG_SHIFT;
779+
780+ /*set TRGSEL */
781+ val |= CCDC_CCDCFG_TRGSEL_WEN << CCDC_CCDCFG_TRGSEL_SHIFT;
782+
783+ /*set EXTRG */
784+ val |= CCDC_CCDCFG_EXTRG_DISABLE << CCDC_CCDCFG_EXTRG_SHIFT;
785+
786+ /* Disable latching function registers on VSYNC-busy writable
787+ registers */
788+
789+ /* Enable latching function registers on VSYNC-shadowed registers */
790+ val |= CCDC_LATCH_ON_VSYNC_DISABLE;
791+ regw(val, CCDCFG);
792+ /*
793+ * C O N F I G U R I N G T H E M O D E S E T R E G I S T E R
794+ */
795+
796+ /*Set VDHD direction to input */
797+ mode_set |=
798+ (CCDC_VDHDOUT_INPUT & CCDC_VDHDOUT_MASK) << CCDC_VDHDOUT_SHIFT;
799+
800+ /*Set input type to raw input */
801+ mode_set |=
802+ (CCDC_RAW_IP_MODE & CCDC_RAW_INPUT_MASK) << CCDC_RAW_INPUT_SHIFT;
803+
804+ /* Configure the vertical sync polarity(MODESET.VDPOL) */
805+ mode_set = (params->vd_pol & CCDC_VD_POL_MASK) << CCDC_VD_POL_SHIFT;
806+
807+ /* Configure the horizontal sync polarity (MODESET.HDPOL) */
808+ mode_set |= (params->hd_pol & CCDC_HD_POL_MASK) << CCDC_HD_POL_SHIFT;
809+
810+ /* Configure frame id polarity (MODESET.FLDPOL) */
811+ mode_set |= (params->fid_pol & CCDC_FID_POL_MASK) << CCDC_FID_POL_SHIFT;
812+
813+ /* Configure data polarity */
814+ mode_set |=
815+ (CCDC_DATAPOL_NORMAL & CCDC_DATAPOL_MASK) << CCDC_DATAPOL_SHIFT;
816+
817+ /* Configure External WEN Selection */
818+ mode_set |= (CCDC_EXWEN_DISABLE & CCDC_EXWEN_MASK) << CCDC_EXWEN_SHIFT;
819+
820+ /* Configure frame format(progressive or interlace) */
821+ mode_set |= (params->frm_fmt & CCDC_FRM_FMT_MASK) << CCDC_FRM_FMT_SHIFT;
822+
823+ /* Configure pixel format (Input mode) */
824+ mode_set |= (params->pix_fmt & CCDC_PIX_FMT_MASK) << CCDC_PIX_FMT_SHIFT;
825+
826+ if ((params->data_sz == _8BITS) || params->alaw.b_alaw_enable)
827+ mode_set |= CCDC_DATA_PACK_ENABLE;
828+
829+ /* Configure for LPF */
830+ if (params->lpf_enable)
831+ mode_set |= (params->lpf_enable & CCDC_LPF_MASK) <<
832+ CCDC_LPF_SHIFT;
833+ /* Configure the data shift */
834+ mode_set |= (params->datasft & CCDC_DATASFT_MASK) << CCDC_DATASFT_SHIFT;
835+ regw(mode_set, MODESET);
836+ dev_dbg(dev, "\nWriting 0x%x to MODESET...\n", mode_set);
837+
838+ /* Configure the Median Filter threshold */
839+ regw((params->med_filt_thres) & 0x3fff, MEDFILT);
840+
841+ /*
842+ * C O N F I G U R E T H E G A M M A W D R E G I S T E R
843+ */
844+
845+ val = 8;
846+ val |=
847+ (CCDC_CFA_MOSAIC & CCDC_GAMMAWD_CFA_MASK) << CCDC_GAMMAWD_CFA_SHIFT;
848+
849+ /* Enable and configure aLaw register if needed */
850+ if (params->alaw.b_alaw_enable) {
851+ val |= (params->alaw.gama_wd & CCDC_ALAW_GAMA_WD_MASK) << 2;
852+ val |= CCDC_ALAW_ENABLE; /*set enable bit of alaw */
853+ }
854+
855+ /* Configure Median filter1 for IPIPE capture */
856+ val |= params->mfilt1 << CCDC_MFILT1_SHIFT;
857+
858+ /* Configure Median filter2 for SDRAM capture */
859+ val |= params->mfilt2 << CCDC_MFILT2_SHIFT;
860+
861+ regw(val, GAMMAWD);
862+ dev_dbg(dev, "\nWriting 0x%x to GAMMAWD...\n", val);
863+
864+ /* configure video window */
865+ ccdc_setwin(&params->win, params->frm_fmt, 1);
866+
867+ /*
868+ * O P T I C A L B L A C K A V E R A G I N G
869+ */
870+ val = 0;
871+ if (params->blk_clamp.b_clamp_enable) {
872+ val |= (params->blk_clamp.start_pixel & CCDC_BLK_ST_PXL_MASK);
873+
874+ /* No of line to be avg */
875+ val1 |= (params->blk_clamp.sample_ln & CCDC_NUM_LINE_CALC_MASK)
876+ << CCDC_NUM_LINE_CALC_SHIFT;
877+ /* No of pixel/line to be avg */
878+ val |=
879+ (params->blk_clamp.sample_pixel & CCDC_BLK_SAMPLE_LN_MASK)
880+ << CCDC_BLK_SAMPLE_LN_SHIFT;
881+ /* Enable the Black clamping */
882+ val |= CCDC_BLK_CLAMP_ENABLE;
883+ regw(val, CLAMP);
884+
885+ dev_dbg(dev, "\nWriting 0x%x to CLAMP...\n", val);
886+ /* If Black clamping is enable then make dcsub 0 */
887+ regw(val1, DCSUB);
888+ dev_dbg(dev, "\nWriting 0x00000000 to DCSUB...\n");
889+
890+ } else {
891+ /* configure DCSub */
892+ val = (params->blk_clamp.dc_sub) & CCDC_BLK_DC_SUB_MASK;
893+ regw(val, DCSUB);
894+
895+ dev_dbg(dev, "\nWriting 0x%x to DCSUB...\n", val);
896+ regw(0x0000, CLAMP);
897+
898+ dev_dbg(dev, "\nWriting 0x0000 to CLAMP...\n");
899+ }
900+
901+ /*
902+ * C O N F I G U R E B L A C K L E V E L C O M P E N S A T I O N
903+ */
904+ val = 0;
905+ val = (params->blk_comp.b_comp & CCDC_BLK_COMP_MASK);
906+ val |= (params->blk_comp.gb_comp & CCDC_BLK_COMP_MASK)
907+ << CCDC_BLK_COMP_GB_COMP_SHIFT;
908+ regw(val, BLKCMP1);
909+
910+ val1 = 0;
911+ val1 |= (params->blk_comp.gr_comp & CCDC_BLK_COMP_MASK)
912+ << CCDC_BLK_COMP_GR_COMP_SHIFT;
913+ val1 |= (params->blk_comp.r_comp & CCDC_BLK_COMP_MASK)
914+ << CCDC_BLK_COMP_R_COMP_SHIFT;
915+ regw(val1, BLKCMP0);
916+
917+ dev_dbg(dev, "\nWriting 0x%x to BLKCMP1...\n", val);
918+ dev_dbg(dev, "\nWriting 0x%x to BLKCMP0...\n", val1);
919+
920+ /* Configure Vertical Defect Correction if needed */
921+ if (params->vertical_dft.ver_dft_en) {
922+
923+ shift_v = 0;
924+ shift_v = 0 << CCDC_DFCCTL_VDFCEN_SHIFT;
925+ shift_v |=
926+ params->vertical_dft.gen_dft_en & CCDC_DFCCTL_GDFCEN_MASK;
927+ shift_v |=
928+ (params->vertical_dft.dft_corr_ctl.
929+ vdfcsl & CCDC_DFCCTL_VDFCSL_MASK) <<
930+ CCDC_DFCCTL_VDFCSL_SHIFT;
931+ shift_v |=
932+ (params->vertical_dft.dft_corr_ctl.
933+ vdfcuda & CCDC_DFCCTL_VDFCUDA_MASK) <<
934+ CCDC_DFCCTL_VDFCUDA_SHIFT;
935+ shift_v |=
936+ (params->vertical_dft.dft_corr_ctl.
937+ vdflsft & CCDC_DFCCTL_VDFLSFT_MASK) <<
938+ CCDC_DFCCTL_VDFLSFT_SHIFT;
939+ regw(shift_v, DFCCTL);
940+ regw(params->vertical_dft.dft_corr_vert[0], DFCMEM0);
941+ regw(params->vertical_dft.dft_corr_horz[0], DFCMEM1);
942+ regw(params->vertical_dft.dft_corr_sub1[0], DFCMEM2);
943+ regw(params->vertical_dft.dft_corr_sub2[0], DFCMEM3);
944+ regw(params->vertical_dft.dft_corr_sub3[0], DFCMEM4);
945+
946+ shift_v = 0;
947+ shift_v = regr(DFCMEMCTL);
948+ shift_v |= 1 << CCDC_DFCMEMCTL_DFCMARST_SHIFT;
949+ shift_v |= 1;
950+ regw(shift_v, DFCMEMCTL);
951+
952+ while (1) {
953+ flag = regr(DFCMEMCTL);
954+ if ((flag & 0x01) == 0x00)
955+ break;
956+ }
957+ flag = 0;
958+ shift_v = 0;
959+ shift_v = regr(DFCMEMCTL);
960+ shift_v |= 0 << CCDC_DFCMEMCTL_DFCMARST_SHIFT;
961+ regw(shift_v, DFCMEMCTL);
962+
963+ for (i = 1; i < 16; i++) {
964+ regw(params->vertical_dft.dft_corr_vert[i], DFCMEM0);
965+ regw(params->vertical_dft.dft_corr_horz[i], DFCMEM1);
966+ regw(params->vertical_dft.dft_corr_sub1[i], DFCMEM2);
967+ regw(params->vertical_dft.dft_corr_sub2[i], DFCMEM3);
968+ regw(params->vertical_dft.dft_corr_sub3[i], DFCMEM4);
969+
970+ shift_v = 0;
971+ shift_v = regr(DFCMEMCTL);
972+ shift_v |= 1;
973+ regw(shift_v, DFCMEMCTL);
974+
975+ while (1) {
976+ flag = regr(DFCMEMCTL);
977+ if ((flag & 0x01) == 0x00)
978+ break;
979+ }
980+ flag = 0;
981+ }
982+ regw(params->vertical_dft.
983+ saturation_ctl & CCDC_VDC_DFCVSAT_MASK, DFCVSAT);
984+
985+ shift_v = 0;
986+ shift_v = regr(DFCCTL);
987+ shift_v |= 1 << CCDC_DFCCTL_VDFCEN_SHIFT;
988+ regw(shift_v, DFCCTL);
989+ }
990+
991+ /* Configure Lens Shading Correction if needed */
992+ if (params->lens_sh_corr.lsc_enable) {
993+ dev_dbg(dev, "\nlens shading Correction entered....\n");
994+
995+ /* first disable the LSC */
996+ regw(CCDC_LSC_DISABLE, LSCCFG1);
997+
998+ /* UPDATE PROCEDURE FOR GAIN FACTOR TABLE 1 */
999+
1000+ /* select table 1 */
1001+ regw(CCDC_LSC_TABLE1_SLC, LSCMEMCTL);
1002+
1003+ /* Reset memory address */
1004+ temp_lcs = regr(LSCMEMCTL);
1005+ temp_lcs |= CCDC_LSC_MEMADDR_RESET;
1006+ regw(temp_lcs, LSCMEMCTL);
1007+
1008+ /* Update gainfactor for table 1 - u8q8 */
1009+ temp_gf =
1010+ ((int)(params->lens_sh_corr.gf_table1[0].frac_no * 256))
1011+ & CCDC_LSC_FRAC_MASK_T1;
1012+ temp_gf |=
1013+ (((int)(params->lens_sh_corr.gf_table1[0].frac_no * 256))
1014+ & CCDC_LSC_FRAC_MASK_T1) << 8;
1015+ regw(temp_gf, LSCMEMD);
1016+
1017+ while (1) {
1018+ if ((regr(LSCMEMCTL) & 0x10) == 0)
1019+ break;
1020+ }
1021+
1022+ /* set the address to incremental mode */
1023+ temp_lcs = 0;
1024+ temp_lcs = regr(LSCMEMCTL);
1025+ temp_lcs |= CCDC_LSC_MEMADDR_INCR;
1026+ regw(temp_lcs, LSCMEMCTL);
1027+
1028+ for (i = 2; i < 255; i += 2) {
1029+ temp_gf = 0;
1030+ temp_gf = ((int)
1031+ (params->lens_sh_corr.gf_table1[0].frac_no *
1032+ 256))
1033+ & CCDC_LSC_FRAC_MASK_T1;
1034+ temp_gf |= (((int)
1035+ (params->lens_sh_corr.gf_table1[0].
1036+ frac_no * 256))
1037+ & CCDC_LSC_FRAC_MASK_T1) << 8;
1038+ regw(temp_gf, LSCMEMD);
1039+
1040+ while (1) {
1041+ if ((regr(LSCMEMCTL) & 0x10) == 0)
1042+ break;
1043+ }
1044+ }
1045+
1046+ /* UPDATE PROCEDURE FOR GAIN FACTOR TABLE 2 */
1047+
1048+ /* select table 2 */
1049+ temp_lcs = 0;
1050+ temp_lcs = regr(LSCMEMCTL);
1051+ temp_lcs |= CCDC_LSC_TABLE2_SLC;
1052+ regw(temp_lcs, LSCMEMCTL);
1053+
1054+ /*Reset memory address */
1055+ temp_lcs = 0;
1056+ temp_lcs = regr(LSCMEMCTL);
1057+ temp_lcs |= CCDC_LSC_MEMADDR_RESET;
1058+ regw(temp_lcs, LSCMEMCTL);
1059+
1060+ /*Update gainfactor for table 2 - u16q14 */
1061+ temp_gf =
1062+ (params->lens_sh_corr.gf_table2[0].
1063+ int_no & CCDC_LSC_INT_MASK) << 14;
1064+ temp_gf |=
1065+ ((int)(params->lens_sh_corr.gf_table2[0].frac_no) * 16384)
1066+ & CCDC_LSC_FRAC_MASK;
1067+ regw(temp_gf, LSCMEMD);
1068+
1069+ while (1) {
1070+ if ((regr(LSCMEMCTL) & 0x10) == 0)
1071+ break;
1072+ }
1073+
1074+ /*set the address to incremental mode */
1075+ temp_lcs = 0;
1076+ temp_lcs = regr(LSCMEMCTL);
1077+ temp_lcs |= CCDC_LSC_MEMADDR_INCR;
1078+ regw(temp_lcs, LSCMEMCTL);
1079+
1080+ for (i = 1; i < 128; i++) {
1081+ temp_gf = 0;
1082+ temp_gf =
1083+ (params->lens_sh_corr.gf_table2[i].
1084+ int_no & CCDC_LSC_INT_MASK) << 14;
1085+ temp_gf |=
1086+ ((int)(params->lens_sh_corr.gf_table2[0].frac_no) *
1087+ 16384)
1088+ & CCDC_LSC_FRAC_MASK;
1089+ regw(temp_gf, LSCMEMD);
1090+
1091+ while (1) {
1092+ if ((regr(LSCMEMCTL) & 0x10) == 0)
1093+ break;
1094+ }
1095+ }
1096+
1097+ /*UPDATE PROCEDURE FOR GAIN FACTOR TABLE 3 */
1098+
1099+ /*select table 3 */
1100+ temp_lcs = 0;
1101+ temp_lcs = regr(LSCMEMCTL);
1102+ temp_lcs |= CCDC_LSC_TABLE3_SLC;
1103+ regw(temp_lcs, LSCMEMCTL);
1104+
1105+ /*Reset memory address */
1106+ temp_lcs = 0;
1107+ temp_lcs = regr(LSCMEMCTL);
1108+ temp_lcs |= CCDC_LSC_MEMADDR_RESET;
1109+ regw(temp_lcs, LSCMEMCTL);
1110+
1111+ /*Update gainfactor for table 2 - u16q14 */
1112+ temp_gf =
1113+ (params->lens_sh_corr.gf_table3[0].
1114+ int_no & CCDC_LSC_INT_MASK) << 14;
1115+ temp_gf |=
1116+ ((int)(params->lens_sh_corr.gf_table3[0].frac_no) * 16384)
1117+ & CCDC_LSC_FRAC_MASK;
1118+ regw(temp_gf, LSCMEMD);
1119+
1120+ while (1) {
1121+ if ((regr(LSCMEMCTL) & 0x10) == 0)
1122+ break;
1123+ }
1124+
1125+ /*set the address to incremental mode */
1126+ temp_lcs = 0;
1127+ temp_lcs = regr(LSCMEMCTL);
1128+ temp_lcs |= CCDC_LSC_MEMADDR_INCR;
1129+ regw(temp_lcs, LSCMEMCTL);
1130+
1131+ for (i = 1; i < 128; i++) {
1132+ temp_gf = 0;
1133+ temp_gf =
1134+ (params->lens_sh_corr.gf_table3[i].
1135+ int_no & CCDC_LSC_INT_MASK) << 14;
1136+ temp_gf |=
1137+ ((int)(params->lens_sh_corr.gf_table3[0].frac_no) *
1138+ 16384)
1139+ & CCDC_LSC_FRAC_MASK;
1140+ regw(temp_gf, LSCMEMD);
1141+
1142+ while (1) {
1143+ if ((regr(LSCMEMCTL) & 0x10) == 0)
1144+ break;
1145+ }
1146+ }
1147+ /*Configuring the optical centre of the lens */
1148+ regw(params->lens_sh_corr.
1149+ lens_center_horz & CCDC_LSC_CENTRE_MASK, LSCH0);
1150+ regw(params->lens_sh_corr.
1151+ lens_center_vert & CCDC_LSC_CENTRE_MASK, LSCV0);
1152+
1153+ val = 0;
1154+ val =
1155+ ((int)(params->lens_sh_corr.horz_left_coef.frac_no * 128)) &
1156+ 0x7f;
1157+ val |= (params->lens_sh_corr.horz_left_coef.int_no & 0x01) << 7;
1158+ val |=
1159+ (((int)(params->lens_sh_corr.horz_right_coef.frac_no * 128))
1160+ & 0x7f) << 8;
1161+ val |=
1162+ (params->lens_sh_corr.horz_right_coef.int_no & 0x01) << 15;
1163+ regw(val, LSCKH);
1164+
1165+ val = 0;
1166+ val =
1167+ ((int)(params->lens_sh_corr.ver_up_coef.frac_no * 128)) &
1168+ 0x7f;
1169+ val |= (params->lens_sh_corr.ver_up_coef.int_no & 0x01) << 7;
1170+ val |=
1171+ (((int)(params->lens_sh_corr.ver_low_coef.frac_no * 128)) &
1172+ 0x7f) << 8;
1173+ val |= (params->lens_sh_corr.ver_low_coef.int_no & 0x01) << 15;
1174+ regw(val, LSCKV);
1175+
1176+ /*configuring the lsc configuration register 2 */
1177+ temp_lcs = 0;
1178+ temp_lcs |=
1179+ (params->lens_sh_corr.lsc_config.
1180+ gf_table_scaling_fact & CCDC_LSCCFG_GFTSF_MASK) <<
1181+ CCDC_LSCCFG_GFTSF_SHIFT;
1182+ temp_lcs |=
1183+ (params->lens_sh_corr.lsc_config.
1184+ gf_table_interval & CCDC_LSCCFG_GFTINV_MASK) <<
1185+ CCDC_LSCCFG_GFTINV_SHIFT;
1186+ temp_lcs |=
1187+ (params->lens_sh_corr.lsc_config.
1188+ epel & CCDC_LSC_GFTABLE_SEL_MASK) <<
1189+ CCDC_LSC_GFTABLE_EPEL_SHIFT;
1190+ temp_lcs |=
1191+ (params->lens_sh_corr.lsc_config.
1192+ opel & CCDC_LSC_GFTABLE_SEL_MASK) <<
1193+ CCDC_LSC_GFTABLE_OPEL_SHIFT;
1194+ temp_lcs |=
1195+ (params->lens_sh_corr.lsc_config.
1196+ epol & CCDC_LSC_GFTABLE_SEL_MASK) <<
1197+ CCDC_LSC_GFTABLE_EPOL_SHIFT;
1198+ temp_lcs |=
1199+ (params->lens_sh_corr.lsc_config.
1200+ opol & CCDC_LSC_GFTABLE_SEL_MASK) <<
1201+ CCDC_LSC_GFTABLE_OPOL_SHIFT;
1202+ regw(temp_lcs, LSCCFG2);
1203+
1204+ /*configuring the LSC configuration register 1 */
1205+ temp_lcs = 0;
1206+ temp_lcs |= CCDC_LSC_ENABLE;
1207+ temp_lcs |= (params->lens_sh_corr.lsc_config.mode &
1208+ CCDC_LSC_GFMODE_MASK) << CCDC_LSC_GFMODE_SHIFT;
1209+ regw(temp_lcs, LSCCFG1);
1210+ }
1211+
1212+ /* Configure data formatter if needed */
1213+ if (params->data_formatter_r.fmt_enable
1214+ && (!params->color_space_con.csc_enable)) {
1215+ dev_dbg(dev,
1216+ "\ndata formatter will be configured now....\n");
1217+
1218+ /*Configuring the FMTPLEN */
1219+ fmtreg_v = 0;
1220+ fmtreg_v |=
1221+ (params->data_formatter_r.plen.
1222+ plen0 & CCDC_FMTPLEN_P0_MASK);
1223+ fmtreg_v |=
1224+ ((params->data_formatter_r.plen.
1225+ plen1 & CCDC_FMTPLEN_P1_MASK)
1226+ << CCDC_FMTPLEN_P1_SHIFT);
1227+ fmtreg_v |=
1228+ ((params->data_formatter_r.plen.
1229+ plen2 & CCDC_FMTPLEN_P2_MASK)
1230+ << CCDC_FMTPLEN_P2_SHIFT);
1231+ fmtreg_v |=
1232+ ((params->data_formatter_r.plen.
1233+ plen3 & CCDC_FMTPLEN_P3_MASK)
1234+ << CCDC_FMTPLEN_P3_SHIFT);
1235+ regw(fmtreg_v, FMTPLEN);
1236+
1237+ /*Configurring the FMTSPH */
1238+ regw((params->data_formatter_r.fmtsph & CCDC_FMTSPH_MASK),
1239+ FMTSPH);
1240+
1241+ /*Configurring the FMTLNH */
1242+ regw((params->data_formatter_r.fmtlnh & CCDC_FMTLNH_MASK),
1243+ FMTLNH);
1244+
1245+ /*Configurring the FMTSLV */
1246+ regw((params->data_formatter_r.fmtslv & CCDC_FMTSLV_MASK),
1247+ FMTSLV);
1248+
1249+ /*Configurring the FMTLNV */
1250+ regw((params->data_formatter_r.fmtlnv & CCDC_FMTLNV_MASK),
1251+ FMTLNV);
1252+
1253+ /*Configurring the FMTRLEN */
1254+ regw((params->data_formatter_r.fmtrlen & CCDC_FMTRLEN_MASK),
1255+ FMTRLEN);
1256+
1257+ /*Configurring the FMTHCNT */
1258+ regw((params->data_formatter_r.fmthcnt & CCDC_FMTHCNT_MASK),
1259+ FMTHCNT);
1260+
1261+ /*Configuring the FMTADDR_PTR */
1262+ for (i = 0; i < 8; i++) {
1263+ fmtreg_v = 0;
1264+
1265+ if (params->data_formatter_r.addr_ptr[i].init >
1266+ (params->data_formatter_r.fmtrlen - 1)) {
1267+ dev_dbg(dev, "\nInvalid init parameter for"
1268+ "FMTADDR_PTR....\n");
1269+ return;
1270+ }
1271+
1272+ fmtreg_v =
1273+ (params->data_formatter_r.addr_ptr[i].
1274+ init & CCDC_ADP_INIT_MASK);
1275+ fmtreg_v |=
1276+ ((params->data_formatter_r.addr_ptr[i].
1277+ line & CCDC_ADP_LINE_MASK) <<
1278+ CCDC_ADP_LINE_SHIFT);
1279+ regw(fmtreg_v, FMT_ADDR_PTR(i));
1280+ }
1281+
1282+ /* Configuring the FMTPGM_VF0 */
1283+ fmtreg_v = 0;
1284+ for (i = 0; i < 16; i++)
1285+ fmtreg_v |= params->data_formatter_r.pgm_en[i] << i;
1286+ regw(fmtreg_v, FMTPGM_VF0);
1287+
1288+ /* Configuring the FMTPGM_VF1 */
1289+ fmtreg_v = 0;
1290+ for (i = 16; i < 32; i++) {
1291+ fmtreg_v |=
1292+ params->data_formatter_r.pgm_en[i] << (i - 16);
1293+ }
1294+ regw(fmtreg_v, FMTPGM_VF1);
1295+
1296+ /* Configuring the FMTPGM_AP0 */
1297+ fmtreg_v = 0;
1298+ shift_v = 0;
1299+ for (i = 0; i < 4; i++) {
1300+ fmtreg_v |=
1301+ ((params->data_formatter_r.pgm_ap[i].
1302+ pgm_aptr & CCDC_FMTPGN_APTR_MASK) << shift_v);
1303+ fmtreg_v |=
1304+ (params->data_formatter_r.pgm_ap[i].
1305+ pgmupdt << (shift_v + 3));
1306+ shift_v += 4;
1307+ }
1308+ regw(fmtreg_v, FMTPGM_AP0);
1309+
1310+ /* Configuring the FMTPGM_AP1 */
1311+ fmtreg_v = 0;
1312+ shift_v = 0;
1313+ for (i = 4; i < 8; i++) {
1314+ fmtreg_v |=
1315+ ((params->data_formatter_r.pgm_ap[i].
1316+ pgm_aptr & CCDC_FMTPGN_APTR_MASK) << shift_v);
1317+ fmtreg_v |=
1318+ (params->data_formatter_r.pgm_ap[i].
1319+ pgmupdt << (shift_v + 3));
1320+ shift_v += 4;
1321+ }
1322+ regw(fmtreg_v, FMTPGM_AP1);
1323+
1324+ /* Configuring the FMTPGM_AP2 */
1325+ fmtreg_v = 0;
1326+ shift_v = 0;
1327+ for (i = 8; i < 12; i++) {
1328+ fmtreg_v |=
1329+ ((params->data_formatter_r.pgm_ap[i].
1330+ pgm_aptr & CCDC_FMTPGN_APTR_MASK) << shift_v);
1331+ fmtreg_v |=
1332+ (params->data_formatter_r.pgm_ap[i].
1333+ pgmupdt << (shift_v + 3));
1334+ shift_v += 4;
1335+ }
1336+ regw(fmtreg_v, FMTPGM_AP2);
1337+
1338+ /* Configuring the FMTPGM_AP3 */
1339+ fmtreg_v = 0;
1340+ shift_v = 0;
1341+ for (i = 12; i < 16; i++) {
1342+ fmtreg_v |=
1343+ ((params->data_formatter_r.pgm_ap[i].
1344+ pgm_aptr & CCDC_FMTPGN_APTR_MASK) << shift_v);
1345+ fmtreg_v |=
1346+ (params->data_formatter_r.pgm_ap[i].
1347+ pgmupdt << (shift_v + 3));
1348+ shift_v += 4;
1349+ }
1350+ regw(fmtreg_v, FMTPGM_AP3);
1351+
1352+ /* Configuring the FMTPGM_AP4 */
1353+ fmtreg_v = 0;
1354+ shift_v = 0;
1355+ for (i = 16; i < 20; i++) {
1356+ fmtreg_v |=
1357+ ((params->data_formatter_r.pgm_ap[i].
1358+ pgm_aptr & CCDC_FMTPGN_APTR_MASK) << shift_v);
1359+ fmtreg_v |=
1360+ (params->data_formatter_r.pgm_ap[i].
1361+ pgmupdt << (shift_v + 3));
1362+ shift_v += 4;
1363+ }
1364+ regw(fmtreg_v, FMTPGM_AP4);
1365+
1366+ /* Configuring the FMTPGM_AP5 */
1367+ fmtreg_v = 0;
1368+ shift_v = 0;
1369+ for (i = 20; i < 24; i++) {
1370+ fmtreg_v |=
1371+ ((params->data_formatter_r.pgm_ap[i].
1372+ pgm_aptr & CCDC_FMTPGN_APTR_MASK) << shift_v);
1373+ fmtreg_v |=
1374+ (params->data_formatter_r.pgm_ap[i].
1375+ pgmupdt << (shift_v + 3));
1376+ shift_v += 4;
1377+ }
1378+ regw(fmtreg_v, FMTPGM_AP5);
1379+
1380+ /* Configuring the FMTPGM_AP6 */
1381+ fmtreg_v = 0;
1382+ shift_v = 0;
1383+ for (i = 24; i < 28; i++) {
1384+ fmtreg_v |=
1385+ ((params->data_formatter_r.pgm_ap[i].
1386+ pgm_aptr & CCDC_FMTPGN_APTR_MASK) << shift_v);
1387+ fmtreg_v |=
1388+ (params->data_formatter_r.pgm_ap[i].
1389+ pgmupdt << (shift_v + 3));
1390+ shift_v += 4;
1391+ }
1392+ regw(fmtreg_v, FMTPGM_AP6);
1393+
1394+ /* Configuring the FMTPGM_AP7 */
1395+ fmtreg_v = 0;
1396+ shift_v = 0;
1397+ for (i = 28; i < 32; i++) {
1398+ fmtreg_v |=
1399+ ((params->data_formatter_r.pgm_ap[i].
1400+ pgm_aptr & CCDC_FMTPGN_APTR_MASK) << shift_v);
1401+ fmtreg_v |=
1402+ (params->data_formatter_r.pgm_ap[i].
1403+ pgmupdt << (shift_v + 3));
1404+ shift_v += 4;
1405+ }
1406+ regw(fmtreg_v, FMTPGM_AP7);
1407+
1408+ /* Configuring the FMTCFG register */
1409+ fmtreg_v = 0;
1410+ fmtreg_v = CCDC_DF_ENABLE;
1411+ fmtreg_v |=
1412+ ((params->data_formatter_r.cfg.
1413+ mode & CCDC_FMTCFG_FMTMODE_MASK)
1414+ << CCDC_FMTCFG_FMTMODE_SHIFT);
1415+ fmtreg_v |=
1416+ ((params->data_formatter_r.cfg.
1417+ lnum & CCDC_FMTCFG_LNUM_MASK)
1418+ << CCDC_FMTCFG_LNUM_SHIFT);
1419+ fmtreg_v |=
1420+ ((params->data_formatter_r.cfg.
1421+ addrinc & CCDC_FMTCFG_ADDRINC_MASK)
1422+ << CCDC_FMTCFG_ADDRINC_SHIFT);
1423+ regw(fmtreg_v, FMTCFG);
1424+
1425+ } else if (params->data_formatter_r.fmt_enable) {
1426+ dev_dbg(dev,
1427+ "\nCSC and Data Formatter Enabled at same time....\n");
1428+ }
1429+
1430+ /*
1431+ * C O N F I G U R E C O L O R S P A C E C O N V E R T E R
1432+ */
1433+
1434+ if ((params->color_space_con.csc_enable)
1435+ && (!params->data_formatter_r.fmt_enable)) {
1436+ dev_dbg(dev, "\nconfiguring the CSC Now....\n");
1437+
1438+ /* Enable the CSC sub-module */
1439+ regw(CCDC_CSC_ENABLE, CSCCTL);
1440+
1441+ /* Converting the co-eff as per the format of the register */
1442+ for (i = 0; i < 16; i++) {
1443+ temp1 = params->color_space_con.csc_dec_coeff[i];
1444+ /* Masking the data for 3 bits */
1445+ temp1 &= CCDC_CSC_COEFF_DEC_MASK;
1446+ /* Recovering the fractional part and converting to
1447+ * binary of 5 bits
1448+ */
1449+ temp2 =
1450+ (int)(params->color_space_con.csc_frac_coeff[i] *
1451+ (32 / 10));
1452+ temp2 &= CCDC_CSC_COEFF_FRAC_MASK;
1453+ /* shifting the decimal to the MSB */
1454+ temp1 = temp1 << CCDC_CSC_DEC_SHIFT;
1455+ temp1 |= temp2;
1456+ params->color_space_con.csc_dec_coeff[i] = temp1;
1457+ }
1458+ regw(params->color_space_con.csc_dec_coeff[0], CSCM0);
1459+ regw(params->color_space_con.
1460+ csc_dec_coeff[1] << CCDC_CSC_COEFF_SHIFT, CSCM0);
1461+ regw(params->color_space_con.csc_dec_coeff[2], CSCM1);
1462+ regw(params->color_space_con.
1463+ csc_dec_coeff[3] << CCDC_CSC_COEFF_SHIFT, CSCM1);
1464+ regw(params->color_space_con.csc_dec_coeff[4], CSCM2);
1465+ regw(params->color_space_con.
1466+ csc_dec_coeff[5] << CCDC_CSC_COEFF_SHIFT, CSCM2);
1467+ regw(params->color_space_con.csc_dec_coeff[6], CSCM3);
1468+ regw(params->color_space_con.
1469+ csc_dec_coeff[7] << CCDC_CSC_COEFF_SHIFT, CSCM3);
1470+ regw(params->color_space_con.csc_dec_coeff[8], CSCM4);
1471+ regw(params->color_space_con.
1472+ csc_dec_coeff[9] << CCDC_CSC_COEFF_SHIFT, CSCM4);
1473+ regw(params->color_space_con.csc_dec_coeff[10], CSCM5);
1474+ regw(params->color_space_con.
1475+ csc_dec_coeff[11] << CCDC_CSC_COEFF_SHIFT, CSCM5);
1476+ regw(params->color_space_con.csc_dec_coeff[12], CSCM6);
1477+ regw(params->color_space_con.
1478+ csc_dec_coeff[13] << CCDC_CSC_COEFF_SHIFT, CSCM6);
1479+ regw(params->color_space_con.csc_dec_coeff[14], CSCM7);
1480+ regw(params->color_space_con.
1481+ csc_dec_coeff[15] << CCDC_CSC_COEFF_SHIFT, CSCM7);
1482+
1483+ } else if (params->color_space_con.csc_enable) {
1484+ dev_dbg(dev,
1485+ "\nCSC and Data Formatter Enabled at same time....\n");
1486+ }
1487+
1488+ /* Configure the Gain & offset control */
1489+ ccdc_config_gain_offset();
1490+
1491+ /*
1492+ * C O N F I G U R E C O L O R P A T T E R N A S
1493+ * P E R N N 1 2 8 6 A S E N S O R
1494+ */
1495+
1496+ val = (params->col_pat_field0.olop);
1497+ val |= (params->col_pat_field0.olep << 2);
1498+ val |= (params->col_pat_field0.elop << 4);
1499+ val |= (params->col_pat_field0.elep << 6);
1500+ val |= (params->col_pat_field1.olop << 8);
1501+ val |= (params->col_pat_field1.olep << 10);
1502+ val |= (params->col_pat_field1.elop << 12);
1503+ val |= (params->col_pat_field1.elep << 14);
1504+ regw(val, COLPTN);
1505+
1506+ dev_dbg(dev, "\nWriting %x to COLPTN...\n", val);
1507+
1508+ /*
1509+ * C O N F I G U R I N G T H E H S I Z E R E G I S T E R
1510+ */
1511+ val = 0;
1512+ val |=
1513+ (params->data_offset_s.
1514+ horz_offset & CCDC_DATAOFST_MASK) << CCDC_DATAOFST_H_SHIFT;
1515+ val |=
1516+ (params->data_offset_s.
1517+ vert_offset & CCDC_DATAOFST_MASK) << CCDC_DATAOFST_V_SHIFT;
1518+ regw(val, DATAOFST);
1519+
1520+ /*
1521+ * C O N F I G U R I N G T H E H S I Z E R E G I S T E R
1522+ */
1523+ val = 0;
1524+ val |=
1525+ (params->
1526+ horz_flip_enable & CCDC_HSIZE_FLIP_MASK) << CCDC_HSIZE_FLIP_SHIFT;
1527+
1528+ /* If pack 8 is enable then 1 pixel will take 1 byte */
1529+ if ((params->data_sz == _8BITS) || params->alaw.b_alaw_enable) {
1530+ val |= (((params->win.width) + 31) >> 5) & 0x0fff;
1531+
1532+ dev_dbg(dev, "\nWriting 0x%x to HSIZE...\n",
1533+ (((params->win.width) + 31) >> 5) & 0x0fff);
1534+ } else {
1535+ /* else one pixel will take 2 byte */
1536+ val |= (((params->win.width * 2) + 31) >> 5) & 0x0fff;
1537+
1538+ dev_dbg(dev, "\nWriting 0x%x to HSIZE...\n",
1539+ (((params->win.width * 2) + 31) >> 5) & 0x0fff);
1540+ }
1541+ regw(val, HSIZE);
1542+
1543+ /*
1544+ * C O N F I G U R E S D O F S T R E G I S T E R
1545+ */
1546+
1547+ if (params->frm_fmt == CCDC_FRMFMT_INTERLACED) {
1548+ if (params->image_invert_enable) {
1549+ /* For interlace inverse mode */
1550+ regw(0x4B6D, SDOFST);
1551+ dev_dbg(dev, "\nWriting 0x4B6D to SDOFST...\n");
1552+ }
1553+
1554+ else {
1555+ /* For interlace non inverse mode */
1556+ regw(0x0B6D, SDOFST);
1557+ dev_dbg(dev, "\nWriting 0x0B6D to SDOFST...\n");
1558+ }
1559+ } else if (params->frm_fmt == CCDC_FRMFMT_PROGRESSIVE) {
1560+ if (params->image_invert_enable) {
1561+ /* For progessive inverse mode */
1562+ regw(0x4000, SDOFST);
1563+ dev_dbg(dev, "\nWriting 0x4000 to SDOFST...\n");
1564+ }
1565+
1566+ else {
1567+ /* For progessive non inverse mode */
1568+ regw(0x0000, SDOFST);
1569+ dev_dbg(dev, "\nWriting 0x0000 to SDOFST...\n");
1570+ }
1571+
1572+ }
1573+
1574+ /*
1575+ * C O N F I G U R E I N T E R R U P T R E G I S T E R S
1576+ */
1577+ if (params->frm_fmt == CCDC_FRMFMT_PROGRESSIVE) {
1578+ val = params->win.height / 2;
1579+ regw(136, VDINT0);
1580+ regw(149, VDINT0);
1581+ regw(0, VDINT1);
1582+ } else {
1583+ regw(0, VDINT0);
1584+ regw(0, VDINT1);
1585+ }
1586+
1587+ dev_dbg(dev, "\nend of ccdc_config_raw...");
1588+}
1589+
1590+static int ccdc_configure(void)
1591+{
1592+ if (ccdc_if_type == VPFE_RAW_BAYER) {
1593+ dev_info(dev, "calling ccdc_config_raw()\n");
1594+ ccdc_config_raw();
1595+ } else {
1596+ dev_info(dev, "calling ccdc_config_ycbcr()\n");
1597+ ccdc_config_ycbcr();
1598+ }
1599+ return 0;
1600+}
1601+
1602+static int ccdc_set_buftype(enum ccdc_buftype buf_type)
1603+{
1604+ if (ccdc_if_type == VPFE_RAW_BAYER)
1605+ ccdc_hw_params_raw.buf_type = buf_type;
1606+ else
1607+ ccdc_hw_params_ycbcr.buf_type = buf_type;
1608+ return 0;
1609+}
1610+static int ccdc_get_buftype(enum ccdc_buftype *buf_type)
1611+{
1612+ if (ccdc_if_type == VPFE_RAW_BAYER)
1613+ *buf_type = ccdc_hw_params_raw.buf_type;
1614+ else
1615+ *buf_type = ccdc_hw_params_ycbcr.buf_type;
1616+ return 0;
1617+}
1618+
1619+static int ccdc_enum_pix(enum vpfe_hw_pix_format *hw_pix, int i)
1620+{
1621+ int ret = -EINVAL;
1622+ if (ccdc_if_type == VPFE_RAW_BAYER) {
1623+ if (i < CCDC_MAX_RAW_BAYER_FORMATS) {
1624+ *hw_pix = ccdc_raw_bayer_hw_formats[i];
1625+ ret = 0;
1626+ }
1627+ } else {
1628+ if (i < CCDC_MAX_RAW_YUV_FORMATS) {
1629+ *hw_pix = ccdc_raw_yuv_hw_formats[i];
1630+ ret = 0;
1631+ }
1632+ }
1633+ return ret;
1634+}
1635+
1636+static int ccdc_set_pixel_format(enum vpfe_hw_pix_format pixfmt)
1637+{
1638+ if (ccdc_if_type == VPFE_RAW_BAYER) {
1639+ ccdc_hw_params_raw.pix_fmt = CCDC_PIXFMT_RAW;
1640+ if (pixfmt == VPFE_BAYER_8BIT_PACK_ALAW)
1641+ ccdc_hw_params_raw.alaw.b_alaw_enable = 1;
1642+ else if (pixfmt != VPFE_BAYER)
1643+ return -1;
1644+ } else {
1645+ if (pixfmt == VPFE_YUYV)
1646+ ccdc_hw_params_ycbcr.pix_order = CCDC_PIXORDER_YCBYCR;
1647+ else if (pixfmt == VPFE_UYVY)
1648+ ccdc_hw_params_ycbcr.pix_order = CCDC_PIXORDER_CBYCRY;
1649+ else
1650+ return -1;
1651+ }
1652+ return 0;
1653+}
1654+static int ccdc_get_pixel_format(enum vpfe_hw_pix_format *pixfmt)
1655+{
1656+ if (ccdc_if_type == VPFE_RAW_BAYER)
1657+ if (ccdc_hw_params_raw.alaw.b_alaw_enable)
1658+ *pixfmt = VPFE_BAYER_8BIT_PACK_ALAW;
1659+ else
1660+ *pixfmt = VPFE_BAYER;
1661+ else {
1662+ if (ccdc_hw_params_ycbcr.pix_order == CCDC_PIXORDER_YCBYCR)
1663+ *pixfmt = VPFE_YUYV;
1664+ else
1665+ *pixfmt = VPFE_UYVY;
1666+ }
1667+ return 0;
1668+}
1669+static int ccdc_set_image_window(struct v4l2_rect *win)
1670+{
1671+ if (ccdc_if_type == VPFE_RAW_BAYER) {
1672+ ccdc_hw_params_raw.win.top = win->top;
1673+ ccdc_hw_params_raw.win.left = win->left;
1674+ ccdc_hw_params_raw.win.width = win->width;
1675+ ccdc_hw_params_raw.win.height = win->height;
1676+ } else {
1677+ ccdc_hw_params_ycbcr.win.top = win->top;
1678+ ccdc_hw_params_ycbcr.win.left = win->left;
1679+ ccdc_hw_params_ycbcr.win.width = win->width;
1680+ ccdc_hw_params_ycbcr.win.height = win->height;
1681+ }
1682+ return 0;
1683+}
1684+static int ccdc_get_image_window(struct v4l2_rect *win)
1685+{
1686+ if (ccdc_if_type == VPFE_RAW_BAYER) {
1687+ win->top = ccdc_hw_params_raw.win.top;
1688+ win->left = ccdc_hw_params_raw.win.left;
1689+ win->width = ccdc_hw_params_raw.win.width;
1690+ win->height = ccdc_hw_params_raw.win.height;
1691+ } else {
1692+ win->top = ccdc_hw_params_ycbcr.win.top;
1693+ win->left = ccdc_hw_params_ycbcr.win.left;
1694+ win->width = ccdc_hw_params_ycbcr.win.width;
1695+ win->height = ccdc_hw_params_ycbcr.win.height;
1696+ }
1697+ return 0;
1698+}
1699+static int ccdc_get_line_length(unsigned int *len)
1700+{
1701+ if (ccdc_if_type == VPFE_RAW_BAYER) {
1702+ if ((ccdc_hw_params_raw.alaw.b_alaw_enable) ||
1703+ (ccdc_hw_params_raw.data_sz == _8BITS)) {
1704+ *len = ccdc_hw_params_raw.win.width;
1705+ } else {
1706+ *len = ccdc_hw_params_raw.win.width * 2;
1707+ }
1708+ } else {
1709+ *len = ccdc_hw_params_ycbcr.win.width * 2;
1710+ }
1711+ *len = ((*len + 31) & ~0x1f);
1712+ return 0;
1713+}
1714+
1715+static int ccdc_set_frame_format(enum ccdc_frmfmt frm_fmt)
1716+{
1717+ if (ccdc_if_type == VPFE_RAW_BAYER)
1718+ ccdc_hw_params_raw.frm_fmt = frm_fmt;
1719+ else
1720+ ccdc_hw_params_ycbcr.frm_fmt = frm_fmt;
1721+ return 0;
1722+}
1723+static int ccdc_get_frame_format(enum ccdc_frmfmt *frm_fmt)
1724+{
1725+ if (ccdc_if_type == VPFE_RAW_BAYER)
1726+ *frm_fmt = ccdc_hw_params_raw.frm_fmt;
1727+ else
1728+ *frm_fmt = ccdc_hw_params_ycbcr.frm_fmt;
1729+ return 0;
1730+}
1731+
1732+static int ccdc_getfid(void)
1733+{
1734+ int fid = (regr(MODESET) >> 15) & 0x1;
1735+ return fid;
1736+}
1737+
1738+/* misc operations */
1739+static inline void ccdc_setfbaddr(unsigned long addr)
1740+{
1741+ regw((addr >> 21) & 0x007f, STADRH);
1742+ regw((addr >> 5) & 0x0ffff, STADRL);
1743+}
1744+
1745+static int ccdc_set_hw_if_type(enum vpfe_hw_if_type iface)
1746+{
1747+ ccdc_if_type = iface;
1748+ return 0;
1749+}
1750+
1751+struct ccdc_hw_device ccdc_hw_dev = {
1752+ .name = "DM355 CCDC",
1753+ .set_ccdc_base = ccdc_set_ccdc_base,
1754+ .set_vpss_base = ccdc_set_vpss_base,
1755+ .get_ccdc_base = ccdc_get_ccdc_base,
1756+ .get_vpss_base = ccdc_get_vpss_base,
1757+ .open = ccdc_open,
1758+ .enable = ccdc_enable,
1759+ .enable_out_to_sdram = ccdc_enable_output_to_sdram,
1760+ .set_hw_if_type = ccdc_set_hw_if_type,
1761+ .setparams = ccdc_setparams,
1762+ .configure = ccdc_configure,
1763+ .set_buftype = ccdc_set_buftype,
1764+ .get_buftype = ccdc_get_buftype,
1765+ .enum_pix = ccdc_enum_pix,
1766+ .set_pixelformat = ccdc_set_pixel_format,
1767+ .get_pixelformat = ccdc_get_pixel_format,
1768+ .set_frame_format = ccdc_set_frame_format,
1769+ .get_frame_format = ccdc_get_frame_format,
1770+ .set_image_window = ccdc_set_image_window,
1771+ .get_image_window = ccdc_get_image_window,
1772+ .get_line_length = ccdc_get_line_length,
1773+ .queryctrl = ccdc_queryctrl,
1774+ .setcontrol = ccdc_setcontrol,
1775+ .getcontrol = ccdc_getcontrol,
1776+ .setfbaddr = ccdc_setfbaddr,
1777+ .getfid = ccdc_getfid,
1778+};
1779+EXPORT_SYMBOL(ccdc_hw_dev);
1780+
1781+static int dm355_ccdc_init(void)
1782+{
1783+ return 0;
1784+}
1785+
1786+static void dm355_ccdc_exit(void)
1787+{
1788+}
1789+
1790+subsys_initcall(dm355_ccdc_init);
1791+module_exit(dm355_ccdc_exit);
1792+
1793+MODULE_LICENSE("GPL");
1794diff --git a/drivers/media/video/davinci/ccdc_dm355.h b/drivers/media/video/davinci/ccdc_dm355.h
1795new file mode 100644
1796index 0000000..a78349a
1797--- /dev/null
1798+++ b/drivers/media/video/davinci/ccdc_dm355.h
1799@@ -0,0 +1,758 @@
1800+/*
1801+ * Copyright (C) 2005-2009 Texas Instruments Inc
1802+ *
1803+ * This program is free software; you can redistribute it and/or modify
1804+ * it under the terms of the GNU General Public License as published by
1805+ * the Free Software Foundation; either version 2 of the License, or
1806+ * (at your option) any later version.
1807+ *
1808+ * This program is distributed in the hope that it will be useful,
1809+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
1810+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1811+ * GNU General Public License for more details.
1812+ *
1813+ * You should have received a copy of the GNU General Public License
1814+ * along with this program; if not, write to the Free Software
1815+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1816+ */
1817+#ifndef _CCDC_DM355_H
1818+#define _CCDC_DM355_H
1819+#include <media/davinci/ccdc_common.h>
1820+
1821+/* Define to enable/disable video port */
1822+
1823+#define CCDC_WIN_PAL {0, 0, 720, 576}
1824+#define CCDC_WIN_VGA {0, 0, 640, 480}
1825+
1826+/* enum for No of pixel per line to be avg. in Black Clamping*/
1827+enum sample_length {
1828+ _1PIXELS,
1829+ _2PIXELS,
1830+ _4PIXELS,
1831+ _8PIXELS,
1832+ _16PIXELS
1833+};
1834+
1835+/* enum for No of lines in Black Clamping */
1836+enum sample_line {
1837+ _1LINES,
1838+ _2LINES,
1839+ _4LINES,
1840+ _8LINES,
1841+ _16LINES
1842+};
1843+
1844+/* enum for Alaw gama width */
1845+enum gama_width {
1846+ BITS_13_4,
1847+ BITS_12_3,
1848+ BITS_11_2,
1849+ BITS_10_1,
1850+ BITS_09_0
1851+};
1852+
1853+enum ccdc_colpats {
1854+ CCDC_RED,
1855+ CCDC_GREEN_RED,
1856+ CCDC_GREEN_BLUE,
1857+ CCDC_BLUE
1858+};
1859+
1860+struct ccdc_col_pat {
1861+ enum ccdc_colpats olop;
1862+ enum ccdc_colpats olep;
1863+ enum ccdc_colpats elop;
1864+ enum ccdc_colpats elep;
1865+};
1866+
1867+enum ccdc_datasft {
1868+ NO_SHIFT,
1869+ _1BIT,
1870+ _2BIT,
1871+ _3BIT,
1872+ _4BIT,
1873+ _5BIT,
1874+ _6BIT
1875+};
1876+
1877+enum data_size {
1878+ _16BITS,
1879+ _15BITS,
1880+ _14BITS,
1881+ _13BITS,
1882+ _12BITS,
1883+ _11BITS,
1884+ _10BITS,
1885+ _8BITS
1886+};
1887+enum ccdc_mfilt1 {
1888+ NO_MEDIAN_FILTER1,
1889+ AVERAGE_FILTER1,
1890+ MEDIAN_FILTER1
1891+};
1892+
1893+enum ccdc_mfilt2 {
1894+ NO_MEDIAN_FILTER2 = 0,
1895+ AVERAGE_FILTER2,
1896+ MEDIAN_FILTER2
1897+};
1898+
1899+struct ccdc_imgwin {
1900+ unsigned int top;
1901+ unsigned int left;
1902+ unsigned int width;
1903+ unsigned int height;
1904+};
1905+
1906+/* structure for ALaw */
1907+struct ccdc_a_law {
1908+ /* Enable/disable A-Law */
1909+ unsigned char b_alaw_enable;
1910+ /*Gama Width Input */
1911+ enum gama_width gama_wd;
1912+};
1913+
1914+/* structure for Black Clamping */
1915+struct ccdc_black_clamp {
1916+ /* only if bClampEnable is TRUE */
1917+ unsigned char b_clamp_enable;
1918+ /* only if bClampEnable is TRUE */
1919+ enum sample_length sample_pixel;
1920+ /* only if bClampEnable is TRUE */
1921+ enum sample_line sample_ln;
1922+ /* only if bClampEnable is TRUE */
1923+ unsigned short start_pixel;
1924+ /* only if bClampEnable is FALSE */
1925+ unsigned short sgain;
1926+ unsigned short dc_sub;
1927+};
1928+
1929+/* structure for Black Level Compensation */
1930+struct black_compensation {
1931+ /* Constant value to subtract from Red component */
1932+ unsigned char r_comp;
1933+ /* Constant value to subtract from Gr component */
1934+ unsigned char gr_comp;
1935+ /* Constant value to subtract from Blue component */
1936+ unsigned char b_comp;
1937+ /* Constant value to subtract from Gb component */
1938+ unsigned char gb_comp;
1939+};
1940+
1941+/*structures for lens shading correction*/
1942+
1943+/*gain factor modes*/
1944+enum gfmode {
1945+ u8q8_interpol,
1946+ u16q14_interpol,
1947+ reserved,
1948+ u16q14
1949+};
1950+
1951+enum gf_table_sel {
1952+ table1 = 0,
1953+ table2,
1954+ table3
1955+};
1956+
1957+/*LSC configuration structure*/
1958+struct lsccfg {
1959+ enum gfmode mode;
1960+ int gf_table_scaling_fact;
1961+ int gf_table_interval;
1962+ enum gf_table_sel epel;
1963+ enum gf_table_sel opel;
1964+ enum gf_table_sel epol;
1965+ enum gf_table_sel opol;
1966+};
1967+
1968+struct float_ccdc {
1969+ unsigned int int_no;
1970+ unsigned int frac_no;
1971+};
1972+
1973+/*Main structure for lens shading correction*/
1974+struct lens_shading_corr {
1975+ unsigned char lsc_enable;
1976+ struct lsccfg lsc_config;
1977+ unsigned int lens_center_horz;
1978+ unsigned int lens_center_vert;
1979+ struct float_ccdc horz_left_coef;
1980+ struct float_ccdc horz_right_coef;
1981+ struct float_ccdc ver_low_coef;
1982+ struct float_ccdc ver_up_coef;
1983+ struct float_ccdc gf_table1[256];
1984+ /*int_no will be always 0 since it is u8q8 */
1985+ struct float_ccdc gf_table2[128];
1986+ struct float_ccdc gf_table3[128];
1987+};
1988+
1989+/*structure for color space converter*/
1990+struct color_space_converter {
1991+ unsigned char csc_enable;
1992+ int csc_dec_coeff[16];
1993+ int csc_frac_coeff[16];
1994+};
1995+
1996+/*supporting structures for data formatter*/
1997+enum fmtmode {
1998+ split,
1999+ combine,
2000+ line_alt_mode
2001+};
2002+
2003+enum line_num {
2004+ _1line,
2005+ _2lines,
2006+ _3lines,
2007+ _4lines
2008+};
2009+
2010+enum line_pos {
2011+ _1stline,
2012+ _2ndline,
2013+ _3rdline,
2014+ _4thline
2015+};
2016+
2017+struct fmtplen {
2018+ unsigned int plen0;
2019+ unsigned int plen1;
2020+ unsigned int plen2;
2021+ unsigned int plen3;
2022+};
2023+
2024+struct fmtcfg {
2025+ enum fmtmode mode;
2026+ enum line_num lnum;
2027+ unsigned int addrinc;
2028+};
2029+
2030+struct fmtaddr_ptr {
2031+ unsigned int init;
2032+ enum line_pos line;
2033+};
2034+
2035+struct fmtpgm_ap {
2036+ unsigned int pgm_aptr;
2037+ unsigned char pgmupdt;
2038+};
2039+
2040+/* Main Structure for data formatter*/
2041+struct data_formatter {
2042+ unsigned char fmt_enable;
2043+ struct fmtcfg cfg;
2044+ struct fmtplen plen;
2045+ unsigned int fmtsph;
2046+ unsigned int fmtlnh;
2047+ unsigned int fmtslv;
2048+ unsigned int fmtlnv;
2049+ unsigned int fmtrlen;
2050+ unsigned int fmthcnt;
2051+ struct fmtaddr_ptr addr_ptr[8];
2052+ unsigned char pgm_en[32];
2053+ struct fmtpgm_ap pgm_ap[32];
2054+};
2055+
2056+/* Structures for Vertical Defect Correction*/
2057+enum vdf_csl {
2058+ normal = 0,
2059+ horz_interpol_sat,
2060+ horz_interpol
2061+};
2062+
2063+enum vdf_cuda {
2064+ whole_line_correct,
2065+ upper_disable
2066+};
2067+
2068+enum dfc_mwr {
2069+ write_complete,
2070+ write_reg
2071+};
2072+
2073+enum dfc_mrd {
2074+ read_complete,
2075+ read_reg
2076+};
2077+
2078+enum dfc_ma_rst {
2079+ incr_addr,
2080+ clr_addr
2081+};
2082+
2083+enum dfc_mclr {
2084+ clear_complete,
2085+ clear
2086+};
2087+
2088+struct dft_corr_ctl_s {
2089+ enum vdf_csl vdfcsl;
2090+ enum vdf_cuda vdfcuda;
2091+ unsigned int vdflsft;
2092+};
2093+
2094+struct dft_corr_mem_ctl_s {
2095+ enum dfc_mwr dfcmwr;
2096+ enum dfc_mrd dfcmrd;
2097+ enum dfc_ma_rst dfcmarst;
2098+ enum dfc_mclr dfcmclr;
2099+};
2100+
2101+/* Main Structure for vertical defect correction. Vertical defect
2102+ * correction can correct upto 16 defects if defects less than 16
2103+ * then pad the rest with 0
2104+ */
2105+struct vertical_dft_s {
2106+ unsigned char ver_dft_en;
2107+ unsigned char gen_dft_en;
2108+ unsigned int saturation_ctl;
2109+ struct dft_corr_ctl_s dft_corr_ctl;
2110+ struct dft_corr_mem_ctl_s dft_corr_mem_ctl;
2111+ unsigned int dft_corr_horz[16];
2112+ unsigned int dft_corr_vert[16];
2113+ unsigned int dft_corr_sub1[16];
2114+ unsigned int dft_corr_sub2[16];
2115+ unsigned int dft_corr_sub3[16];
2116+};
2117+
2118+struct data_offset {
2119+ unsigned char horz_offset;
2120+ unsigned char vert_offset;
2121+};
2122+
2123+/* Structure for CCDC configuration parameters for raw capture mode passed
2124+ * by application
2125+ */
2126+struct ccdc_config_params_raw {
2127+ /* pixel format */
2128+ enum ccdc_pixfmt pix_fmt;
2129+ /* progressive or interlaced frame */
2130+ enum ccdc_frmfmt frm_fmt;
2131+ /* video window */
2132+ struct ccdc_imgwin win;
2133+ /* field id polarity */
2134+ enum ccdc_pinpol fid_pol;
2135+ /* vertical sync polarity */
2136+ enum ccdc_pinpol vd_pol;
2137+ /* horizontal sync polarity */
2138+ enum ccdc_pinpol hd_pol;
2139+ /* interleaved or separated fields */
2140+ enum ccdc_buftype buf_type;
2141+ /*data shift to be applied before storing */
2142+ enum ccdc_datasft datasft;
2143+ /*median filter for sdram */
2144+ enum ccdc_mfilt1 mfilt1;
2145+ enum ccdc_mfilt2 mfilt2;
2146+ /*median filter for ipipe */
2147+ /*low pass filter enable/disable */
2148+ unsigned char lpf_enable;
2149+ unsigned char horz_flip_enable;
2150+ /*offset value to be applied to data */
2151+ /*Range is 0 to 1023 */
2152+ unsigned int ccdc_offset;
2153+ /*Threshold of median filter */
2154+ int med_filt_thres;
2155+ /* enable to store the image in inverse */
2156+ unsigned char image_invert_enable;
2157+ /* data size value from 8 to 16 bits */
2158+ enum data_size data_sz;
2159+ /*horz and vertical data offset */
2160+ struct data_offset data_offset_s;
2161+ /* Structure for Optional A-Law */
2162+ struct ccdc_a_law alaw;
2163+ /* Structure for Optical Black Clamp */
2164+ struct ccdc_black_clamp blk_clamp;
2165+ /* Structure for Black Compensation */
2166+ struct black_compensation blk_comp;
2167+ /*struture for vertical Defect Correction Module Configuration */
2168+ struct vertical_dft_s vertical_dft;
2169+ /*structure for lens shading Correction Module Configuration */
2170+ struct lens_shading_corr lens_sh_corr;
2171+ /*structure for data formatter Module Configuration */
2172+ struct data_formatter data_formatter_r;
2173+ /*structure for color space converter Module Configuration */
2174+ struct color_space_converter color_space_con;
2175+ struct ccdc_col_pat col_pat_field0;
2176+ struct ccdc_col_pat col_pat_field1;
2177+};
2178+
2179+#ifdef __KERNEL__
2180+#include <linux/io.h>
2181+/* SOC specific controls for Bayer capture. The CIDs
2182+ * listed here should match with that in davinci_vpfe.h
2183+ */
2184+/* White balance on Bayer RGB. U11Q8 */
2185+#define CCDC_CID_R_GAIN (V4L2_CID_PRIVATE_BASE + 0)
2186+#define CCDC_CID_GR_GAIN (V4L2_CID_PRIVATE_BASE + 1)
2187+#define CCDC_CID_GB_GAIN (V4L2_CID_PRIVATE_BASE + 2)
2188+#define CCDC_CID_B_GAIN (V4L2_CID_PRIVATE_BASE + 3)
2189+/* Offsets */
2190+#define CCDC_CID_OFFSET (V4L2_CID_PRIVATE_BASE + 4)
2191+#define CCDC_CID_MAX (V4L2_CID_PRIVATE_BASE + 5)
2192+#define CCDC_MAX_CONTROLS 5
2193+
2194+/* Gain applied to Raw Bayer data */
2195+struct ccdc_gain {
2196+ unsigned short r_ye;
2197+ unsigned short gr_cy;
2198+ unsigned short gb_g;
2199+ unsigned short b_mg;
2200+};
2201+
2202+/* Structure for CCDC configuration parameters for raw capture mode */
2203+struct ccdc_params_raw {
2204+ /* pixel format */
2205+ enum ccdc_pixfmt pix_fmt;
2206+ /* progressive or interlaced frame */
2207+ enum ccdc_frmfmt frm_fmt;
2208+ /* video window */
2209+ struct ccdc_imgwin win;
2210+ /* field id polarity */
2211+ enum ccdc_pinpol fid_pol;
2212+ /* vertical sync polarity */
2213+ enum ccdc_pinpol vd_pol;
2214+ /* horizontal sync polarity */
2215+ enum ccdc_pinpol hd_pol;
2216+ /* interleaved or separated fields */
2217+ enum ccdc_buftype buf_type;
2218+ /*data shift to be applied before storing */
2219+ enum ccdc_datasft datasft;
2220+ /*median filter for sdram */
2221+ enum ccdc_mfilt1 mfilt1;
2222+ /*median filter for ipipe */
2223+ enum ccdc_mfilt2 mfilt2;
2224+ /*low pass filter enable/disable */
2225+ unsigned char lpf_enable;
2226+ unsigned char horz_flip_enable;
2227+ /*offset value to be applied to data */
2228+ /*Range is 0 to 1023 */
2229+ unsigned int ccdc_offset;
2230+ /* Gain values */
2231+ struct ccdc_gain gain;
2232+ /*Threshold of median filter */
2233+ int med_filt_thres;
2234+ /* enable to store the image in inverse order in memory
2235+ * (bottom to top)
2236+ */
2237+ unsigned char image_invert_enable;
2238+ /* data size value from 8 to 16 bits */
2239+ enum data_size data_sz;
2240+ /* Structure for Optional A-Law */
2241+ struct ccdc_a_law alaw;
2242+ /*horz and vertical data offset */
2243+ struct data_offset data_offset_s;
2244+ /* Structure for Optical Black Clamp */
2245+ struct ccdc_black_clamp blk_clamp;
2246+ /* Structure for Black Compensation */
2247+ struct black_compensation blk_comp;
2248+ /*struture for vertical Defect Correction Module Configuration */
2249+ struct vertical_dft_s vertical_dft;
2250+ /*structure for lens shading Correction Module Configuration */
2251+ struct lens_shading_corr lens_sh_corr;
2252+ /*structure for data formatter Module Configuration */
2253+ struct data_formatter data_formatter_r;
2254+ /*structure for color space converter Module Configuration */
2255+ struct color_space_converter color_space_con;
2256+ struct ccdc_col_pat col_pat_field0;
2257+ struct ccdc_col_pat col_pat_field1;
2258+};
2259+
2260+struct ccdc_params_ycbcr {
2261+ /* pixel format */
2262+ enum ccdc_pixfmt pix_fmt;
2263+ /* progressive or interlaced frame */
2264+ enum ccdc_frmfmt frm_fmt;
2265+ /* video window */
2266+ struct ccdc_imgwin win;
2267+ /* field id polarity */
2268+ enum ccdc_pinpol fid_pol;
2269+ /* vertical sync polarity */
2270+ enum ccdc_pinpol vd_pol;
2271+ /* horizontal sync polarity */
2272+ enum ccdc_pinpol hd_pol;
2273+ /* enable BT.656 embedded sync mode */
2274+ int bt656_enable;
2275+ /* cb:y:cr:y or y:cb:y:cr in memory */
2276+ enum ccdc_pixorder pix_order;
2277+ /* interleaved or separated fields */
2278+ enum ccdc_buftype buf_type;
2279+};
2280+
2281+struct ccdc_supported_pix_fmt {
2282+ int index;
2283+ unsigned int pix_fmt;
2284+};
2285+
2286+/**************************************************************************\
2287+* Register OFFSET Definitions
2288+\**************************************************************************/
2289+#define SYNCEN 0x00
2290+#define MODESET 0x04
2291+#define HDWIDTH 0x08
2292+#define VDWIDTH 0x0c
2293+#define PPLN 0x10
2294+#define LPFR 0x14
2295+#define SPH 0x18
2296+#define NPH 0x1c
2297+#define SLV0 0x20
2298+#define SLV1 0x24
2299+#define NLV 0x28
2300+#define CULH 0x2c
2301+#define CULV 0x30
2302+#define HSIZE 0x34
2303+#define SDOFST 0x38
2304+#define STADRH 0x3c
2305+#define STADRL 0x40
2306+#define CLAMP 0x44
2307+#define DCSUB 0x48
2308+#define COLPTN 0x4c
2309+#define BLKCMP0 0x50
2310+#define BLKCMP1 0x54
2311+#define MEDFILT 0x58
2312+#define RYEGAIN 0x5c
2313+#define GRCYGAIN 0x60
2314+#define GBGGAIN 0x64
2315+#define BMGGAIN 0x68
2316+#define OFFSET 0x6c
2317+#define OUTCLIP 0x70
2318+#define VDINT0 0x74
2319+#define VDINT1 0x78
2320+#define RSV0 0x7c
2321+#define GAMMAWD 0x80
2322+#define REC656IF 0x84
2323+#define CCDCFG 0x88
2324+#define FMTCFG 0x8c
2325+#define FMTPLEN 0x90
2326+#define FMTSPH 0x94
2327+#define FMTLNH 0x98
2328+#define FMTSLV 0x9c
2329+#define FMTLNV 0xa0
2330+#define FMTRLEN 0xa4
2331+#define FMTHCNT 0xa8
2332+#define FMT_ADDR_PTR_B 0xac
2333+#define FMT_ADDR_PTR(i) (FMT_ADDR_PTR_B + (i*4))
2334+#define FMTPGM_VF0 0xcc
2335+#define FMTPGM_VF1 0xd0
2336+#define FMTPGM_AP0 0xd4
2337+#define FMTPGM_AP1 0xd8
2338+#define FMTPGM_AP2 0xdc
2339+#define FMTPGM_AP3 0xe0
2340+#define FMTPGM_AP4 0xe4
2341+#define FMTPGM_AP5 0xe8
2342+#define FMTPGM_AP6 0xec
2343+#define FMTPGM_AP7 0xf0
2344+#define LSCCFG1 0xf4
2345+#define LSCCFG2 0xf8
2346+#define LSCH0 0xfc
2347+#define LSCV0 0x100
2348+#define LSCKH 0x104
2349+#define LSCKV 0x108
2350+#define LSCMEMCTL 0x10c
2351+#define LSCMEMD 0x110
2352+#define LSCMEMQ 0x114
2353+#define DFCCTL 0x118
2354+#define DFCVSAT 0x11c
2355+#define DFCMEMCTL 0x120
2356+#define DFCMEM0 0x124
2357+#define DFCMEM1 0x128
2358+#define DFCMEM2 0x12c
2359+#define DFCMEM3 0x130
2360+#define DFCMEM4 0x134
2361+#define CSCCTL 0x138
2362+#define CSCM0 0x13c
2363+#define CSCM1 0x140
2364+#define CSCM2 0x144
2365+#define CSCM3 0x148
2366+#define CSCM4 0x14c
2367+#define CSCM5 0x150
2368+#define CSCM6 0x154
2369+#define CSCM7 0x158
2370+#define DATAOFST 0x15c
2371+
2372+#define CLKCTRL (0x04)
2373+
2374+/* offset relative to 0x1c70800 */
2375+#define INTSTAT (0xC)
2376+#define INTSEL (0x10)
2377+#define EVTSEL (0x14)
2378+#define MEMCTRL (0x18)
2379+#define CCDCMUX (0x1C)
2380+
2381+/**************************************************************
2382+* Define for various register bit mask and shifts for CCDC
2383+*
2384+**************************************************************/
2385+#define CCDC_RAW_IP_MODE (0x00)
2386+#define CCDC_VDHDOUT_INPUT (0x00)
2387+#define CCDC_YCINSWP_RAW (0x00 << 4)
2388+#define CCDC_EXWEN_DISABLE (0x00)
2389+#define CCDC_DATAPOL_NORMAL (0x00)
2390+#define CCDC_CCDCFG_FIDMD_LATCH_VSYNC (0x00)
2391+#define CCDC_CCDCFG_WENLOG_AND (0x00)
2392+#define CCDC_CCDCFG_TRGSEL_WEN (0x00)
2393+#define CCDC_CCDCFG_EXTRG_DISABLE (0x00)
2394+#define CCDC_CFA_MOSAIC (0x00)
2395+
2396+#define CCDC_VDC_DFCVSAT_MASK (0x3fff)
2397+#define CCDC_DATAOFST_MASK (0x0ff)
2398+#define CCDC_DATAOFST_H_SHIFT (0)
2399+#define CCDC_DATAOFST_V_SHIFT (8)
2400+#define CCDC_GAMMAWD_CFA_MASK (0x01)
2401+#define CCDC_GAMMAWD_CFA_SHIFT (5)
2402+#define CCDC_FID_POL_MASK (0x01)
2403+#define CCDC_FID_POL_SHIFT (4)
2404+#define CCDC_HD_POL_MASK (0x01)
2405+#define CCDC_HD_POL_SHIFT (3)
2406+#define CCDC_VD_POL_MASK (0x01)
2407+#define CCDC_VD_POL_SHIFT (2)
2408+#define CCDC_FRM_FMT_MASK (0x01)
2409+#define CCDC_FRM_FMT_SHIFT (7)
2410+#define CCDC_DATA_SZ_MASK (0x07)
2411+#define CCDC_DATA_SZ_SHIFT (8)
2412+#define CCDC_VDHDOUT_MASK (0x01)
2413+#define CCDC_VDHDOUT_SHIFT (0)
2414+#define CCDC_EXWEN_MASK (0x01)
2415+#define CCDC_EXWEN_SHIFT (5)
2416+#define CCDC_RAW_INPUT_MASK (0x03)
2417+#define CCDC_RAW_INPUT_SHIFT (12)
2418+#define CCDC_PIX_FMT_MASK (0x03)
2419+#define CCDC_PIX_FMT_SHIFT (12)
2420+#define CCDC_DATAPOL_MASK (0x01)
2421+#define CCDC_DATAPOL_SHIFT (6)
2422+#define CCDC_WEN_ENABLE (0x01 << 1)
2423+#define CCDC_VDHDEN_ENABLE (0x01 << 16)
2424+#define CCDC_LPF_ENABLE (0x01 << 14)
2425+#define CCDC_ALAW_ENABLE (0x01)
2426+#define CCDC_ALAW_GAMA_WD_MASK (0x07)
2427+
2428+#define CCDC_FMTCFG_FMTMODE_MASK (0x03)
2429+#define CCDC_FMTCFG_FMTMODE_SHIFT (1)
2430+#define CCDC_FMTCFG_LNUM_MASK (0x03)
2431+#define CCDC_FMTCFG_LNUM_SHIFT (4)
2432+#define CCDC_FMTCFG_ADDRINC_MASK (0x07)
2433+#define CCDC_FMTCFG_ADDRINC_SHIFT (8)
2434+
2435+#define CCDC_CCDCFG_FIDMD_SHIFT (6)
2436+#define CCDC_CCDCFG_WENLOG_SHIFT (8)
2437+#define CCDC_CCDCFG_TRGSEL_SHIFT (9)
2438+#define CCDC_CCDCFG_EXTRG_SHIFT (10)
2439+#define CCDC_CCDCFG_MSBINVI_SHIFT (13)
2440+
2441+#define CCDC_HSIZE_FLIP_SHIFT (12)
2442+#define CCDC_HSIZE_FLIP_MASK (0x01)
2443+
2444+#define START_PX_HOR_MASK (0x7FFF)
2445+#define NUM_PX_HOR_MASK (0x7FFF)
2446+#define START_VER_ONE_MASK (0x7FFF)
2447+#define START_VER_TWO_MASK (0x7FFF)
2448+#define NUM_LINES_VER (0x7FFF)
2449+
2450+#define CCDC_BLK_CLAMP_ENABLE (0x01 << 15)
2451+#define CCDC_BLK_SGAIN_MASK (0x1F)
2452+#define CCDC_BLK_ST_PXL_MASK (0x1FFF)
2453+#define CCDC_BLK_SAMPLE_LN_MASK (0x03)
2454+#define CCDC_BLK_SAMPLE_LN_SHIFT (13)
2455+
2456+#define CCDC_NUM_LINE_CALC_MASK (0x03)
2457+#define CCDC_NUM_LINE_CALC_SHIFT (14)
2458+
2459+#define CCDC_BLK_DC_SUB_MASK (0x03FFF)
2460+#define CCDC_BLK_COMP_MASK (0x000000FF)
2461+#define CCDC_BLK_COMP_GB_COMP_SHIFT (8)
2462+#define CCDC_BLK_COMP_GR_COMP_SHIFT (0)
2463+#define CCDC_BLK_COMP_R_COMP_SHIFT (8)
2464+#define CCDC_LATCH_ON_VSYNC_DISABLE (0x01 << 15)
2465+#define CCDC_LATCH_ON_VSYNC_ENABLE (0x00 << 15)
2466+#define CCDC_FPC_ENABLE (0x01 << 15)
2467+#define CCDC_FPC_FPC_NUM_MASK (0x7FFF)
2468+#define CCDC_DATA_PACK_ENABLE (0x01 << 11)
2469+#define CCDC_FMT_HORZ_FMTLNH_MASK (0x1FFF)
2470+#define CCDC_FMT_HORZ_FMTSPH_MASK (0x1FFF)
2471+#define CCDC_FMT_HORZ_FMTSPH_SHIFT (16)
2472+#define CCDC_FMT_VERT_FMTLNV_MASK (0x1FFF)
2473+#define CCDC_FMT_VERT_FMTSLV_MASK (0x1FFF)
2474+#define CCDC_FMT_VERT_FMTSLV_SHIFT (16)
2475+#define CCDC_VP_OUT_VERT_NUM_MASK (0x3FFF)
2476+#define CCDC_VP_OUT_VERT_NUM_SHIFT (17)
2477+#define CCDC_VP_OUT_HORZ_NUM_MASK (0x1FFF)
2478+#define CCDC_VP_OUT_HORZ_NUM_SHIFT (4)
2479+#define CCDC_VP_OUT_HORZ_ST_MASK (0x000F)
2480+
2481+#define CCDC_CSC_COEFF_SHIFT (8)
2482+#define CCDC_CSC_COEFF_DEC_MASK (0x0007)
2483+#define CCDC_CSC_COEFF_FRAC_MASK (0x001F)
2484+#define CCDC_CSC_DEC_SHIFT (5)
2485+#define CCDC_CSC_ENABLE (0x01)
2486+#define CCDC_MFILT1_SHIFT (10)
2487+#define CCDC_MFILT2_SHIFT (8)
2488+#define CCDC_LPF_MASK (0x01)
2489+#define CCDC_LPF_SHIFT (14)
2490+#define CCDC_OFFSET_MASK (0x3FF)
2491+#define CCDC_DATASFT_MASK (0x07)
2492+#define CCDC_DATASFT_SHIFT (8)
2493+#define CCDC_DF_ENABLE (0x01)
2494+
2495+#define CCDC_FMTPLEN_P0_MASK (0x000F)
2496+#define CCDC_FMTPLEN_P1_MASK (0x000F)
2497+#define CCDC_FMTPLEN_P2_MASK (0x0007)
2498+#define CCDC_FMTPLEN_P3_MASK (0x0007)
2499+#define CCDC_FMTPLEN_P0_SHIFT (0)
2500+#define CCDC_FMTPLEN_P1_SHIFT (4)
2501+#define CCDC_FMTPLEN_P2_SHIFT (8)
2502+#define CCDC_FMTPLEN_P3_SHIFT (12)
2503+
2504+#define CCDC_FMTSPH_MASK (0x01FFF)
2505+#define CCDC_FMTLNH_MASK (0x01FFF)
2506+#define CCDC_FMTSLV_MASK (0x01FFF)
2507+#define CCDC_FMTLNV_MASK (0x07FFF)
2508+#define CCDC_FMTRLEN_MASK (0x01FFF)
2509+#define CCDC_FMTHCNT_MASK (0x01FFF)
2510+
2511+#define CCDC_ADP_INIT_MASK (0x01FFF)
2512+#define CCDC_ADP_LINE_SHIFT (13)
2513+#define CCDC_ADP_LINE_MASK (0x0003)
2514+#define CCDC_FMTPGN_APTR_MASK (0x0007)
2515+
2516+#define CCDC_DFCCTL_GDFCEN_MASK (0x01)
2517+#define CCDC_DFCCTL_VDFCEN_MASK (0x01)
2518+#define CCDC_DFCCTL_VDFCEN_SHIFT (4)
2519+#define CCDC_DFCCTL_VDFCSL_MASK (0x03)
2520+#define CCDC_DFCCTL_VDFCSL_SHIFT (5)
2521+#define CCDC_DFCCTL_VDFCUDA_MASK (0x01)
2522+#define CCDC_DFCCTL_VDFCUDA_SHIFT (7)
2523+#define CCDC_DFCCTL_VDFLSFT_MASK (0x03)
2524+#define CCDC_DFCCTL_VDFLSFT_SHIFT (8)
2525+#define CCDC_DFCMEMCTL_DFCMARST_MASK (0x01)
2526+#define CCDC_DFCMEMCTL_DFCMARST_SHIFT (2)
2527+#define CCDC_DFCMEMCTL_DFCMWR_MASK (0x01)
2528+#define CCDC_DFCMEMCTL_DFCMWR_SHIFT (0)
2529+
2530+#define CCDC_LSCCFG_GFTSF_MASK (0x07)
2531+#define CCDC_LSCCFG_GFTSF_SHIFT (1)
2532+#define CCDC_LSCCFG_GFTINV_MASK (0x0f)
2533+#define CCDC_LSCCFG_GFTINV_SHIFT (4)
2534+#define CCDC_LSC_GFTABLE_SEL_MASK (0x03)
2535+#define CCDC_LSC_GFTABLE_EPEL_SHIFT (8)
2536+#define CCDC_LSC_GFTABLE_OPEL_SHIFT (10)
2537+#define CCDC_LSC_GFTABLE_EPOL_SHIFT (12)
2538+#define CCDC_LSC_GFTABLE_OPOL_SHIFT (14)
2539+#define CCDC_LSC_GFMODE_MASK (0x03)
2540+#define CCDC_LSC_GFMODE_SHIFT (4)
2541+#define CCDC_LSC_DISABLE (0)
2542+#define CCDC_LSC_ENABLE (1)
2543+#define CCDC_LSC_TABLE1_SLC (0)
2544+#define CCDC_LSC_TABLE2_SLC (1)
2545+#define CCDC_LSC_TABLE3_SLC (2)
2546+#define CCDC_LSC_MEMADDR_RESET (1 << 2)
2547+#define CCDC_LSC_MEMADDR_INCR (0 << 2)
2548+#define CCDC_LSC_FRAC_MASK_T1 (0xFF)
2549+#define CCDC_LSC_INT_MASK (0x03)
2550+#define CCDC_LSC_FRAC_MASK (0x3FFF)
2551+#define CCDC_LSC_CENTRE_MASK (0x3FFF)
2552+#define CCDC_LSC_COEF_MASK (0x0ff)
2553+#define CCDC_LSC_COEFL_SHIFT (0)
2554+#define CCDC_LSC_COEFU_SHIFT (8)
2555+#define CCDC_GAIN_MASK (0x7FF)
2556+#endif
2557+#endif /* CCDC_DM355_H */
2558-- 1.6.0.4 \ No newline at end of file
diff --git a/recipes-kernel/linux/linux-davinci/vfpe4.patch b/recipes-kernel/linux/linux-davinci/vfpe4.patch
deleted file mode 100644
index 2e95f9ee..00000000
--- a/recipes-kernel/linux/linux-davinci/vfpe4.patch
+++ /dev/null
@@ -1,1660 +0,0 @@
1Subject:
2[PATCH 4/7] ccdc hw module and header file for DM6446
3From:
4m-karicheri2-l0cyMroinI0@public.gmane.org
5Date:
6Fri, 13 Mar 2009 17:23:16 -0400
7To:
8davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org, davinci_opensource_ccb-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org, psp_video-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org
9Newsgroups:
10gmane.linux.davinci
11
12Adds ccdc hw module and it's header file
13
14Signed-off-by: Murali Karicheri <m-karicheri2-l0cyMroinI0@public.gmane.org>
15---
16 drivers/media/video/ccdc_davinci.c | 124 ----
17 drivers/media/video/davinci/ccdc_davinci.c | 1007 ++++++++++++++++++++++++++++
18 drivers/media/video/davinci/ccdc_davinci.h | 335 +++++++++
19 include/media/ccdc_davinci.h | 144 ----
20 4 files changed, 1342 insertions(+), 268 deletions(-)
21 delete mode 100644 drivers/media/video/ccdc_davinci.c
22 create mode 100644 drivers/media/video/davinci/ccdc_davinci.c
23 create mode 100644 drivers/media/video/davinci/ccdc_davinci.h
24 delete mode 100644 include/media/ccdc_davinci.h
25
26diff --git a/drivers/media/video/ccdc_davinci.c b/drivers/media/video/ccdc_davinci.c
27deleted file mode 100644
28index d3cd333..0000000
29--- a/drivers/media/video/ccdc_davinci.c
30+++ /dev/null
31@@ -1,124 +0,0 @@
32-/*
33- *
34- *
35- * Copyright (C) 2006 Texas Instruments Inc
36- *
37- * This program is free software; you can redistribute it and/or modify
38- * it under the terms of the GNU General Public License as published by
39- * the Free Software Foundation; either version 2 of the License, or
40- * (at your option) any later version.
41- *
42- * This program is distributed in the hope that it will be useful,
43- * but WITHOUT ANY WARRANTY; without even the implied warranty of
44- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45- * GNU General Public License for more details.
46- *
47- * You should have received a copy of the GNU General Public License
48- * along with this program; if not, write to the Free Software
49- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
50- */
51-/* ccdc_davinci.c */
52-
53-#include <media/ccdc_davinci.h>
54-#define debug_print(x...) //printk(x)
55-void ccdc_reset()
56-{
57- int i;
58- /* disable CCDC */
59- ccdc_enable(0);
60- /* set all registers to default value */
61- for (i = 0; i <= 0x94; i += 4) {
62- regw(0, i);
63- }
64- regw(0, PCR);
65- regw(0, SYN_MODE);
66- regw(0, HD_VD_WID);
67- regw(0, PIX_LINES);
68- regw(0, HORZ_INFO);
69- regw(0, VERT_START);
70- regw(0, VERT_LINES);
71- regw(0xffff00ff, CULLING);
72- regw(0, HSIZE_OFF);
73- regw(0, SDOFST);
74- regw(0, SDR_ADDR);
75- regw(0, VDINT);
76- regw(0, REC656IF);
77- regw(0, CCDCFG);
78- regw(0, FMTCFG);
79- regw(0, VP_OUT);
80-}
81-
82-void ccdc_setwin(ccdc_params_ycbcr * params)
83-{
84- int horz_start, horz_nr_pixels;
85- int vert_start, vert_nr_lines;
86-
87- /* configure horizonal and vertical starts and sizes */
88- horz_start = params->win.left << 1;
89- horz_nr_pixels = (params->win.width <<1) - 1;
90- regw((horz_start << 16) | horz_nr_pixels, HORZ_INFO);
91-
92- vert_start = params->win.top;
93-
94- if (params->frm_fmt == CCDC_FRMFMT_INTERLACED) {
95- vert_nr_lines = (params->win.height >> 1) - 1;
96- vert_start >>= 1;
97- } else {
98- vert_nr_lines = params->win.height - 1;
99- }
100- regw((vert_start << 16) | vert_start, VERT_START);
101- regw(vert_nr_lines, VERT_LINES);
102-}
103-
104-void ccdc_config_ycbcr(ccdc_params_ycbcr * params)
105-{
106- u32 syn_mode;
107-
108- /* first reset the CCDC */
109- /* all registers have default values after reset */
110- /* This is important since we assume default values to be set in */
111- /* a lot of registers that we didn't touch */
112- ccdc_reset();
113-
114- /* configure pixel format */
115- syn_mode = (params->pix_fmt & 0x3) << 12;
116-
117- /* configure video frame format */
118- syn_mode |= (params->frm_fmt & 0x1) << 7;
119-
120- /* setup BT.656 sync mode */
121- if (params->bt656_enable) {
122- regw(3, REC656IF);
123-
124- /* configure the FID, VD, HD pin polarity */
125- /* fld,hd pol positive, vd negative, 8-bit pack mode */
126- syn_mode |= 0x00000F04;
127- } else {/* y/c external sync mode */
128- syn_mode |= ((params->fid_pol & 0x1) << 4);
129- syn_mode |= ((params->hd_pol & 0x1) << 3);
130- syn_mode |= ((params->vd_pol & 0x1) << 2);
131- }
132-
133- /* configure video window */
134- ccdc_setwin(params);
135-
136- /* configure the order of y cb cr in SD-RAM */
137- regw((params->pix_order << 11) | 0x8000, CCDCFG);
138-
139- /* configure the horizontal line offset */
140- /* this is done by rounding up width to a multiple of 16 pixels */
141- /* and multiply by two to account for y:cb:cr 4:2:2 data */
142- regw(((params->win.width * 2) + 31) & 0xffffffe0, HSIZE_OFF);
143-
144- /* configure the memory line offset */
145- if (params->buf_type == CCDC_BUFTYPE_FLD_INTERLEAVED) {
146- /* two fields are interleaved in memory */
147- regw(0x00000249, SDOFST);
148- }
149- /* enable output to SDRAM */
150- syn_mode |= (0x1 << 17);
151- /* enable internal timing generator */
152- syn_mode |= (0x1 << 16);
153-
154- regw(syn_mode, SYN_MODE);
155-}
156diff --git a/drivers/media/video/davinci/ccdc_davinci.c b/drivers/media/video/davinci/ccdc_davinci.c
157new file mode 100644
158index 0000000..0bb596e
159--- /dev/null
160+++ b/drivers/media/video/davinci/ccdc_davinci.c
161@@ -0,0 +1,1007 @@
162+/*
163+ * Copyright (C) 2006-2009 Texas Instruments Inc
164+ *
165+ * This program is free software; you can redistribute it and/or modify
166+ * it under the terms of the GNU General Public License as published by
167+ * the Free Software Foundation; either version 2 of the License, or
168+ * (at your option) any later version.
169+ *
170+ * This program is distributed in the hope that it will be useful,
171+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
172+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
173+ * GNU General Public License for more details.
174+ *
175+ * You should have received a copy of the GNU General Public License
176+ * along with this program; if not, write to the Free Software
177+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
178+ */
179+#include <linux/platform_device.h>
180+#include <linux/uaccess.h>
181+#include <asm/page.h>
182+#include <media/davinci/ccdc_hw_device.h>
183+#include "ccdc_davinci.h"
184+
185+static struct device *dev;
186+
187+/* Object for CCDC raw mode */
188+static struct ccdc_params_raw ccdc_hw_params_raw = {
189+ .pix_fmt = CCDC_PIXFMT_RAW,
190+ .frm_fmt = CCDC_FRMFMT_PROGRESSIVE,
191+ .win = CCDC_WIN_VGA,
192+ .fid_pol = CCDC_PINPOL_POSITIVE,
193+ .vd_pol = CCDC_PINPOL_POSITIVE,
194+ .hd_pol = CCDC_PINPOL_POSITIVE,
195+ .image_invert_enable = 0,
196+ .data_sz = _10BITS,
197+ .alaw = {
198+ .b_alaw_enable = 0
199+ },
200+ .blk_clamp = {
201+ .b_clamp_enable = 0,
202+ .dc_sub = 0
203+ },
204+ .blk_comp = {0, 0, 0, 0},
205+ .fault_pxl = {
206+ .fpc_enable = 0
207+ },
208+};
209+
210+/* Object for CCDC ycbcr mode */
211+static struct ccdc_params_ycbcr ccdc_hw_params_ycbcr = {
212+ .pix_fmt = CCDC_PIXFMT_YCBCR_8BIT,
213+ .frm_fmt = CCDC_FRMFMT_INTERLACED,
214+ .win = CCDC_WIN_PAL,
215+ .fid_pol = CCDC_PINPOL_POSITIVE,
216+ .vd_pol = CCDC_PINPOL_POSITIVE,
217+ .hd_pol = CCDC_PINPOL_POSITIVE,
218+ .bt656_enable = 1,
219+ .pix_order = CCDC_PIXORDER_CBYCRY,
220+ .buf_type = CCDC_BUFTYPE_FLD_INTERLEAVED
221+};
222+
223+#define CCDC_MAX_RAW_BAYER_FORMATS 2
224+#define CCDC_MAX_RAW_YUV_FORMATS 2
225+
226+/* Raw Bayer formats */
227+enum vpfe_hw_pix_format ccdc_raw_bayer_hw_formats[CCDC_MAX_RAW_BAYER_FORMATS] =
228+ {VPFE_BAYER_8BIT_PACK_ALAW, VPFE_BAYER};
229+
230+/* Raw YUV formats */
231+enum vpfe_hw_pix_format ccdc_raw_yuv_hw_formats[CCDC_MAX_RAW_YUV_FORMATS] =
232+ {VPFE_UYVY, VPFE_YUYV};
233+
234+static void *__iomem ccdc_base_addr;
235+static int ccdc_addr_size;
236+static void *__iomem vpss_base_addr;
237+static int vpss_addr_size;
238+static struct ccdc_config_params_raw ccdc_hw_params_raw_temp;
239+static enum vpfe_hw_if_type ccdc_if_type;
240+
241+/* register access routines */
242+static inline u32 regr(u32 offset)
243+{
244+ if (offset <= ccdc_addr_size)
245+ return __raw_readl(ccdc_base_addr + offset);
246+ else {
247+ dev_err(dev, "offset exceeds ccdc register address space\n");
248+ return -1;
249+ }
250+}
251+
252+static inline u32 regw(u32 val, u32 offset)
253+{
254+ if (offset <= ccdc_addr_size) {
255+ __raw_writel(val, ccdc_base_addr + offset);
256+ return val;
257+ } else {
258+ dev_err(dev, "offset exceeds ccdc register address space\n");
259+ return -1;
260+ }
261+}
262+
263+/* register access routines */
264+static inline u32 regr_sb(u32 offset)
265+{
266+ if (offset <= vpss_addr_size)
267+ return __raw_readl(vpss_base_addr + offset);
268+ else {
269+ dev_err(dev, "offset exceeds vpss register address space\n");
270+ return -1;
271+ }
272+}
273+
274+static inline u32 regw_sb(u32 val, u32 offset)
275+{
276+ if (offset <= vpss_addr_size) {
277+ __raw_writel(val, vpss_base_addr + offset);
278+ return val;
279+ } else {
280+ dev_err(dev, "offset exceeds vpss register address space\n");
281+ return -1;
282+ }
283+}
284+
285+static void ccdc_set_ccdc_base(void *addr, int size)
286+{
287+ ccdc_base_addr = addr;
288+ ccdc_addr_size = size;
289+}
290+
291+static void ccdc_set_vpss_base(void *addr, int size)
292+{
293+ vpss_base_addr = addr;
294+ vpss_addr_size = size;
295+}
296+
297+static void *ccdc_get_ccdc_base(void)
298+{
299+ return (void *)ccdc_base_addr;
300+}
301+
302+static void *ccdc_get_vpss_base(void)
303+{
304+ return (void *)vpss_base_addr;
305+}
306+
307+static void ccdc_enable(int flag)
308+{
309+ regw(flag, PCR);
310+}
311+
312+static void ccdc_enable_vport(int flag)
313+{
314+ if (flag)
315+ /* enable video port */
316+ regw(ENABLE_VIDEO_PORT, FMTCFG);
317+ else
318+ regw(DISABLE_VIDEO_PORT, FMTCFG);
319+}
320+
321+/*
322+ * ======== ccdc_setwin ========
323+ * This function will configure the window size
324+ * to be capture in CCDC reg
325+ */
326+void ccdc_setwin(struct ccdc_imgwin *image_win,
327+ enum ccdc_frmfmt frm_fmt,
328+ int ppc)
329+{
330+ int horz_start, horz_nr_pixels;
331+ int vert_start, vert_nr_lines;
332+ int val = 0, mid_img = 0;
333+ dev_dbg(dev, "\nStarting ccdc_setwin...");
334+ /* configure horizonal and vertical starts and sizes */
335+ /* Here, (ppc-1) will be different for raw and yuv modes */
336+ horz_start = image_win->left << (ppc - 1);
337+ horz_nr_pixels = (image_win->width << (ppc - 1)) - 1;
338+ regw((horz_start << CCDC_HORZ_INFO_SPH_SHIFT) | horz_nr_pixels,
339+ HORZ_INFO);
340+
341+ vert_start = image_win->top;
342+
343+ if (frm_fmt == CCDC_FRMFMT_INTERLACED) {
344+ vert_nr_lines = (image_win->height >> 1) - 1;
345+ vert_start >>= 1;
346+ /* Since first line doesn't have any data */
347+ vert_start += 1;
348+ /* configure VDINT0 */
349+ val = (vert_start << CCDC_VDINT_VDINT0_SHIFT);
350+ regw(val, VDINT);
351+
352+ } else {
353+ /* Since first line doesn't have any data */
354+ vert_start += 1;
355+ vert_nr_lines = image_win->height - 1;
356+ /* configure VDINT0 and VDINT1 */
357+ /* VDINT1 will be at half of image height */
358+ mid_img = vert_start + (image_win->height / 2);
359+ val = (vert_start << CCDC_VDINT_VDINT0_SHIFT) |
360+ (mid_img & CCDC_VDINT_VDINT1_MASK);
361+ regw(val, VDINT);
362+
363+ }
364+ regw((vert_start << CCDC_VERT_START_SLV0_SHIFT) | vert_start,
365+ VERT_START);
366+ regw(vert_nr_lines, VERT_LINES);
367+ dev_dbg(dev, "\nEnd of ccdc_setwin...");
368+}
369+
370+static void ccdc_readregs(void)
371+{
372+ unsigned int val = 0;
373+
374+ val = regr(ALAW);
375+ dev_notice(dev, "\nReading 0x%x to ALAW...\n", val);
376+ val = regr(CLAMP);
377+ dev_notice(dev, "\nReading 0x%x to CLAMP...\n", val);
378+ val = regr(DCSUB);
379+ dev_notice(dev, "\nReading 0x%x to DCSUB...\n", val);
380+ val = regr(BLKCMP);
381+ dev_notice(dev, "\nReading 0x%x to BLKCMP...\n", val);
382+ val = regr(FPC_ADDR);
383+ dev_notice(dev, "\nReading 0x%x to FPC_ADDR...\n", val);
384+ val = regr(FPC);
385+ dev_notice(dev, "\nReading 0x%x to FPC...\n", val);
386+ val = regr(FMTCFG);
387+ dev_notice(dev, "\nReading 0x%x to FMTCFG...\n", val);
388+ val = regr(COLPTN);
389+ dev_notice(dev, "\nReading 0x%x to COLPTN...\n", val);
390+ val = regr(FMT_HORZ);
391+ dev_notice(dev, "\nReading 0x%x to FMT_HORZ...\n", val);
392+ val = regr(FMT_VERT);
393+ dev_notice(dev, "\nReading 0x%x to FMT_VERT...\n", val);
394+ val = regr(HSIZE_OFF);
395+ dev_notice(dev, "\nReading 0x%x to HSIZE_OFF...\n", val);
396+ val = regr(SDOFST);
397+ dev_notice(dev, "\nReading 0x%x to SDOFST...\n", val);
398+ val = regr(VP_OUT);
399+ dev_notice(dev, "\nReading 0x%x to VP_OUT...\n", val);
400+ val = regr(SYN_MODE);
401+ dev_notice(dev, "\nReading 0x%x to SYN_MODE...\n", val);
402+ val = regr(HORZ_INFO);
403+ dev_notice(dev, "\nReading 0x%x to HORZ_INFO...\n", val);
404+ val = regr(VERT_START);
405+ dev_notice(dev, "\nReading 0x%x to VERT_START...\n", val);
406+ val = regr(VERT_LINES);
407+ dev_notice(dev, "\nReading 0x%x to VERT_LINES...\n", val);
408+}
409+
410+static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam)
411+{
412+ if ((ccdc_hw_params_raw.frm_fmt != CCDC_FRMFMT_INTERLACED)
413+ && (ccdcparam->image_invert_enable == 1)) {
414+ dev_err(dev, "\nImage invert not supported");
415+ return -1;
416+ }
417+ if (ccdc_hw_params_raw.alaw.b_alaw_enable) {
418+ if ((ccdcparam->alaw.gama_wd > BITS_09_0)
419+ || (ccdcparam->alaw.gama_wd < BITS_15_6)
420+ || (ccdcparam->alaw.gama_wd < ccdcparam->data_sz)) {
421+ dev_err(dev, "\nInvalid data line select");
422+ return -1;
423+ }
424+ }
425+ return 0;
426+}
427+
428+static int ccdc_update_ycbcr_params(void *arg)
429+{
430+ memcpy(&ccdc_hw_params_ycbcr,
431+ (struct ccdc_params_ycbcr *)arg,
432+ sizeof(struct ccdc_params_ycbcr));
433+ return 0;
434+}
435+
436+static int ccdc_update_raw_params(void *arg)
437+{
438+ unsigned int *fpc_virtaddr = NULL;
439+ unsigned int *fpc_physaddr = NULL;
440+ struct ccdc_params_raw *ccd_params = &ccdc_hw_params_raw;
441+ struct ccdc_config_params_raw *raw_params =
442+ (struct ccdc_config_params_raw *) arg;
443+ ccd_params->image_invert_enable = raw_params->image_invert_enable;
444+
445+ dev_dbg(dev, "\nimage_invert_enable = %d",
446+ ccd_params->image_invert_enable);
447+
448+ ccd_params->data_sz = raw_params->data_sz;
449+ dev_dbg(dev, "\ndata_sz = %d", ccd_params->data_sz);
450+
451+ ccd_params->alaw.b_alaw_enable = raw_params->alaw.b_alaw_enable;
452+ dev_dbg(dev, "\nALaw Enable = %d", ccd_params->alaw.b_alaw_enable);
453+ /* copy A-Law configurations to vpfe_device, from arg
454+ * passed by application */
455+ if (ccd_params->alaw.b_alaw_enable) {
456+ ccd_params->alaw.gama_wd = raw_params->alaw.gama_wd;
457+ dev_dbg(dev, "\nALaw Gama width = %d",
458+ ccd_params->alaw.gama_wd);
459+ }
460+
461+ /* copy Optical Balck Clamping configurations to
462+ * vpfe_device,from arg passed by application */
463+ ccd_params->blk_clamp.b_clamp_enable
464+ = raw_params->blk_clamp.b_clamp_enable;
465+ dev_dbg(dev, "\nb_clamp_enable = %d",
466+ ccd_params->blk_clamp.b_clamp_enable);
467+ if (ccd_params->blk_clamp.b_clamp_enable) {
468+ /*gain */
469+ ccd_params->blk_clamp.sgain = raw_params->blk_clamp.sgain;
470+ dev_dbg(dev, "\nblk_clamp.sgain = %d",
471+ ccd_params->blk_clamp.sgain);
472+ /*Start pixel */
473+ ccd_params->blk_clamp.start_pixel
474+ = raw_params->blk_clamp.start_pixel;
475+ dev_dbg(dev, "\nblk_clamp.start_pixel = %d",
476+ ccd_params->blk_clamp.start_pixel);
477+ /*No of line to be avg */
478+ ccd_params->blk_clamp.sample_ln
479+ = raw_params->blk_clamp.sample_ln;
480+ dev_dbg(dev, "\nblk_clamp.sample_ln = %d",
481+ ccd_params->blk_clamp.sample_ln);
482+ /*No of pixel/line to be avg */
483+ ccd_params->blk_clamp.sample_pixel
484+ = raw_params->blk_clamp.sample_pixel;
485+ dev_dbg(dev, "\nblk_clamp.sample_pixel = %d",
486+ ccd_params->blk_clamp.sample_pixel);
487+ } else { /* configure DCSub */
488+
489+ ccd_params->blk_clamp.dc_sub = raw_params->blk_clamp.dc_sub;
490+ dev_dbg(dev, "\nblk_clamp.dc_sub = %d",
491+ ccd_params->blk_clamp.dc_sub);
492+ }
493+
494+ /* copy BalckLevel Compansation configurations to
495+ * vpfe_device,from arg passed by application
496+ */
497+ ccd_params->blk_comp.r_comp = raw_params->blk_comp.r_comp;
498+ ccd_params->blk_comp.gr_comp = raw_params->blk_comp.gr_comp;
499+ ccd_params->blk_comp.b_comp = raw_params->blk_comp.b_comp;
500+ ccd_params->blk_comp.gb_comp = raw_params->blk_comp.gb_comp;
501+ dev_dbg(dev, "\nblk_comp.r_comp = %d",
502+ ccd_params->blk_comp.r_comp);
503+ dev_dbg(dev, "\nblk_comp.gr_comp = %d",
504+ ccd_params->blk_comp.gr_comp);
505+ dev_dbg(dev, "\nblk_comp.b_comp = %d",
506+ ccd_params->blk_comp.b_comp);
507+ dev_dbg(dev, "\nblk_comp.gb_comp = %d",
508+ ccd_params->blk_comp.gb_comp);
509+
510+ /* copy FPC configurations to vpfe_device,from
511+ * arg passed by application
512+ */
513+ ccd_params->fault_pxl.fpc_enable = raw_params->fault_pxl.fpc_enable;
514+ dev_dbg(dev, "\nfault_pxl.fpc_enable = %d",
515+ ccd_params->fault_pxl.fpc_enable);
516+
517+ if (ccd_params->fault_pxl.fpc_enable) {
518+ fpc_physaddr =
519+ (unsigned int *)ccd_params->fault_pxl.fpc_table_addr;
520+
521+ fpc_virtaddr = (unsigned int *)
522+ phys_to_virt((unsigned long)
523+ fpc_physaddr);
524+
525+ /* Allocate memory for FPC table if current
526+ * FPC table buffer is not big enough to
527+ * accomodate FPC Number requested
528+ */
529+ if (raw_params->fault_pxl.fp_num !=
530+ ccd_params->fault_pxl.fp_num) {
531+ if (fpc_physaddr != NULL) {
532+ free_pages((unsigned long)
533+ fpc_physaddr,
534+ get_order
535+ (ccd_params->
536+ fault_pxl.fp_num * FP_NUM_BYTES));
537+
538+ }
539+
540+ /* Allocate memory for FPC table */
541+ fpc_virtaddr = (unsigned int *)
542+ __get_free_pages(GFP_KERNEL |
543+ GFP_DMA,
544+ get_order
545+ (raw_params->
546+ fault_pxl.fp_num * FP_NUM_BYTES));
547+
548+ if (fpc_virtaddr == NULL) {
549+ dev_err(dev,
550+ "\nUnable to allocate memory for FPC");
551+ return -1;
552+ }
553+ fpc_physaddr =
554+ (unsigned int *)virt_to_phys((void *)fpc_virtaddr);
555+ }
556+
557+ /* Copy number of fault pixels and FPC table */
558+ ccd_params->fault_pxl.fp_num = raw_params->fault_pxl.fp_num;
559+ if (copy_from_user((void *)fpc_virtaddr,
560+ (void *)raw_params->
561+ fault_pxl.fpc_table_addr,
562+ (unsigned long)ccd_params->
563+ fault_pxl.fp_num * FP_NUM_BYTES)) {
564+ dev_err(dev, "\n copy_from_user failed");
565+ return -1;
566+ }
567+
568+ ccd_params->fault_pxl.fpc_table_addr =
569+ (unsigned int)fpc_physaddr;
570+ }
571+ return 0;
572+}
573+
574+static int ccdc_close(struct device *dev)
575+{
576+ unsigned int *fpc_physaddr = NULL, *fpc_virtaddr = NULL;
577+ fpc_physaddr = (unsigned int *)
578+ ccdc_hw_params_raw.fault_pxl.fpc_table_addr;
579+
580+ if (fpc_physaddr != NULL) {
581+ fpc_virtaddr = (unsigned int *)
582+ phys_to_virt((unsigned long)fpc_physaddr);
583+ free_pages((unsigned long)fpc_virtaddr,
584+ get_order(ccdc_hw_params_raw.fault_pxl.
585+ fp_num * FP_NUM_BYTES));
586+ }
587+ return 0;
588+}
589+
590+/*
591+ * ======== ccdc_reset ========
592+ *
593+ * This function will reset all CCDc reg
594+ */
595+static void ccdc_reset(void)
596+{
597+ int i;
598+
599+ /* disable CCDC */
600+ ccdc_enable(0);
601+ /* set all registers to default value */
602+ for (i = 0; i <= 0x94; i += 4)
603+ regw(0, i);
604+ regw(0, PCR);
605+ regw(0, SYN_MODE);
606+ regw(0, HD_VD_WID);
607+ regw(0, PIX_LINES);
608+ regw(0, HORZ_INFO);
609+ regw(0, VERT_START);
610+ regw(0, VERT_LINES);
611+ regw(0xffff00ff, CULLING);
612+ regw(0, HSIZE_OFF);
613+ regw(0, SDOFST);
614+ regw(0, SDR_ADDR);
615+ regw(0, VDINT);
616+ regw(0, REC656IF);
617+ regw(0, CCDCFG);
618+ regw(0, FMTCFG);
619+ regw(0, VP_OUT);
620+}
621+
622+static int ccdc_open(struct device *device)
623+{
624+ dev = device;
625+ ccdc_reset();
626+ if (ccdc_if_type == VPFE_RAW_BAYER)
627+ ccdc_enable_vport(1);
628+ return 0;
629+}
630+
631+static u32 ccdc_sbl_reset(void)
632+{
633+ u32 sb_reset;
634+ sb_reset = regr_sb(SBL_PCR_VPSS);
635+ regw_sb((sb_reset & SBL_PCR_CCDC_WBL_O), SBL_PCR_VPSS);
636+ return sb_reset;
637+}
638+
639+/* Parameter operations */
640+static int ccdc_setparams(void *params)
641+{
642+ int x;
643+ if (ccdc_if_type == VPFE_RAW_BAYER) {
644+ x = copy_from_user(&ccdc_hw_params_raw_temp,
645+ (struct ccdc_config_params_raw *)params,
646+ sizeof(struct ccdc_config_params_raw));
647+ if (x) {
648+ dev_err(dev, "ccdc_setparams: error in copying"
649+ "ccdc params, %d\n", x);
650+ return -1;
651+ }
652+
653+ if (!validate_ccdc_param(&ccdc_hw_params_raw_temp)) {
654+ if (!ccdc_update_raw_params(&ccdc_hw_params_raw_temp))
655+ return 0;
656+ }
657+ } else
658+ return ccdc_update_ycbcr_params(params);
659+ return -1;
660+}
661+
662+/*
663+ * ======== ccdc_config_ycbcr ========
664+ * This function will configure CCDC for YCbCr parameters
665+ */
666+void ccdc_config_ycbcr(void)
667+{
668+ u32 syn_mode;
669+ unsigned int val;
670+ struct ccdc_params_ycbcr *params = &ccdc_hw_params_ycbcr;
671+
672+ /* first reset the CCDC */
673+ /* all registers have default values after reset */
674+ /* This is important since we assume default values to be set in */
675+ /* a lot of registers that we didn't touch */
676+ dev_dbg(dev, "\nStarting ccdc_config_ycbcr...");
677+ ccdc_reset();
678+
679+ /* configure pixel format */
680+ syn_mode = (params->pix_fmt & 0x3) << 12;
681+
682+ /* configure video frame format */
683+ syn_mode |= (params->frm_fmt & 0x1) << 7;
684+
685+ /* setup BT.656 sync mode */
686+ if (params->bt656_enable) {
687+ regw(3, REC656IF);
688+
689+ /* configure the FID, VD, HD pin polarity */
690+ /* fld,hd pol positive, vd negative, 8-bit pack mode */
691+ syn_mode |= 0x00000F04;
692+ } else {
693+ /* y/c external sync mode */
694+ syn_mode |= ((params->fid_pol & 0x1) << 4);
695+ syn_mode |= ((params->hd_pol & 0x1) << 3);
696+ syn_mode |= ((params->vd_pol & 0x1) << 2);
697+ }
698+
699+ /* configure video window */
700+ ccdc_setwin(&params->win, params->frm_fmt, 2);
701+
702+ /* configure the order of y cb cr in SD-RAM */
703+ regw((params->pix_order << 11) | 0x8000, CCDCFG);
704+
705+ /* configure the horizontal line offset */
706+ /* this is done by rounding up width to a multiple of 16 pixels */
707+ /* and multiply by two to account for y:cb:cr 4:2:2 data */
708+ regw(((params->win.width * 2) + 31) & 0xffffffe0, HSIZE_OFF);
709+
710+ /* configure the memory line offset */
711+ if (params->buf_type == CCDC_BUFTYPE_FLD_INTERLEAVED)
712+ /* two fields are interleaved in memory */
713+ regw(0x00000249, SDOFST);
714+ /* enable output to SDRAM */
715+ syn_mode |= (0x1 << 17);
716+ /* enable internal timing generator */
717+ syn_mode |= (0x1 << 16);
718+
719+ syn_mode |= CCDC_DATA_PACK_ENABLE;
720+ regw(syn_mode, SYN_MODE);
721+
722+ val = (unsigned int)ccdc_sbl_reset();
723+ dev_dbg(dev, "\nReading 0x%x from SBL...\n", val);
724+ dev_dbg(dev, "\nEnd of ccdc_config_ycbcr...\n");
725+ ccdc_readregs();
726+}
727+
728+/*
729+ * ======== ccdc_config_raw ========
730+ *
731+ * This function will configure CCDC for Raw mode parameters
732+ */
733+void ccdc_config_raw(void)
734+{
735+ struct ccdc_params_raw *params = &ccdc_hw_params_raw;
736+ unsigned int syn_mode = 0;
737+ unsigned int val;
738+ dev_dbg(dev, "\nStarting ccdc_config_raw...");
739+ /* Reset CCDC */
740+ ccdc_reset();
741+ /* Disable latching function registers on VSYNC */
742+ regw(CCDC_LATCH_ON_VSYNC_DISABLE, CCDCFG);
743+
744+ /* Configure the vertical sync polarity(SYN_MODE.VDPOL) */
745+ syn_mode = (params->vd_pol & CCDC_VD_POL_MASK) << CCDC_VD_POL_SHIFT;
746+
747+ /* Configure the horizontal sync polarity (SYN_MODE.HDPOL) */
748+ syn_mode |= (params->hd_pol & CCDC_HD_POL_MASK) << CCDC_HD_POL_SHIFT;
749+
750+ /* Configure frame id polarity (SYN_MODE.FLDPOL) */
751+ syn_mode |= (params->fid_pol & CCDC_FID_POL_MASK) << CCDC_FID_POL_SHIFT;
752+
753+ /* Configure frame format(progressive or interlace) */
754+ syn_mode |= (params->frm_fmt & CCDC_FRM_FMT_MASK) << CCDC_FRM_FMT_SHIFT;
755+
756+ /* Configure the data size(SYNMODE.DATSIZ) */
757+ syn_mode |= (params->data_sz & CCDC_DATA_SZ_MASK) << CCDC_DATA_SZ_SHIFT;
758+
759+ /* Configure pixel format (Input mode) */
760+ syn_mode |= (params->pix_fmt & CCDC_PIX_FMT_MASK) << CCDC_PIX_FMT_SHIFT;
761+
762+ /* Configure VP2SDR bit of syn_mode = 0 */
763+ syn_mode &= CCDC_VP2SDR_DISABLE;
764+
765+ /* Enable write enable bit */
766+ syn_mode |= CCDC_WEN_ENABLE;
767+
768+ /* Disable output to resizer */
769+ syn_mode &= CCDC_SDR2RSZ_DISABLE;
770+
771+ /* enable internal timing generator */
772+ syn_mode |= CCDC_VDHDEN_ENABLE;
773+
774+ /* Enable and configure aLaw register if needed */
775+ if (params->alaw.b_alaw_enable) {
776+ val = (params->alaw.gama_wd & CCDC_ALAW_GAMA_WD_MASK);
777+ /*set enable bit of alaw */
778+ val |= CCDC_ALAW_ENABLE;
779+ regw(val, ALAW);
780+
781+ dev_dbg(dev, "\nWriting 0x%x to ALAW...\n", val);
782+ }
783+
784+ /* configure video window */
785+ ccdc_setwin(&params->win, params->frm_fmt, PPC_RAW);
786+
787+ if (params->blk_clamp.b_clamp_enable) {
788+ /*gain */
789+ val = (params->blk_clamp.sgain) & CCDC_BLK_SGAIN_MASK;
790+ /*Start pixel */
791+ val |= (params->blk_clamp.start_pixel & CCDC_BLK_ST_PXL_MASK)
792+ << CCDC_BLK_ST_PXL_SHIFT;
793+ /*No of line to be avg */
794+ val |= (params->blk_clamp.sample_ln & CCDC_BLK_SAMPLE_LINE_MASK)
795+ << CCDC_BLK_SAMPLE_LINE_SHIFT;
796+ /*No of pixel/line to be avg */
797+ val |=
798+ (params->blk_clamp.sample_pixel & CCDC_BLK_SAMPLE_LN_MASK)
799+ << CCDC_BLK_SAMPLE_LN_SHIFT;
800+ /*Enable the Black clamping */
801+ val |= CCDC_BLK_CLAMP_ENABLE;
802+ regw(val, CLAMP);
803+
804+ dev_dbg(dev, "\nWriting 0x%x to CLAMP...\n", val);
805+ /*If Black clamping is enable then make dcsub 0 */
806+ regw(DCSUB_DEFAULT_VAL, DCSUB);
807+ dev_dbg(dev, "\nWriting 0x00000000 to DCSUB...\n");
808+
809+ } else {
810+ /* configure DCSub */
811+ val = (params->blk_clamp.dc_sub) & CCDC_BLK_DC_SUB_MASK;
812+ regw(val, DCSUB);
813+
814+ dev_dbg(dev, "\nWriting 0x%x to DCSUB...\n", val);
815+ regw(CLAMP_DEFAULT_VAL, CLAMP);
816+
817+ dev_dbg(dev, "\nWriting 0x0000 to CLAMP...\n");
818+ }
819+
820+ /* Configure Black level compensation */
821+ val = (params->blk_comp.b_comp & CCDC_BLK_COMP_MASK);
822+ val |= (params->blk_comp.gb_comp & CCDC_BLK_COMP_MASK)
823+ << CCDC_BLK_COMP_GB_COMP_SHIFT;
824+ val |= (params->blk_comp.gr_comp & CCDC_BLK_COMP_MASK)
825+ << CCDC_BLK_COMP_GR_COMP_SHIFT;
826+ val |= (params->blk_comp.r_comp & CCDC_BLK_COMP_MASK)
827+ << CCDC_BLK_COMP_R_COMP_SHIFT;
828+
829+ regw(val, BLKCMP);
830+
831+ dev_dbg(dev, "\nWriting 0x%x to BLKCMP...\n", val);
832+ dev_dbg(dev, "\nbelow regw(val, BLKCMP)...");
833+ /* Initially disable FPC */
834+ val = CCDC_FPC_DISABLE;
835+ regw(val, FPC);
836+ /* Configure Fault pixel if needed */
837+ if (params->fault_pxl.fpc_enable) {
838+ regw(params->fault_pxl.fpc_table_addr, FPC_ADDR);
839+
840+ dev_dbg(dev, "\nWriting 0x%x to FPC_ADDR...\n",
841+ (params->fault_pxl.fpc_table_addr));
842+ /* Write the FPC params with FPC disable */
843+ val = params->fault_pxl.fp_num & CCDC_FPC_FPC_NUM_MASK;
844+ regw(val, FPC);
845+
846+ dev_dbg(dev, "\nWriting 0x%x to FPC...\n", val);
847+ /* read the FPC register */
848+ val = regr(FPC);
849+ val |= CCDC_FPC_ENABLE;
850+ regw(val, FPC);
851+
852+ dev_dbg(dev, "\nWriting 0x%x to FPC...\n", val);
853+ }
854+ /* If data size is 8 bit then pack the data */
855+ if ((params->data_sz == _8BITS) || params->alaw.b_alaw_enable)
856+ syn_mode |= CCDC_DATA_PACK_ENABLE;
857+#if VIDEO_PORT_ENABLE
858+ /* enable video port */
859+ val = ENABLE_VIDEO_PORT;
860+#else
861+ /* disable video port */
862+ val = DISABLE_VIDEO_PORT;
863+#endif
864+
865+ if (params->data_sz == _8BITS)
866+ val |= (_10BITS & CCDC_FMTCFG_VPIN_MASK)
867+ << CCDC_FMTCFG_VPIN_SHIFT;
868+ else
869+ val |= (params->data_sz & CCDC_FMTCFG_VPIN_MASK)
870+ << CCDC_FMTCFG_VPIN_SHIFT;
871+
872+ /* Write value in FMTCFG */
873+ regw(val, FMTCFG);
874+
875+ dev_dbg(dev, "\nWriting 0x%x to FMTCFG...\n", val);
876+
877+ /* Configure the color pattern according to mt9t001 sensor */
878+ regw(CCDC_COLPTN_VAL, COLPTN);
879+
880+ dev_dbg(dev, "\nWriting 0xBB11BB11 to COLPTN...\n");
881+ /* Configure Data formatter(Video port) pixel selection
882+ * (FMT_HORZ, FMT_VERT)
883+ */
884+ val = 0;
885+ val |= ((params->win.left) & CCDC_FMT_HORZ_FMTSPH_MASK)
886+ << CCDC_FMT_HORZ_FMTSPH_SHIFT;
887+ val |= (((params->win.width)) & CCDC_FMT_HORZ_FMTLNH_MASK);
888+ regw(val, FMT_HORZ);
889+
890+ dev_dbg(dev, "\nWriting 0x%x to FMT_HORZ...\n", val);
891+ val = 0;
892+ val |= (params->win.top & CCDC_FMT_VERT_FMTSLV_MASK)
893+ << CCDC_FMT_VERT_FMTSLV_SHIFT;
894+ if (params->frm_fmt == CCDC_FRMFMT_PROGRESSIVE)
895+ val |= (params->win.height) & CCDC_FMT_VERT_FMTLNV_MASK;
896+ else
897+ val |= (params->win.height >> 1) & CCDC_FMT_VERT_FMTLNV_MASK;
898+
899+ dev_dbg(dev, "\nparams->win.height 0x%x ...\n",
900+ params->win.height);
901+ regw(val, FMT_VERT);
902+
903+ dev_dbg(dev, "\nWriting 0x%x to FMT_VERT...\n", val);
904+
905+ dev_dbg(dev, "\nbelow regw(val, FMT_VERT)...");
906+
907+ /* Configure Horizontal offset register */
908+ /* If pack 8 is enabled then 1 pixel will take 1 byte */
909+ if ((params->data_sz == _8BITS) || params->alaw.b_alaw_enable)
910+ regw(((params->win.width) + CCDC_32BYTE_ALIGN_VAL)
911+ & CCDC_HSIZE_OFF_MASK, HSIZE_OFF);
912+
913+ else
914+ /* else one pixel will take 2 byte */
915+ regw(((params->win.width * TWO_BYTES_PER_PIXEL)
916+ + CCDC_32BYTE_ALIGN_VAL)
917+ & CCDC_HSIZE_OFF_MASK, HSIZE_OFF);
918+
919+ /* Set value for SDOFST */
920+ if (params->frm_fmt == CCDC_FRMFMT_INTERLACED) {
921+ if (params->image_invert_enable) {
922+ /* For intelace inverse mode */
923+ regw(INTERLACED_IMAGE_INVERT, SDOFST);
924+ dev_dbg(dev, "\nWriting 0x4B6D to SDOFST...\n");
925+ }
926+
927+ else {
928+ /* For intelace non inverse mode */
929+ regw(INTERLACED_NO_IMAGE_INVERT, SDOFST);
930+ dev_dbg(dev, "\nWriting 0x0249 to SDOFST...\n");
931+ }
932+ } else if (params->frm_fmt == CCDC_FRMFMT_PROGRESSIVE) {
933+ regw(PROGRESSIVE_NO_IMAGE_INVERT, SDOFST);
934+ dev_dbg(dev, "\nWriting 0x0000 to SDOFST...\n");
935+ }
936+
937+ /* Configure video port pixel selection (VPOUT) */
938+ /* Here -1 is to make the height value less than FMT_VERT.FMTLNV */
939+ if (params->frm_fmt == CCDC_FRMFMT_PROGRESSIVE)
940+ val = (((params->win.height - 1) & CCDC_VP_OUT_VERT_NUM_MASK))
941+ << CCDC_VP_OUT_VERT_NUM_SHIFT;
942+ else
943+ val =
944+ ((((params->win.
945+ height >> CCDC_INTERLACED_HEIGHT_SHIFT) -
946+ 1) & CCDC_VP_OUT_VERT_NUM_MASK))
947+ << CCDC_VP_OUT_VERT_NUM_SHIFT;
948+
949+ val |= ((((params->win.width))) & CCDC_VP_OUT_HORZ_NUM_MASK)
950+ << CCDC_VP_OUT_HORZ_NUM_SHIFT;
951+ val |= (params->win.left) & CCDC_VP_OUT_HORZ_ST_MASK;
952+ regw(val, VP_OUT);
953+
954+ dev_dbg(dev, "\nWriting 0x%x to VP_OUT...\n", val);
955+ regw(syn_mode, SYN_MODE);
956+ dev_dbg(dev, "\nWriting 0x%x to SYN_MODE...\n", syn_mode);
957+
958+ val = (unsigned int)ccdc_sbl_reset();
959+ dev_dbg(dev, "\nReading 0x%x from SBL...\n", val);
960+
961+ dev_dbg(dev, "\nend of ccdc_config_raw...");
962+ ccdc_readregs();
963+}
964+
965+static int ccdc_configure(void)
966+{
967+ if (ccdc_if_type == VPFE_RAW_BAYER) {
968+ dev_info(dev, "calling ccdc_config_raw()\n");
969+ ccdc_config_raw();
970+ } else {
971+ dev_info(dev, "calling ccdc_config_ycbcr()\n");
972+ ccdc_config_ycbcr();
973+ }
974+ return 0;
975+}
976+
977+static int ccdc_set_buftype(enum ccdc_buftype buf_type)
978+{
979+ if (ccdc_if_type == VPFE_RAW_BAYER)
980+ ccdc_hw_params_raw.buf_type = buf_type;
981+ else
982+ ccdc_hw_params_ycbcr.buf_type = buf_type;
983+ return 0;
984+}
985+
986+static int ccdc_get_buftype(enum ccdc_buftype *buf_type)
987+{
988+ if (ccdc_if_type == VPFE_RAW_BAYER)
989+ *buf_type = ccdc_hw_params_raw.buf_type;
990+ else
991+ *buf_type = ccdc_hw_params_ycbcr.buf_type;
992+ return 0;
993+}
994+
995+static int ccdc_enum_pix(enum vpfe_hw_pix_format *hw_pix, int i)
996+{
997+ int ret = -EINVAL;
998+ if (ccdc_if_type == VPFE_RAW_BAYER) {
999+ if (i < CCDC_MAX_RAW_BAYER_FORMATS) {
1000+ *hw_pix = ccdc_raw_bayer_hw_formats[i];
1001+ ret = 0;
1002+ }
1003+ } else {
1004+ if (i < CCDC_MAX_RAW_YUV_FORMATS) {
1005+ *hw_pix = ccdc_raw_yuv_hw_formats[i];
1006+ ret = 0;
1007+ }
1008+ }
1009+ return ret;
1010+}
1011+
1012+static int ccdc_set_pixel_format(enum vpfe_hw_pix_format pixfmt)
1013+{
1014+ if (ccdc_if_type == VPFE_RAW_BAYER) {
1015+ ccdc_hw_params_raw.pix_fmt = CCDC_PIXFMT_RAW;
1016+ if (pixfmt == VPFE_BAYER_8BIT_PACK_ALAW)
1017+ ccdc_hw_params_raw.alaw.b_alaw_enable = 1;
1018+ else if (pixfmt != VPFE_BAYER)
1019+ return -1;
1020+ } else {
1021+ if (pixfmt == VPFE_YUYV)
1022+ ccdc_hw_params_ycbcr.pix_order = CCDC_PIXORDER_YCBYCR;
1023+ else if (pixfmt == VPFE_UYVY)
1024+ ccdc_hw_params_ycbcr.pix_order = CCDC_PIXORDER_CBYCRY;
1025+ else
1026+ return -1;
1027+ }
1028+ return 0;
1029+}
1030+
1031+static int ccdc_get_pixel_format(enum vpfe_hw_pix_format *pixfmt)
1032+{
1033+ if (ccdc_if_type == VPFE_RAW_BAYER)
1034+ if (ccdc_hw_params_raw.alaw.b_alaw_enable)
1035+ *pixfmt = VPFE_BAYER_8BIT_PACK_ALAW;
1036+ else
1037+ *pixfmt = VPFE_BAYER;
1038+ else {
1039+ if (ccdc_hw_params_ycbcr.pix_order == CCDC_PIXORDER_YCBYCR)
1040+ *pixfmt = VPFE_YUYV;
1041+ else
1042+ *pixfmt = VPFE_UYVY;
1043+ }
1044+ return 0;
1045+}
1046+
1047+static int ccdc_set_image_window(struct v4l2_rect *win)
1048+{
1049+ if (ccdc_if_type == VPFE_RAW_BAYER) {
1050+ ccdc_hw_params_raw.win.top = win->top;
1051+ ccdc_hw_params_raw.win.left = win->left;
1052+ ccdc_hw_params_raw.win.width = win->width;
1053+ ccdc_hw_params_raw.win.height = win->height;
1054+ } else {
1055+ ccdc_hw_params_ycbcr.win.top = win->top;
1056+ ccdc_hw_params_ycbcr.win.left = win->left;
1057+ ccdc_hw_params_ycbcr.win.width = win->width;
1058+ ccdc_hw_params_ycbcr.win.height = win->height;
1059+ }
1060+ return 0;
1061+}
1062+
1063+static int ccdc_get_image_window(struct v4l2_rect *win)
1064+{
1065+ if (ccdc_if_type == VPFE_RAW_BAYER) {
1066+ win->top = ccdc_hw_params_raw.win.top;
1067+ win->left = ccdc_hw_params_raw.win.left;
1068+ win->width = ccdc_hw_params_raw.win.width;
1069+ win->height = ccdc_hw_params_raw.win.height;
1070+ } else {
1071+ win->top = ccdc_hw_params_ycbcr.win.top;
1072+ win->left = ccdc_hw_params_ycbcr.win.left;
1073+ win->width = ccdc_hw_params_ycbcr.win.width;
1074+ win->height = ccdc_hw_params_ycbcr.win.height;
1075+ }
1076+ return 0;
1077+}
1078+
1079+static int ccdc_get_line_length(unsigned int *len)
1080+{
1081+ if (ccdc_if_type == VPFE_RAW_BAYER) {
1082+ if ((ccdc_hw_params_raw.alaw.b_alaw_enable) ||
1083+ (ccdc_hw_params_raw.data_sz == _8BITS))
1084+ *len = ccdc_hw_params_raw.win.width;
1085+ else
1086+ *len = ccdc_hw_params_raw.win.width * 2;
1087+ } else
1088+ *len = ccdc_hw_params_ycbcr.win.width * 2;
1089+ return 0;
1090+}
1091+
1092+static int ccdc_set_frame_format(enum ccdc_frmfmt frm_fmt)
1093+{
1094+ if (ccdc_if_type == VPFE_RAW_BAYER)
1095+ ccdc_hw_params_raw.frm_fmt = frm_fmt;
1096+ else
1097+ ccdc_hw_params_ycbcr.frm_fmt = frm_fmt;
1098+ return 0;
1099+}
1100+
1101+static int ccdc_get_frame_format(enum ccdc_frmfmt *frm_fmt)
1102+{
1103+ if (ccdc_if_type == VPFE_RAW_BAYER)
1104+ *frm_fmt = ccdc_hw_params_raw.frm_fmt;
1105+ else
1106+ *frm_fmt = ccdc_hw_params_ycbcr.frm_fmt;
1107+ return 0;
1108+}
1109+
1110+static int ccdc_getfid(void)
1111+{
1112+ int fid = (regr(SYN_MODE) >> 15) & 0x1;
1113+ return fid;
1114+}
1115+
1116+/* misc operations */
1117+static inline void ccdc_setfbaddr(unsigned long addr)
1118+{
1119+ regw(addr & 0xffffffe0, SDR_ADDR);
1120+}
1121+
1122+static int ccdc_set_hw_if_type(enum vpfe_hw_if_type iface)
1123+{
1124+ ccdc_if_type = iface;
1125+ return 0;
1126+}
1127+
1128+struct ccdc_hw_device ccdc_hw_dev = {
1129+ .name = "DM6446 CCDC",
1130+ .set_ccdc_base = ccdc_set_ccdc_base,
1131+ .set_vpss_base = ccdc_set_vpss_base,
1132+ .get_ccdc_base = ccdc_get_ccdc_base,
1133+ .get_vpss_base = ccdc_get_vpss_base,
1134+ .open = ccdc_open,
1135+ .reset = ccdc_sbl_reset,
1136+ .enable = ccdc_enable,
1137+ .set_hw_if_type = ccdc_set_hw_if_type,
1138+ .setparams = ccdc_setparams,
1139+ .configure = ccdc_configure,
1140+ .set_buftype = ccdc_set_buftype,
1141+ .get_buftype = ccdc_get_buftype,
1142+ .enum_pix = ccdc_enum_pix,
1143+ .set_pixelformat = ccdc_set_pixel_format,
1144+ .get_pixelformat = ccdc_get_pixel_format,
1145+ .set_frame_format = ccdc_set_frame_format,
1146+ .get_frame_format = ccdc_get_frame_format,
1147+ .set_image_window = ccdc_set_image_window,
1148+ .get_image_window = ccdc_get_image_window,
1149+ .get_line_length = ccdc_get_line_length,
1150+ .setfbaddr = ccdc_setfbaddr,
1151+ .getfid = ccdc_getfid,
1152+ .close = ccdc_close
1153+};
1154+EXPORT_SYMBOL(ccdc_hw_dev);
1155+
1156+static int davinci_ccdc_init(void)
1157+{
1158+ return 0;
1159+}
1160+
1161+static void davinci_ccdc_exit(void)
1162+{
1163+}
1164+
1165+subsys_initcall(davinci_ccdc_init);
1166+module_exit(davinci_ccdc_exit);
1167+
1168+MODULE_LICENSE("GPL");
1169diff --git a/drivers/media/video/davinci/ccdc_davinci.h b/drivers/media/video/davinci/ccdc_davinci.h
1170new file mode 100644
1171index 0000000..188e4f1
1172--- /dev/null
1173+++ b/drivers/media/video/davinci/ccdc_davinci.h
1174@@ -0,0 +1,335 @@
1175+/*
1176+ * Copyright (C) 2006-2009 Texas Instruments Inc
1177+ *
1178+ * This program is free software; you can redistribute it and/or modify
1179+ * it under the terms of the GNU General Public License as published by
1180+ * the Free Software Foundation; either version 2 of the License, or
1181+ * (at your option) any later version.
1182+ *
1183+ * This program is distributed in the hope that it will be useful,
1184+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
1185+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1186+ * GNU General Public License for more details.
1187+ *
1188+ * You should have received a copy of the GNU General Public License
1189+ * along with this program; if not, write to the Free Software
1190+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1191+ */
1192+#ifndef _CCDC_DAVINCI_H
1193+#define _CCDC_DAVINCI_H
1194+#include <media/davinci/ccdc_common.h>
1195+
1196+/* enum for No of pixel per line to be avg. in Black Clamping*/
1197+enum sample_length {
1198+ _1PIXELS = 0,
1199+ _2PIXELS,
1200+ _4PIXELS,
1201+ _8PIXELS,
1202+ _16PIXELS
1203+};
1204+
1205+/* Define to enable/disable video port */
1206+#define VIDEO_PORT_ENABLE (1)
1207+#define FP_NUM_BYTES (4)
1208+/* Define for extra pixel/line and extra lines/frame */
1209+#define NUM_EXTRAPIXELS 8
1210+#define NUM_EXTRALINES 8
1211+
1212+/* settings for commonly used video formats */
1213+#define CCDC_WIN_PAL {0, 0, 720, 576}
1214+/* ntsc square pixel */
1215+#define CCDC_WIN_VGA {0, 0, (640 + NUM_EXTRAPIXELS), (480 + NUM_EXTRALINES)}
1216+
1217+/* enum for No of lines in Black Clamping */
1218+enum sample_line {
1219+ _1LINES = 0,
1220+ _2LINES,
1221+ _4LINES,
1222+ _8LINES,
1223+ _16LINES
1224+};
1225+
1226+/* enum for Alaw gama width */
1227+enum gama_width {
1228+ BITS_15_6 = 0,
1229+ BITS_14_5,
1230+ BITS_13_4,
1231+ BITS_12_3,
1232+ BITS_11_2,
1233+ BITS_10_1,
1234+ BITS_09_0
1235+};
1236+
1237+enum data_size {
1238+ _16BITS = 0,
1239+ _15BITS,
1240+ _14BITS,
1241+ _13BITS,
1242+ _12BITS,
1243+ _11BITS,
1244+ _10BITS,
1245+ _8BITS
1246+};
1247+
1248+struct ccdc_imgwin {
1249+ unsigned int top;
1250+ unsigned int left;
1251+ unsigned int width;
1252+ unsigned int height;
1253+};
1254+
1255+/* structure for ALaw */
1256+struct a_law {
1257+ /* Enable/disable A-Law */
1258+ unsigned char b_alaw_enable;
1259+ /*Gama Width Input */
1260+ enum gama_width gama_wd;
1261+};
1262+
1263+/* structure for Black Clamping */
1264+struct black_clamp {
1265+ unsigned char b_clamp_enable;
1266+ /* only if bClampEnable is TRUE */
1267+ enum sample_length sample_pixel;
1268+ /* only if bClampEnable is TRUE */
1269+ enum sample_line sample_ln;
1270+ /* only if bClampEnable is TRUE */
1271+ unsigned short start_pixel;
1272+ /* only if bClampEnable is TRUE */
1273+ unsigned short sgain;
1274+ /* only if bClampEnable is FALSE */
1275+ unsigned short dc_sub;
1276+};
1277+
1278+/* structure for Black Level Compensation */
1279+struct black_compensation {
1280+ /* Constant value to subtract from Red component */
1281+ char r_comp;
1282+ /* Constant value to subtract from Gr component */
1283+ char gr_comp;
1284+ /* Constant value to subtract from Blue component */
1285+ char b_comp;
1286+ /* Constant value to subtract from Gb component */
1287+ char gb_comp;
1288+};
1289+
1290+/* structure for fault pixel correction */
1291+struct fault_pixel {
1292+ /*Enable or Disable fault pixel correction */
1293+ unsigned char fpc_enable;
1294+ /*Number of fault pixel */
1295+ unsigned short fp_num;
1296+ /*Address of fault pixel table */
1297+ unsigned int fpc_table_addr;
1298+};
1299+
1300+/* Structure for CCDC configuration parameters for raw capture mode passed
1301+ * by application
1302+ */
1303+struct ccdc_config_params_raw {
1304+ /* pixel format */
1305+ enum ccdc_pixfmt pix_fmt;
1306+ /* progressive or interlaced frame */
1307+ enum ccdc_frmfmt frm_fmt;
1308+ /* video window */
1309+ struct ccdc_imgwin win;
1310+ /* field id polarity */
1311+ enum ccdc_pinpol fid_pol;
1312+ /* vertical sync polarity */
1313+ enum ccdc_pinpol vd_pol;
1314+ /* horizontal sync polarity */
1315+ enum ccdc_pinpol hd_pol;
1316+ /* enable to store the image in inverse order in
1317+ * memory(bottom to top)
1318+ */
1319+ unsigned char image_invert_enable;
1320+ /* data size value from 8 to 16 bits */
1321+ enum data_size data_sz;
1322+ /* Structure for Optional A-Law */
1323+ struct a_law alaw;
1324+ /* Structure for Optical Black Clamp */
1325+ struct black_clamp blk_clamp;
1326+ /* Structure for Black Compensation */
1327+ struct black_compensation blk_comp;
1328+ /* Structure for Fault Pixel Module Configuration */
1329+ struct fault_pixel fault_pxl;
1330+};
1331+
1332+struct ccdc_params_ycbcr {
1333+ /* pixel format */
1334+ enum ccdc_pixfmt pix_fmt;
1335+ /* progressive or interlaced frame */
1336+ enum ccdc_frmfmt frm_fmt;
1337+ /* video window */
1338+ struct ccdc_imgwin win;
1339+ /* field id polarity */
1340+ enum ccdc_pinpol fid_pol;
1341+ /* vertical sync polarity */
1342+ enum ccdc_pinpol vd_pol;
1343+ /* horizontal sync polarity */
1344+ enum ccdc_pinpol hd_pol;
1345+ /* enable BT.656 embedded sync mode */
1346+ int bt656_enable;
1347+ /* cb:y:cr:y or y:cb:y:cr in memory */
1348+ enum ccdc_pixorder pix_order;
1349+ /* interleaved or separated fields */
1350+ enum ccdc_buftype buf_type;
1351+};
1352+
1353+#ifdef __KERNEL__
1354+#include <linux/io.h>
1355+/* Structure for CCDC configuration parameters for raw capture mode */
1356+struct ccdc_params_raw {
1357+ /* pixel format */
1358+ enum ccdc_pixfmt pix_fmt;
1359+ /* progressive or interlaced frame */
1360+ enum ccdc_frmfmt frm_fmt;
1361+ /* video window */
1362+ struct ccdc_imgwin win;
1363+ /* field id polarity */
1364+ enum ccdc_pinpol fid_pol;
1365+ /* vertical sync polarity */
1366+ enum ccdc_pinpol vd_pol;
1367+ /* horizontal sync polarity */
1368+ enum ccdc_pinpol hd_pol;
1369+ /* interleaved or separated fields */
1370+ enum ccdc_buftype buf_type;
1371+ /* enable to store the image in inverse
1372+ * order in memory(bottom to top)
1373+ */
1374+ unsigned char image_invert_enable;
1375+ /* data size value from 8 to 16 bits */
1376+ enum data_size data_sz;
1377+ /* Structure for Optional A-Law */
1378+ struct a_law alaw;
1379+ /* Structure for Optical Black Clamp */
1380+ struct black_clamp blk_clamp;
1381+ /* Structure for Black Compensation */
1382+ struct black_compensation blk_comp;
1383+ /* Structure for Fault Pixel Module Configuration */
1384+ struct fault_pixel fault_pxl;
1385+};
1386+
1387+/**************************************************************************\
1388+* Register OFFSET Definitions
1389+\**************************************************************************/
1390+
1391+#define PID 0x0
1392+#define PCR 0x4
1393+#define SYN_MODE 0x8
1394+#define HD_VD_WID 0xc
1395+#define PIX_LINES 0x10
1396+#define HORZ_INFO 0x14
1397+#define VERT_START 0x18
1398+#define VERT_LINES 0x1c
1399+#define CULLING 0x20
1400+#define HSIZE_OFF 0x24
1401+#define SDOFST 0x28
1402+#define SDR_ADDR 0x2c
1403+#define CLAMP 0x30
1404+#define DCSUB 0x34
1405+#define COLPTN 0x38
1406+#define BLKCMP 0x3c
1407+#define FPC 0x40
1408+#define FPC_ADDR 0x44
1409+#define VDINT 0x48
1410+#define ALAW 0x4c
1411+#define REC656IF 0x50
1412+#define CCDCFG 0x54
1413+#define FMTCFG 0x58
1414+#define FMT_HORZ 0x5c
1415+#define FMT_VERT 0x60
1416+#define FMT_ADDR0 0x64
1417+#define FMT_ADDR1 0x68
1418+#define FMT_ADDR2 0x6c
1419+#define FMT_ADDR3 0x70
1420+#define FMT_ADDR4 0x74
1421+#define FMT_ADDR5 0x78
1422+#define FMT_ADDR6 0x7c
1423+#define FMT_ADDR7 0x80
1424+#define PRGEVEN_0 0x84
1425+#define PRGEVEN_1 0x88
1426+#define PRGODD_0 0x8c
1427+#define PRGODD_1 0x90
1428+#define VP_OUT 0x94
1429+
1430+
1431+/***************************************************************
1432+* Define for various register bit mask and shifts for CCDC
1433+****************************************************************/
1434+#define CCDC_FID_POL_MASK (0x01)
1435+#define CCDC_FID_POL_SHIFT (4)
1436+#define CCDC_HD_POL_MASK (0x01)
1437+#define CCDC_HD_POL_SHIFT (3)
1438+#define CCDC_VD_POL_MASK (0x01)
1439+#define CCDC_VD_POL_SHIFT (2)
1440+#define CCDC_HSIZE_OFF_MASK (0xffffffe0)
1441+#define CCDC_32BYTE_ALIGN_VAL (31)
1442+#define CCDC_FRM_FMT_MASK (0x01)
1443+#define CCDC_FRM_FMT_SHIFT (7)
1444+#define CCDC_DATA_SZ_MASK (0x07)
1445+#define CCDC_DATA_SZ_SHIFT (8)
1446+#define CCDC_PIX_FMT_MASK (0x03)
1447+#define CCDC_PIX_FMT_SHIFT (12)
1448+#define CCDC_VP2SDR_DISABLE (0xFFFBFFFF)
1449+#define CCDC_WEN_ENABLE (0x01 << 17)
1450+#define CCDC_SDR2RSZ_DISABLE (0xFFF7FFFF)
1451+#define CCDC_VDHDEN_ENABLE (0x01 << 16)
1452+#define CCDC_LPF_ENABLE (0x01 << 14)
1453+#define CCDC_ALAW_ENABLE (0x01 << 3)
1454+#define CCDC_ALAW_GAMA_WD_MASK (0x07)
1455+#define CCDC_BLK_CLAMP_ENABLE (0x01 << 31)
1456+#define CCDC_BLK_SGAIN_MASK (0x1F)
1457+#define CCDC_BLK_ST_PXL_MASK (0x7FFF)
1458+#define CCDC_BLK_ST_PXL_SHIFT (10)
1459+#define CCDC_BLK_SAMPLE_LN_MASK (0x07)
1460+#define CCDC_BLK_SAMPLE_LN_SHIFT (28)
1461+#define CCDC_BLK_SAMPLE_LINE_MASK (0x07)
1462+#define CCDC_BLK_SAMPLE_LINE_SHIFT (25)
1463+#define CCDC_BLK_DC_SUB_MASK (0x03FFF)
1464+#define CCDC_BLK_COMP_MASK (0x000000FF)
1465+#define CCDC_BLK_COMP_GB_COMP_SHIFT (8)
1466+#define CCDC_BLK_COMP_GR_COMP_SHIFT (16)
1467+#define CCDC_BLK_COMP_R_COMP_SHIFT (24)
1468+#define CCDC_LATCH_ON_VSYNC_DISABLE (0x01 << 15)
1469+#define CCDC_FPC_ENABLE (0x01 << 15)
1470+#define CCDC_FPC_DISABLE (0x0)
1471+#define CCDC_FPC_FPC_NUM_MASK (0x7FFF)
1472+#define CCDC_DATA_PACK_ENABLE (0x01<<11)
1473+#define CCDC_FMTCFG_VPIN_MASK (0x07)
1474+#define CCDC_FMTCFG_VPIN_SHIFT (12)
1475+#define CCDC_FMT_HORZ_FMTLNH_MASK (0x1FFF)
1476+#define CCDC_FMT_HORZ_FMTSPH_MASK (0x1FFF)
1477+#define CCDC_FMT_HORZ_FMTSPH_SHIFT (16)
1478+#define CCDC_FMT_VERT_FMTLNV_MASK (0x1FFF)
1479+#define CCDC_FMT_VERT_FMTSLV_MASK (0x1FFF)
1480+#define CCDC_FMT_VERT_FMTSLV_SHIFT (16)
1481+#define CCDC_VP_OUT_VERT_NUM_MASK (0x3FFF)
1482+#define CCDC_VP_OUT_VERT_NUM_SHIFT (17)
1483+#define CCDC_VP_OUT_HORZ_NUM_MASK (0x1FFF)
1484+#define CCDC_VP_OUT_HORZ_NUM_SHIFT (4)
1485+#define CCDC_VP_OUT_HORZ_ST_MASK (0x000F)
1486+#define CCDC_HORZ_INFO_SPH_SHIFT (16)
1487+#define CCDC_VERT_START_SLV0_SHIFT (16)
1488+#define CCDC_VDINT_VDINT0_SHIFT (16)
1489+#define CCDC_VDINT_VDINT1_MASK (0xFFFF)
1490+
1491+/* SBL register and mask defination */
1492+#define SBL_PCR_VPSS (4)
1493+#define SBL_PCR_CCDC_WBL_O (0xFF7FFFFF)
1494+
1495+#define PPC_RAW (1)
1496+#define DCSUB_DEFAULT_VAL (0)
1497+#define CLAMP_DEFAULT_VAL (0)
1498+#define ENABLE_VIDEO_PORT (0x00008000)
1499+#define DISABLE_VIDEO_PORT (0)
1500+#define CCDC_COLPTN_VAL (0xBB11BB11)
1501+#define TWO_BYTES_PER_PIXEL (2)
1502+#define INTERLACED_IMAGE_INVERT (0x4B6D)
1503+#define INTERLACED_NO_IMAGE_INVERT (0x0249)
1504+#define PROGRESSIVE_IMAGE_INVERT (0x4000)
1505+#define PROGRESSIVE_NO_IMAGE_INVERT (0)
1506+#define CCDC_INTERLACED_HEIGHT_SHIFT (1)
1507+
1508+#endif
1509+#endif /* CCDC_DAVINCI_H */
1510diff --git a/include/media/ccdc_davinci.h b/include/media/ccdc_davinci.h
1511deleted file mode 100644
1512index 9f0a08d..0000000
1513--- a/include/media/ccdc_davinci.h
1514+++ /dev/null
1515@@ -1,144 +0,0 @@
1516-/*
1517- *
1518- * Copyright (C) 2006 Texas Instruments Inc
1519- *
1520- * This program is free software; you can redistribute it and/or modify
1521- * it under the terms of the GNU General Public License as published by
1522- * the Free Software Foundation; either version 2 of the License, or
1523- * (at your option) any later version.
1524- *
1525- * This program is distributed in the hope that it will be useful,
1526- * but WITHOUT ANY WARRANTY; without even the implied warranty of
1527- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1528- * GNU General Public License for more details.
1529- *
1530- * You should have received a copy of the GNU General Public License
1531- * along with this program; if not, write to the Free Software
1532- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1533- */
1534-/* ccdc_davinci.h */
1535-
1536-#ifndef CCDC_DAVINCI_H
1537-#define CCDC_DAVINCI_H
1538-#include <linux/types.h>
1539-
1540-#ifdef __KERNEL__
1541-#include <asm/arch/hardware.h>
1542-#include <asm/io.h>
1543-#endif
1544-
1545-#include <linux/videodev.h>
1546-
1547-typedef enum ccdc_pixfmt {
1548- CCDC_PIXFMT_RAW = 0,
1549- CCDC_PIXFMT_YCBCR_16BIT = 1,
1550- CCDC_PIXFMT_YCBCR_8BIT = 2
1551-} ccdc_pixfmt;
1552-
1553-typedef enum ccdc_frmfmt {
1554- CCDC_FRMFMT_PROGRESSIVE = 0,
1555- CCDC_FRMFMT_INTERLACED = 1
1556-} ccdc_frmfmt;
1557-
1558-typedef enum ccdc_pinpol {
1559- CCDC_PINPOL_POSITIVE = 0,
1560- CCDC_PINPOL_NEGATIVE = 1
1561-} ccdc_pinpol;
1562-
1563-/* PIXEL ORDER IN MEMORY from LSB to MSB */
1564-/* only applicable for 8-bit input mode */
1565-typedef enum ccdc_pixorder {
1566- CCDC_PIXORDER_CBYCRY = 1,
1567- CCDC_PIXORDER_YCBYCR = 0
1568-} ccdc_pixorder;
1569-
1570-typedef enum ccdc_buftype {
1571- CCDC_BUFTYPE_FLD_INTERLEAVED,
1572- CCDC_BUFTYPE_FLD_SEPARATED
1573-} ccdc_buftype;
1574-
1575-typedef struct v4l2_rect ccdc_imgwin;
1576-
1577-typedef struct ccdc_params_ycbcr {
1578- ccdc_pixfmt pix_fmt; /* pixel format */
1579- ccdc_frmfmt frm_fmt; /* progressive or interlaced frame */
1580- ccdc_imgwin win; /* video window */
1581- ccdc_pinpol fid_pol; /* field id polarity */
1582- ccdc_pinpol vd_pol; /* vertical sync polarity */
1583- ccdc_pinpol hd_pol; /* horizontal sync polarity */
1584- int bt656_enable; /* enable BT.656 embedded sync mode */
1585- ccdc_pixorder pix_order;/* cb:y:cr:y or y:cb:y:cr in memory */
1586- ccdc_buftype buf_type; /* interleaved or separated fields */
1587-} ccdc_params_ycbcr;
1588-
1589-#ifdef __KERNEL__
1590-/**************************************************************************\
1591-* Register OFFSET Definitions
1592-\**************************************************************************/
1593-#define PID 0x0
1594-#define PCR 0x4
1595-#define SYN_MODE 0x8
1596-#define HD_VD_WID 0xc
1597-#define PIX_LINES 0x10
1598-#define HORZ_INFO 0x14
1599-#define VERT_START 0x18
1600-#define VERT_LINES 0x1c
1601-#define CULLING 0x20
1602-#define HSIZE_OFF 0x24
1603-#define SDOFST 0x28
1604-#define SDR_ADDR 0x2c
1605-#define CLAMP 0x30
1606-#define DCSUB 0x34
1607-#define COLPTN 0x38
1608-#define BLKCMP 0x3c
1609-#define FPC 0x40
1610-#define FPC_ADDR 0x44
1611-#define VDINT 0x48
1612-#define ALAW 0x4c
1613-#define REC656IF 0x50
1614-#define CCDCFG 0x54
1615-#define FMTCFG 0x58
1616-#define FMT_HORZ 0x5c
1617-#define FMT_VERT 0x50
1618-#define FMT_ADDR0 0x64
1619-#define FMT_ADDR1 0x68
1620-#define FMT_ADDR2 0x6c
1621-#define FMT_ADDR3 0x70
1622-#define FMT_ADDR4 0x74
1623-#define FMT_ADDR5 0x78
1624-#define FMT_ADDR6 0x7c
1625-#define FMT_ADDR7 0x80
1626-#define PRGEVEN_0 0x84
1627-#define PRGEVEN_1 0x88
1628-#define PRGODD_0 0x8c
1629-#define PRGODD_1 0x90
1630-#define VP_OUT 0x94
1631-
1632-#define CCDC_IOBASE (0x01c70400)
1633-
1634-#define regw(val, reg) davinci_writel(val, (reg)+CCDC_IOBASE)
1635-#define regr(reg) davinci_readl((reg)+CCDC_IOBASE)
1636-
1637-extern void ccdc_reset(void);
1638-extern void ccdc_config_ycbcr(ccdc_params_ycbcr * params);
1639-extern void ccdc_setwin(ccdc_params_ycbcr * params);
1640-
1641-/* inline functions that must be fast because they are called frequently */
1642-static inline void ccdc_enable(int flag)
1643-{
1644- regw(flag, PCR);
1645-}
1646-
1647-static inline void ccdc_setfbaddr(unsigned long paddr)
1648-{
1649- regw(paddr & 0xffffffe0, SDR_ADDR);
1650-}
1651-
1652-static inline int ccdc_getfid(void)
1653-{
1654- int fid = (regr(SYN_MODE) >> 15) & 0x1;
1655- return fid;
1656-}
1657-#endif
1658-
1659-#endif /* CCDC_DAVINCI_H */
1660-- 1.6.0.4 \ No newline at end of file
diff --git a/recipes-kernel/linux/linux-davinci/vfpe5.patch b/recipes-kernel/linux/linux-davinci/vfpe5.patch
deleted file mode 100644
index 160908a1..00000000
--- a/recipes-kernel/linux/linux-davinci/vfpe5.patch
+++ /dev/null
@@ -1,132 +0,0 @@
1Subject:
2[PATCH 5/7] Kconfig and Makefile changes for vpfe capture driver
3From:
4m-karicheri2-l0cyMroinI0@public.gmane.org
5Date:
6Fri, 13 Mar 2009 17:23:32 -0400
7To:
8davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org, davinci_opensource_ccb-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org, psp_video-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org
9Newsgroups:
10gmane.linux.davinci
11
12Adding updates to video Kconfig and Makefile and adding
13Makefile for building vpfe-capture files
14
15Signed-off-by: Murali Karicheri <m-karicheri2-l0cyMroinI0@public.gmane.org>
16---
17 drivers/media/video/Kconfig | 48 ++++++++++++++++++++++++----------
18 drivers/media/video/Makefile | 6 +---
19 drivers/media/video/davinci/Makefile | 8 +++++
20 3 files changed, 43 insertions(+), 19 deletions(-)
21 create mode 100644 drivers/media/video/davinci/Makefile
22
23diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
24index 1dd98d8..ea3a526 100644
25--- a/drivers/media/video/Kconfig
26+++ b/drivers/media/video/Kconfig
27@@ -485,25 +485,45 @@ config VIDEO_VIVI
28 Say Y here if you want to test video apps or debug V4L devices.
29 In doubt, say N.
30
31-config VIDEO_TVP5146
32- tristate "TVP5146 video decoder"
33- depends on I2C && ARCH_DAVINCI
34+config VIDEO_VPFE_CAPTURE
35+ tristate "VPFE Video Capture Driver"
36+ depends on VIDEO_V4L2 && ARCH_DAVINCI
37+ select VIDEOBUF_DMA_CONTIG
38 help
39- Support for I2C bus based TVP5146 configuration.
40+ Support for DMXXXX VPFE based frame grabber. This is the
41+ common V4L2 module for following DMXXX SoCs from Texas
42+ Instruments:- DM6446 & DM355.
43
44 To compile this driver as a module, choose M here: the
45- module will be called tvp5146.
46+ module will be called vpfe-capture.
47
48-config VIDEO_DAVINCI
49- tristate "Davinci Video Capture"
50- depends on VIDEO_DEV && VIDEO_TVP5146 && ARCH_DAVINCI
51- select VIDEOBUF_GEN
52- select VIDEOBUF_DMA_SG
53+config VIDEO_DAVINCI_CCDC
54+ tristate "DM6446 CCDC HW module"
55+ depends on ARCH_DAVINCI_DM644x && VIDEO_VPFE_CAPTURE
56+ default y
57 help
58- Support for Davinci based frame grabber through CCDC.
59-
60- To compile this driver as a module, choose M here: the
61- module will be called vpfe.
62+ Enables DaVinci CCD hw module. DaVinci CCDC hw interfaces
63+ with decoder modules such as TVP5146 over BT656 or
64+ sensor module such as MT9T001 over a raw interface. This
65+ module configures the interface and CCDC/ISIF to do
66+ video frame capture from slave decoders.
67+
68+ To compile this driver as a module, choose M here: the
69+ module will be called vpfe.
70+
71+config VIDEO_DM355_CCDC
72+ tristate "DM355 CCDC HW module"
73+ depends on ARCH_DAVINCI_DM355 && VIDEO_VPFE_CAPTURE
74+ default y
75+ help
76+ Enables DM355 CCD hw module. DM355 CCDC hw interfaces
77+ with decoder modules such as TVP5146 over BT656 or
78+ sensor module such as MT9T001 over a raw interface. This
79+ module configures the interface and CCDC/ISIF to do
80+ video frame capture from a slave decoders
81+
82+ To compile this driver as a module, choose M here: the
83+ module will be called vpfe.
84
85 source "drivers/media/video/bt8xx/Kconfig"
86
87diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile
88index 863b5c8..f8b6c0c 100644
89--- a/drivers/media/video/Makefile
90+++ b/drivers/media/video/Makefile
91@@ -10,8 +10,6 @@ stkwebcam-objs := stk-webcam.o stk-sensor.o
92
93 omap2cam-objs := omap24xxcam.o omap24xxcam-dma.o
94
95-davinci-vpfe-objs := ccdc_davinci.o davinci_vpfe.o
96-
97 videodev-objs := v4l2-dev.o v4l2-ioctl.o
98
99 videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-subdev.o
100@@ -29,6 +27,7 @@ endif
101
102 obj-$(CONFIG_VIDEO_TUNER) += tuner.o
103
104+obj-$(CONFIG_ARCH_DAVINCI) += davinci/
105 obj-$(CONFIG_VIDEO_BT848) += bt8xx/
106 obj-$(CONFIG_VIDEO_IR_I2C) += ir-kbd-i2c.o
107 obj-$(CONFIG_VIDEO_TVAUDIO) += tvaudio.o
108@@ -135,9 +134,6 @@ obj-$(CONFIG_USB_S2255) += s2255drv.o
109 obj-$(CONFIG_VIDEO_IVTV) += ivtv/
110 obj-$(CONFIG_VIDEO_CX18) += cx18/
111
112-obj-$(CONFIG_VIDEO_DAVINCI) += davinci-vpfe.o
113-obj-$(CONFIG_VIDEO_TVP5146) += tvp5146.o
114-
115 obj-$(CONFIG_VIDEO_VIVI) += vivi.o
116 obj-$(CONFIG_VIDEO_CX23885) += cx23885/
117
118diff --git a/drivers/media/video/davinci/Makefile b/drivers/media/video/davinci/Makefile
119new file mode 100644
120index 0000000..77fe038
121--- /dev/null
122+++ b/drivers/media/video/davinci/Makefile
123@@ -0,0 +1,8 @@
124+#
125+# Makefile for the davinci video device drivers.
126+#
127+
128+# Capture: DaVinci and DM355
129+obj-$(CONFIG_VIDEO_DAVINCI_CCDC) += ccdc_davinci.o
130+obj-$(CONFIG_VIDEO_DM355_CCDC) += ccdc_dm355.o
131+obj-$(CONFIG_VIDEO_VPFE_CAPTURE) += vpfe_capture.o
132-- 1.6.0.4 \ No newline at end of file
diff --git a/recipes-kernel/linux/linux-davinci/vfpe6.patch b/recipes-kernel/linux/linux-davinci/vfpe6.patch
deleted file mode 100644
index b425eea5..00000000
--- a/recipes-kernel/linux/linux-davinci/vfpe6.patch
+++ /dev/null
@@ -1,224 +0,0 @@
1Subject:
2[PATCH 6/7] platform-related-updates for vpfe capture driver on DM6446
3From:
4m-karicheri2-l0cyMroinI0@public.gmane.org
5Date:
6Fri, 13 Mar 2009 17:24:04 -0400
7To:
8davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org, davinci_opensource_ccb-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org, psp_video-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org
9Newsgroups:
10gmane.linux.davinci
11
12Add platform related changes for vpfe capture driver on DM6446
13
14Signed-off-by: Murali Karicheri <m-karicheri2-l0cyMroinI0@public.gmane.org>
15---
16 arch/arm/mach-davinci/board-dm644x-evm.c | 88 ++++++++++++++++++++++++++-
17 arch/arm/mach-davinci/dm644x.c | 42 +++++++++++++
18 arch/arm/mach-davinci/include/mach/dm644x.h | 2 +
19 3 files changed, 130 insertions(+), 2 deletions(-)
20
21diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c
22index 20ec961..5f4d9a8 100644
23--- a/arch/arm/mach-davinci/board-dm644x-evm.c
24+++ b/arch/arm/mach-davinci/board-dm644x-evm.c
25@@ -27,7 +27,9 @@
26 #include <linux/io.h>
27 #include <linux/phy.h>
28 #include <linux/clk.h>
29-
30+#include <linux/videodev2.h>
31+#include <media/v4l2-int-device.h>
32+#include <media/tvp514x.h>
33 #include <asm/setup.h>
34 #include <asm/mach-types.h>
35
36@@ -161,6 +163,41 @@ static struct platform_device davinci_fb_device = {
37 .num_resources = 0,
38 };
39
40+
41+#define TVP514X_STD_ALL (V4L2_STD_NTSC | V4L2_STD_PAL)
42+static struct vpfe_capture_input vpfe_capture_inputs = {
43+ .num_inputs = VPFE_MAX_DEC_INPUTS,
44+ .current_input = 0,
45+ .inputs[0] = {
46+ .dec_name = TVP514X_MODULE_NAME,
47+ .input = {
48+ .index = 0,
49+ .name = "COMPOSITE",
50+ .type = V4L2_INPUT_TYPE_CAMERA,
51+ .std = TVP514X_STD_ALL,
52+ },
53+ .route = {
54+ .input = INPUT_CVBS_VI2B,
55+ .output = OUTPUT_10BIT_422_EMBEDDED_SYNC,
56+ },
57+ .routing_supported = 1,
58+ },
59+ .inputs[1] = {
60+ .dec_name = TVP514X_MODULE_NAME,
61+ .input = {
62+ .index = 1,
63+ .name = "SVIDEO",
64+ .type = V4L2_INPUT_TYPE_CAMERA,
65+ .std = TVP514X_STD_ALL,
66+ },
67+ .route = {
68+ .input = INPUT_SVIDEO_VI2C_VI1C,
69+ .output = OUTPUT_10BIT_422_EMBEDDED_SYNC,
70+ },
71+ .routing_supported = 1,
72+ },
73+};
74+
75 static struct platform_device rtc_dev = {
76 .name = "rtc_davinci_evm",
77 .id = -1,
78@@ -447,6 +484,48 @@ int dm6446evm_eeprom_write(void *buf, off_t off, size_t count)
79 }
80 EXPORT_SYMBOL(dm6446evm_eeprom_write);
81
82+#define TVP5146_I2C_ADDR (0x5D)
83+static struct v4l2_ifparm tvp5146_ifparm = {
84+ .if_type = V4L2_IF_TYPE_BT656,
85+ .u = {
86+ .bt656 = {
87+ .frame_start_on_rising_vs = 1,
88+ .bt_sync_correct = 0,
89+ .swap = 0,
90+ .latch_clk_inv = 0,
91+ .nobt_hs_inv = 0, /* active high */
92+ .nobt_vs_inv = 0, /* active high */
93+ .mode = V4L2_IF_TYPE_BT656_MODE_BT_8BIT,
94+ .clock_min = TVP514X_XCLK_BT656,
95+ .clock_max = TVP514X_XCLK_BT656,
96+ },
97+ },
98+};
99+
100+/**
101+ * @brief tvp5146_g_ifparm - Returns the TVP5146 decoder interface parameters
102+ *
103+ * @param p - pointer to v4l2_ifparm structure
104+ * @return result of operation - 0 is success
105+ */
106+static int tvp5146_g_ifparm(struct v4l2_ifparm *p)
107+{
108+ if (p == NULL)
109+ return -EINVAL;
110+
111+ *p = tvp5146_ifparm;
112+ return 0;
113+}
114+
115+#define TVP5146_NUM_INPUTS ARRAY_SIZE(tvp5146_input_list)
116+
117+static struct tvp514x_platform_data tvp5146_pdata = {
118+ .master = CAPTURE_DRV_NAME,
119+ .ifparm = tvp5146_g_ifparm,
120+ .hs_polarity = 1,
121+ .vs_polarity = 1
122+};
123+
124 /*
125 * MSP430 supports RTC, card detection, input from IR remote, and
126 * a bit more. It triggers interrupts on GPIO(7) from pressing
127@@ -557,9 +636,12 @@ static struct i2c_board_info __initdata i2c_info[] = {
128 I2C_BOARD_INFO("24c256", 0x50),
129 .platform_data = &eeprom_info,
130 },
131+ {
132+ I2C_BOARD_INFO("tvp5146", TVP5146_I2C_ADDR),
133+ .platform_data = &tvp5146_pdata,
134+ },
135 /* ALSO:
136 * - tvl320aic33 audio codec (0x1b)
137- * - tvp5146 video decoder (0x5d)
138 */
139 };
140
141@@ -591,6 +673,8 @@ static void __init
142 davinci_evm_map_io(void)
143 {
144 davinci_map_common_io();
145+ /* setup input configuration for VPFE input devices */
146+ setup_vpfe_input_config(&vpfe_capture_inputs);
147 dm644x_init();
148 }
149
150diff --git a/arch/arm/mach-davinci/dm644x.c b/arch/arm/mach-davinci/dm644x.c
151index 03946fd..f46095e 100644
152--- a/arch/arm/mach-davinci/dm644x.c
153+++ b/arch/arm/mach-davinci/dm644x.c
154@@ -419,6 +419,46 @@ static struct platform_device dm644x_edma_device = {
155 .resource = edma_resources,
156 };
157
158+static struct resource vpfe_resources[] = {
159+ {
160+ .start = IRQ_VDINT0,
161+ .end = IRQ_VDINT0,
162+ .flags = IORESOURCE_IRQ,
163+ },
164+ {
165+ .start = IRQ_VDINT1,
166+ .end = IRQ_VDINT1,
167+ .flags = IORESOURCE_IRQ,
168+ },
169+ {
170+ .start = 0x01c70400,
171+ .end = 0x01c70400 + 0xff,
172+ .flags = IORESOURCE_MEM,
173+ },
174+ {
175+ .start = 0x01c73400,
176+ .end = 0x01c73400 + 0xff,
177+ .flags = IORESOURCE_MEM,
178+ },
179+};
180+
181+static u64 vpfe_capture_dma_mask = DMA_32BIT_MASK;
182+static struct platform_device vpfe_capture_dev = {
183+ .name = CAPTURE_DRV_NAME,
184+ .id = -1,
185+ .num_resources = ARRAY_SIZE(vpfe_resources),
186+ .resource = vpfe_resources,
187+ .dev = {
188+ .dma_mask = &vpfe_capture_dma_mask,
189+ .coherent_dma_mask = DMA_32BIT_MASK,
190+ },
191+};
192+
193+void setup_vpfe_input_config(struct vpfe_capture_input *input_config)
194+{
195+ vpfe_capture_dev.dev.platform_data = input_config;
196+}
197+
198 /*----------------------------------------------------------------------*/
199
200 void __init dm644x_init(void)
201@@ -433,6 +473,8 @@ static int __init dm644x_init_devices(void)
202 return 0;
203
204 platform_device_register(&dm644x_edma_device);
205+ /* Register VPFE capture device */
206+ platform_device_register(&vpfe_capture_dev);
207 return 0;
208 }
209 postcore_initcall(dm644x_init_devices);
210diff --git a/arch/arm/mach-davinci/include/mach/dm644x.h b/arch/arm/mach-davinci/include/mach/dm644x.h
211index 5b3d512..14f9a8a 100644
212--- a/arch/arm/mach-davinci/include/mach/dm644x.h
213+++ b/arch/arm/mach-davinci/include/mach/dm644x.h
214@@ -23,7 +23,9 @@
215 #define __ASM_ARCH_DM644X_H
216
217 #include <mach/hardware.h>
218+#include <media/davinci/vpfe_capture.h>
219
220 void __init dm644x_init(void);
221+void setup_vpfe_input_config(struct vpfe_capture_input *input_config);
222
223 #endif /* __ASM_ARCH_DM644X_H */
224-- 1.6.0.4 \ No newline at end of file
diff --git a/recipes-kernel/linux/linux-davinci/vfpe7.patch b/recipes-kernel/linux/linux-davinci/vfpe7.patch
deleted file mode 100644
index a6695a8c..00000000
--- a/recipes-kernel/linux/linux-davinci/vfpe7.patch
+++ /dev/null
@@ -1,283 +0,0 @@
1Subject:
2[PATCH 7/7] DM355 platform related changes for vpfe capture driver
3From:
4m-karicheri2-l0cyMroinI0@public.gmane.org
5Date:
6Fri, 13 Mar 2009 17:24:34 -0400
7To:
8davinci-linux-open-source-VycZQUHpC/PFrsHnngEfi1aTQe2KTcn/@public.gmane.org, davinci_opensource_ccb-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org, psp_video-uAqBSO/uNfhBDgjK7y7TUQ@public.gmane.org
9Newsgroups:
10gmane.linux.davinci
11
12Add platform related changes for vpfe capture driver on DM355
13
14Signed-off-by: Murali Karicheri <m-karicheri2-l0cyMroinI0@public.gmane.org>
15---
16 arch/arm/mach-davinci/board-dm355-evm.c | 91 +++++++++++++++++++++++++++-
17 arch/arm/mach-davinci/dm355.c | 64 +++++++++++++++++++
18 arch/arm/mach-davinci/include/mach/dm355.h | 2 +
19 arch/arm/mach-davinci/include/mach/mux.h | 9 +++
20 4 files changed, 163 insertions(+), 3 deletions(-)
21
22diff --git a/arch/arm/mach-davinci/board-dm355-evm.c b/arch/arm/mach-davinci/board-dm355-evm.c
23index e104650..aaa58ba 100644
24--- a/arch/arm/mach-davinci/board-dm355-evm.c
25+++ b/arch/arm/mach-davinci/board-dm355-evm.c
26@@ -20,6 +20,8 @@
27 #include <linux/io.h>
28 #include <linux/gpio.h>
29 #include <linux/clk.h>
30+#include <media/v4l2-int-device.h>
31+#include <media/tvp514x.h>
32 #include <linux/spi/spi.h>
33 #include <linux/spi/eeprom.h>
34
35@@ -134,12 +136,58 @@ static void dm355evm_mmcsd_gpios(unsigned gpio)
36 dm355evm_mmc_gpios = gpio;
37 }
38
39+#define TVP5146_I2C_ADDR 0x5D
40+static struct v4l2_ifparm tvp5146_ifparm = {
41+ .if_type = V4L2_IF_TYPE_BT656,
42+ .u = {
43+ .bt656 = {
44+ .frame_start_on_rising_vs = 1,
45+ .bt_sync_correct = 0,
46+ .swap = 0,
47+ .latch_clk_inv = 0,
48+ .nobt_hs_inv = 0, /* active high */
49+ .nobt_vs_inv = 0, /* active high */
50+ .mode = V4L2_IF_TYPE_BT656_MODE_BT_8BIT,
51+ .clock_min = TVP514X_XCLK_BT656,
52+ .clock_max = TVP514X_XCLK_BT656,
53+ },
54+ },
55+};
56+
57+/**
58+ * @brief tvp5146_g_ifparm - Returns the TVP5146 decoder interface parameters
59+ *
60+ * @param p - pointer to v4l2_ifparm structure
61+ * @return result of operation - 0 is success
62+ */
63+static int tvp5146_g_ifparm(struct v4l2_ifparm *p)
64+{
65+ if (p == NULL)
66+ return -EINVAL;
67+
68+ *p = tvp5146_ifparm;
69+ return 0;
70+}
71+
72+#define TVP5146_NUM_INPUTS ARRAY_SIZE(tvp5146_input_list)
73+
74+static struct tvp514x_platform_data tvp5146_pdata = {
75+ .master = CAPTURE_DRV_NAME,
76+ .ifparm = tvp5146_g_ifparm,
77+ .hs_polarity = 1,
78+ .vs_polarity = 1
79+};
80+
81 static struct i2c_board_info dm355evm_i2c_info[] = {
82- { I2C_BOARD_INFO("dm355evm_msp", 0x25),
83+ { I2C_BOARD_INFO("dm355evm_msp", 0x25),
84 .platform_data = dm355evm_mmcsd_gpios,
85- /* plus irq */ },
86+ },
87+ {
88+ I2C_BOARD_INFO("tvp5146", TVP5146_I2C_ADDR),
89+ .platform_data = &tvp5146_pdata,
90+ },
91+ /* { plus irq }, */
92 /* { I2C_BOARD_INFO("tlv320aic3x", 0x1b), }, */
93- /* { I2C_BOARD_INFO("tvp5146", 0x5d), }, */
94 };
95
96 static void __init evm_init_i2c(void)
97@@ -178,6 +226,41 @@ static struct platform_device dm355evm_dm9000 = {
98 .num_resources = ARRAY_SIZE(dm355evm_dm9000_rsrc),
99 };
100
101+#define TVP514X_STD_ALL (V4L2_STD_NTSC | V4L2_STD_PAL)
102+
103+static struct vpfe_capture_input vpfe_capture_inputs = {
104+ .num_inputs = VPFE_MAX_DEC_INPUTS,
105+ .current_input = 0,
106+ .inputs[0] = {
107+ .dec_name = TVP514X_MODULE_NAME,
108+ .input = {
109+ .index = 0,
110+ .name = "COMPOSITE",
111+ .type = V4L2_INPUT_TYPE_CAMERA,
112+ .std = TVP514X_STD_ALL,
113+ },
114+ .route = {
115+ .input = INPUT_CVBS_VI2B,
116+ .output = OUTPUT_10BIT_422_EMBEDDED_SYNC,
117+ },
118+ .routing_supported = 1,
119+ },
120+ .inputs[1] = {
121+ .dec_name = TVP514X_MODULE_NAME,
122+ .input = {
123+ .index = 1,
124+ .name = "SVIDEO",
125+ .type = V4L2_INPUT_TYPE_CAMERA,
126+ .std = TVP514X_STD_ALL,
127+ },
128+ .route = {
129+ .input = INPUT_SVIDEO_VI2C_VI1C,
130+ .output = OUTPUT_10BIT_422_EMBEDDED_SYNC,
131+ },
132+ .routing_supported = 1,
133+ },
134+};
135+
136 static struct platform_device *davinci_evm_devices[] __initdata = {
137 &dm355evm_dm9000,
138 &davinci_nand_device,
139@@ -190,6 +273,8 @@ static struct davinci_uart_config uart_config __initdata = {
140 static void __init dm355_evm_map_io(void)
141 {
142 davinci_map_common_io();
143+ /* setup input configuration for VPFE input devices */
144+ setup_vpfe_input_config(&vpfe_capture_inputs);
145 dm355_init();
146 }
147
148diff --git a/arch/arm/mach-davinci/dm355.c b/arch/arm/mach-davinci/dm355.c
149index 5f31649..e2612dd 100644
150--- a/arch/arm/mach-davinci/dm355.c
151+++ b/arch/arm/mach-davinci/dm355.c
152@@ -463,6 +463,14 @@ INT_CFG(DM355, INT_EDMA_TC1_ERR, 4, 1, 1, false)
153 EVT_CFG(DM355, EVT8_ASP1_TX, 0, 1, 0, false)
154 EVT_CFG(DM355, EVT9_ASP1_RX, 1, 1, 0, false)
155 EVT_CFG(DM355, EVT26_MMC0_RX, 2, 1, 0, false)
156+
157+MUX_CFG(DM355, VIN_PCLK, 0, 14, 1, 1, false)
158+MUX_CFG(DM355, VIN_CAM_WEN, 0, 13, 1, 1, false)
159+MUX_CFG(DM355, VIN_CAM_VD, 0, 12, 1, 1, false)
160+MUX_CFG(DM355, VIN_CAM_HD, 0, 11, 1, 1, false)
161+MUX_CFG(DM355, VIN_YIN_EN, 0, 10, 1, 1, false)
162+MUX_CFG(DM355, VIN_CINL_EN, 0, 0, 0xff, 0x55, false)
163+MUX_CFG(DM355, VIN_CINH_EN, 0, 8, 3, 3, false)
164 };
165
166 /*----------------------------------------------------------------------*/
167@@ -520,6 +528,47 @@ static struct platform_device dm355_edma_device = {
168 .resource = edma_resources,
169 };
170
171+static struct resource vpfe_resources[] = {
172+ {
173+ .start = IRQ_VDINT0,
174+ .end = IRQ_VDINT0,
175+ .flags = IORESOURCE_IRQ,
176+ },
177+ {
178+ .start = IRQ_VDINT1,
179+ .end = IRQ_VDINT1,
180+ .flags = IORESOURCE_IRQ,
181+ },
182+ /* CCDC Base address */
183+ {
184+ .flags = IORESOURCE_MEM,
185+ .start = 0x01c70600,
186+ .end = 0x01c70600 + 0x1ff,
187+ },
188+ /* VPSS Base address */
189+ {
190+ .start = 0x01c70800,
191+ .end = 0x01c70800 + 0xff,
192+ .flags = IORESOURCE_MEM,
193+ },
194+};
195+
196+static u64 vpfe_capture_dma_mask = DMA_32BIT_MASK;
197+static struct platform_device vpfe_capture_dev = {
198+ .name = CAPTURE_DRV_NAME,
199+ .id = -1,
200+ .num_resources = ARRAY_SIZE(vpfe_resources),
201+ .resource = vpfe_resources,
202+ .dev = {
203+ .dma_mask = &vpfe_capture_dma_mask,
204+ .coherent_dma_mask = DMA_32BIT_MASK,
205+ },
206+};
207+
208+void setup_vpfe_input_config(struct vpfe_capture_input *input_config)
209+{
210+ vpfe_capture_dev.dev.platform_data = input_config;
211+}
212 /*----------------------------------------------------------------------*/
213
214 void __init dm355_init(void)
215@@ -528,13 +577,28 @@ void __init dm355_init(void)
216 davinci_mux_register(dm355_pins, ARRAY_SIZE(dm355_pins));;
217 }
218
219+#define DM355_VPSSCLK_CLKCTRL_REG 0x1c70004
220 static int __init dm355_init_devices(void)
221 {
222+ void __iomem *base = IO_ADDRESS(DM355_VPSSCLK_CLKCTRL_REG);
223 if (!cpu_is_davinci_dm355())
224 return 0;
225
226 davinci_cfg_reg(DM355_INT_EDMA_CC);
227 platform_device_register(&dm355_edma_device);
228+ /* setup clock for vpss modules */
229+ __raw_writel(0x79, base);
230+ /* setup Mux configuration for vpfe input and register
231+ * vpfe capture platform device
232+ */
233+ davinci_cfg_reg(DM355_VIN_PCLK);
234+ davinci_cfg_reg(DM355_VIN_CAM_WEN);
235+ davinci_cfg_reg(DM355_VIN_CAM_VD);
236+ davinci_cfg_reg(DM355_VIN_CAM_HD);
237+ davinci_cfg_reg(DM355_VIN_YIN_EN);
238+ davinci_cfg_reg(DM355_VIN_CINL_EN);
239+ davinci_cfg_reg(DM355_VIN_CINH_EN);
240+ platform_device_register(&vpfe_capture_dev);
241 return 0;
242 }
243 postcore_initcall(dm355_init_devices);
244diff --git a/arch/arm/mach-davinci/include/mach/dm355.h b/arch/arm/mach-davinci/include/mach/dm355.h
245index f7100b6..0b3bd76 100644
246--- a/arch/arm/mach-davinci/include/mach/dm355.h
247+++ b/arch/arm/mach-davinci/include/mach/dm355.h
248@@ -12,6 +12,7 @@
249 #define __ASM_ARCH_DM355_H
250
251 #include <mach/hardware.h>
252+#include <media/davinci/vpfe_capture.h>
253
254 void __init dm355_init(void);
255
256@@ -19,5 +20,6 @@ struct spi_board_info;
257
258 void dm355_init_spi0(unsigned chipselect_mask,
259 struct spi_board_info *info, unsigned len);
260+void setup_vpfe_input_config(struct vpfe_capture_input *input_config);
261
262 #endif /* __ASM_ARCH_DM355_H */
263diff --git a/arch/arm/mach-davinci/include/mach/mux.h b/arch/arm/mach-davinci/include/mach/mux.h
264index cd95629..4c135b0 100644
265--- a/arch/arm/mach-davinci/include/mach/mux.h
266+++ b/arch/arm/mach-davinci/include/mach/mux.h
267@@ -149,6 +149,15 @@ enum davinci_dm355_index {
268 DM355_EVT8_ASP1_TX,
269 DM355_EVT9_ASP1_RX,
270 DM355_EVT26_MMC0_RX,
271+
272+ /* Video In Pin Mux */
273+ DM355_VIN_PCLK,
274+ DM355_VIN_CAM_WEN,
275+ DM355_VIN_CAM_VD,
276+ DM355_VIN_CAM_HD,
277+ DM355_VIN_YIN_EN,
278+ DM355_VIN_CINL_EN,
279+ DM355_VIN_CINH_EN,
280 };
281
282 #ifdef CONFIG_DAVINCI_MUX
283-- 1.6.0.4 \ No newline at end of file