Kconfig 5.7 KB

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