Kconfig 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. select REGMAP_MMIO
  40. # There is no need to enable these drivers for ARMv8
  41. config EXYNOS_PMU_ARM_DRIVERS
  42. bool "Exynos PMU ARMv7-specific driver extensions" if COMPILE_TEST
  43. depends on EXYNOS_PMU
  44. config SAMSUNG_PM_CHECK
  45. bool "S3C2410 PM Suspend Memory CRC"
  46. depends on PM && (ARCH_S3C64XX || ARCH_S5PV210)
  47. select CRC32
  48. help
  49. Enable the PM code's memory area checksum over sleep. This option
  50. will generate CRCs of all blocks of memory, and store them before
  51. going to sleep. The blocks are then checked on resume for any
  52. errors.
  53. Note, this can take several seconds depending on memory size
  54. and CPU speed.
  55. config SAMSUNG_PM_CHECK_CHUNKSIZE
  56. int "S3C2410 PM Suspend CRC Chunksize (KiB)"
  57. depends on PM && SAMSUNG_PM_CHECK
  58. default 64
  59. help
  60. Set the chunksize in Kilobytes of the CRC for checking memory
  61. corruption over suspend and resume. A smaller value will mean that
  62. the CRC data block will take more memory, but will identify any
  63. faults with better precision.
  64. config EXYNOS_REGULATOR_COUPLER
  65. bool "Exynos SoC Regulator Coupler" if COMPILE_TEST
  66. depends on ARCH_EXYNOS || COMPILE_TEST
  67. endif