Kconfig 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  1. # Copyright 2008 Openmoko, Inc.
  2. # Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
  3. #
  4. # Licensed under GPLv2
  5. # temporary until we can eliminate all drivers using it.
  6. config PLAT_S3C64XX
  7. bool
  8. depends on ARCH_S3C64XX
  9. select SAMSUNG_WAKEMASK
  10. select PM_GENERIC_DOMAINS
  11. default y
  12. help
  13. Base platform code for any Samsung S3C64XX device
  14. # Configuration options for the S3C6410 CPU
  15. config CPU_S3C6400
  16. bool
  17. help
  18. Enable S3C6400 CPU support
  19. config CPU_S3C6410
  20. bool
  21. help
  22. Enable S3C6410 CPU support
  23. config S3C64XX_DMA
  24. bool "S3C64XX DMA"
  25. select S3C_DMA
  26. config S3C64XX_SETUP_SDHCI
  27. select S3C64XX_SETUP_SDHCI_GPIO
  28. bool
  29. help
  30. Internal configuration for default SDHCI setup for S3C6400 and
  31. S3C6410 SoCs.
  32. config S3C64XX_DEV_ONENAND1
  33. bool
  34. help
  35. Compile in platform device definition for OneNAND1 controller
  36. # platform specific device setup
  37. config S3C64XX_SETUP_I2C0
  38. bool
  39. default y
  40. help
  41. Common setup code for i2c bus 0.
  42. Note, currently since i2c0 is always compiled, this setup helper
  43. is always compiled with it.
  44. config S3C64XX_SETUP_I2C1
  45. bool
  46. help
  47. Common setup code for i2c bus 1.
  48. config S3C64XX_SETUP_IDE
  49. bool
  50. help
  51. Common setup code for S3C64XX IDE.
  52. config S3C64XX_SETUP_FB_24BPP
  53. bool
  54. help
  55. Common setup code for S3C64XX with an 24bpp RGB display helper.
  56. config S3C64XX_SETUP_KEYPAD
  57. bool
  58. help
  59. Common setup code for S3C64XX KEYPAD GPIO configurations
  60. config S3C64XX_SETUP_SDHCI_GPIO
  61. bool
  62. help
  63. Common setup code for S3C64XX SDHCI GPIO configurations
  64. # S36400 Macchine support
  65. config MACH_SMDK6400
  66. bool "SMDK6400"
  67. select CPU_S3C6400
  68. select S3C_DEV_HSMMC
  69. select S3C_DEV_NAND
  70. select S3C64XX_SETUP_SDHCI
  71. help
  72. Machine support for the Samsung SMDK6400
  73. # S3C6410 machine support
  74. config MACH_ANW6410
  75. bool "A&W6410"
  76. select CPU_S3C6410
  77. select S3C_DEV_FB
  78. select S3C64XX_SETUP_FB_24BPP
  79. help
  80. Machine support for the A&W6410
  81. config MACH_MINI6410
  82. bool "MINI6410"
  83. select CPU_S3C6410
  84. select S3C_DEV_HSMMC
  85. select S3C_DEV_HSMMC1
  86. select S3C64XX_SETUP_SDHCI
  87. select S3C_DEV_USB_HOST
  88. select S3C_DEV_NAND
  89. select S3C_DEV_FB
  90. select S3C64XX_SETUP_FB_24BPP
  91. select SAMSUNG_DEV_ADC
  92. select SAMSUNG_DEV_TS
  93. help
  94. Machine support for the FriendlyARM MINI6410
  95. config MACH_REAL6410
  96. bool "REAL6410"
  97. select CPU_S3C6410
  98. select S3C_DEV_HSMMC
  99. select S3C_DEV_HSMMC1
  100. select S3C64XX_SETUP_SDHCI
  101. select S3C_DEV_FB
  102. select S3C64XX_SETUP_FB_24BPP
  103. select S3C_DEV_NAND
  104. select SAMSUNG_DEV_ADC
  105. select SAMSUNG_DEV_TS
  106. select S3C_DEV_USB_HOST
  107. help
  108. Machine support for the CoreWind REAL6410
  109. config MACH_SMDK6410
  110. bool "SMDK6410"
  111. select CPU_S3C6410
  112. select SAMSUNG_DEV_ADC
  113. select S3C_DEV_HSMMC
  114. select S3C_DEV_HSMMC1
  115. select S3C_DEV_I2C1
  116. select SAMSUNG_DEV_IDE
  117. select S3C_DEV_FB
  118. select S3C_DEV_RTC
  119. select SAMSUNG_DEV_TS
  120. select S3C_DEV_USB_HOST
  121. select S3C_DEV_USB_HSOTG
  122. select S3C_DEV_WDT
  123. select SAMSUNG_DEV_BACKLIGHT
  124. select SAMSUNG_DEV_KEYPAD
  125. select SAMSUNG_DEV_PWM
  126. select HAVE_S3C2410_WATCHDOG if WATCHDOG
  127. select S3C64XX_SETUP_SDHCI
  128. select S3C64XX_SETUP_I2C1
  129. select S3C64XX_SETUP_IDE
  130. select S3C64XX_SETUP_FB_24BPP
  131. select S3C64XX_SETUP_KEYPAD
  132. help
  133. Machine support for the Samsung SMDK6410
  134. # At least some of the SMDK6410s were shipped with the card detect
  135. # for the MMC/SD slots connected to the same input. This means that
  136. # either the boards need to be altered to have channel0 to an alternate
  137. # configuration or that only one slot can be used.
  138. choice
  139. prompt "SMDK6410 MMC/SD slot setup"
  140. depends on MACH_SMDK6410
  141. config SMDK6410_SD_CH0
  142. bool "Use channel 0 only"
  143. depends on MACH_SMDK6410
  144. help
  145. Select CON7 (channel 0) as the MMC/SD slot, as
  146. at least some SMDK6410 boards come with the
  147. resistors fitted so that the card detects for
  148. channels 0 and 1 are the same.
  149. config SMDK6410_SD_CH1
  150. bool "Use channel 1 only"
  151. depends on MACH_SMDK6410
  152. help
  153. Select CON6 (channel 1) as the MMC/SD slot, as
  154. at least some SMDK6410 boards come with the
  155. resistors fitted so that the card detects for
  156. channels 0 and 1 are the same.
  157. endchoice
  158. config SMDK6410_WM1190_EV1
  159. bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
  160. depends on MACH_SMDK6410
  161. select REGULATOR
  162. select REGULATOR_WM8350
  163. select S3C24XX_GPIO_EXTRA64
  164. select MFD_WM8350_I2C
  165. select MFD_WM8350_CONFIG_MODE_0
  166. select MFD_WM8350_CONFIG_MODE_3
  167. select MFD_WM8352_CONFIG_MODE_0
  168. help
  169. The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
  170. and audio daughtercard for the Samsung SMDK6410 reference
  171. platform. Enabling this option will build support for this
  172. module into the kernel. The presence of the module will be
  173. detected at runtime so the the resulting kernel can be used
  174. with or without the 1190-EV1 fitted.
  175. config SMDK6410_WM1192_EV1
  176. bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
  177. depends on MACH_SMDK6410
  178. select REGULATOR
  179. select REGULATOR_WM831X
  180. select S3C24XX_GPIO_EXTRA64
  181. select MFD_WM831X
  182. select MFD_WM831X_I2C
  183. help
  184. The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
  185. daughtercard for the Samsung SMDK6410 reference platform.
  186. Enabling this option will build support for this module into
  187. the kernel. The presence of the daughtercard will be
  188. detected at runtime so the the resulting kernel can be used
  189. with or without the 1192-EV1 fitted.
  190. config MACH_NCP
  191. bool "NCP"
  192. select CPU_S3C6410
  193. select S3C_DEV_I2C1
  194. select S3C_DEV_HSMMC1
  195. select S3C64XX_SETUP_I2C1
  196. help
  197. Machine support for the Samsung NCP
  198. config MACH_HMT
  199. bool "Airgoo HMT"
  200. select CPU_S3C6410
  201. select S3C_DEV_FB
  202. select S3C_DEV_NAND
  203. select S3C_DEV_USB_HOST
  204. select S3C64XX_SETUP_FB_24BPP
  205. select SAMSUNG_DEV_PWM
  206. help
  207. Machine support for the Airgoo HMT
  208. config MACH_SMARTQ
  209. bool
  210. select CPU_S3C6410
  211. select S3C_DEV_HSMMC
  212. select S3C_DEV_HSMMC1
  213. select S3C_DEV_HSMMC2
  214. select S3C_DEV_FB
  215. select S3C_DEV_HWMON
  216. select S3C_DEV_RTC
  217. select S3C_DEV_USB_HSOTG
  218. select S3C_DEV_USB_HOST
  219. select S3C64XX_SETUP_SDHCI
  220. select S3C64XX_SETUP_FB_24BPP
  221. select SAMSUNG_DEV_ADC
  222. select SAMSUNG_DEV_PWM
  223. select SAMSUNG_DEV_TS
  224. help
  225. Shared machine support for SmartQ 5/7
  226. config MACH_SMARTQ5
  227. bool "SmartQ 5"
  228. select MACH_SMARTQ
  229. help
  230. Machine support for the SmartQ 5
  231. config MACH_SMARTQ7
  232. bool "SmartQ 7"
  233. select MACH_SMARTQ
  234. help
  235. Machine support for the SmartQ 7
  236. config MACH_WLF_CRAGG_6410
  237. bool "Wolfson Cragganmore 6410"
  238. select CPU_S3C6410
  239. select S3C64XX_SETUP_SDHCI
  240. select S3C64XX_SETUP_I2C1
  241. select S3C64XX_SETUP_IDE
  242. select S3C64XX_SETUP_FB_24BPP
  243. select S3C64XX_SETUP_KEYPAD
  244. select SAMSUNG_DEV_ADC
  245. select SAMSUNG_DEV_KEYPAD
  246. select S3C_DEV_USB_HOST
  247. select S3C_DEV_USB_HSOTG
  248. select S3C_DEV_HSMMC
  249. select S3C_DEV_HSMMC1
  250. select S3C_DEV_HSMMC2
  251. select S3C_DEV_I2C1
  252. select S3C_DEV_WDT
  253. select S3C_DEV_RTC
  254. select S3C64XX_DEV_SPI
  255. select S3C24XX_GPIO_EXTRA128
  256. select I2C
  257. help
  258. Machine support for the Wolfson Cragganmore S3C6410 variant.