Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. # Copyright 2007 Simtec Electronics
  2. #
  3. # Licensed under GPLv2
  4. config PLAT_S3C24XX
  5. bool
  6. depends on ARCH_S3C2410 || ARCH_S3C24A0
  7. default y
  8. select NO_IOPORT
  9. select ARCH_REQUIRE_GPIOLIB
  10. select S3C_DEV_NAND
  11. select S3C_GPIO_CFG_S3C24XX
  12. help
  13. Base platform code for any Samsung S3C24XX device
  14. if PLAT_S3C24XX
  15. # low-level serial option nodes
  16. config CPU_LLSERIAL_S3C2410_ONLY
  17. bool
  18. default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
  19. config CPU_LLSERIAL_S3C2440_ONLY
  20. bool
  21. default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
  22. config CPU_LLSERIAL_S3C2410
  23. bool
  24. help
  25. Selected if there is an S3C2410 (or register compatible) serial
  26. low-level implementation needed
  27. config CPU_LLSERIAL_S3C2440
  28. bool
  29. help
  30. Selected if there is an S3C2440 (or register compatible) serial
  31. low-level implementation needed
  32. # code that is shared between a number of the s3c24xx implementations
  33. config S3C2410_CLOCK
  34. bool
  35. help
  36. Clock code for the S3C2410, and similar processors which
  37. is currently includes the S3C2410, S3C2440, S3C2442.
  38. config S3C2443_CLOCK
  39. bool
  40. help
  41. Clock code for the S3C2443 and similar processors, which includes
  42. the S3C2416 and S3C2450.
  43. config S3C24XX_DCLK
  44. bool
  45. help
  46. Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
  47. config S3C24XX_PWM
  48. bool "PWM device support"
  49. select HAVE_PWM
  50. help
  51. Support for exporting the PWM timer blocks via the pwm device
  52. system.
  53. # gpio configurations
  54. config S3C24XX_GPIO_EXTRA
  55. int
  56. default 128 if S3C24XX_GPIO_EXTRA128
  57. default 64 if S3C24XX_GPIO_EXTRA64
  58. default 16 if ARCH_H1940
  59. default 0
  60. config S3C24XX_GPIO_EXTRA64
  61. bool
  62. help
  63. Add an extra 64 gpio numbers to the available GPIO pool. This is
  64. available for boards that need extra gpios for external devices.
  65. config S3C24XX_GPIO_EXTRA128
  66. bool
  67. help
  68. Add an extra 128 gpio numbers to the available GPIO pool. This is
  69. available for boards that need extra gpios for external devices.
  70. config PM_SIMTEC
  71. bool
  72. help
  73. Common power management code for systems that are
  74. compatible with the Simtec style of power management
  75. config S3C2410_DMA
  76. bool "S3C2410 DMA support"
  77. depends on ARCH_S3C2410
  78. select S3C_DMA
  79. help
  80. S3C2410 DMA support. This is needed for drivers like sound which
  81. use the S3C2410's DMA system to move data to and from the
  82. peripheral blocks.
  83. config S3C2410_DMA_DEBUG
  84. bool "S3C2410 DMA support debug"
  85. depends on ARCH_S3C2410 && S3C2410_DMA
  86. help
  87. Enable debugging output for the DMA code. This option sends info
  88. to the kernel log, at priority KERN_DEBUG.
  89. # SPI default pin configuration code
  90. config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
  91. bool
  92. help
  93. SPI GPIO configuration code for BUS0 when connected to
  94. GPE11, GPE12 and GPE13.
  95. config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
  96. bool
  97. help
  98. SPI GPIO configuration code for BUS 1 when connected to
  99. GPG5, GPG6 and GPG7.
  100. config S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10
  101. bool
  102. help
  103. SPI GPIO configuration code for BUS 1 when connected to
  104. GPD8, GPD9 and GPD10.
  105. # common code for s3c24xx based machines, such as the SMDKs.
  106. # cpu frequency items common between s3c2410 and s3c2440/s3c2442
  107. config S3C2410_IOTIMING
  108. bool
  109. depends on CPU_FREQ_S3C24XX
  110. help
  111. Internal node to select io timing code that is common to the s3c2410
  112. and s3c2440/s3c2442 cpu frequency support.
  113. config S3C2410_CPUFREQ_UTILS
  114. bool
  115. depends on CPU_FREQ_S3C24XX
  116. help
  117. Internal node to select timing code that is common to the s3c2410
  118. and s3c2440/s3c244 cpu frequency support.
  119. # cpu frequency support common to s3c2412, s3c2413 and s3c2442
  120. config S3C2412_IOTIMING
  121. bool
  122. depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
  123. help
  124. Intel node to select io timing code that is common to the s3c2412
  125. and the s3c2443.
  126. config MACH_SMDK
  127. bool
  128. help
  129. Common machine code for SMDK2410 and SMDK2440
  130. config S3C24XX_SIMTEC_AUDIO
  131. bool
  132. depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
  133. default y
  134. help
  135. Add audio devices for common Simtec S3C24XX boards
  136. config S3C2410_SETUP_TS
  137. bool
  138. help
  139. Compile in platform device definition for Samsung TouchScreen.
  140. endif