Kconfig 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. if ARCH_OMAP
  2. menu "TI OMAP Common Features"
  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 CLKDEV_LOOKUP
  11. select CLKSRC_MMIO
  12. select GENERIC_IRQ_CHIP
  13. select HAVE_IDE
  14. select NEED_MACH_MEMORY_H
  15. help
  16. "Systems based on omap7xx, omap15xx or omap16xx"
  17. config ARCH_OMAP2PLUS
  18. bool "TI OMAP2/3/4"
  19. select CLKDEV_LOOKUP
  20. select GENERIC_IRQ_CHIP
  21. select OMAP_DM_TIMER
  22. help
  23. "Systems based on OMAP2, OMAP3 or OMAP4"
  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_CLASS
  34. config OMAP_SMARTREFLEX
  35. bool "SmartReflex support"
  36. depends on (ARCH_OMAP3 || ARCH_OMAP4) && PM
  37. help
  38. Say Y if you want to enable SmartReflex.
  39. SmartReflex can perform continuous dynamic voltage
  40. scaling around the nominal operating point voltage
  41. according to silicon characteristics and operating
  42. conditions. Enabling SmartReflex reduces power
  43. consumption.
  44. Please note, that by default SmartReflex is only
  45. initialized. To enable the automatic voltage
  46. compensation for vdd mpu and vdd core from user space,
  47. user must write 1 to
  48. /debug/voltage/vdd_<X>/smartreflex/autocomp,
  49. where X is mpu or core for OMAP3.
  50. Optionally autocompensation can be enabled in the kernel
  51. by default during system init via the enable_on_init flag
  52. which an be passed as platform data to the smartreflex driver.
  53. config OMAP_SMARTREFLEX_CLASS3
  54. bool "Class 3 mode of Smartreflex Implementation"
  55. depends on OMAP_SMARTREFLEX && TWL4030_CORE
  56. help
  57. Say Y to enable Class 3 implementation of Smartreflex
  58. Class 3 implementation of Smartreflex employs continuous hardware
  59. voltage calibration.
  60. config OMAP_RESET_CLOCKS
  61. bool "Reset unused clocks during boot"
  62. depends on ARCH_OMAP
  63. help
  64. Say Y if you want to reset unused clocks during boot.
  65. This option saves power, but assumes all drivers are
  66. using the clock framework. Broken drivers that do not
  67. yet use clock framework may not work with this option.
  68. If you are booting from another operating system, you
  69. probably do not want this option enabled until your
  70. device drivers work properly.
  71. config OMAP_MUX
  72. bool "OMAP multiplexing support"
  73. depends on ARCH_OMAP
  74. default y
  75. help
  76. Pin multiplexing support for OMAP boards. If your bootloader
  77. sets the multiplexing correctly, say N. Otherwise, or if unsure,
  78. say Y.
  79. config OMAP_MUX_DEBUG
  80. bool "Multiplexing debug output"
  81. depends on OMAP_MUX
  82. help
  83. Makes the multiplexing functions print out a lot of debug info.
  84. This is useful if you want to find out the correct values of the
  85. multiplexing registers.
  86. config OMAP_MUX_WARNINGS
  87. bool "Warn about pins the bootloader didn't set up"
  88. depends on OMAP_MUX
  89. default y
  90. help
  91. Choose Y here to warn whenever driver initialization logic needs
  92. to change the pin multiplexing setup. When there are no warnings
  93. printed, it's safe to deselect OMAP_MUX for your product.
  94. config OMAP_MCBSP
  95. bool "McBSP support"
  96. depends on ARCH_OMAP
  97. default y
  98. help
  99. Say Y here if you want support for the OMAP Multichannel
  100. Buffered Serial Port.
  101. config OMAP_MBOX_FWK
  102. tristate "Mailbox framework support"
  103. depends on ARCH_OMAP
  104. help
  105. Say Y here if you want to use OMAP Mailbox framework support for
  106. DSP, IVA1.0 and IVA2 in OMAP1/2/3.
  107. config OMAP_MBOX_KFIFO_SIZE
  108. int "Mailbox kfifo default buffer size (bytes)"
  109. depends on OMAP_MBOX_FWK
  110. default 256
  111. help
  112. Specify the default size of mailbox's kfifo buffers (bytes).
  113. This can also be changed at runtime (via the mbox_kfifo_size
  114. module parameter).
  115. config OMAP_IOMMU_IVA2
  116. bool
  117. config OMAP_MPU_TIMER
  118. bool "Use mpu timer"
  119. depends on ARCH_OMAP1
  120. help
  121. Select this option if you want to use the OMAP mpu timer. This
  122. timer provides more intra-tick resolution than the 32KHz timer,
  123. but consumes more power.
  124. config OMAP_32K_TIMER
  125. bool "Use 32KHz timer"
  126. depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS
  127. default y if (ARCH_OMAP16XX || ARCH_OMAP2PLUS)
  128. help
  129. Select this option if you want to enable the OMAP 32KHz timer.
  130. This timer saves power compared to the OMAP_MPU_TIMER, and has
  131. support for no tick during idle. The 32KHz timer provides less
  132. intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
  133. currently only available for OMAP16XX, 24XX, 34XX and OMAP4.
  134. config OMAP3_L2_AUX_SECURE_SAVE_RESTORE
  135. bool "OMAP3 HS/EMU save and restore for L2 AUX control register"
  136. depends on ARCH_OMAP3 && PM
  137. default n
  138. help
  139. Without this option, L2 Auxiliary control register contents are
  140. lost during off-mode entry on HS/EMU devices. This feature
  141. requires support from PPA / boot-loader in HS/EMU devices, which
  142. currently does not exist by default.
  143. config OMAP3_L2_AUX_SECURE_SERVICE_SET_ID
  144. int "Service ID for the support routine to set L2 AUX control"
  145. depends on OMAP3_L2_AUX_SECURE_SAVE_RESTORE
  146. default 43
  147. help
  148. PPA routine service ID for setting L2 auxiliary control register.
  149. config OMAP_32K_TIMER_HZ
  150. int "Kernel internal timer frequency for 32KHz timer"
  151. range 32 1024
  152. depends on OMAP_32K_TIMER
  153. default "128"
  154. help
  155. Kernel internal timer frequency should be a divisor of 32768,
  156. such as 64 or 128.
  157. config OMAP_DM_TIMER
  158. bool "Use dual-mode timer"
  159. depends on ARCH_OMAP16XX || ARCH_OMAP2PLUS
  160. help
  161. Select this option if you want to use OMAP Dual-Mode timers.
  162. config OMAP_SERIAL_WAKE
  163. bool "Enable wake-up events for serial ports"
  164. depends on ARCH_OMAP1 && OMAP_MUX
  165. default y
  166. help
  167. Select this option if you want to have your system wake up
  168. to data on the serial RX line. This allows you to wake the
  169. system from serial console.
  170. choice
  171. prompt "OMAP PM layer selection"
  172. depends on ARCH_OMAP
  173. default OMAP_PM_NOOP
  174. config OMAP_PM_NOOP
  175. bool "No-op/debug PM layer"
  176. endchoice
  177. endmenu
  178. endif