a72fe55b513bcd84b1915678f4d3d6c9cc642308
[safe/jmp/linux-2.6] / arch / arm / mach-omap / Kconfig
1 if ARCH_OMAP
2
3 menu "TI OMAP Implementations"
4
5 config ARCH_OMAP_OTG
6         bool
7
8 choice
9         prompt "OMAP System Type"
10         default ARCH_OMAP1
11
12 config ARCH_OMAP1
13         bool "TI OMAP1"
14
15 config ARCH_OMAP2
16         bool "TI OMAP2"
17
18 endchoice
19
20 comment "OMAP Feature Selections"
21
22 config OMAP_MUX
23         bool "OMAP multiplexing support"
24         depends on ARCH_OMAP
25         default y
26         help
27           Pin multiplexing support for OMAP boards. If your bootloader
28           sets the multiplexing correctly, say N. Otherwise, or if unsure,
29           say Y.
30
31 config OMAP_MUX_DEBUG
32         bool "Multiplexing debug output"
33         depends on OMAP_MUX
34         default n
35         help
36           Makes the multiplexing functions print out a lot of debug info.
37           This is useful if you want to find out the correct values of the
38           multiplexing registers.
39
40 config OMAP_MUX_WARNINGS
41         bool "Warn about pins the bootloader didn't set up"
42         depends on OMAP_MUX
43         default y
44         help
45           Choose Y here to warn whenever driver initialization logic needs
46           to change the pin multiplexing setup.  When there are no warnings
47           printed, it's safe to deselect OMAP_MUX for your product.
48
49 choice
50         prompt "System timer"
51         default OMAP_MPU_TIMER
52
53 config OMAP_MPU_TIMER
54         bool "Use mpu timer"
55         help
56           Select this option if you want to use the OMAP mpu timer. This
57           timer provides more intra-tick resolution than the 32KHz timer,
58           but consumes more power.
59
60 config OMAP_32K_TIMER
61         bool "Use 32KHz timer"
62         depends on ARCH_OMAP16XX
63         help
64           Select this option if you want to enable the OMAP 32KHz timer.
65           This timer saves power compared to the OMAP_MPU_TIMER, and has
66           support for no tick during idle. The 32KHz timer provides less
67           intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
68           currently only available for OMAP-16xx.
69
70 endchoice
71
72 config OMAP_32K_TIMER_HZ
73        int "Kernel internal timer frequency for 32KHz timer"
74        range 32 1024
75        depends on OMAP_32K_TIMER
76        default "128"
77        help
78           Kernel internal timer frequency should be a divisor of 32768,
79           such as 64 or 128.
80
81 choice
82         prompt "Low-level debug console UART"
83         depends on ARCH_OMAP
84         default OMAP_LL_DEBUG_UART1
85
86 config OMAP_LL_DEBUG_UART1
87         bool "UART1"
88
89 config OMAP_LL_DEBUG_UART2
90         bool "UART2"
91
92 config OMAP_LL_DEBUG_UART3
93         bool "UART3"
94
95 endchoice
96
97 endmenu
98
99 endif