1# SPDX-License-Identifier: GPL-2.0-only 2if (ARCH_QCOM || COMPILE_TEST) 3 4config PINCTRL_MSM 5 bool 6 select PINMUX 7 select PINCONF 8 select GENERIC_PINCONF 9 select GPIOLIB_IRQCHIP 10 select IRQ_DOMAIN_HIERARCHY 11 select IRQ_FASTEOI_HIERARCHY_HANDLERS 12 13config PINCTRL_APQ8064 14 tristate "Qualcomm APQ8064 pin controller driver" 15 depends on GPIOLIB && OF 16 select PINCTRL_MSM 17 help 18 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 19 Qualcomm TLMM block found in the Qualcomm APQ8064 platform. 20 21config PINCTRL_APQ8084 22 tristate "Qualcomm APQ8084 pin controller driver" 23 depends on GPIOLIB && OF 24 select PINCTRL_MSM 25 help 26 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 27 Qualcomm TLMM block found in the Qualcomm APQ8084 platform. 28 29config PINCTRL_IPQ4019 30 tristate "Qualcomm IPQ4019 pin controller driver" 31 depends on GPIOLIB && OF 32 select PINCTRL_MSM 33 help 34 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 35 Qualcomm TLMM block found in the Qualcomm IPQ4019 platform. 36 37config PINCTRL_IPQ8064 38 tristate "Qualcomm IPQ8064 pin controller driver" 39 depends on GPIOLIB && OF 40 select PINCTRL_MSM 41 help 42 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 43 Qualcomm TLMM block found in the Qualcomm IPQ8064 platform. 44 45config PINCTRL_IPQ8074 46 tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver" 47 depends on GPIOLIB && OF 48 select PINCTRL_MSM 49 help 50 This is the pinctrl, pinmux, pinconf and gpiolib driver for 51 the Qualcomm Technologies Inc. TLMM block found on the 52 Qualcomm Technologies Inc. IPQ8074 platform. Select this for 53 IPQ8074. 54 55config PINCTRL_IPQ6018 56 tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver" 57 depends on GPIOLIB && OF 58 select PINCTRL_MSM 59 help 60 This is the pinctrl, pinmux, pinconf and gpiolib driver for 61 the Qualcomm Technologies Inc. TLMM block found on the 62 Qualcomm Technologies Inc. IPQ6018 platform. Select this for 63 IPQ6018. 64 65config PINCTRL_MSM8226 66 tristate "Qualcomm 8226 pin controller driver" 67 depends on GPIOLIB && OF 68 select PINCTRL_MSM 69 help 70 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 71 Qualcomm Technologies Inc TLMM block found on the Qualcomm 72 Technologies Inc MSM8226 platform. 73 74config PINCTRL_MSM8660 75 tristate "Qualcomm 8660 pin controller driver" 76 depends on GPIOLIB && OF 77 select PINCTRL_MSM 78 help 79 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 80 Qualcomm TLMM block found in the Qualcomm 8660 platform. 81 82config PINCTRL_MSM8960 83 tristate "Qualcomm 8960 pin controller driver" 84 depends on GPIOLIB && OF 85 select PINCTRL_MSM 86 help 87 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 88 Qualcomm TLMM block found in the Qualcomm 8960 platform. 89 90config PINCTRL_MDM9615 91 tristate "Qualcomm 9615 pin controller driver" 92 depends on GPIOLIB && OF 93 select PINCTRL_MSM 94 help 95 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 96 Qualcomm TLMM block found in the Qualcomm 9615 platform. 97 98config PINCTRL_MSM8X74 99 tristate "Qualcomm 8x74 pin controller driver" 100 depends on GPIOLIB && OF 101 select PINCTRL_MSM 102 help 103 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 104 Qualcomm TLMM block found in the Qualcomm 8974 platform. 105 106config PINCTRL_MSM8916 107 tristate "Qualcomm 8916 pin controller driver" 108 depends on GPIOLIB && OF 109 select PINCTRL_MSM 110 help 111 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 112 Qualcomm TLMM block found on the Qualcomm 8916 platform. 113 114config PINCTRL_MSM8976 115 tristate "Qualcomm 8976 pin controller driver" 116 depends on GPIOLIB && OF 117 select PINCTRL_MSM 118 help 119 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 120 Qualcomm TLMM block found on the Qualcomm MSM8976 platform. 121 The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also 122 supported by this driver. 123 124config PINCTRL_MSM8994 125 tristate "Qualcomm 8994 pin controller driver" 126 depends on GPIOLIB && OF 127 select PINCTRL_MSM 128 help 129 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 130 Qualcomm TLMM block found in the Qualcomm 8994 platform. The 131 Qualcomm 8992 platform is also supported by this driver. 132 133config PINCTRL_MSM8996 134 tristate "Qualcomm MSM8996 pin controller driver" 135 depends on GPIOLIB && OF 136 select PINCTRL_MSM 137 help 138 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 139 Qualcomm TLMM block found in the Qualcomm MSM8996 platform. 140 141config PINCTRL_MSM8998 142 tristate "Qualcomm MSM8998 pin controller driver" 143 depends on GPIOLIB && OF 144 select PINCTRL_MSM 145 help 146 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 147 Qualcomm TLMM block found in the Qualcomm MSM8998 platform. 148 149config PINCTRL_QCS404 150 tristate "Qualcomm QCS404 pin controller driver" 151 depends on GPIOLIB && OF 152 select PINCTRL_MSM 153 help 154 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 155 TLMM block found in the Qualcomm QCS404 platform. 156 157config PINCTRL_QDF2XXX 158 tristate "Qualcomm Technologies QDF2xxx pin controller driver" 159 depends on GPIOLIB && ACPI 160 select PINCTRL_MSM 161 help 162 This is the GPIO driver for the TLMM block found on the 163 Qualcomm Technologies QDF2xxx SOCs. 164 165config PINCTRL_QCOM_SPMI_PMIC 166 tristate "Qualcomm SPMI PMIC pin controller driver" 167 depends on GPIOLIB && OF && SPMI 168 select REGMAP_SPMI 169 select PINMUX 170 select PINCONF 171 select GENERIC_PINCONF 172 select GPIOLIB_IRQCHIP 173 select IRQ_DOMAIN_HIERARCHY 174 help 175 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 176 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, 177 which are using SPMI for communication with SoC. Example PMIC's 178 devices are pm8841, pm8941 and pma8084. 179 180config PINCTRL_QCOM_SSBI_PMIC 181 tristate "Qualcomm SSBI PMIC pin controller driver" 182 depends on GPIOLIB && OF 183 select PINMUX 184 select PINCONF 185 select GENERIC_PINCONF 186 select GPIOLIB_IRQCHIP 187 select IRQ_DOMAIN_HIERARCHY 188 help 189 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 190 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, 191 which are using SSBI for communication with SoC. Example PMIC's 192 devices are pm8058 and pm8921. 193 194config PINCTRL_SC7180 195 tristate "Qualcomm Technologies Inc SC7180 pin controller driver" 196 depends on GPIOLIB && OF 197 select PINCTRL_MSM 198 help 199 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 200 Qualcomm Technologies Inc TLMM block found on the Qualcomm 201 Technologies Inc SC7180 platform. 202 203config PINCTRL_SDM660 204 tristate "Qualcomm Technologies Inc SDM660 pin controller driver" 205 depends on GPIOLIB && OF 206 select PINCTRL_MSM 207 help 208 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 209 Qualcomm Technologies Inc TLMM block found on the Qualcomm 210 Technologies Inc SDM660 platform. 211 212config PINCTRL_SDM845 213 tristate "Qualcomm Technologies Inc SDM845 pin controller driver" 214 depends on GPIOLIB && (OF || ACPI) 215 select PINCTRL_MSM 216 help 217 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 218 Qualcomm Technologies Inc TLMM block found on the Qualcomm 219 Technologies Inc SDM845 platform. 220 221config PINCTRL_SM8150 222 tristate "Qualcomm Technologies Inc SM8150 pin controller driver" 223 depends on GPIOLIB && OF 224 select PINCTRL_MSM 225 help 226 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 227 Qualcomm Technologies Inc TLMM block found on the Qualcomm 228 Technologies Inc SM8150 platform. 229 230config PINCTRL_SM8250 231 tristate "Qualcomm Technologies Inc SM8250 pin controller driver" 232 depends on GPIOLIB && OF 233 select PINCTRL_MSM 234 help 235 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 236 Qualcomm Technologies Inc TLMM block found on the Qualcomm 237 Technologies Inc SM8250 platform. 238 239endif 240