Kconfig 4.4 KB

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