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