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