| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | if (ARCH_QCOM || COMPILE_TEST) |
| 3 | |
| 4 | config PINCTRL_MSM |
| 5 | tristate "Qualcomm core pin controller driver" |
| 6 | depends on GPIOLIB |
| 7 | # OF for pinconf_generic_dt_node_to_map_group() from GENERIC_PINCONF |
| 8 | depends on OF |
| 9 | default ARCH_QCOM |
| 10 | select QCOM_SCM |
| 11 | select PINMUX |
| 12 | select GENERIC_PINMUX_FUNCTIONS |
| 13 | select PINCONF |
| 14 | select GENERIC_PINCONF |
| 15 | select GPIOLIB_IRQCHIP |
| 16 | select IRQ_DOMAIN_HIERARCHY |
| 17 | select IRQ_FASTEOI_HIERARCHY_HANDLERS |
| 18 | |
| 19 | source "drivers/pinctrl/qcom/Kconfig.msm" |
| 20 | |
| 21 | config PINCTRL_QCOM_SPMI_PMIC |
| 22 | tristate "Qualcomm SPMI PMIC pin controller driver" |
| 23 | depends on OF && SPMI |
| 24 | select REGMAP_SPMI |
| 25 | select PINMUX |
| 26 | select PINCONF |
| 27 | select GENERIC_PINCONF |
| 28 | select GPIOLIB |
| 29 | select GPIOLIB_IRQCHIP |
| 30 | select IRQ_DOMAIN_HIERARCHY |
| 31 | help |
| 32 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 33 | Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, |
| 34 | which are using SPMI for communication with SoC. Example PMIC's |
| 35 | devices are pm8841, pm8941 and pma8084. |
| 36 | |
| 37 | config PINCTRL_QCOM_SSBI_PMIC |
| 38 | tristate "Qualcomm SSBI PMIC pin controller driver" |
| 39 | depends on OF |
| 40 | select PINMUX |
| 41 | select PINCONF |
| 42 | select GENERIC_PINCONF |
| 43 | select GPIOLIB |
| 44 | select GPIOLIB_IRQCHIP |
| 45 | select IRQ_DOMAIN_HIERARCHY |
| 46 | help |
| 47 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 48 | Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, |
| 49 | which are using SSBI for communication with SoC. Example PMIC's |
| 50 | devices are pm8058 and pm8921. |
| 51 | |
| 52 | config PINCTRL_LPASS_LPI |
| 53 | tristate "Qualcomm LPASS LPI pin controller driver" |
| 54 | select PINMUX |
| 55 | select PINCONF |
| 56 | select GENERIC_PINCONF |
| 57 | select GENERIC_PINCTRL_GROUPS |
| 58 | depends on PM_CLK |
| 59 | depends on GPIOLIB |
| 60 | help |
| 61 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 62 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 63 | (Low Power Island) found on the Qualcomm Technologies Inc SoCs. |
| 64 | |
| 65 | config PINCTRL_MILOS_LPASS_LPI |
| 66 | tristate "Qualcomm Milos LPASS LPI pin controller driver" |
| 67 | depends on ARM64 || COMPILE_TEST |
| 68 | depends on PINCTRL_LPASS_LPI |
| 69 | help |
| 70 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 71 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 72 | (Low Power Island) found on the Qualcomm Technologies Inc Milos |
| 73 | platform. |
| 74 | |
| 75 | config PINCTRL_SC7280_LPASS_LPI |
| 76 | tristate "Qualcomm SC7280 and SM8350 LPASS LPI pin controller driver" |
| 77 | depends on ARM64 || COMPILE_TEST |
| 78 | depends on PINCTRL_LPASS_LPI |
| 79 | help |
| 80 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 81 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 82 | (Low Power Island) found on the Qualcomm Technologies Inc SC7280 |
| 83 | and SM8350 platforms. |
| 84 | |
| 85 | config PINCTRL_SDM660_LPASS_LPI |
| 86 | tristate "Qualcomm SDM660 LPASS LPI pin controller driver" |
| 87 | depends on GPIOLIB |
| 88 | depends on ARM64 || COMPILE_TEST |
| 89 | depends on PINCTRL_LPASS_LPI |
| 90 | help |
| 91 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 92 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 93 | (Low Power Island) found on the Qualcomm Technologies Inc SDM660 platform. |
| 94 | |
| 95 | config PINCTRL_SM4250_LPASS_LPI |
| 96 | tristate "Qualcomm SM4250 LPASS LPI pin controller driver" |
| 97 | depends on ARM64 || COMPILE_TEST |
| 98 | depends on PINCTRL_LPASS_LPI |
| 99 | help |
| 100 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 101 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 102 | (Low Power Island) found on the Qualcomm Technologies Inc SM4250 platform. |
| 103 | |
| 104 | config PINCTRL_SDM670_LPASS_LPI |
| 105 | tristate "Qualcomm SDM670 LPASS LPI pin controller driver" |
| 106 | depends on GPIOLIB |
| 107 | depends on ARM64 || COMPILE_TEST |
| 108 | depends on PINCTRL_LPASS_LPI |
| 109 | help |
| 110 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 111 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 112 | (Low Power Island) found on the Qualcomm Technologies Inc SDM670 platform. |
| 113 | |
| 114 | config PINCTRL_SM6115_LPASS_LPI |
| 115 | tristate "Qualcomm SM6115 LPASS LPI pin controller driver" |
| 116 | depends on ARM64 || COMPILE_TEST |
| 117 | depends on PINCTRL_LPASS_LPI |
| 118 | help |
| 119 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 120 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 121 | (Low Power Island) found on the Qualcomm Technologies Inc SM6115 platform. |
| 122 | |
| 123 | config PINCTRL_SM6350_LPASS_LPI |
| 124 | tristate "Qualcomm SM6350 LPASS LPI pin controller driver" |
| 125 | depends on ARM64 || COMPILE_TEST |
| 126 | depends on PINCTRL_LPASS_LPI |
| 127 | help |
| 128 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 129 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 130 | (Low Power Island) found on the Qualcomm Technologies Inc SM6350 platform. |
| 131 | |
| 132 | config PINCTRL_SM8250_LPASS_LPI |
| 133 | tristate "Qualcomm SM8250 LPASS LPI pin controller driver" |
| 134 | depends on ARM64 || COMPILE_TEST |
| 135 | depends on PINCTRL_LPASS_LPI |
| 136 | help |
| 137 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 138 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 139 | (Low Power Island) found on the Qualcomm Technologies Inc SM8250 platform. |
| 140 | |
| 141 | config PINCTRL_SM8450_LPASS_LPI |
| 142 | tristate "Qualcomm SM8450 LPASS LPI pin controller driver" |
| 143 | depends on ARM64 || COMPILE_TEST |
| 144 | depends on PINCTRL_LPASS_LPI |
| 145 | help |
| 146 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 147 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 148 | (Low Power Island) found on the Qualcomm Technologies Inc SM8450 platform. |
| 149 | |
| 150 | config PINCTRL_SC8280XP_LPASS_LPI |
| 151 | tristate "Qualcomm SC8280XP LPASS LPI pin controller driver" |
| 152 | depends on ARM64 || COMPILE_TEST |
| 153 | depends on PINCTRL_LPASS_LPI |
| 154 | help |
| 155 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 156 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 157 | (Low Power Island) found on the Qualcomm Technologies Inc SC8280XP platform. |
| 158 | |
| 159 | config PINCTRL_SM8550_LPASS_LPI |
| 160 | tristate "Qualcomm SM8550 LPASS LPI pin controller driver" |
| 161 | depends on ARM64 || COMPILE_TEST |
| 162 | depends on PINCTRL_LPASS_LPI |
| 163 | help |
| 164 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 165 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 166 | (Low Power Island) found on the Qualcomm Technologies Inc SM8550 |
| 167 | platform. |
| 168 | |
| 169 | config PINCTRL_SM8650_LPASS_LPI |
| 170 | tristate "Qualcomm SM8650 LPASS LPI pin controller driver" |
| 171 | depends on ARM64 || COMPILE_TEST |
| 172 | depends on PINCTRL_LPASS_LPI |
| 173 | help |
| 174 | This is the pinctrl, pinmux, pinconf and gpiolib driver for the |
| 175 | Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI |
| 176 | (Low Power Island) found on the Qualcomm Technologies Inc SM8650 |
| 177 | platform. |
| 178 | |
| 179 | endif |