Kconfig 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. # Copyright 2008 Openmoko, Inc.
  2. # Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
  3. #
  4. # Licensed under GPLv2
  5. menuconfig ARCH_S3C64XX
  6. bool "Samsung S3C64XX"
  7. depends on ARCH_MULTI_V6
  8. select ARM_AMBA
  9. select ARM_VIC
  10. select CLKSRC_SAMSUNG_PWM
  11. select COMMON_CLK_SAMSUNG
  12. select GPIO_SAMSUNG if ATAGS
  13. select GPIOLIB
  14. select HAVE_S3C2410_I2C if I2C
  15. select HAVE_S3C2410_WATCHDOG if WATCHDOG
  16. select HAVE_TCM
  17. select PLAT_SAMSUNG
  18. select PM_GENERIC_DOMAINS if PM
  19. select S3C_DEV_NAND if ATAGS
  20. select S3C_GPIO_TRACK if ATAGS
  21. select SAMSUNG_ATAGS if ATAGS
  22. select SAMSUNG_WAKEMASK if PM
  23. select SAMSUNG_WDT_RESET
  24. help
  25. Samsung S3C64XX series based systems
  26. if ARCH_S3C64XX
  27. # Configuration options for the S3C6410 CPU
  28. config CPU_S3C6400
  29. bool
  30. help
  31. Enable S3C6400 CPU support
  32. config CPU_S3C6410
  33. bool
  34. help
  35. Enable S3C6410 CPU support
  36. config S3C64XX_PL080
  37. def_bool DMADEVICES
  38. select ARM_AMBA
  39. select AMBA_PL08X
  40. config S3C64XX_SETUP_SDHCI
  41. bool
  42. select S3C64XX_SETUP_SDHCI_GPIO
  43. help
  44. Internal configuration for default SDHCI setup for S3C6400 and
  45. S3C6410 SoCs.
  46. config S3C64XX_DEV_ONENAND1
  47. bool
  48. help
  49. Compile in platform device definition for OneNAND1 controller
  50. config SAMSUNG_DEV_BACKLIGHT
  51. bool
  52. depends on SAMSUNG_DEV_PWM
  53. help
  54. Compile in platform device definition LCD backlight with PWM Timer
  55. # platform specific device setup
  56. config S3C64XX_SETUP_I2C0
  57. bool
  58. default y
  59. help
  60. Common setup code for i2c bus 0.
  61. Note, currently since i2c0 is always compiled, this setup helper
  62. is always compiled with it.
  63. config S3C64XX_SETUP_I2C1
  64. bool
  65. help
  66. Common setup code for i2c bus 1.
  67. config S3C64XX_SETUP_IDE
  68. bool
  69. help
  70. Common setup code for S3C64XX IDE.
  71. config S3C64XX_SETUP_FB_24BPP
  72. bool
  73. help
  74. Common setup code for S3C64XX with an 24bpp RGB display helper.
  75. config S3C64XX_SETUP_KEYPAD
  76. bool
  77. help
  78. Common setup code for S3C64XX KEYPAD GPIO configurations
  79. config S3C64XX_SETUP_SDHCI_GPIO
  80. bool
  81. help
  82. Common setup code for S3C64XX SDHCI GPIO configurations
  83. config S3C64XX_SETUP_SPI
  84. bool
  85. help
  86. Common setup code for SPI GPIO configurations
  87. config S3C64XX_SETUP_USB_PHY
  88. bool
  89. help
  90. Common setup code for USB PHY controller
  91. # S36400 Macchine support
  92. config MACH_SMDK6400
  93. bool "SMDK6400"
  94. depends on ATAGS
  95. select CPU_S3C6400
  96. select S3C64XX_SETUP_SDHCI
  97. select S3C_DEV_HSMMC1
  98. help
  99. Machine support for the Samsung SMDK6400
  100. # S3C6410 machine support
  101. config MACH_ANW6410
  102. bool "A&W6410"
  103. depends on ATAGS
  104. select CPU_S3C6410
  105. select S3C64XX_SETUP_FB_24BPP
  106. select S3C_DEV_FB
  107. help
  108. Machine support for the A&W6410
  109. config MACH_MINI6410
  110. bool "MINI6410"
  111. depends on ATAGS
  112. select CPU_S3C6410
  113. select S3C64XX_SETUP_FB_24BPP
  114. select S3C64XX_SETUP_SDHCI
  115. select S3C_DEV_FB
  116. select S3C_DEV_HSMMC
  117. select S3C_DEV_HSMMC1
  118. select S3C_DEV_NAND
  119. select S3C_DEV_USB_HOST
  120. select SAMSUNG_DEV_ADC
  121. select SAMSUNG_DEV_TS
  122. help
  123. Machine support for the FriendlyARM MINI6410
  124. config MACH_REAL6410
  125. bool "REAL6410"
  126. depends on ATAGS
  127. select CPU_S3C6410
  128. select S3C64XX_SETUP_FB_24BPP
  129. select S3C64XX_SETUP_SDHCI
  130. select S3C_DEV_FB
  131. select S3C_DEV_HSMMC
  132. select S3C_DEV_HSMMC1
  133. select S3C_DEV_NAND
  134. select S3C_DEV_USB_HOST
  135. select SAMSUNG_DEV_ADC
  136. select SAMSUNG_DEV_TS
  137. help
  138. Machine support for the CoreWind REAL6410
  139. config MACH_SMDK6410
  140. bool "SMDK6410"
  141. depends on ATAGS
  142. select CPU_S3C6410
  143. select HAVE_S3C2410_WATCHDOG if WATCHDOG
  144. select S3C64XX_SETUP_FB_24BPP
  145. select S3C64XX_SETUP_I2C1
  146. select S3C64XX_SETUP_IDE
  147. select S3C64XX_SETUP_KEYPAD
  148. select S3C64XX_SETUP_SDHCI
  149. select S3C64XX_SETUP_USB_PHY
  150. select S3C_DEV_FB
  151. select S3C_DEV_HSMMC
  152. select S3C_DEV_HSMMC1
  153. select S3C_DEV_I2C1
  154. select S3C_DEV_RTC
  155. select S3C_DEV_USB_HOST
  156. select S3C_DEV_USB_HSOTG
  157. select S3C_DEV_WDT
  158. select SAMSUNG_DEV_ADC
  159. select SAMSUNG_DEV_BACKLIGHT
  160. select SAMSUNG_DEV_IDE
  161. select SAMSUNG_DEV_KEYPAD
  162. select SAMSUNG_DEV_PWM
  163. select SAMSUNG_DEV_TS
  164. help
  165. Machine support for the Samsung SMDK6410
  166. # At least some of the SMDK6410s were shipped with the card detect
  167. # for the MMC/SD slots connected to the same input. This means that
  168. # either the boards need to be altered to have channel0 to an alternate
  169. # configuration or that only one slot can be used.
  170. choice
  171. prompt "SMDK6410 MMC/SD slot setup"
  172. depends on MACH_SMDK6410
  173. config SMDK6410_SD_CH0
  174. bool "Use channel 0 only"
  175. depends on MACH_SMDK6410
  176. help
  177. Select CON7 (channel 0) as the MMC/SD slot, as
  178. at least some SMDK6410 boards come with the
  179. resistors fitted so that the card detects for
  180. channels 0 and 1 are the same.
  181. config SMDK6410_SD_CH1
  182. bool "Use channel 1 only"
  183. depends on MACH_SMDK6410
  184. help
  185. Select CON6 (channel 1) as the MMC/SD slot, as
  186. at least some SMDK6410 boards come with the
  187. resistors fitted so that the card detects for
  188. channels 0 and 1 are the same.
  189. endchoice
  190. config SMDK6410_WM1190_EV1
  191. bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
  192. depends on MACH_SMDK6410
  193. depends on I2C=y
  194. select MFD_WM8350_I2C
  195. select REGULATOR
  196. select REGULATOR_WM8350
  197. help
  198. The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
  199. and audio daughtercard for the Samsung SMDK6410 reference
  200. platform. Enabling this option will build support for this
  201. module into the kernel. The presence of the module will be
  202. detected at runtime so the resulting kernel can be used
  203. with or without the 1190-EV1 fitted.
  204. config SMDK6410_WM1192_EV1
  205. bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
  206. depends on MACH_SMDK6410
  207. depends on I2C=y
  208. select MFD_WM831X
  209. select MFD_WM831X_I2C
  210. select REGULATOR
  211. select REGULATOR_WM831X
  212. help
  213. The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
  214. daughtercard for the Samsung SMDK6410 reference platform.
  215. Enabling this option will build support for this module into
  216. the kernel. The presence of the daughtercard will be
  217. detected at runtime so the resulting kernel can be used
  218. with or without the 1192-EV1 fitted.
  219. config MACH_NCP
  220. bool "NCP"
  221. depends on ATAGS
  222. select CPU_S3C6410
  223. select S3C64XX_SETUP_I2C1
  224. select S3C_DEV_HSMMC1
  225. select S3C_DEV_I2C1
  226. help
  227. Machine support for the Samsung NCP
  228. config MACH_HMT
  229. bool "Airgoo HMT"
  230. depends on ATAGS
  231. select CPU_S3C6410
  232. select S3C64XX_SETUP_FB_24BPP
  233. select S3C_DEV_FB
  234. select S3C_DEV_NAND
  235. select S3C_DEV_USB_HOST
  236. select SAMSUNG_DEV_PWM
  237. help
  238. Machine support for the Airgoo HMT
  239. config MACH_SMARTQ
  240. bool
  241. select CPU_S3C6410
  242. select S3C64XX_SETUP_FB_24BPP
  243. select S3C64XX_SETUP_SDHCI
  244. select S3C64XX_SETUP_USB_PHY
  245. select S3C_DEV_FB
  246. select S3C_DEV_HSMMC
  247. select S3C_DEV_HSMMC1
  248. select S3C_DEV_HSMMC2
  249. select S3C_DEV_HWMON
  250. select S3C_DEV_RTC
  251. select S3C_DEV_USB_HOST
  252. select S3C_DEV_USB_HSOTG
  253. select SAMSUNG_DEV_ADC
  254. select SAMSUNG_DEV_PWM
  255. select SAMSUNG_DEV_TS
  256. help
  257. Shared machine support for SmartQ 5/7
  258. config MACH_SMARTQ5
  259. bool "SmartQ 5"
  260. depends on ATAGS
  261. select MACH_SMARTQ
  262. help
  263. Machine support for the SmartQ 5
  264. config MACH_SMARTQ7
  265. bool "SmartQ 7"
  266. depends on ATAGS
  267. select MACH_SMARTQ
  268. help
  269. Machine support for the SmartQ 7
  270. config MACH_WLF_CRAGG_6410
  271. bool "Wolfson Cragganmore 6410"
  272. depends on ATAGS
  273. depends on I2C=y
  274. select CPU_S3C6410
  275. select LEDS_GPIO_REGISTER
  276. select S3C64XX_DEV_SPI0
  277. select S3C64XX_SETUP_FB_24BPP
  278. select S3C64XX_SETUP_I2C1
  279. select S3C64XX_SETUP_IDE
  280. select S3C64XX_SETUP_KEYPAD
  281. select S3C64XX_SETUP_SDHCI
  282. select S3C64XX_SETUP_SPI
  283. select S3C64XX_SETUP_USB_PHY
  284. select S3C_DEV_FB
  285. select S3C_DEV_HSMMC
  286. select S3C_DEV_HSMMC1
  287. select S3C_DEV_HSMMC2
  288. select S3C_DEV_I2C1
  289. select S3C_DEV_RTC
  290. select S3C_DEV_USB_HOST
  291. select S3C_DEV_USB_HSOTG
  292. select S3C_DEV_WDT
  293. select SAMSUNG_DEV_ADC
  294. select SAMSUNG_DEV_KEYPAD
  295. select SAMSUNG_DEV_PWM
  296. help
  297. Machine support for the Wolfson Cragganmore S3C6410 variant.
  298. config MACH_S3C64XX_DT
  299. bool "Samsung S3C6400/S3C6410 machine using Device Tree"
  300. select CLKSRC_OF
  301. select CPU_S3C6400
  302. select CPU_S3C6410
  303. select PINCTRL
  304. select PINCTRL_S3C64XX
  305. help
  306. Machine support for Samsung S3C6400/S3C6410 machines with Device Tree
  307. enabled.
  308. Select this if a fdt blob is available for your S3C64XX SoC based
  309. board.
  310. Note: This is under development and not all peripherals can be
  311. supported with this machine file.
  312. endif