Kconfig 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  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_CONFIG_MODE_0
  173. select MFD_WM8350_CONFIG_MODE_3
  174. select MFD_WM8350_I2C
  175. select MFD_WM8352_CONFIG_MODE_0
  176. select REGULATOR
  177. select REGULATOR_WM8350
  178. select SAMSUNG_GPIO_EXTRA64
  179. help
  180. The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
  181. and audio daughtercard for the Samsung SMDK6410 reference
  182. platform. Enabling this option will build support for this
  183. module into the kernel. The presence of the module will be
  184. detected at runtime so the resulting kernel can be used
  185. with or without the 1190-EV1 fitted.
  186. config SMDK6410_WM1192_EV1
  187. bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
  188. depends on MACH_SMDK6410
  189. select MFD_WM831X
  190. select MFD_WM831X_I2C
  191. select REGULATOR
  192. select REGULATOR_WM831X
  193. select SAMSUNG_GPIO_EXTRA64
  194. help
  195. The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
  196. daughtercard for the Samsung SMDK6410 reference platform.
  197. Enabling this option will build support for this module into
  198. the kernel. The presence of the daughtercard will be
  199. detected at runtime so the resulting kernel can be used
  200. with or without the 1192-EV1 fitted.
  201. config MACH_NCP
  202. bool "NCP"
  203. select CPU_S3C6410
  204. select S3C64XX_SETUP_I2C1
  205. select S3C_DEV_HSMMC1
  206. select S3C_DEV_I2C1
  207. help
  208. Machine support for the Samsung NCP
  209. config MACH_HMT
  210. bool "Airgoo HMT"
  211. select CPU_S3C6410
  212. select S3C64XX_SETUP_FB_24BPP
  213. select S3C_DEV_FB
  214. select S3C_DEV_NAND
  215. select S3C_DEV_USB_HOST
  216. select SAMSUNG_DEV_PWM
  217. help
  218. Machine support for the Airgoo HMT
  219. config MACH_SMARTQ
  220. bool
  221. select CPU_S3C6410
  222. select S3C64XX_SETUP_FB_24BPP
  223. select S3C64XX_SETUP_SDHCI
  224. select S3C64XX_SETUP_USB_PHY
  225. select S3C_DEV_FB
  226. select S3C_DEV_HSMMC
  227. select S3C_DEV_HSMMC1
  228. select S3C_DEV_HSMMC2
  229. select S3C_DEV_HWMON
  230. select S3C_DEV_RTC
  231. select S3C_DEV_USB_HOST
  232. select S3C_DEV_USB_HSOTG
  233. select SAMSUNG_DEV_ADC
  234. select SAMSUNG_DEV_PWM
  235. select SAMSUNG_DEV_TS
  236. help
  237. Shared machine support for SmartQ 5/7
  238. config MACH_SMARTQ5
  239. bool "SmartQ 5"
  240. select MACH_SMARTQ
  241. help
  242. Machine support for the SmartQ 5
  243. config MACH_SMARTQ7
  244. bool "SmartQ 7"
  245. select MACH_SMARTQ
  246. help
  247. Machine support for the SmartQ 7
  248. config MACH_WLF_CRAGG_6410
  249. bool "Wolfson Cragganmore 6410"
  250. select CPU_S3C6410
  251. select I2C
  252. select LEDS_GPIO_REGISTER
  253. select S3C64XX_DEV_SPI0
  254. select S3C64XX_SETUP_FB_24BPP
  255. select S3C64XX_SETUP_I2C1
  256. select S3C64XX_SETUP_IDE
  257. select S3C64XX_SETUP_KEYPAD
  258. select S3C64XX_SETUP_SDHCI
  259. select S3C64XX_SETUP_SPI
  260. select S3C64XX_SETUP_USB_PHY
  261. select S3C_DEV_FB
  262. select S3C_DEV_HSMMC
  263. select S3C_DEV_HSMMC1
  264. select S3C_DEV_HSMMC2
  265. select S3C_DEV_I2C1
  266. select S3C_DEV_RTC
  267. select S3C_DEV_USB_HOST
  268. select S3C_DEV_USB_HSOTG
  269. select S3C_DEV_WDT
  270. select SAMSUNG_DEV_ADC
  271. select SAMSUNG_DEV_KEYPAD
  272. select SAMSUNG_DEV_PWM
  273. select SAMSUNG_GPIO_EXTRA128
  274. help
  275. Machine support for the Wolfson Cragganmore S3C6410 variant.