Kconfig 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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_HISI3670
  13. tristate "Hisilicon 3670 SPMI Controller"
  14. select IRQ_DOMAIN_HIERARCHY
  15. depends on HAS_IOMEM
  16. help
  17. If you say yes to this option, support will be included for the
  18. built-in SPMI PMIC Arbiter interface on Hisilicon 3670
  19. processors.
  20. config SPMI_MSM_PMIC_ARB
  21. tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
  22. select IRQ_DOMAIN_HIERARCHY
  23. depends on ARCH_QCOM || COMPILE_TEST
  24. depends on HAS_IOMEM
  25. default ARCH_QCOM
  26. help
  27. If you say yes to this option, support will be included for the
  28. built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
  29. processors.
  30. This is required for communicating with Qualcomm PMICs and
  31. other devices that have the SPMI interface.
  32. config SPMI_MSM_PMIC_ARB_DEBUG
  33. tristate "QTI SPMI Debug Controller (PMIC Arbiter)"
  34. depends on ARCH_QCOM || COMPILE_TEST
  35. depends on HAS_IOMEM
  36. help
  37. If you say yes to this option, support will be included for the
  38. built-in SPMI PMIC Arbiter debug interface on Qualcomm Technologies,
  39. Inc. (QTI) MSM family processors. This feature is available on chips
  40. with PMIC arbiter version 5 and above.
  41. config SPMI_MTK_PMIF
  42. tristate "Mediatek SPMI Controller (PMIC Arbiter)"
  43. depends on ARCH_MEDIATEK || COMPILE_TEST
  44. help
  45. If you say yes to this option, support will be included for the
  46. built-in SPMI PMIC Arbiter interface on Mediatek family
  47. processors.
  48. This is required for communicating with Mediatek PMICs and
  49. other devices that have the SPMI interface.
  50. config VIOSPMI_MSM_PMIC_ARB
  51. tristate "QTI Virtio SPMI Controller (Virtio PMIC Arbiter)"
  52. select IRQ_DOMAIN
  53. depends on ARCH_QCOM || COMPILE_TEST
  54. depends on HAS_IOMEM
  55. depends on VIRTIO
  56. help
  57. If you say yes to this option, support will be included for the
  58. built-in SPMI PMIC Arbiter interface on MSM virtual platform.
  59. This is required for communicating with PMICs and
  60. other devices that have the SPMI interface.
  61. endif