Kconfig 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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. select SAMSUNG_WAKEMASK
  10. default y
  11. help
  12. Base platform code for any Samsung S3C64XX device
  13. # Configuration options for the S3C6410 CPU
  14. config CPU_S3C6400
  15. bool
  16. help
  17. Enable S3C6400 CPU support
  18. config CPU_S3C6410
  19. bool
  20. help
  21. Enable S3C6410 CPU support
  22. config S3C64XX_DMA
  23. bool "S3C64XX DMA"
  24. select S3C_DMA
  25. config S3C64XX_SETUP_SDHCI
  26. select S3C64XX_SETUP_SDHCI_GPIO
  27. bool
  28. help
  29. Internal configuration for default SDHCI setup for S3C6400 and
  30. S3C6410 SoCs.
  31. config S3C64XX_DEV_ONENAND1
  32. bool
  33. help
  34. Compile in platform device definition for OneNAND1 controller
  35. # platform specific device setup
  36. config S3C64XX_SETUP_I2C0
  37. bool
  38. default y
  39. help
  40. Common setup code for i2c bus 0.
  41. Note, currently since i2c0 is always compiled, this setup helper
  42. is always compiled with it.
  43. config S3C64XX_SETUP_I2C1
  44. bool
  45. help
  46. Common setup code for i2c bus 1.
  47. config S3C64XX_SETUP_IDE
  48. bool
  49. help
  50. Common setup code for S3C64XX IDE.
  51. config S3C64XX_SETUP_FB_24BPP
  52. bool
  53. help
  54. Common setup code for S3C64XX with an 24bpp RGB display helper.
  55. config S3C64XX_SETUP_SDHCI_GPIO
  56. bool
  57. help
  58. Common setup code for S3C64XX SDHCI GPIO configurations
  59. # S36400 Macchine support
  60. config MACH_SMDK6400
  61. bool "SMDK6400"
  62. select CPU_S3C6400
  63. select S3C_DEV_HSMMC
  64. select S3C_DEV_NAND
  65. select S3C64XX_SETUP_SDHCI
  66. help
  67. Machine support for the Samsung SMDK6400
  68. # S3C6410 machine support
  69. config MACH_ANW6410
  70. bool "A&W6410"
  71. select CPU_S3C6410
  72. select S3C_DEV_FB
  73. select S3C64XX_SETUP_FB_24BPP
  74. help
  75. Machine support for the A&W6410
  76. config MACH_SMDK6410
  77. bool "SMDK6410"
  78. select CPU_S3C6410
  79. select SAMSUNG_DEV_ADC
  80. select S3C_DEV_HSMMC
  81. select S3C_DEV_HSMMC1
  82. select S3C_DEV_I2C1
  83. select SAMSUNG_DEV_IDE
  84. select S3C_DEV_FB
  85. select SAMSUNG_DEV_TS
  86. select S3C_DEV_USB_HOST
  87. select S3C_DEV_USB_HSOTG
  88. select S3C_DEV_WDT
  89. select HAVE_S3C2410_WATCHDOG
  90. select S3C64XX_SETUP_SDHCI
  91. select S3C64XX_SETUP_I2C1
  92. select S3C64XX_SETUP_IDE
  93. select S3C64XX_SETUP_FB_24BPP
  94. help
  95. Machine support for the Samsung SMDK6410
  96. # At least some of the SMDK6410s were shipped with the card detect
  97. # for the MMC/SD slots connected to the same input. This means that
  98. # either the boards need to be altered to have channel0 to an alternate
  99. # configuration or that only one slot can be used.
  100. choice
  101. prompt "SMDK6410 MMC/SD slot setup"
  102. depends on MACH_SMDK6410
  103. config SMDK6410_SD_CH0
  104. bool "Use channel 0 only"
  105. depends on MACH_SMDK6410
  106. help
  107. Select CON7 (channel 0) as the MMC/SD slot, as
  108. at least some SMDK6410 boards come with the
  109. resistors fitted so that the card detects for
  110. channels 0 and 1 are the same.
  111. config SMDK6410_SD_CH1
  112. bool "Use channel 1 only"
  113. depends on MACH_SMDK6410
  114. help
  115. Select CON6 (channel 1) as the MMC/SD slot, as
  116. at least some SMDK6410 boards come with the
  117. resistors fitted so that the card detects for
  118. channels 0 and 1 are the same.
  119. endchoice
  120. config SMDK6410_WM1190_EV1
  121. bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
  122. depends on MACH_SMDK6410
  123. select REGULATOR
  124. select REGULATOR_WM8350
  125. select S3C24XX_GPIO_EXTRA64
  126. select MFD_WM8350_I2C
  127. select MFD_WM8350_CONFIG_MODE_0
  128. select MFD_WM8350_CONFIG_MODE_3
  129. select MFD_WM8352_CONFIG_MODE_0
  130. help
  131. The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
  132. and audio daughtercard for the Samsung SMDK6410 reference
  133. platform. Enabling this option will build support for this
  134. module into the kernel. The presence of the module will be
  135. detected at runtime so the the resulting kernel can be used
  136. with or without the 1190-EV1 fitted.
  137. config SMDK6410_WM1192_EV1
  138. bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
  139. depends on MACH_SMDK6410
  140. select REGULATOR
  141. select REGULATOR_WM831X
  142. select S3C24XX_GPIO_EXTRA64
  143. select MFD_WM831X
  144. help
  145. The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
  146. daughtercard for the Samsung SMDK6410 reference platform.
  147. Enabling this option will build support for this module into
  148. the kernel. The presence of the daughtercard will be
  149. detected at runtime so the the resulting kernel can be used
  150. with or without the 1192-EV1 fitted.
  151. config MACH_NCP
  152. bool "NCP"
  153. select CPU_S3C6410
  154. select S3C_DEV_I2C1
  155. select S3C_DEV_HSMMC1
  156. select S3C64XX_SETUP_I2C1
  157. help
  158. Machine support for the Samsung NCP
  159. config MACH_HMT
  160. bool "Airgoo HMT"
  161. select CPU_S3C6410
  162. select S3C_DEV_FB
  163. select S3C_DEV_NAND
  164. select S3C_DEV_USB_HOST
  165. select S3C64XX_SETUP_FB_24BPP
  166. select HAVE_PWM
  167. help
  168. Machine support for the Airgoo HMT
  169. config MACH_SMARTQ
  170. bool
  171. select CPU_S3C6410
  172. select S3C_DEV_HSMMC
  173. select S3C_DEV_HSMMC1
  174. select S3C_DEV_HSMMC2
  175. select S3C_DEV_FB
  176. select S3C_DEV_HWMON
  177. select S3C_DEV_RTC
  178. select S3C_DEV_USB_HSOTG
  179. select S3C_DEV_USB_HOST
  180. select S3C64XX_SETUP_SDHCI
  181. select S3C64XX_SETUP_FB_24BPP
  182. select SAMSUNG_DEV_ADC
  183. select SAMSUNG_DEV_TS
  184. select HAVE_PWM
  185. help
  186. Shared machine support for SmartQ 5/7
  187. config MACH_SMARTQ5
  188. bool "SmartQ 5"
  189. select MACH_SMARTQ
  190. help
  191. Machine support for the SmartQ 5
  192. config MACH_SMARTQ7
  193. bool "SmartQ 7"
  194. select MACH_SMARTQ
  195. help
  196. Machine support for the SmartQ 7