Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # SPMI driver configuration
  4. #
  5. menuconfig SPMI
  6. tristate "SPMI support"
  7. help
  8. SPMI (System Power Management Interface) is a two-wire
  9. serial interface between baseband and application processors
  10. and Power Management Integrated Circuits (PMIC).
  11. if SPMI
  12. config SPMI_APPLE
  13. tristate "Apple SoC SPMI Controller platform driver"
  14. depends on ARCH_APPLE || COMPILE_TEST
  15. help
  16. If you say yes to this option, support will be included for the
  17. SPMI controller present on many Apple SoCs, including the
  18. t8103 (M1) and t600x (M1 Pro/Max).
  19. config SPMI_HISI3670
  20. tristate "Hisilicon 3670 SPMI Controller"
  21. select IRQ_DOMAIN_HIERARCHY
  22. depends on ARM64 || COMPILE_TEST
  23. depends on HAS_IOMEM
  24. help
  25. If you say yes to this option, support will be included for the
  26. built-in SPMI PMIC Arbiter interface on Hisilicon 3670
  27. processors.
  28. config SPMI_MSM_PMIC_ARB
  29. tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
  30. select IRQ_DOMAIN_HIERARCHY
  31. depends on ARCH_QCOM || COMPILE_TEST
  32. depends on HAS_IOMEM
  33. default ARCH_QCOM
  34. help
  35. If you say yes to this option, support will be included for the
  36. built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
  37. processors.
  38. This is required for communicating with Qualcomm PMICs and
  39. other devices that have the SPMI interface.
  40. config SPMI_MTK_PMIF
  41. tristate "Mediatek SPMI Controller (PMIC Arbiter)"
  42. depends on ARCH_MEDIATEK || COMPILE_TEST
  43. help
  44. If you say yes to this option, support will be included for the
  45. built-in SPMI PMIC Arbiter interface on Mediatek family
  46. processors.
  47. This is required for communicating with Mediatek PMICs and
  48. other devices that have the SPMI interface.
  49. endif