Kconfig 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  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_S3C2443
  79. bool
  80. select S3C_GPIO_PULL_UPDOWN
  81. help
  82. Internal configuration to enable the correct GPIO pull helper for S3C2443-style GPIO
  83. config S3C_GPIO_PULL_DOWN
  84. bool
  85. help
  86. Internal configuration to enable the correct GPIO pull helper
  87. config S3C_GPIO_PULL_UP
  88. bool
  89. help
  90. Internal configuration to enable the correct GPIO pull helper
  91. config S5P_GPIO_DRVSTR
  92. bool
  93. help
  94. Internal configuration to get and set correct GPIO driver strength
  95. helper
  96. config SAMSUNG_GPIO_EXTRA
  97. int "Number of additional GPIO pins"
  98. default 0
  99. help
  100. Use additional GPIO space in addition to the GPIO's the SOC
  101. provides. This allows expanding the GPIO space for use with
  102. GPIO expanders.
  103. config S3C_GPIO_SPACE
  104. int "Space between gpio banks"
  105. default 0
  106. help
  107. Add a number of spare GPIO entries between each bank for debugging
  108. purposes. This allows any problems where an counter overflows from
  109. one bank to another to be caught, at the expense of using a little
  110. more memory.
  111. config S3C_GPIO_TRACK
  112. bool
  113. help
  114. Internal configuration option to enable the s3c specific gpio
  115. chip tracking if the platform requires it.
  116. # ADC driver
  117. config S3C_ADC
  118. bool "ADC common driver support"
  119. help
  120. Core support for the ADC block found in the Samsung SoC systems
  121. for drivers such as the touchscreen and hwmon to use to share
  122. this resource.
  123. # device definitions to compile in
  124. config S3C_DEV_HSMMC
  125. bool
  126. help
  127. Compile in platform device definitions for HSMMC code
  128. config S3C_DEV_HSMMC1
  129. bool
  130. help
  131. Compile in platform device definitions for HSMMC channel 1
  132. config S3C_DEV_HSMMC2
  133. bool
  134. help
  135. Compile in platform device definitions for HSMMC channel 2
  136. config S3C_DEV_HSMMC3
  137. bool
  138. help
  139. Compile in platform device definitions for HSMMC channel 3
  140. config S3C_DEV_HWMON
  141. bool
  142. help
  143. Compile in platform device definitions for HWMON
  144. config S3C_DEV_I2C1
  145. bool
  146. help
  147. Compile in platform device definitions for I2C channel 1
  148. config S3C_DEV_I2C2
  149. bool
  150. help
  151. Compile in platform device definitions for I2C channel 2
  152. config S3C_DEV_I2C3
  153. bool
  154. help
  155. Compile in platform device definition for I2C controller 3
  156. config S3C_DEV_I2C4
  157. bool
  158. help
  159. Compile in platform device definition for I2C controller 4
  160. config S3C_DEV_I2C5
  161. bool
  162. help
  163. Compile in platform device definition for I2C controller 5
  164. config S3C_DEV_I2C6
  165. bool
  166. help
  167. Compile in platform device definition for I2C controller 6
  168. config S3C_DEV_I2C7
  169. bool
  170. help
  171. Compile in platform device definition for I2C controller 7
  172. config S3C_DEV_FB
  173. bool
  174. help
  175. Compile in platform device definition for framebuffer
  176. config S3C_DEV_USB_HOST
  177. bool
  178. help
  179. Compile in platform device definition for USB host.
  180. config S3C_DEV_USB_HSOTG
  181. bool
  182. help
  183. Compile in platform device definition for USB high-speed OtG
  184. config S3C_DEV_WDT
  185. bool
  186. default y if ARCH_S3C2410
  187. help
  188. Complie in platform device definition for Watchdog Timer
  189. config S3C_DEV_NAND
  190. bool
  191. help
  192. Compile in platform device definition for NAND controller
  193. config S3C_DEV_ONENAND
  194. bool
  195. help
  196. Compile in platform device definition for OneNAND controller
  197. config S3C_DEV_RTC
  198. bool
  199. help
  200. Complie in platform device definition for RTC
  201. config SAMSUNG_DEV_ADC
  202. bool
  203. help
  204. Compile in platform device definition for ADC controller
  205. config SAMSUNG_DEV_IDE
  206. bool
  207. help
  208. Compile in platform device definitions for IDE
  209. config S3C64XX_DEV_SPI
  210. bool
  211. help
  212. Compile in platform device definitions for S3C64XX's type
  213. SPI controllers.
  214. config SAMSUNG_DEV_TS
  215. bool
  216. help
  217. Common in platform device definitions for touchscreen device
  218. config SAMSUNG_DEV_KEYPAD
  219. bool
  220. help
  221. Compile in platform device definitions for keypad
  222. config SAMSUNG_DEV_PWM
  223. bool
  224. default y if ARCH_S3C2410
  225. help
  226. Compile in platform device definition for PWM Timer
  227. config S3C24XX_PWM
  228. bool "PWM device support"
  229. select HAVE_PWM
  230. help
  231. Support for exporting the PWM timer blocks via the pwm device
  232. system
  233. # DMA
  234. config S3C_DMA
  235. bool
  236. help
  237. Internal configuration for S3C DMA core
  238. config S3C_PL330_DMA
  239. bool
  240. select PL330
  241. help
  242. S3C DMA API Driver for PL330 DMAC.
  243. comment "Power management"
  244. config SAMSUNG_PM_DEBUG
  245. bool "S3C2410 PM Suspend debug"
  246. depends on PM
  247. help
  248. Say Y here if you want verbose debugging from the PM Suspend and
  249. Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  250. for more information.
  251. config S3C_PM_DEBUG_LED_SMDK
  252. bool "SMDK LED suspend/resume debugging"
  253. depends on PM && (MACH_SMDK6410)
  254. help
  255. Say Y here to enable the use of the SMDK LEDs on the baseboard
  256. for debugging of the state of the suspend and resume process.
  257. Note, this currently only works for S3C64XX based SMDK boards.
  258. config SAMSUNG_PM_CHECK
  259. bool "S3C2410 PM Suspend Memory CRC"
  260. depends on PM && CRC32
  261. help
  262. Enable the PM code's memory area checksum over sleep. This option
  263. will generate CRCs of all blocks of memory, and store them before
  264. going to sleep. The blocks are then checked on resume for any
  265. errors.
  266. Note, this can take several seconds depending on memory size
  267. and CPU speed.
  268. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  269. config SAMSUNG_PM_CHECK_CHUNKSIZE
  270. int "S3C2410 PM Suspend CRC Chunksize (KiB)"
  271. depends on PM && SAMSUNG_PM_CHECK
  272. default 64
  273. help
  274. Set the chunksize in Kilobytes of the CRC for checking memory
  275. corruption over suspend and resume. A smaller value will mean that
  276. the CRC data block will take more memory, but wil identify any
  277. faults with better precision.
  278. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  279. config SAMSUNG_WAKEMASK
  280. bool
  281. depends on PM
  282. help
  283. Compile support for wakeup-mask controls found on the S3C6400
  284. and above. This code allows a set of interrupt to wakeup-mask
  285. mappings. See <plat/wakeup-mask.h>
  286. comment "Power Domain"
  287. config SAMSUNG_PD
  288. bool "Samsung Power Domain"
  289. depends on PM_RUNTIME
  290. help
  291. Say Y here if you want to control Power Domain by Runtime PM.
  292. endif