Kconfig 7.1 KB

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