Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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_OMAP1
  8. config ARCH_OMAP1
  9. bool "TI OMAP1"
  10. config ARCH_OMAP2
  11. bool "TI OMAP2"
  12. endchoice
  13. comment "OMAP Feature Selections"
  14. config OMAP_DEBUG_DEVICES
  15. bool
  16. help
  17. For debug cards on TI reference boards.
  18. config OMAP_DEBUG_LEDS
  19. bool
  20. depends on OMAP_DEBUG_DEVICES
  21. default y if LEDS || LEDS_OMAP_DEBUG
  22. config OMAP_DEBUG_POWERDOMAIN
  23. bool "Emit debug messages from powerdomain layer"
  24. depends on ARCH_OMAP2 || ARCH_OMAP3
  25. default n
  26. help
  27. Say Y here if you want to compile in powerdomain layer
  28. debugging messages for OMAP2/3. These messages can
  29. provide more detail as to why some powerdomain calls
  30. may be failing, and will also emit a descriptive message
  31. for every powerdomain register write. However, the
  32. extra detail costs some memory.
  33. config OMAP_RESET_CLOCKS
  34. bool "Reset unused clocks during boot"
  35. depends on ARCH_OMAP
  36. help
  37. Say Y if you want to reset unused clocks during boot.
  38. This option saves power, but assumes all drivers are
  39. using the clock framework. Broken drivers that do not
  40. yet use clock framework may not work with this option.
  41. If you are booting from another operating system, you
  42. probably do not want this option enabled until your
  43. device drivers work properly.
  44. config OMAP_MUX
  45. bool "OMAP multiplexing support"
  46. depends on ARCH_OMAP
  47. default y
  48. help
  49. Pin multiplexing support for OMAP boards. If your bootloader
  50. sets the multiplexing correctly, say N. Otherwise, or if unsure,
  51. say Y.
  52. config OMAP_MUX_DEBUG
  53. bool "Multiplexing debug output"
  54. depends on OMAP_MUX
  55. help
  56. Makes the multiplexing functions print out a lot of debug info.
  57. This is useful if you want to find out the correct values of the
  58. multiplexing registers.
  59. config OMAP_MUX_WARNINGS
  60. bool "Warn about pins the bootloader didn't set up"
  61. depends on OMAP_MUX
  62. default y
  63. help
  64. Choose Y here to warn whenever driver initialization logic needs
  65. to change the pin multiplexing setup. When there are no warnings
  66. printed, it's safe to deselect OMAP_MUX for your product.
  67. config OMAP_MCBSP
  68. bool "McBSP support"
  69. depends on ARCH_OMAP
  70. default y
  71. help
  72. Say Y here if you want support for the OMAP Multichannel
  73. Buffered Serial Port.
  74. choice
  75. prompt "System timer"
  76. default OMAP_MPU_TIMER
  77. config OMAP_MPU_TIMER
  78. bool "Use mpu timer"
  79. help
  80. Select this option if you want to use the OMAP mpu timer. This
  81. timer provides more intra-tick resolution than the 32KHz timer,
  82. but consumes more power.
  83. config OMAP_32K_TIMER
  84. bool "Use 32KHz timer"
  85. depends on ARCH_OMAP16XX || ARCH_OMAP24XX
  86. help
  87. Select this option if you want to enable the OMAP 32KHz timer.
  88. This timer saves power compared to the OMAP_MPU_TIMER, and has
  89. support for no tick during idle. The 32KHz timer provides less
  90. intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is
  91. currently only available for OMAP16XX and 24XX.
  92. endchoice
  93. config OMAP_32K_TIMER_HZ
  94. int "Kernel internal timer frequency for 32KHz timer"
  95. range 32 1024
  96. depends on OMAP_32K_TIMER
  97. default "128"
  98. help
  99. Kernel internal timer frequency should be a divisor of 32768,
  100. such as 64 or 128.
  101. config OMAP_DM_TIMER
  102. bool "Use dual-mode timer"
  103. depends on ARCH_OMAP16XX || ARCH_OMAP24XX
  104. help
  105. Select this option if you want to use OMAP Dual-Mode timers.
  106. choice
  107. prompt "Low-level debug console UART"
  108. depends on ARCH_OMAP
  109. default OMAP_LL_DEBUG_UART1
  110. config OMAP_LL_DEBUG_UART1
  111. bool "UART1"
  112. config OMAP_LL_DEBUG_UART2
  113. bool "UART2"
  114. config OMAP_LL_DEBUG_UART3
  115. bool "UART3"
  116. endchoice
  117. config OMAP_SERIAL_WAKE
  118. bool "Enable wake-up events for serial ports"
  119. depends on OMAP_MUX
  120. default y
  121. help
  122. Select this option if you want to have your system wake up
  123. to data on the serial RX line. This allows you to wake the
  124. system from serial console.
  125. endmenu
  126. endif