Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. # Copyright 2007 Simtec Electronics
  2. #
  3. # Licensed under GPLv2
  4. config PLAT_S3C24XX
  5. bool
  6. depends on ARCH_S3C24XX
  7. default y
  8. select NO_IOPORT
  9. select ARCH_REQUIRE_GPIOLIB
  10. select S3C_DEV_NAND
  11. help
  12. Base platform code for any Samsung S3C24XX device
  13. if PLAT_S3C24XX
  14. # low-level serial option nodes
  15. config CPU_LLSERIAL_S3C2410_ONLY
  16. bool
  17. default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
  18. config CPU_LLSERIAL_S3C2440_ONLY
  19. bool
  20. default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
  21. config CPU_LLSERIAL_S3C2410
  22. bool
  23. help
  24. Selected if there is an S3C2410 (or register compatible) serial
  25. low-level implementation needed
  26. config CPU_LLSERIAL_S3C2440
  27. bool
  28. help
  29. Selected if there is an S3C2440 (or register compatible) serial
  30. low-level implementation needed
  31. # code that is shared between a number of the s3c24xx implementations
  32. config S3C2410_CLOCK
  33. bool
  34. help
  35. Clock code for the S3C2410, and similar processors which
  36. is currently includes the S3C2410, S3C2440, S3C2442.
  37. config S3C24XX_DCLK
  38. bool
  39. help
  40. Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
  41. # gpio configurations
  42. config S3C24XX_GPIO_EXTRA
  43. int
  44. default 128 if S3C24XX_GPIO_EXTRA128
  45. default 64 if S3C24XX_GPIO_EXTRA64
  46. default 16 if ARCH_H1940
  47. default 0
  48. config S3C24XX_GPIO_EXTRA64
  49. bool
  50. help
  51. Add an extra 64 gpio numbers to the available GPIO pool. This is
  52. available for boards that need extra gpios for external devices.
  53. config S3C24XX_GPIO_EXTRA128
  54. bool
  55. help
  56. Add an extra 128 gpio numbers to the available GPIO pool. This is
  57. available for boards that need extra gpios for external devices.
  58. config PM_SIMTEC
  59. bool
  60. help
  61. Common power management code for systems that are
  62. compatible with the Simtec style of power management
  63. config S3C24XX_DMA
  64. bool "S3C2410 DMA support"
  65. depends on ARCH_S3C24XX
  66. select S3C_DMA
  67. help
  68. S3C2410 DMA support. This is needed for drivers like sound which
  69. use the S3C2410's DMA system to move data to and from the
  70. peripheral blocks.
  71. config S3C2410_DMA_DEBUG
  72. bool "S3C2410 DMA support debug"
  73. depends on ARCH_S3C24XX && S3C2410_DMA
  74. help
  75. Enable debugging output for the DMA code. This option sends info
  76. to the kernel log, at priority KERN_DEBUG.
  77. # common code for s3c24xx based machines, such as the SMDKs.
  78. # cpu frequency items common between s3c2410 and s3c2440/s3c2442
  79. config S3C2410_IOTIMING
  80. bool
  81. depends on CPU_FREQ_S3C24XX
  82. help
  83. Internal node to select io timing code that is common to the s3c2410
  84. and s3c2440/s3c2442 cpu frequency support.
  85. config S3C2410_CPUFREQ_UTILS
  86. bool
  87. depends on CPU_FREQ_S3C24XX
  88. help
  89. Internal node to select timing code that is common to the s3c2410
  90. and s3c2440/s3c244 cpu frequency support.
  91. # cpu frequency support common to s3c2412, s3c2413 and s3c2442
  92. config S3C2412_IOTIMING
  93. bool
  94. depends on CPU_FREQ_S3C24XX && (CPU_S3C2412 || CPU_S3C2443)
  95. help
  96. Intel node to select io timing code that is common to the s3c2412
  97. and the s3c2443.
  98. config S3C24XX_SIMTEC_AUDIO
  99. bool
  100. depends on (ARCH_BAST || MACH_VR1000 || MACH_OSIRIS || MACH_ANUBIS)
  101. default y
  102. help
  103. Add audio devices for common Simtec S3C24XX boards
  104. config S3C2410_SETUP_TS
  105. bool
  106. help
  107. Compile in platform device definition for Samsung TouchScreen.
  108. endif