blob: 484d6a91524ffbcb626592c366b8bb9d6210b6c8 [file] [log] [blame]
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +01001if ARCH_OMAP
2
3menu "TI OMAP Implementations"
4
5config ARCH_OMAP_OTG
6 bool
7
8choice
9 prompt "OMAP System Type"
10 default ARCH_OMAP1
11
12config ARCH_OMAP1
13 bool "TI OMAP1"
Russell Kingd7e8f1f2009-01-18 23:03:15 +000014 select COMMON_CLKDEV
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +010015
16config ARCH_OMAP2
17 bool "TI OMAP2"
Russell Kingc7508152008-10-26 10:55:14 +000018 select CPU_V6
Russell King8ad8ff62009-01-19 15:27:29 +000019 select COMMON_CLKDEV
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +010020
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030021config ARCH_OMAP3
22 bool "TI OMAP3"
Russell Kingc7508152008-10-26 10:55:14 +000023 select CPU_V7
Russell King44dc9d02009-01-19 15:51:11 +000024 select COMMON_CLKDEV
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030025
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -070026config ARCH_OMAP4
27 bool "TI OMAP4"
28 select CPU_V7
29 select ARM_GIC
Rajendra Nayakd79b1262009-12-09 00:01:44 +053030 select COMMON_CLKDEV
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -070031
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +010032endchoice
33
34comment "OMAP Feature Selections"
35
David Brownellf6049312006-12-06 17:14:03 -080036config OMAP_DEBUG_DEVICES
David Brownell994c84e2006-12-06 17:14:03 -080037 bool
38 help
David Brownellf6049312006-12-06 17:14:03 -080039 For debug cards on TI reference boards.
40
41config OMAP_DEBUG_LEDS
42 bool
43 depends on OMAP_DEBUG_DEVICES
44 default y if LEDS || LEDS_OMAP_DEBUG
David Brownell994c84e2006-12-06 17:14:03 -080045
Tony Lindgrenbb13b5f2005-07-10 19:58:18 +010046config OMAP_RESET_CLOCKS
47 bool "Reset unused clocks during boot"
48 depends on ARCH_OMAP
Tony Lindgrenbb13b5f2005-07-10 19:58:18 +010049 help
50 Say Y if you want to reset unused clocks during boot.
51 This option saves power, but assumes all drivers are
52 using the clock framework. Broken drivers that do not
53 yet use clock framework may not work with this option.
54 If you are booting from another operating system, you
55 probably do not want this option enabled until your
56 device drivers work properly.
57
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +010058config OMAP_MUX
59 bool "OMAP multiplexing support"
Paul Walmsley33903eb2009-12-08 16:33:10 -070060 depends on ARCH_OMAP
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +010061 default y
Paul Walmsley33903eb2009-12-08 16:33:10 -070062 help
63 Pin multiplexing support for OMAP boards. If your bootloader
64 sets the multiplexing correctly, say N. Otherwise, or if unsure,
65 say Y.
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +010066
67config OMAP_MUX_DEBUG
68 bool "Multiplexing debug output"
Paul Walmsley33903eb2009-12-08 16:33:10 -070069 depends on OMAP_MUX
70 help
71 Makes the multiplexing functions print out a lot of debug info.
72 This is useful if you want to find out the correct values of the
73 multiplexing registers.
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +010074
75config OMAP_MUX_WARNINGS
76 bool "Warn about pins the bootloader didn't set up"
Paul Walmsley33903eb2009-12-08 16:33:10 -070077 depends on OMAP_MUX
78 default y
79 help
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +010080 Choose Y here to warn whenever driver initialization logic needs
Paul Walmsley33903eb2009-12-08 16:33:10 -070081 to change the pin multiplexing setup. When there are no warnings
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +010082 printed, it's safe to deselect OMAP_MUX for your product.
83
Tony Lindgrenc40fae92006-12-07 13:58:10 -080084config OMAP_MCBSP
85 bool "McBSP support"
86 depends on ARCH_OMAP
87 default y
88 help
89 Say Y here if you want support for the OMAP Multichannel
90 Buffered Serial Port.
91
Hiroshi DOYU6c20a682009-03-23 18:07:23 -070092config OMAP_MBOX_FWK
93 tristate "Mailbox framework support"
94 depends on ARCH_OMAP
Hiroshi DOYU6c20a682009-03-23 18:07:23 -070095 help
96 Say Y here if you want to use OMAP Mailbox framework support for
97 DSP, IVA1.0 and IVA2 in OMAP1/2/3.
98
Hiroshi DOYUe7694212009-01-28 21:32:08 +020099config OMAP_IOMMU
100 tristate
101
Hiroshi DOYU14e0e672009-08-28 10:54:41 -0700102config OMAP_IOMMU_DEBUG
103 depends on OMAP_IOMMU
104 tristate
105
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +0100106choice
Paul Walmsley33903eb2009-12-08 16:33:10 -0700107 prompt "System timer"
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +0100108 default OMAP_MPU_TIMER
109
110config OMAP_MPU_TIMER
111 bool "Use mpu timer"
112 help
113 Select this option if you want to use the OMAP mpu timer. This
114 timer provides more intra-tick resolution than the 32KHz timer,
115 but consumes more power.
116
117config OMAP_32K_TIMER
118 bool "Use 32KHz timer"
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700119 depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +0100120 help
121 Select this option if you want to enable the OMAP 32KHz timer.
122 This timer saves power compared to the OMAP_MPU_TIMER, and has
123 support for no tick during idle. The 32KHz timer provides less
124 intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700125 currently only available for OMAP16XX, 24XX, 34XX and OMAP4.
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +0100126
127endchoice
128
129config OMAP_32K_TIMER_HZ
Paul Walmsley33903eb2009-12-08 16:33:10 -0700130 int "Kernel internal timer frequency for 32KHz timer"
131 range 32 1024
132 depends on OMAP_32K_TIMER
133 default "128"
134 help
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +0100135 Kernel internal timer frequency should be a divisor of 32768,
136 such as 64 or 128.
137
Tony Lindgren92105bb2005-09-07 17:20:26 +0100138config OMAP_DM_TIMER
139 bool "Use dual-mode timer"
Santosh Shilimkar46ba0ab2009-05-28 14:16:05 -0700140 depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4
Tony Lindgren92105bb2005-09-07 17:20:26 +0100141 help
142 Select this option if you want to use OMAP Dual-Mode timers.
143
Tony Lindgren92105bb2005-09-07 17:20:26 +0100144config OMAP_SERIAL_WAKE
145 bool "Enable wake-up events for serial ports"
Kevin Hilman8bd22942009-05-28 10:56:16 -0700146 depends on ARCH_OMAP1 && OMAP_MUX
Tony Lindgren92105bb2005-09-07 17:20:26 +0100147 default y
148 help
149 Select this option if you want to have your system wake up
150 to data on the serial RX line. This allows you to wake the
151 system from serial console.
152
Paul Walmsleyc0407a92009-09-03 20:14:01 +0300153choice
154 prompt "OMAP PM layer selection"
155 depends on ARCH_OMAP
156 default OMAP_PM_NOOP
157
158config OMAP_PM_NONE
159 bool "No PM layer"
160
161config OMAP_PM_NOOP
162 bool "No-op/debug PM layer"
163
164endchoice
165
Tony Lindgren5e1c5ff2005-07-10 19:58:15 +0100166endmenu
167
168endif