Kconfig 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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_DEVICE_NAND
  11. help
  12. Base platform code for any Samsung S3C24XX device
  13. if PLAT_S3C24XX
  14. # code that is shared between a number of the s3c24xx implementations
  15. config S3C2410_CLOCK
  16. bool
  17. help
  18. Clock code for the S3C2410, and similar processors which
  19. is currently includes the S3C2410, S3C2440, S3C2442.
  20. config S3C24XX_DCLK
  21. bool
  22. help
  23. Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
  24. config CPU_S3C244X
  25. bool
  26. depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
  27. help
  28. Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
  29. config S3C2440_CPUFREQ
  30. bool "S3C2440/S3C2442 CPU Frequency scaling support"
  31. depends on CPU_FREQ_S3C24XX && (CPU_S3C2440 || CPU_S3C2442)
  32. select S3C2410_CPUFREQ_UTILS
  33. default y
  34. help
  35. CPU Frequency scaling support for S3C2440 and S3C2442 SoC CPUs.
  36. config S3C2440_XTAL_12000000
  37. bool
  38. help
  39. Indicate that the build needs to support 12MHz system
  40. crystal.
  41. config S3C2440_XTAL_16934400
  42. bool
  43. help
  44. Indicate that the build needs to support 16.9344MHz system
  45. crystal.
  46. config S3C2440_PLL_12000000
  47. bool
  48. depends on S3C2440_CPUFREQ && S3C2440_XTAL_12000000
  49. default y if CPU_FREQ_S3C24XX_PLL
  50. help
  51. PLL tables for S3C2440 or S3C2442 CPUs with 12MHz crystals.
  52. config S3C2440_PLL_16934400
  53. bool
  54. depends on S3C2440_CPUFREQ && S3C2440_XTAL_16934400
  55. default y if CPU_FREQ_S3C24XX_PLL
  56. help
  57. PLL tables for S3C2440 or S3C2442 CPUs with 16.934MHz crystals.
  58. config S3C24XX_PWM
  59. bool "PWM device support"
  60. select HAVE_PWM
  61. help
  62. Support for exporting the PWM timer blocks via the pwm device
  63. system.
  64. # gpio configurations
  65. config S3C24XX_GPIO_EXTRA
  66. int
  67. default 128 if S3C24XX_GPIO_EXTRA128
  68. default 64 if S3C24XX_GPIO_EXTRA64
  69. default 0
  70. config S3C24XX_GPIO_EXTRA64
  71. bool
  72. help
  73. Add an extra 64 gpio numbers to the available GPIO pool. This is
  74. available for boards that need extra gpios for external devices.
  75. config S3C24XX_GPIO_EXTRA128
  76. bool
  77. help
  78. Add an extra 128 gpio numbers to the available GPIO pool. This is
  79. available for boards that need extra gpios for external devices.
  80. config PM_SIMTEC
  81. bool
  82. help
  83. Common power management code for systems that are
  84. compatible with the Simtec style of power management
  85. config S3C2410_DMA
  86. bool "S3C2410 DMA support"
  87. depends on ARCH_S3C2410
  88. select S3C_DMA
  89. help
  90. S3C2410 DMA support. This is needed for drivers like sound which
  91. use the S3C2410's DMA system to move data to and from the
  92. peripheral blocks.
  93. config S3C2410_DMA_DEBUG
  94. bool "S3C2410 DMA support debug"
  95. depends on ARCH_S3C2410 && S3C2410_DMA
  96. help
  97. Enable debugging output for the DMA code. This option sends info
  98. to the kernel log, at priority KERN_DEBUG.
  99. config S3C24XX_ADC
  100. bool "ADC common driver support"
  101. help
  102. Core support for the ADC block found in the S3C24XX SoC systems
  103. for drivers such as the touchscreen and hwmon to use to share
  104. this resource.
  105. # SPI default pin configuration code
  106. config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
  107. bool
  108. help
  109. SPI GPIO configuration code for BUS0 when connected to
  110. GPE11, GPE12 and GPE13.
  111. config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
  112. bool
  113. help
  114. SPI GPIO configuration code for BUS 1 when connected to
  115. GPG5, GPG6 and GPG7.
  116. config S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10
  117. bool
  118. help
  119. SPI GPIO configuration code for BUS 1 when connected to
  120. GPD8, GPD9 and GPD10.
  121. # common code for s3c24xx based machines, such as the SMDKs.
  122. # cpu frequency items common between s3c2410 and s3c2440/s3c2442
  123. config S3C2410_IOTIMING
  124. bool
  125. depends on CPU_FREQ_S3C24XX
  126. help
  127. Internal node to select io timing code that is common to the s3c2410
  128. and s3c2440/s3c2442 cpu frequency support.
  129. config S3C2410_CPUFREQ_UTILS
  130. bool
  131. depends on CPU_FREQ_S3C24XX
  132. help
  133. Internal node to select timing code that is common to the s3c2410
  134. and s3c2440/s3c244 cpu frequency support.
  135. # cpu frequency support common to s3c2412, s3c2413 and s3c2442
  136. config S3C2412_IOTIMING
  137. bool
  138. depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
  139. help
  140. Intel node to select io timing code that is common to the s3c2412
  141. and the s3c2443.
  142. config MACH_SMDK
  143. bool
  144. help
  145. Common machine code for SMDK2410 and SMDK2440
  146. config S3C24XX_SIMTEC_AUDIO
  147. bool
  148. depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
  149. default y
  150. help
  151. Add audio devices for common Simtec S3C24XX boards
  152. endif