Kconfig 5.0 KB

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