Kconfig 7.2 KB

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