Kconfig 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. # Copyright 2008 Openmoko, Inc.
  2. # Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
  3. #
  4. # Licensed under GPLv2
  5. # Configuration options for the S3C6410 CPU
  6. config CPU_S3C6400
  7. bool
  8. select CPU_S3C6400_INIT
  9. select CPU_S3C6400_CLOCK
  10. help
  11. Enable S3C6400 CPU support
  12. config CPU_S3C6410
  13. bool
  14. select CPU_S3C6400_INIT
  15. select CPU_S3C6400_CLOCK
  16. help
  17. Enable S3C6410 CPU support
  18. config S3C64XX_DMA
  19. bool "S3C64XX DMA"
  20. select S3C_DMA
  21. config S3C64XX_SETUP_SDHCI
  22. select S3C64XX_SETUP_SDHCI_GPIO
  23. bool
  24. help
  25. Internal configuration for default SDHCI setup for S3C6400 and
  26. S3C6410 SoCs.
  27. # platform specific device setup
  28. config S3C64XX_SETUP_I2C0
  29. bool
  30. default y
  31. help
  32. Common setup code for i2c bus 0.
  33. Note, currently since i2c0 is always compiled, this setup helper
  34. is always compiled with it.
  35. config S3C64XX_SETUP_I2C1
  36. bool
  37. help
  38. Common setup code for i2c bus 1.
  39. config S3C64XX_SETUP_FB_24BPP
  40. bool
  41. help
  42. Common setup code for S3C64XX with an 24bpp RGB display helper.
  43. config S3C64XX_SETUP_SDHCI_GPIO
  44. bool
  45. help
  46. Common setup code for S3C64XX SDHCI GPIO configurations
  47. # S36400 Macchine support
  48. config MACH_SMDK6400
  49. bool "SMDK6400"
  50. select CPU_S3C6400
  51. select S3C_DEV_HSMMC
  52. select S3C_DEV_NAND
  53. select S3C64XX_SETUP_SDHCI
  54. help
  55. Machine support for the Samsung SMDK6400
  56. # S3C6410 machine support
  57. config MACH_ANW6410
  58. bool "A&W6410"
  59. select CPU_S3C6410
  60. select S3C_DEV_FB
  61. select S3C64XX_SETUP_FB_24BPP
  62. help
  63. Machine support for the A&W6410
  64. config MACH_SMDK6410
  65. bool "SMDK6410"
  66. select CPU_S3C6410
  67. select S3C_DEV_HSMMC
  68. select S3C_DEV_HSMMC1
  69. select S3C_DEV_I2C1
  70. select S3C_DEV_FB
  71. select S3C_DEV_USB_HOST
  72. select S3C_DEV_USB_HSOTG
  73. select S3C64XX_SETUP_SDHCI
  74. select S3C64XX_SETUP_I2C1
  75. select S3C64XX_SETUP_FB_24BPP
  76. help
  77. Machine support for the Samsung SMDK6410
  78. # At least some of the SMDK6410s were shipped with the card detect
  79. # for the MMC/SD slots connected to the same input. This means that
  80. # either the boards need to be altered to have channel0 to an alternate
  81. # configuration or that only one slot can be used.
  82. choice
  83. prompt "SMDK6410 MMC/SD slot setup"
  84. depends on MACH_SMDK6410
  85. config SMDK6410_SD_CH0
  86. bool "Use channel 0 only"
  87. depends on MACH_SMDK6410
  88. help
  89. Select CON7 (channel 0) as the MMC/SD slot, as
  90. at least some SMDK6410 boards come with the
  91. resistors fitted so that the card detects for
  92. channels 0 and 1 are the same.
  93. config SMDK6410_SD_CH1
  94. bool "Use channel 1 only"
  95. depends on MACH_SMDK6410
  96. help
  97. Select CON6 (channel 1) 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. endchoice
  102. config SMDK6410_WM1190_EV1
  103. bool "Support Wolfson Microelectronics 1190-EV1 PMIC card"
  104. depends on MACH_SMDK6410
  105. select REGULATOR
  106. select REGULATOR_WM8350
  107. select S3C24XX_GPIO_EXTRA64
  108. select MFD_WM8350_I2C
  109. select MFD_WM8350_CONFIG_MODE_0
  110. select MFD_WM8350_CONFIG_MODE_3
  111. select MFD_WM8352_CONFIG_MODE_0
  112. help
  113. The Wolfson Microelectronics 1190-EV1 is a WM835x based PMIC
  114. and audio daughtercard for the Samsung SMDK6410 reference
  115. platform. Enabling this option will build support for this
  116. module into the kernel. The presence of the module will be
  117. detected at runtime so the the resulting kernel can be used
  118. with or without the 1190-EV1 fitted.
  119. config MACH_NCP
  120. bool "NCP"
  121. select CPU_S3C6410
  122. select S3C_DEV_I2C1
  123. select S3C_DEV_HSMMC1
  124. select S3C64XX_SETUP_I2C1
  125. help
  126. Machine support for the Samsung NCP
  127. config MACH_HMT
  128. bool "Airgoo HMT"
  129. select CPU_S3C6410
  130. select S3C_DEV_FB
  131. select S3C_DEV_NAND
  132. select S3C_DEV_USB_HOST
  133. select S3C64XX_SETUP_FB_24BPP
  134. select HAVE_PWM
  135. help
  136. Machine support for the Airgoo HMT