Kconfig 3.6 KB

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