Kconfig 6.8 KB

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