Kconfig 6.7 KB

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