Kconfig 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Samsung SoC drivers
  4. #
  5. menuconfig SOC_SAMSUNG
  6. bool "Samsung SoC driver support" if COMPILE_TEST
  7. if SOC_SAMSUNG
  8. # There is no need to enable these drivers for ARMv8
  9. config EXYNOS_ASV_ARM
  10. bool "Exynos ASV ARMv7-specific driver extensions" if COMPILE_TEST
  11. depends on EXYNOS_CHIPID
  12. config EXYNOS_CHIPID
  13. tristate "Exynos ChipID controller and ASV driver"
  14. depends on ARCH_EXYNOS || COMPILE_TEST
  15. default ARCH_EXYNOS
  16. select EXYNOS_ASV_ARM if ARM && ARCH_EXYNOS
  17. select MFD_SYSCON
  18. select SOC_BUS
  19. help
  20. Support for Samsung Exynos SoC ChipID and Adaptive Supply Voltage.
  21. This driver can also be built as module (exynos_chipid).
  22. config EXYNOS_USI
  23. tristate "Exynos USI (Universal Serial Interface) driver"
  24. default ARCH_EXYNOS && ARM64
  25. depends on ARCH_EXYNOS || COMPILE_TEST
  26. select MFD_SYSCON
  27. help
  28. Enable support for USI block. USI (Universal Serial Interface) is an
  29. IP-core found in modern Samsung Exynos SoCs, like Exynos850 and
  30. ExynosAutoV9. USI block can be configured to provide one of the
  31. following serial protocols: UART, SPI or High Speed I2C.
  32. This driver allows one to configure USI for desired protocol, which
  33. is usually done in USI node in Device Tree.
  34. config EXYNOS_PMU
  35. bool "Exynos PMU controller driver" if COMPILE_TEST
  36. depends on ARCH_EXYNOS || ((ARM || ARM64) && COMPILE_TEST)
  37. select EXYNOS_PMU_ARM_DRIVERS if ARM && ARCH_EXYNOS
  38. select MFD_CORE
  39. # There is no need to enable these drivers for ARMv8
  40. config EXYNOS_PMU_ARM_DRIVERS
  41. bool "Exynos PMU ARMv7-specific driver extensions" if COMPILE_TEST
  42. depends on EXYNOS_PMU
  43. config EXYNOS_PM_DOMAINS
  44. bool "Exynos PM domains" if COMPILE_TEST
  45. depends on (ARCH_EXYNOS && PM_GENERIC_DOMAINS) || COMPILE_TEST
  46. config SAMSUNG_PM_DEBUG
  47. bool "Samsung PM Suspend debug"
  48. depends on PM && DEBUG_KERNEL
  49. depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
  50. depends on DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART
  51. depends on DEBUG_LL && MMU
  52. help
  53. Say Y here if you want verbose debugging from the PM Suspend and
  54. Resume code. See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
  55. for more information.
  56. config S3C_PM_DEBUG_LED_SMDK
  57. bool "SMDK LED suspend/resume debugging"
  58. depends on PM && (MACH_SMDK6410)
  59. help
  60. Say Y here to enable the use of the SMDK LEDs on the baseboard
  61. for debugging of the state of the suspend and resume process.
  62. Note, this currently only works for S3C64XX based SMDK boards.
  63. config SAMSUNG_PM_CHECK
  64. bool "S3C2410 PM Suspend Memory CRC"
  65. depends on PM && (PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210)
  66. select CRC32
  67. help
  68. Enable the PM code's memory area checksum over sleep. This option
  69. will generate CRCs of all blocks of memory, and store them before
  70. going to sleep. The blocks are then checked on resume for any
  71. errors.
  72. Note, this can take several seconds depending on memory size
  73. and CPU speed.
  74. See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
  75. config SAMSUNG_PM_CHECK_CHUNKSIZE
  76. int "S3C2410 PM Suspend CRC Chunksize (KiB)"
  77. depends on PM && SAMSUNG_PM_CHECK
  78. default 64
  79. help
  80. Set the chunksize in Kilobytes of the CRC for checking memory
  81. corruption over suspend and resume. A smaller value will mean that
  82. the CRC data block will take more memory, but will identify any
  83. faults with better precision.
  84. See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
  85. config EXYNOS_REGULATOR_COUPLER
  86. bool "Exynos SoC Regulator Coupler" if COMPILE_TEST
  87. depends on ARCH_EXYNOS || COMPILE_TEST
  88. endif