Kconfig 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Copyright 2009 Simtec Electronics
  4. source "arch/arm/mach-s3c/Kconfig.s3c64xx"
  5. config PLAT_SAMSUNG
  6. def_bool ARCH_S3C64XX
  7. select GENERIC_IRQ_CHIP
  8. select NO_IOPORT_MAP
  9. select SOC_SAMSUNG
  10. help
  11. Base platform code for all Samsung SoC based systems
  12. config SAMSUNG_PM
  13. def_bool ARCH_S3C64XX
  14. depends on PM
  15. help
  16. Base platform power management code for samsung code
  17. if PLAT_SAMSUNG
  18. menu "Samsung Common options"
  19. # boot configurations
  20. comment "Boot options"
  21. config S3C_LOWLEVEL_UART_PORT
  22. int "S3C UART to use for low-level messages"
  23. depends on ARCH_S3C64XX
  24. default 0
  25. help
  26. Choice of which UART port to use for the low-level messages,
  27. such as the `Uncompressing...` at start time. The value of
  28. this configuration should be between zero and two. The port
  29. must have been initialised by the boot-loader before use.
  30. config SAMSUNG_ATAGS
  31. def_bool n
  32. depends on ATAGS
  33. help
  34. This option enables ATAGS based boot support code for
  35. Samsung platforms, including static platform devices, legacy
  36. clock, timer and interrupt initialization, etc.
  37. Platforms that support only DT based boot need not to select
  38. this option.
  39. if SAMSUNG_ATAGS
  40. config S3C_GPIO_SPACE
  41. int "Space between gpio banks"
  42. default 0
  43. help
  44. Add a number of spare GPIO entries between each bank for debugging
  45. purposes. This allows any problems where an counter overflows from
  46. one bank to another to be caught, at the expense of using a little
  47. more memory.
  48. config S3C_GPIO_TRACK
  49. bool
  50. help
  51. Internal configuration option to enable the s3c specific gpio
  52. chip tracking if the platform requires it.
  53. # device definitions to compile in
  54. config S3C_DEV_HSMMC
  55. bool
  56. help
  57. Compile in platform device definitions for HSMMC code
  58. config S3C_DEV_HSMMC1
  59. bool
  60. help
  61. Compile in platform device definitions for HSMMC channel 1
  62. config S3C_DEV_HSMMC2
  63. bool
  64. help
  65. Compile in platform device definitions for HSMMC channel 2
  66. config S3C_DEV_HSMMC3
  67. bool
  68. help
  69. Compile in platform device definitions for HSMMC channel 3
  70. config S3C_DEV_I2C1
  71. bool
  72. help
  73. Compile in platform device definitions for I2C channel 1
  74. config S3C_DEV_FB
  75. bool
  76. help
  77. Compile in platform device definition for framebuffer
  78. config S3C_DEV_USB_HOST
  79. bool
  80. help
  81. Compile in platform device definition for USB host.
  82. config S3C_DEV_USB_HSOTG
  83. bool
  84. help
  85. Compile in platform device definition for USB high-speed OtG
  86. config S3C64XX_DEV_SPI0
  87. bool
  88. help
  89. Compile in platform device definitions for S3C64XX's type
  90. SPI controller 0
  91. config SAMSUNG_DEV_KEYPAD
  92. bool
  93. help
  94. Compile in platform device definitions for keypad
  95. config SAMSUNG_DEV_PWM
  96. bool
  97. help
  98. Compile in platform device definition for PWM Timer
  99. config GPIO_SAMSUNG
  100. def_bool y
  101. config SAMSUNG_PM_GPIO
  102. bool
  103. default y if GPIO_SAMSUNG && PM
  104. help
  105. Include legacy GPIO power management code for platforms not using
  106. pinctrl-samsung driver.
  107. endif
  108. config SAMSUNG_WAKEMASK
  109. bool
  110. depends on PM
  111. help
  112. Compile support for wakeup-mask controls found on the S3C6400
  113. and above. This code allows a set of interrupt to wakeup-mask
  114. mappings. See <plat/wakeup-mask.h>
  115. endmenu
  116. endif