Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. config EXYNOS_ASV
  9. bool "Exynos Adaptive Supply Voltage support" if COMPILE_TEST
  10. depends on (ARCH_EXYNOS && EXYNOS_CHIPID) || COMPILE_TEST
  11. select EXYNOS_ASV_ARM if ARM && ARCH_EXYNOS
  12. # There is no need to enable these drivers for ARMv8
  13. config EXYNOS_ASV_ARM
  14. bool "Exynos ASV ARMv7-specific driver extensions" if COMPILE_TEST
  15. depends on EXYNOS_ASV
  16. config EXYNOS_CHIPID
  17. bool "Exynos Chipid controller driver" if COMPILE_TEST
  18. depends on ARCH_EXYNOS || COMPILE_TEST
  19. select MFD_SYSCON
  20. select SOC_BUS
  21. config EXYNOS_PMU
  22. bool "Exynos PMU controller driver" if COMPILE_TEST
  23. depends on ARCH_EXYNOS || ((ARM || ARM64) && COMPILE_TEST)
  24. select EXYNOS_PMU_ARM_DRIVERS if ARM && ARCH_EXYNOS
  25. # There is no need to enable these drivers for ARMv8
  26. config EXYNOS_PMU_ARM_DRIVERS
  27. bool "Exynos PMU ARMv7-specific driver extensions" if COMPILE_TEST
  28. depends on EXYNOS_PMU
  29. config EXYNOS_PM_DOMAINS
  30. bool "Exynos PM domains" if COMPILE_TEST
  31. depends on (ARCH_EXYNOS && PM_GENERIC_DOMAINS) || COMPILE_TEST
  32. config SAMSUNG_PM_DEBUG
  33. bool "Samsung PM Suspend debug"
  34. depends on PM && DEBUG_KERNEL
  35. depends on PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210
  36. depends on DEBUG_S3C24XX_UART || DEBUG_S3C2410_UART
  37. depends on DEBUG_LL && MMU
  38. help
  39. Say Y here if you want verbose debugging from the PM Suspend and
  40. Resume code. See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
  41. for more information.
  42. config S3C_PM_DEBUG_LED_SMDK
  43. bool "SMDK LED suspend/resume debugging"
  44. depends on PM && (MACH_SMDK6410)
  45. help
  46. Say Y here to enable the use of the SMDK LEDs on the baseboard
  47. for debugging of the state of the suspend and resume process.
  48. Note, this currently only works for S3C64XX based SMDK boards.
  49. config SAMSUNG_PM_CHECK
  50. bool "S3C2410 PM Suspend Memory CRC"
  51. depends on PM && (PLAT_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210)
  52. select CRC32
  53. help
  54. Enable the PM code's memory area checksum over sleep. This option
  55. will generate CRCs of all blocks of memory, and store them before
  56. going to sleep. The blocks are then checked on resume for any
  57. errors.
  58. Note, this can take several seconds depending on memory size
  59. and CPU speed.
  60. See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
  61. config SAMSUNG_PM_CHECK_CHUNKSIZE
  62. int "S3C2410 PM Suspend CRC Chunksize (KiB)"
  63. depends on PM && SAMSUNG_PM_CHECK
  64. default 64
  65. help
  66. Set the chunksize in Kilobytes of the CRC for checking memory
  67. corruption over suspend and resume. A smaller value will mean that
  68. the CRC data block will take more memory, but will identify any
  69. faults with better precision.
  70. See <file:Documentation/arm/samsung-s3c24xx/suspend.rst>
  71. config EXYNOS_REGULATOR_COUPLER
  72. bool "Exynos SoC Regulator Coupler" if COMPILE_TEST
  73. depends on ARCH_EXYNOS || COMPILE_TEST
  74. endif