Kconfig 7.0 KB

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