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