Kconfig 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. # arch/arm/plat-samsung/Kconfig
  2. #
  3. # Copyright 2009 Simtec Electronics
  4. #
  5. # Licensed under GPLv2
  6. config PLAT_SAMSUNG
  7. bool
  8. depends on PLAT_S3C24XX || ARCH_S3C64XX || PLAT_S5P
  9. select NO_IOPORT
  10. default y
  11. help
  12. Base platform code for all Samsung SoC based systems
  13. if PLAT_SAMSUNG
  14. # boot configurations
  15. comment "Boot options"
  16. config S3C_BOOT_WATCHDOG
  17. bool "S3C Initialisation watchdog"
  18. depends on S3C2410_WATCHDOG
  19. help
  20. Say y to enable the watchdog during the kernel decompression
  21. stage. If the kernel fails to uncompress, then the watchdog
  22. will trigger a reset and the system should restart.
  23. config S3C_BOOT_ERROR_RESET
  24. bool "S3C Reboot on decompression error"
  25. help
  26. Say y here to use the watchdog to reset the system if the
  27. kernel decompressor detects an error during decompression.
  28. config S3C_BOOT_UART_FORCE_FIFO
  29. bool "Force UART FIFO on during boot process"
  30. default y
  31. help
  32. Say Y here to force the UART FIFOs on during the kernel
  33. uncompressor
  34. config S3C_LOWLEVEL_UART_PORT
  35. int "S3C UART to use for low-level messages"
  36. default 0
  37. help
  38. Choice of which UART port to use for the low-level messages,
  39. such as the `Uncompressing...` at start time. The value of
  40. this configuration should be between zero and two. The port
  41. must have been initialised by the boot-loader before use.
  42. # clock options
  43. config SAMSUNG_CLKSRC
  44. bool
  45. help
  46. Select the clock code for the clksrc implementation
  47. used by newer systems such as the S3C64XX.
  48. # options for IRQ support
  49. config SAMSUNG_IRQ_VIC_TIMER
  50. bool
  51. help
  52. Internal configuration to build the VIC timer interrupt code.
  53. config SAMSUNG_IRQ_UART
  54. bool
  55. help
  56. Internal configuration to build the IRQ UART demux code.
  57. # options for gpio configuration support
  58. config SAMSUNG_GPIOLIB_4BIT
  59. bool
  60. help
  61. GPIOlib file contains the 4 bit modification functions for gpio
  62. configuration. GPIOlib shall be compiled only for S3C64XX and S5P
  63. series of processors.
  64. config S3C_GPIO_CFG_S3C24XX
  65. bool
  66. help
  67. Internal configuration to enable S3C24XX style GPIO configuration
  68. functions.
  69. config S3C_GPIO_CFG_S3C64XX
  70. bool
  71. help
  72. Internal configuration to enable S3C64XX style GPIO configuration
  73. functions.
  74. config S3C_GPIO_PULL_UPDOWN
  75. bool
  76. help
  77. Internal configuration to enable the correct GPIO pull helper
  78. config S3C_GPIO_PULL_DOWN
  79. bool
  80. help
  81. Internal configuration to enable the correct GPIO pull helper
  82. config S3C_GPIO_PULL_UP
  83. bool
  84. help
  85. Internal configuration to enable the correct GPIO pull helper
  86. config S5P_GPIO_DRVSTR
  87. bool
  88. help
  89. Internal configuration to get and set correct GPIO driver strength
  90. helper
  91. config SAMSUNG_GPIO_EXTRA
  92. int "Number of additional GPIO pins"
  93. default 0
  94. help
  95. Use additional GPIO space in addition to the GPIO's the SOC
  96. provides. This allows expanding the GPIO space for use with
  97. GPIO expanders.
  98. config S3C_GPIO_SPACE
  99. int "Space between gpio banks"
  100. default 0
  101. help
  102. Add a number of spare GPIO entries between each bank for debugging
  103. purposes. This allows any problems where an counter overflows from
  104. one bank to another to be caught, at the expense of using a little
  105. more memory.
  106. config S3C_GPIO_TRACK
  107. bool
  108. help
  109. Internal configuration option to enable the s3c specific gpio
  110. chip tracking if the platform requires it.
  111. # ADC driver
  112. config S3C_ADC
  113. bool "ADC common driver support"
  114. help
  115. Core support for the ADC block found in the Samsung SoC systems
  116. for drivers such as the touchscreen and hwmon to use to share
  117. this resource.
  118. # device definitions to compile in
  119. config S3C_DEV_HSMMC
  120. bool
  121. help
  122. Compile in platform device definitions for HSMMC code
  123. config S3C_DEV_HSMMC1
  124. bool
  125. help
  126. Compile in platform device definitions for HSMMC channel 1
  127. config S3C_DEV_HSMMC2
  128. bool
  129. help
  130. Compile in platform device definitions for HSMMC channel 2
  131. config S3C_DEV_HSMMC3
  132. bool
  133. help
  134. Compile in platform device definitions for HSMMC channel 3
  135. config S3C_DEV_HWMON
  136. bool
  137. help
  138. Compile in platform device definitions for HWMON
  139. config S3C_DEV_I2C1
  140. bool
  141. help
  142. Compile in platform device definitions for I2C channel 1
  143. config S3C_DEV_I2C2
  144. bool
  145. help
  146. Compile in platform device definitions for I2C channel 2
  147. config S3C_DEV_FB
  148. bool
  149. help
  150. Compile in platform device definition for framebuffer
  151. config S3C_DEV_USB_HOST
  152. bool
  153. help
  154. Compile in platform device definition for USB host.
  155. config S3C_DEV_USB_HSOTG
  156. bool
  157. help
  158. Compile in platform device definition for USB high-speed OtG
  159. config S3C_DEV_WDT
  160. bool
  161. default y if ARCH_S3C2410
  162. help
  163. Complie in platform device definition for Watchdog Timer
  164. config S3C_DEV_NAND
  165. bool
  166. help
  167. Compile in platform device definition for NAND controller
  168. config S3C_DEV_ONENAND
  169. bool
  170. help
  171. Compile in platform device definition for OneNAND controller
  172. config S3C_DEV_RTC
  173. bool
  174. help
  175. Complie in platform device definition for RTC
  176. config SAMSUNG_DEV_ADC
  177. bool
  178. help
  179. Compile in platform device definition for ADC controller
  180. config SAMSUNG_DEV_IDE
  181. bool
  182. help
  183. Compile in platform device definitions for IDE
  184. config S3C64XX_DEV_SPI
  185. bool
  186. help
  187. Compile in platform device definitions for S3C64XX's type
  188. SPI controllers.
  189. config SAMSUNG_DEV_TS
  190. bool
  191. help
  192. Common in platform device definitions for touchscreen device
  193. config SAMSUNG_DEV_KEYPAD
  194. bool
  195. help
  196. Compile in platform device definitions for keypad
  197. # DMA
  198. config S3C_DMA
  199. bool
  200. help
  201. Internal configuration for S3C DMA core
  202. config S3C_PL330_DMA
  203. bool
  204. select PL330
  205. help
  206. S3C DMA API Driver for PL330 DMAC.
  207. comment "Power management"
  208. config SAMSUNG_PM_DEBUG
  209. bool "S3C2410 PM Suspend debug"
  210. depends on PM
  211. help
  212. Say Y here if you want verbose debugging from the PM Suspend and
  213. Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  214. for more information.
  215. config S3C_PM_DEBUG_LED_SMDK
  216. bool "SMDK LED suspend/resume debugging"
  217. depends on PM && (MACH_SMDK6410)
  218. help
  219. Say Y here to enable the use of the SMDK LEDs on the baseboard
  220. for debugging of the state of the suspend and resume process.
  221. Note, this currently only works for S3C64XX based SMDK boards.
  222. config SAMSUNG_PM_CHECK
  223. bool "S3C2410 PM Suspend Memory CRC"
  224. depends on PM && CRC32
  225. help
  226. Enable the PM code's memory area checksum over sleep. This option
  227. will generate CRCs of all blocks of memory, and store them before
  228. going to sleep. The blocks are then checked on resume for any
  229. errors.
  230. Note, this can take several seconds depending on memory size
  231. and CPU speed.
  232. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  233. config SAMSUNG_PM_CHECK_CHUNKSIZE
  234. int "S3C2410 PM Suspend CRC Chunksize (KiB)"
  235. depends on PM && SAMSUNG_PM_CHECK
  236. default 64
  237. help
  238. Set the chunksize in Kilobytes of the CRC for checking memory
  239. corruption over suspend and resume. A smaller value will mean that
  240. the CRC data block will take more memory, but wil identify any
  241. faults with better precision.
  242. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  243. config SAMSUNG_WAKEMASK
  244. bool
  245. depends on PM
  246. help
  247. Compile support for wakeup-mask controls found on the S3C6400
  248. and above. This code allows a set of interrupt to wakeup-mask
  249. mappings. See <plat/wakeup-mask.h>
  250. endif