Kconfig 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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 S3C64XX_SETUP_SDHCI
  79. select S3C64XX_SETUP_I2C1
  80. select S3C64XX_SETUP_FB_24BPP
  81. help
  82. Machine support for the Samsung SMDK6410
  83. # At least some of the SMDK6410s were shipped with the card detect
  84. # for the MMC/SD slots connected to the same input. This means that
  85. # either the boards need to be altered to have channel0 to an alternate
  86. # configuration or that only one slot can be used.
  87. choice
  88. prompt "SMDK6410 MMC/SD slot setup"
  89. depends on MACH_SMDK6410
  90. config SMDK6410_SD_CH0
  91. bool "Use channel 0 only"
  92. depends on MACH_SMDK6410
  93. help
  94. Select CON7 (channel 0) as the MMC/SD slot, as
  95. at least some SMDK6410 boards come with the
  96. resistors fitted so that the card detects for
  97. channels 0 and 1 are the same.
  98. config SMDK6410_SD_CH1
  99. bool "Use channel 1 only"
  100. depends on MACH_SMDK6410
  101. help
  102. Select CON6 (channel 1) as the MMC/SD slot, as
  103. at least some SMDK6410 boards come with the
  104. resistors fitted so that the card detects for
  105. channels 0 and 1 are the same.
  106. endchoice
  107. config SMDK6410_WM1190_EV1
  108. bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
  109. depends on MACH_SMDK6410
  110. select REGULATOR
  111. select REGULATOR_WM8350
  112. select S3C24XX_GPIO_EXTRA64
  113. select MFD_WM8350_I2C
  114. select MFD_WM8350_CONFIG_MODE_0
  115. select MFD_WM8350_CONFIG_MODE_3
  116. select MFD_WM8352_CONFIG_MODE_0
  117. help
  118. The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
  119. and audio daughtercard for the Samsung SMDK6410 reference
  120. platform. Enabling this option will build support for this
  121. module into the kernel. The presence of the module will be
  122. detected at runtime so the the resulting kernel can be used
  123. with or without the 1190-EV1 fitted.
  124. config SMDK6410_WM1192_EV1
  125. bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
  126. depends on MACH_SMDK6410
  127. select REGULATOR
  128. select REGULATOR_WM831X
  129. select S3C24XX_GPIO_EXTRA64
  130. select MFD_WM831X
  131. help
  132. The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
  133. daughtercard for the Samsung SMDK6410 reference platform.
  134. Enabling this option will build support for this module into
  135. the kernel. The presence of the daughtercard will be
  136. detected at runtime so the the resulting kernel can be used
  137. with or without the 1192-EV1 fitted.
  138. config MACH_NCP
  139. bool "NCP"
  140. select CPU_S3C6410
  141. select S3C_DEV_I2C1
  142. select S3C_DEV_HSMMC1
  143. select S3C64XX_SETUP_I2C1
  144. help
  145. Machine support for the Samsung NCP
  146. config MACH_HMT
  147. bool "Airgoo HMT"
  148. select CPU_S3C6410
  149. select S3C_DEV_FB
  150. select S3C_DEV_NAND
  151. select S3C_DEV_USB_HOST
  152. select S3C64XX_SETUP_FB_24BPP
  153. select HAVE_PWM
  154. help
  155. Machine support for the Airgoo HMT
  156. config MACH_SMARTQ
  157. bool
  158. select CPU_S3C6410
  159. select S3C_DEV_HSMMC
  160. select S3C_DEV_HSMMC1
  161. select S3C_DEV_HSMMC2
  162. select S3C_DEV_FB
  163. select S3C_DEV_HWMON
  164. select S3C_DEV_RTC
  165. select S3C_DEV_USB_HSOTG
  166. select S3C_DEV_USB_HOST
  167. select S3C64XX_SETUP_SDHCI
  168. select S3C64XX_SETUP_FB_24BPP
  169. select SAMSUNG_DEV_ADC
  170. select SAMSUNG_DEV_TS
  171. select HAVE_PWM
  172. help
  173. Shared machine support for SmartQ 5/7
  174. config MACH_SMARTQ5
  175. bool "SmartQ 5"
  176. select MACH_SMARTQ
  177. help
  178. Machine support for the SmartQ 5
  179. config MACH_SMARTQ7
  180. bool "SmartQ 7"
  181. select MACH_SMARTQ
  182. help
  183. Machine support for the SmartQ 7