Kconfig 3.6 KB

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