Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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 S3C_DEV_HSMMC
  71. select S3C_DEV_HSMMC1
  72. select S3C_DEV_I2C1
  73. select S3C_DEV_FB
  74. select S3C_DEV_USB_HOST
  75. select S3C_DEV_USB_HSOTG
  76. select S3C64XX_SETUP_SDHCI
  77. select S3C64XX_SETUP_I2C1
  78. select S3C64XX_SETUP_FB_24BPP
  79. help
  80. Machine support for the Samsung SMDK6410
  81. # At least some of the SMDK6410s were shipped with the card detect
  82. # for the MMC/SD slots connected to the same input. This means that
  83. # either the boards need to be altered to have channel0 to an alternate
  84. # configuration or that only one slot can be used.
  85. choice
  86. prompt "SMDK6410 MMC/SD slot setup"
  87. depends on MACH_SMDK6410
  88. config SMDK6410_SD_CH0
  89. bool "Use channel 0 only"
  90. depends on MACH_SMDK6410
  91. help
  92. Select CON7 (channel 0) as the MMC/SD slot, as
  93. at least some SMDK6410 boards come with the
  94. resistors fitted so that the card detects for
  95. channels 0 and 1 are the same.
  96. config SMDK6410_SD_CH1
  97. bool "Use channel 1 only"
  98. depends on MACH_SMDK6410
  99. help
  100. Select CON6 (channel 1) 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. endchoice
  105. config SMDK6410_WM1190_EV1
  106. bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
  107. depends on MACH_SMDK6410
  108. select REGULATOR
  109. select REGULATOR_WM8350
  110. select S3C24XX_GPIO_EXTRA64
  111. select MFD_WM8350_I2C
  112. select MFD_WM8350_CONFIG_MODE_0
  113. select MFD_WM8350_CONFIG_MODE_3
  114. select MFD_WM8352_CONFIG_MODE_0
  115. help
  116. The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
  117. and audio daughtercard for the Samsung SMDK6410 reference
  118. platform. Enabling this option will build support for this
  119. module into the kernel. The presence of the module will be
  120. detected at runtime so the the resulting kernel can be used
  121. with or without the 1190-EV1 fitted.
  122. config SMDK6410_WM1192_EV1
  123. bool "Support Wolfson Microelectronics 1192-EV1 PMIC card"
  124. depends on MACH_SMDK6410
  125. select REGULATOR
  126. select REGULATOR_WM831X
  127. select S3C24XX_GPIO_EXTRA64
  128. select MFD_WM831X
  129. help
  130. The Wolfson Microelectronics 1192-EV1 is a WM831x based PMIC
  131. daughtercard for the Samsung SMDK6410 reference platform.
  132. Enabling this option will build support for this module into
  133. the kernel. The presence of the daughtercard will be
  134. detected at runtime so the the resulting kernel can be used
  135. with or without the 1192-EV1 fitted.
  136. config MACH_NCP
  137. bool "NCP"
  138. select CPU_S3C6410
  139. select S3C_DEV_I2C1
  140. select S3C_DEV_HSMMC1
  141. select S3C64XX_SETUP_I2C1
  142. help
  143. Machine support for the Samsung NCP
  144. config MACH_HMT
  145. bool "Airgoo HMT"
  146. select CPU_S3C6410
  147. select S3C_DEV_FB
  148. select S3C_DEV_NAND
  149. select S3C_DEV_USB_HOST
  150. select S3C64XX_SETUP_FB_24BPP
  151. select HAVE_PWM
  152. help
  153. Machine support for the Airgoo HMT