Kconfig 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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 ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX || ARCH_S5PC1XX
  9. default y
  10. help
  11. Base platform code for all Samsung SoC based systems
  12. if PLAT_SAMSUNG
  13. config SAMSUNG_CLKSRC
  14. bool
  15. help
  16. Select the clock code for the clksrc implementation
  17. used by newer systems such as the S3C64XX.
  18. # options for IRQ support
  19. config SAMSUNG_IRQ_VIC_TIMER
  20. bool
  21. help
  22. Internal configuration to build the VIC timer interrupt code.
  23. config SAMSUNG_IRQ_UART
  24. bool
  25. help
  26. Internal configuration to build the IRQ UART demux code.
  27. # options for gpio configuration support
  28. config SAMSUNG_GPIOLIB_4BIT
  29. bool
  30. help
  31. GPIOlib file contains the 4 bit modification functions for gpio
  32. configuration. GPIOlib shall be compiled only for S3C64XX and S5P
  33. series of processors.
  34. config S3C_GPIO_CFG_S3C24XX
  35. bool
  36. help
  37. Internal configuration to enable S3C24XX style GPIO configuration
  38. functions.
  39. config S3C_GPIO_CFG_S3C64XX
  40. bool
  41. help
  42. Internal configuration to enable S3C64XX style GPIO configuration
  43. functions.
  44. config S5P_GPIO_CFG_S5PC1XX
  45. bool
  46. help
  47. Internal configuration to enable S5PC1XX style GPIO configuration
  48. functions.
  49. config S3C_GPIO_PULL_UPDOWN
  50. bool
  51. help
  52. Internal configuration to enable the correct GPIO pull helper
  53. config S3C_GPIO_PULL_DOWN
  54. bool
  55. help
  56. Internal configuration to enable the correct GPIO pull helper
  57. config S3C_GPIO_PULL_UP
  58. bool
  59. help
  60. Internal configuration to enable the correct GPIO pull helper
  61. config SAMSUNG_GPIO_EXTRA
  62. int "Number of additional GPIO pins"
  63. default 0
  64. help
  65. Use additional GPIO space in addition to the GPIO's the SOC
  66. provides. This allows expanding the GPIO space for use with
  67. GPIO expanders.
  68. # ADC driver
  69. config S3C_ADC
  70. bool "ADC common driver support"
  71. help
  72. Core support for the ADC block found in the Samsung SoC systems
  73. for drivers such as the touchscreen and hwmon to use to share
  74. this resource.
  75. # device definitions to compile in
  76. config S3C_DEV_HSMMC
  77. bool
  78. help
  79. Compile in platform device definitions for HSMMC code
  80. config S3C_DEV_HSMMC1
  81. bool
  82. help
  83. Compile in platform device definitions for HSMMC channel 1
  84. config S3C_DEV_HSMMC2
  85. bool
  86. help
  87. Compile in platform device definitions for HSMMC channel 2
  88. config S3C_DEV_I2C1
  89. bool
  90. help
  91. Compile in platform device definitions for I2C channel 1
  92. config S3C_DEV_FB
  93. bool
  94. help
  95. Compile in platform device definition for framebuffer
  96. config S3C_DEV_USB_HOST
  97. bool
  98. help
  99. Compile in platform device definition for USB host.
  100. config S3C_DEV_USB_HSOTG
  101. bool
  102. help
  103. Compile in platform device definition for USB high-speed OtG
  104. config S3C_DEV_NAND
  105. bool
  106. help
  107. Compile in platform device definition for NAND controller
  108. config S3C64XX_DEV_SPI
  109. bool
  110. help
  111. Compile in platform device definitions for S3C64XX's type
  112. SPI controllers.
  113. comment "Power management"
  114. config SAMSUNG_PM_DEBUG
  115. bool "S3C2410 PM Suspend debug"
  116. depends on PM
  117. help
  118. Say Y here if you want verbose debugging from the PM Suspend and
  119. Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  120. for more information.
  121. config S3C_PM_DEBUG_LED_SMDK
  122. bool "SMDK LED suspend/resume debugging"
  123. depends on PM && (MACH_SMDK6410)
  124. help
  125. Say Y here to enable the use of the SMDK LEDs on the baseboard
  126. for debugging of the state of the suspend and resume process.
  127. Note, this currently only works for S3C64XX based SMDK boards.
  128. config SAMSUNG_PM_CHECK
  129. bool "S3C2410 PM Suspend Memory CRC"
  130. depends on PM && CRC32
  131. help
  132. Enable the PM code's memory area checksum over sleep. This option
  133. will generate CRCs of all blocks of memory, and store them before
  134. going to sleep. The blocks are then checked on resume for any
  135. errors.
  136. Note, this can take several seconds depending on memory size
  137. and CPU speed.
  138. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  139. config SAMSUNG_PM_CHECK_CHUNKSIZE
  140. int "S3C2410 PM Suspend CRC Chunksize (KiB)"
  141. depends on PM && SAMSUNG_PM_CHECK
  142. default 64
  143. help
  144. Set the chunksize in Kilobytes of the CRC for checking memory
  145. corruption over suspend and resume. A smaller value will mean that
  146. the CRC data block will take more memory, but wil identify any
  147. faults with better precision.
  148. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  149. endif