Kconfig 4.7 KB

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