Kconfig.s3c64xx 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Copyright 2008 Openmoko, Inc.
  4. # Simtec Electronics, Ben Dooks <ben@simtec.co.uk>
  5. menuconfig ARCH_S3C64XX
  6. bool "Samsung S3C64XX (deprecated, see help)"
  7. depends on ARCH_MULTI_V6
  8. select ARM_AMBA
  9. select ARM_VIC
  10. select CLKSRC_SAMSUNG_PWM
  11. select COMMON_CLK_SAMSUNG
  12. select GPIO_SAMSUNG if ATAGS
  13. select GPIOLIB
  14. select HAVE_TCM
  15. select PLAT_SAMSUNG
  16. select PM_GENERIC_DOMAINS if PM
  17. select S3C_GPIO_TRACK if ATAGS
  18. select S3C2410_WATCHDOG
  19. select SAMSUNG_ATAGS if ATAGS
  20. select SAMSUNG_WAKEMASK if PM
  21. select WATCHDOG
  22. help
  23. Samsung S3C64XX series based systems
  24. The platform is deprecated and scheduled for removal. Please reach to
  25. the maintainers of the platform and linux-samsung-soc@vger.kernel.org if
  26. you still use it.
  27. Without such feedback, the platform will be removed after 2024.
  28. if ARCH_S3C64XX
  29. # Configuration options for the S3C6410 CPU
  30. config CPU_S3C6400
  31. bool
  32. help
  33. Enable S3C6400 CPU support
  34. config CPU_S3C6410
  35. bool
  36. help
  37. Enable S3C6410 CPU support
  38. config S3C64XX_PL080
  39. def_bool DMADEVICES
  40. select AMBA_PL08X
  41. config S3C64XX_SETUP_SDHCI
  42. bool
  43. select S3C64XX_SETUP_SDHCI_GPIO
  44. help
  45. Internal configuration for default SDHCI setup for S3C6400 and
  46. S3C6410 SoCs.
  47. # platform specific device setup
  48. config S3C64XX_SETUP_I2C0
  49. bool
  50. default y
  51. help
  52. Common setup code for i2c bus 0.
  53. Note, currently since i2c0 is always compiled, this setup helper
  54. is always compiled with it.
  55. config S3C64XX_SETUP_I2C1
  56. bool
  57. help
  58. Common setup code for i2c bus 1.
  59. config S3C64XX_SETUP_FB_24BPP
  60. bool
  61. help
  62. Common setup code for S3C64XX with an 24bpp RGB display helper.
  63. config S3C64XX_SETUP_KEYPAD
  64. bool
  65. help
  66. Common setup code for S3C64XX KEYPAD GPIO configurations
  67. config S3C64XX_SETUP_SDHCI_GPIO
  68. bool
  69. help
  70. Common setup code for S3C64XX SDHCI GPIO configurations
  71. config S3C64XX_SETUP_SPI
  72. bool
  73. help
  74. Common setup code for SPI GPIO configurations
  75. config S3C64XX_SETUP_USB_PHY
  76. bool
  77. help
  78. Common setup code for USB PHY controller
  79. # S36400 Macchine support
  80. config MACH_WLF_CRAGG_6410
  81. bool "Wolfson Cragganmore 6410"
  82. depends on ATAGS
  83. depends on I2C=y
  84. select CPU_S3C6410
  85. select LEDS_GPIO_REGISTER
  86. select S3C64XX_DEV_SPI0
  87. select S3C64XX_SETUP_FB_24BPP
  88. select S3C64XX_SETUP_I2C1
  89. select S3C64XX_SETUP_KEYPAD
  90. select S3C64XX_SETUP_SDHCI
  91. select S3C64XX_SETUP_SPI
  92. select S3C64XX_SETUP_USB_PHY
  93. select S3C_DEV_FB
  94. select S3C_DEV_HSMMC
  95. select S3C_DEV_HSMMC1
  96. select S3C_DEV_HSMMC2
  97. select S3C_DEV_I2C1
  98. select S3C_DEV_USB_HOST
  99. select S3C_DEV_USB_HSOTG
  100. select SAMSUNG_DEV_KEYPAD
  101. select SAMSUNG_DEV_PWM
  102. help
  103. Machine support for the Wolfson Cragganmore S3C6410 variant.
  104. config MACH_S3C64XX_DT
  105. bool "Samsung S3C6400/S3C6410 machine using Device Tree"
  106. select CPU_S3C6400
  107. select CPU_S3C6410
  108. select PINCTRL
  109. select PINCTRL_S3C64XX
  110. help
  111. Machine support for Samsung S3C6400/S3C6410 machines with Device Tree
  112. enabled.
  113. Select this if a fdt blob is available for your S3C64XX SoC based
  114. board.
  115. Note: This is under development and not all peripherals can be
  116. supported with this machine file.
  117. endif