Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 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" |
Russell King | d7e8f1f | 2009-01-18 23:03:15 +0000 | [diff] [blame] | 14 | select COMMON_CLKDEV |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 15 | |
| 16 | config ARCH_OMAP2 |
| 17 | bool "TI OMAP2" |
Russell King | c750815 | 2008-10-26 10:55:14 +0000 | [diff] [blame] | 18 | select CPU_V6 |
Russell King | 8ad8ff6 | 2009-01-19 15:27:29 +0000 | [diff] [blame] | 19 | select COMMON_CLKDEV |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 20 | |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 21 | config ARCH_OMAP3 |
| 22 | bool "TI OMAP3" |
Russell King | c750815 | 2008-10-26 10:55:14 +0000 | [diff] [blame] | 23 | select CPU_V7 |
Russell King | 44dc9d0 | 2009-01-19 15:51:11 +0000 | [diff] [blame] | 24 | select COMMON_CLKDEV |
Kukjin Kim | d6d502f | 2010-02-22 00:02:59 +0100 | [diff] [blame] | 25 | select ARM_L1_CACHE_SHIFT_6 |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 26 | |
Santosh Shilimkar | 46ba0ab | 2009-05-28 14:16:05 -0700 | [diff] [blame] | 27 | config ARCH_OMAP4 |
| 28 | bool "TI OMAP4" |
| 29 | select CPU_V7 |
| 30 | select ARM_GIC |
Rajendra Nayak | d79b126 | 2009-12-09 00:01:44 +0530 | [diff] [blame] | 31 | select COMMON_CLKDEV |
Santosh Shilimkar | 46ba0ab | 2009-05-28 14:16:05 -0700 | [diff] [blame] | 32 | |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 33 | endchoice |
| 34 | |
| 35 | comment "OMAP Feature Selections" |
| 36 | |
David Brownell | f604931 | 2006-12-06 17:14:03 -0800 | [diff] [blame] | 37 | config OMAP_DEBUG_DEVICES |
David Brownell | 994c84e | 2006-12-06 17:14:03 -0800 | [diff] [blame] | 38 | bool |
| 39 | help |
David Brownell | f604931 | 2006-12-06 17:14:03 -0800 | [diff] [blame] | 40 | For debug cards on TI reference boards. |
| 41 | |
| 42 | config OMAP_DEBUG_LEDS |
| 43 | bool |
| 44 | depends on OMAP_DEBUG_DEVICES |
| 45 | default y if LEDS || LEDS_OMAP_DEBUG |
David Brownell | 994c84e | 2006-12-06 17:14:03 -0800 | [diff] [blame] | 46 | |
Tony Lindgren | bb13b5f | 2005-07-10 19:58:18 +0100 | [diff] [blame] | 47 | config OMAP_RESET_CLOCKS |
| 48 | bool "Reset unused clocks during boot" |
| 49 | depends on ARCH_OMAP |
Tony Lindgren | bb13b5f | 2005-07-10 19:58:18 +0100 | [diff] [blame] | 50 | help |
| 51 | Say Y if you want to reset unused clocks during boot. |
| 52 | This option saves power, but assumes all drivers are |
| 53 | using the clock framework. Broken drivers that do not |
| 54 | yet use clock framework may not work with this option. |
| 55 | If you are booting from another operating system, you |
| 56 | probably do not want this option enabled until your |
| 57 | device drivers work properly. |
| 58 | |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 59 | config OMAP_MUX |
| 60 | bool "OMAP multiplexing support" |
Paul Walmsley | 33903eb | 2009-12-08 16:33:10 -0700 | [diff] [blame] | 61 | depends on ARCH_OMAP |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 62 | default y |
Paul Walmsley | 33903eb | 2009-12-08 16:33:10 -0700 | [diff] [blame] | 63 | help |
| 64 | Pin multiplexing support for OMAP boards. If your bootloader |
| 65 | sets the multiplexing correctly, say N. Otherwise, or if unsure, |
| 66 | say Y. |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 67 | |
| 68 | config OMAP_MUX_DEBUG |
| 69 | bool "Multiplexing debug output" |
Paul Walmsley | 33903eb | 2009-12-08 16:33:10 -0700 | [diff] [blame] | 70 | depends on OMAP_MUX |
| 71 | help |
| 72 | Makes the multiplexing functions print out a lot of debug info. |
| 73 | This is useful if you want to find out the correct values of the |
| 74 | multiplexing registers. |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 75 | |
| 76 | config OMAP_MUX_WARNINGS |
| 77 | bool "Warn about pins the bootloader didn't set up" |
Paul Walmsley | 33903eb | 2009-12-08 16:33:10 -0700 | [diff] [blame] | 78 | depends on OMAP_MUX |
| 79 | default y |
| 80 | help |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 81 | Choose Y here to warn whenever driver initialization logic needs |
Paul Walmsley | 33903eb | 2009-12-08 16:33:10 -0700 | [diff] [blame] | 82 | to change the pin multiplexing setup. When there are no warnings |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 83 | printed, it's safe to deselect OMAP_MUX for your product. |
| 84 | |
Tony Lindgren | c40fae9 | 2006-12-07 13:58:10 -0800 | [diff] [blame] | 85 | config OMAP_MCBSP |
| 86 | bool "McBSP support" |
| 87 | depends on ARCH_OMAP |
| 88 | default y |
| 89 | help |
| 90 | Say Y here if you want support for the OMAP Multichannel |
| 91 | Buffered Serial Port. |
| 92 | |
Hiroshi DOYU | 6c20a68 | 2009-03-23 18:07:23 -0700 | [diff] [blame] | 93 | config OMAP_MBOX_FWK |
| 94 | tristate "Mailbox framework support" |
| 95 | depends on ARCH_OMAP |
Hiroshi DOYU | 6c20a68 | 2009-03-23 18:07:23 -0700 | [diff] [blame] | 96 | help |
| 97 | Say Y here if you want to use OMAP Mailbox framework support for |
| 98 | DSP, IVA1.0 and IVA2 in OMAP1/2/3. |
| 99 | |
Hiroshi DOYU | e769421 | 2009-01-28 21:32:08 +0200 | [diff] [blame] | 100 | config OMAP_IOMMU |
| 101 | tristate |
| 102 | |
Hiroshi DOYU | 14e0e67 | 2009-08-28 10:54:41 -0700 | [diff] [blame] | 103 | config OMAP_IOMMU_DEBUG |
| 104 | depends on OMAP_IOMMU |
| 105 | tristate |
| 106 | |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 107 | choice |
Paul Walmsley | 33903eb | 2009-12-08 16:33:10 -0700 | [diff] [blame] | 108 | prompt "System timer" |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 109 | default OMAP_MPU_TIMER |
| 110 | |
| 111 | config OMAP_MPU_TIMER |
| 112 | bool "Use mpu timer" |
| 113 | help |
| 114 | Select this option if you want to use the OMAP mpu timer. This |
| 115 | timer provides more intra-tick resolution than the 32KHz timer, |
| 116 | but consumes more power. |
| 117 | |
| 118 | config OMAP_32K_TIMER |
| 119 | bool "Use 32KHz timer" |
Santosh Shilimkar | 46ba0ab | 2009-05-28 14:16:05 -0700 | [diff] [blame] | 120 | depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4 |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 121 | help |
| 122 | Select this option if you want to enable the OMAP 32KHz timer. |
| 123 | This timer saves power compared to the OMAP_MPU_TIMER, and has |
| 124 | support for no tick during idle. The 32KHz timer provides less |
| 125 | intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is |
Santosh Shilimkar | 46ba0ab | 2009-05-28 14:16:05 -0700 | [diff] [blame] | 126 | currently only available for OMAP16XX, 24XX, 34XX and OMAP4. |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 127 | |
| 128 | endchoice |
| 129 | |
| 130 | config OMAP_32K_TIMER_HZ |
Paul Walmsley | 33903eb | 2009-12-08 16:33:10 -0700 | [diff] [blame] | 131 | int "Kernel internal timer frequency for 32KHz timer" |
| 132 | range 32 1024 |
| 133 | depends on OMAP_32K_TIMER |
| 134 | default "128" |
| 135 | help |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 136 | Kernel internal timer frequency should be a divisor of 32768, |
| 137 | such as 64 or 128. |
| 138 | |
Tony Lindgren | 92105bb | 2005-09-07 17:20:26 +0100 | [diff] [blame] | 139 | config OMAP_DM_TIMER |
| 140 | bool "Use dual-mode timer" |
Santosh Shilimkar | 46ba0ab | 2009-05-28 14:16:05 -0700 | [diff] [blame] | 141 | depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4 |
Tony Lindgren | 92105bb | 2005-09-07 17:20:26 +0100 | [diff] [blame] | 142 | help |
| 143 | Select this option if you want to use OMAP Dual-Mode timers. |
| 144 | |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 145 | choice |
| 146 | prompt "Low-level debug console UART" |
| 147 | depends on ARCH_OMAP |
vikram pandita | d9f5007 | 2009-11-22 10:10:49 -0800 | [diff] [blame] | 148 | default OMAP_LL_DEBUG_NONE |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 149 | |
| 150 | config OMAP_LL_DEBUG_UART1 |
| 151 | bool "UART1" |
| 152 | |
| 153 | config OMAP_LL_DEBUG_UART2 |
| 154 | bool "UART2" |
| 155 | |
| 156 | config OMAP_LL_DEBUG_UART3 |
| 157 | bool "UART3" |
| 158 | |
vikram pandita | d9f5007 | 2009-11-22 10:10:49 -0800 | [diff] [blame] | 159 | config OMAP_LL_DEBUG_NONE |
| 160 | bool "None" |
| 161 | |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 162 | endchoice |
| 163 | |
Tony Lindgren | 92105bb | 2005-09-07 17:20:26 +0100 | [diff] [blame] | 164 | config OMAP_SERIAL_WAKE |
| 165 | bool "Enable wake-up events for serial ports" |
Kevin Hilman | 8bd2294 | 2009-05-28 10:56:16 -0700 | [diff] [blame] | 166 | depends on ARCH_OMAP1 && OMAP_MUX |
Tony Lindgren | 92105bb | 2005-09-07 17:20:26 +0100 | [diff] [blame] | 167 | default y |
| 168 | help |
| 169 | Select this option if you want to have your system wake up |
| 170 | to data on the serial RX line. This allows you to wake the |
| 171 | system from serial console. |
| 172 | |
Paul Walmsley | c0407a9 | 2009-09-03 20:14:01 +0300 | [diff] [blame] | 173 | choice |
| 174 | prompt "OMAP PM layer selection" |
| 175 | depends on ARCH_OMAP |
| 176 | default OMAP_PM_NOOP |
| 177 | |
| 178 | config OMAP_PM_NONE |
| 179 | bool "No PM layer" |
| 180 | |
| 181 | config OMAP_PM_NOOP |
| 182 | bool "No-op/debug PM layer" |
| 183 | |
| 184 | endchoice |
| 185 | |
Tony Lindgren | 5e1c5ff | 2005-07-10 19:58:15 +0100 | [diff] [blame] | 186 | endmenu |
| 187 | |
| 188 | endif |