Kconfig 5.1 KB

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