Kconfig 4.1 KB

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