Kconfig 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. if ARCH_OMAP
  2. menu "TI OMAP Implementations"
  3. config ARCH_OMAP_OTG
  4. bool
  5. choice
  6. prompt "OMAP System Type"
  7. default ARCH_OMAP1
  8. config ARCH_OMAP1
  9. bool "TI OMAP1"
  10. select COMMON_CLKDEV
  11. config ARCH_OMAP2
  12. bool "TI OMAP2"
  13. select CPU_V6
  14. select COMMON_CLKDEV
  15. config ARCH_OMAP3
  16. bool "TI OMAP3"
  17. select CPU_V7
  18. select COMMON_CLKDEV
  19. config ARCH_OMAP4
  20. bool "TI OMAP4"
  21. select CPU_V7
  22. select ARM_GIC
  23. select COMMON_CLKDEV
  24. endchoice
  25. comment "OMAP Feature Selections"
  26. config OMAP_DEBUG_DEVICES
  27. bool
  28. help
  29. For debug cards on TI reference boards.
  30. config OMAP_DEBUG_LEDS
  31. bool
  32. depends on OMAP_DEBUG_DEVICES
  33. default y if LEDS || LEDS_OMAP_DEBUG
  34. config OMAP_RESET_CLOCKS
  35. bool "Reset unused clocks during boot"
  36. depends on ARCH_OMAP
  37. help
  38. Say Y if you want to reset unused clocks during boot.
  39. This option saves power, but assumes all drivers are
  40. using the clock framework. Broken drivers that do not
  41. yet use clock framework may not work with this option.
  42. If you are booting from another operating system, you
  43. probably do not want this option enabled until your
  44. device drivers work properly.
  45. config OMAP_MUX
  46. bool "OMAP multiplexing support"
  47. depends on ARCH_OMAP
  48. default y
  49. help
  50. Pin multiplexing support for OMAP boards. If your bootloader
  51. sets the multiplexing correctly, say N. Otherwise, or if unsure,
  52. say Y.
  53. config OMAP_MUX_DEBUG
  54. bool "Multiplexing debug output"
  55. depends on OMAP_MUX
  56. help
  57. Makes the multiplexing functions print out a lot of debug info.
  58. This is useful if you want to find out the correct values of the
  59. multiplexing registers.
  60. config OMAP_MUX_WARNINGS
  61. bool "Warn about pins the bootloader didn't set up"
  62. depends on OMAP_MUX
  63. default y
  64. help
  65. Choose Y here to warn whenever driver initialization logic needs
  66. to change the pin multiplexing setup. When there are no warnings
  67. printed, it's safe to deselect OMAP_MUX for your product.
  68. config OMAP_MCBSP
  69. bool "McBSP support"
  70. depends on ARCH_OMAP
  71. default y
  72. help
  73. Say Y here if you want support for the OMAP Multichannel
  74. Buffered Serial Port.
  75. config OMAP_MBOX_FWK
  76. tristate "Mailbox framework support"
  77. depends on ARCH_OMAP
  78. help
  79. Say Y here if you want to use OMAP Mailbox framework support for
  80. DSP, IVA1.0 and IVA2 in OMAP1/2/3.
  81. config OMAP_IOMMU
  82. tristate
  83. config OMAP_IOMMU_DEBUG
  84. depends on OMAP_IOMMU
  85. tristate
  86. choice
  87. prompt "System timer"
  88. default OMAP_MPU_TIMER
  89. config OMAP_MPU_TIMER
  90. bool "Use mpu timer"
  91. help
  92. Select this option if you want to use the OMAP mpu timer. This
  93. timer provides more intra-tick resolution than the 32KHz timer,
  94. but consumes more power.
  95. config OMAP_32K_TIMER
  96. bool "Use 32KHz timer"
  97. depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4
  98. help
  99. Select this option if you want to enable the OMAP 32KHz timer.
  100. This timer saves power compared to the OMAP_MPU_TIMER, and has
  101. support for no tick during idle. The 32KHz timer provides less
  102. intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
  103. currently only available for OMAP16XX, 24XX, 34XX and OMAP4.
  104. endchoice
  105. config OMAP_32K_TIMER_HZ
  106. int "Kernel internal timer frequency for 32KHz timer"
  107. range 32 1024
  108. depends on OMAP_32K_TIMER
  109. default "128"
  110. help
  111. Kernel internal timer frequency should be a divisor of 32768,
  112. such as 64 or 128.
  113. config OMAP_DM_TIMER
  114. bool "Use dual-mode timer"
  115. depends on ARCH_OMAP16XX || ARCH_OMAP24XX || ARCH_OMAP34XX || ARCH_OMAP4
  116. help
  117. Select this option if you want to use OMAP Dual-Mode timers.
  118. choice
  119. prompt "Low-level debug console UART"
  120. depends on ARCH_OMAP
  121. default OMAP_LL_DEBUG_NONE
  122. config OMAP_LL_DEBUG_UART1
  123. bool "UART1"
  124. config OMAP_LL_DEBUG_UART2
  125. bool "UART2"
  126. config OMAP_LL_DEBUG_UART3
  127. bool "UART3"
  128. config OMAP_LL_DEBUG_NONE
  129. bool "None"
  130. endchoice
  131. config OMAP_SERIAL_WAKE
  132. bool "Enable wake-up events for serial ports"
  133. depends on ARCH_OMAP1 && OMAP_MUX
  134. default y
  135. help
  136. Select this option if you want to have your system wake up
  137. to data on the serial RX line. This allows you to wake the
  138. system from serial console.
  139. choice
  140. prompt "OMAP PM layer selection"
  141. depends on ARCH_OMAP
  142. default OMAP_PM_NOOP
  143. config OMAP_PM_NONE
  144. bool "No PM layer"
  145. config OMAP_PM_NOOP
  146. bool "No-op/debug PM layer"
  147. endchoice
  148. endmenu
  149. endif