Kconfig 6.1 KB

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