Kconfig 3.5 KB

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