Kconfig 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  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. config S3C64XX_SETUP_SPI
  65. bool
  66. help
  67. Common setup code for SPI GPIO configurations
  68. # S36400 Macchine support
  69. config MACH_SMDK6400
  70. bool "SMDK6400"
  71. select CPU_S3C6400
  72. select S3C_DEV_HSMMC
  73. select S3C_DEV_NAND
  74. select S3C64XX_SETUP_SDHCI
  75. help
  76. Machine support for the Samsung SMDK6400
  77. # S3C6410 machine support
  78. config MACH_ANW6410
  79. bool "A&W6410"
  80. select CPU_S3C6410
  81. select S3C_DEV_FB
  82. select S3C64XX_SETUP_FB_24BPP
  83. help
  84. Machine support for the A&W6410
  85. config MACH_MINI6410
  86. bool "MINI6410"
  87. select CPU_S3C6410
  88. select S3C_DEV_HSMMC
  89. select S3C_DEV_HSMMC1
  90. select S3C64XX_SETUP_SDHCI
  91. select S3C_DEV_USB_HOST
  92. select S3C_DEV_NAND
  93. select S3C_DEV_FB
  94. select S3C64XX_SETUP_FB_24BPP
  95. select SAMSUNG_DEV_ADC
  96. select SAMSUNG_DEV_TS
  97. help
  98. Machine support for the FriendlyARM MINI6410
  99. config MACH_REAL6410
  100. bool "REAL6410"
  101. select CPU_S3C6410
  102. select S3C_DEV_HSMMC
  103. select S3C_DEV_HSMMC1
  104. select S3C64XX_SETUP_SDHCI
  105. select S3C_DEV_FB
  106. select S3C64XX_SETUP_FB_24BPP
  107. select S3C_DEV_NAND
  108. select SAMSUNG_DEV_ADC
  109. select SAMSUNG_DEV_TS
  110. select S3C_DEV_USB_HOST
  111. help
  112. Machine support for the CoreWind REAL6410
  113. config MACH_SMDK6410
  114. bool "SMDK6410"
  115. select CPU_S3C6410
  116. select SAMSUNG_DEV_ADC
  117. select S3C_DEV_HSMMC
  118. select S3C_DEV_HSMMC1
  119. select S3C_DEV_I2C1
  120. select SAMSUNG_DEV_IDE
  121. select S3C_DEV_FB
  122. select S3C_DEV_RTC
  123. select SAMSUNG_DEV_TS
  124. select S3C_DEV_USB_HOST
  125. select S3C_DEV_USB_HSOTG
  126. select S3C_DEV_WDT
  127. select SAMSUNG_DEV_BACKLIGHT
  128. select SAMSUNG_DEV_KEYPAD
  129. select SAMSUNG_DEV_PWM
  130. select HAVE_S3C2410_WATCHDOG if WATCHDOG
  131. select S3C64XX_SETUP_SDHCI
  132. select S3C64XX_SETUP_I2C1
  133. select S3C64XX_SETUP_IDE
  134. select S3C64XX_SETUP_FB_24BPP
  135. select S3C64XX_SETUP_KEYPAD
  136. help
  137. Machine support for the Samsung SMDK6410
  138. # At least some of the SMDK6410s were shipped with the card detect
  139. # for the MMC/SD slots connected to the same input. This means that
  140. # either the boards need to be altered to have channel0 to an alternate
  141. # configuration or that only one slot can be used.
  142. choice
  143. prompt "SMDK6410 MMC/SD slot setup"
  144. depends on MACH_SMDK6410
  145. config SMDK6410_SD_CH0
  146. bool "Use channel 0 only"
  147. depends on MACH_SMDK6410
  148. help
  149. Select CON7 (channel 0) as the MMC/SD slot, as
  150. at least some SMDK6410 boards come with the
  151. resistors fitted so that the card detects for
  152. channels 0 and 1 are the same.
  153. config SMDK6410_SD_CH1
  154. bool "Use channel 1 only"
  155. depends on MACH_SMDK6410
  156. help
  157. Select CON6 (channel 1) as the MMC/SD slot, as
  158. at least some SMDK6410 boards come with the
  159. resistors fitted so that the card detects for
  160. channels 0 and 1 are the same.
  161. endchoice
  162. config SMDK6410_WM1190_EV1
  163. bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
  164. depends on MACH_SMDK6410
  165. select REGULATOR
  166. select REGULATOR_WM8350
  167. select SAMSUNG_GPIO_EXTRA64
  168. select MFD_WM8350_I2C
  169. select MFD_WM8350_CONFIG_MODE_0
  170. select MFD_WM8350_CONFIG_MODE_3
  171. select MFD_WM8352_CONFIG_MODE_0
  172. help
  173. The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
  174. and audio daughtercard for the Samsung SMDK6410 reference
  175. platform. Enabling this option will build support for this
  176. module into the kernel. The presence of the module will be
  177. detected at runtime so the the resulting kernel can be used
  178. with or without the 1190-EV1 fitted.
  179. config SMDK6410_WM1192_EV1
  180. bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
  181. depends on MACH_SMDK6410
  182. select REGULATOR
  183. select REGULATOR_WM831X
  184. select SAMSUNG_GPIO_EXTRA64
  185. select MFD_WM831X
  186. select MFD_WM831X_I2C
  187. help
  188. The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
  189. daughtercard for the Samsung SMDK6410 reference platform.
  190. Enabling this option will build support for this module into
  191. the kernel. The presence of the daughtercard will be
  192. detected at runtime so the the resulting kernel can be used
  193. with or without the 1192-EV1 fitted.
  194. config MACH_NCP
  195. bool "NCP"
  196. select CPU_S3C6410
  197. select S3C_DEV_I2C1
  198. select S3C_DEV_HSMMC1
  199. select S3C64XX_SETUP_I2C1
  200. help
  201. Machine support for the Samsung NCP
  202. config MACH_HMT
  203. bool "Airgoo HMT"
  204. select CPU_S3C6410
  205. select S3C_DEV_FB
  206. select S3C_DEV_NAND
  207. select S3C_DEV_USB_HOST
  208. select S3C64XX_SETUP_FB_24BPP
  209. select SAMSUNG_DEV_PWM
  210. help
  211. Machine support for the Airgoo HMT
  212. config MACH_SMARTQ
  213. bool
  214. select CPU_S3C6410
  215. select S3C_DEV_HSMMC
  216. select S3C_DEV_HSMMC1
  217. select S3C_DEV_HSMMC2
  218. select S3C_DEV_FB
  219. select S3C_DEV_HWMON
  220. select S3C_DEV_RTC
  221. select S3C_DEV_USB_HSOTG
  222. select S3C_DEV_USB_HOST
  223. select S3C64XX_SETUP_SDHCI
  224. select S3C64XX_SETUP_FB_24BPP
  225. select SAMSUNG_DEV_ADC
  226. select SAMSUNG_DEV_PWM
  227. select SAMSUNG_DEV_TS
  228. help
  229. Shared machine support for SmartQ 5/7
  230. config MACH_SMARTQ5
  231. bool "SmartQ 5"
  232. select MACH_SMARTQ
  233. help
  234. Machine support for the SmartQ 5
  235. config MACH_SMARTQ7
  236. bool "SmartQ 7"
  237. select MACH_SMARTQ
  238. help
  239. Machine support for the SmartQ 7
  240. config MACH_WLF_CRAGG_6410
  241. bool "Wolfson Cragganmore 6410"
  242. select CPU_S3C6410
  243. select S3C64XX_SETUP_SDHCI
  244. select S3C64XX_SETUP_I2C1
  245. select S3C64XX_SETUP_IDE
  246. select S3C64XX_SETUP_FB_24BPP
  247. select S3C64XX_SETUP_KEYPAD
  248. select S3C64XX_SETUP_SPI
  249. select SAMSUNG_DEV_ADC
  250. select SAMSUNG_DEV_KEYPAD
  251. select S3C_DEV_USB_HOST
  252. select S3C_DEV_USB_HSOTG
  253. select S3C_DEV_HSMMC
  254. select S3C_DEV_HSMMC1
  255. select S3C_DEV_HSMMC2
  256. select S3C_DEV_I2C1
  257. select S3C_DEV_WDT
  258. select S3C_DEV_RTC
  259. select S3C64XX_DEV_SPI0
  260. select SAMSUNG_GPIO_EXTRA128
  261. select I2C
  262. help
  263. Machine support for the Wolfson Cragganmore S3C6410 variant.