Kconfig 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. select S3C_DMA
  61. help
  62. S3C2410 DMA support. This is needed for drivers like sound which
  63. use the S3C2410's DMA system to move data to and from the
  64. peripheral blocks.
  65. config S3C2410_DMA_DEBUG
  66. bool "S3C2410 DMA support debug"
  67. depends on ARCH_S3C2410 && S3C2410_DMA
  68. help
  69. Enable debugging output for the DMA code. This option sends info
  70. to the kernel log, at priority KERN_DEBUG.
  71. config S3C24XX_ADC
  72. bool "ADC common driver support"
  73. help
  74. Core support for the ADC block found in the S3C24XX SoC systems
  75. for drivers such as the touchscreen and hwmon to use to share
  76. this resource.
  77. # SPI default pin configuration code
  78. config S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13
  79. bool
  80. help
  81. SPI GPIO configuration code for BUS0 when connected to
  82. GPE11, GPE12 and GPE13.
  83. config S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7
  84. bool
  85. help
  86. SPI GPIO configuration code for BUS 1 when connected to
  87. GPG5, GPG6 and GPG7.
  88. # common code for s3c24xx based machines, such as the SMDKs.
  89. config MACH_SMDK
  90. bool
  91. help
  92. Common machine code for SMDK2410 and SMDK2440
  93. endif