Kconfig 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. # arch/arm/plat-s3c24xx/Kconfig
  2. #
  3. # Copyright 2007 Simtec Electronics
  4. #
  5. # Licensed under GPLv2
  6. config PLAT_S3C24XX
  7. bool
  8. depends on ARCH_S3C2410 || ARCH_S3C24A0
  9. default y
  10. select NO_IOPORT
  11. select ARCH_REQUIRE_GPIOLIB
  12. help
  13. Base platform code for any Samsung S3C24XX device
  14. if PLAT_S3C24XX
  15. # code that is shared between a number of the s3c24xx implementations
  16. config S3C2410_CLOCK
  17. bool
  18. help
  19. Clock code for the S3C2410, and similar processors which
  20. is currently includes the S3C2410, S3C2440, S3C2442.
  21. config S3C24XX_DCLK
  22. bool
  23. help
  24. Clock code for supporting DCLK/CLKOUT on S3C24XX architectures
  25. config CPU_S3C244X
  26. bool
  27. depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
  28. help
  29. Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems.
  30. config S3C24XX_PWM
  31. bool "PWM device support"
  32. select HAVE_PWM
  33. help
  34. Support for exporting the PWM timer blocks via the pwm device
  35. system.
  36. # gpio configurations
  37. config S3C24XX_GPIO_EXTRA
  38. int
  39. default 128 if S3C24XX_GPIO_EXTRA128
  40. default 64 if S3C24XX_GPIO_EXTRA64
  41. default 0
  42. config S3C24XX_GPIO_EXTRA64
  43. bool
  44. help
  45. Add an extra 64 gpio numbers to the available GPIO pool. This is
  46. available for boards that need extra gpios for external devices.
  47. config S3C24XX_GPIO_EXTRA128
  48. bool
  49. help
  50. Add an extra 128 gpio numbers to the available GPIO pool. This is
  51. available for boards that need extra gpios for external devices.
  52. config PM_SIMTEC
  53. bool
  54. help
  55. Common power management code for systems that are
  56. compatible with the Simtec style of power management
  57. config S3C2410_DMA
  58. bool "S3C2410 DMA support"
  59. depends on ARCH_S3C2410
  60. help
  61. S3C2410 DMA support. This is needed for drivers like sound which
  62. use the S3C2410's DMA system to move data to and from the
  63. peripheral blocks.
  64. config S3C2410_DMA_DEBUG
  65. bool "S3C2410 DMA support debug"
  66. depends on ARCH_S3C2410 && S3C2410_DMA
  67. help
  68. Enable debugging output for the DMA code. This option sends info
  69. to the kernel log, at priority KERN_DEBUG.
  70. config S3C24XX_ADC
  71. bool "ADC common driver support"
  72. help
  73. Core support for the ADC block found in the S3C24XX SoC systems
  74. for drivers such as the touchscreen and hwmon to use to share
  75. this resource.
  76. # SPI default pin configuration code
  77. config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
  78. bool
  79. help
  80. SPI GPIO configuration code for BUS0 when connected to
  81. GPE11, GPE12 and GPE13.
  82. config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
  83. bool
  84. help
  85. SPI GPIO configuration code for BUS 1 when connected to
  86. GPG5, GPG6 and GPG7.
  87. # common code for s3c24xx based machines, such as the SMDKs.
  88. config MACH_SMDK
  89. bool
  90. help
  91. Common machine code for SMDK2410 and SMDK2440
  92. endif