1# SPDX-License-Identifier: GPL-2.0-only 2if (ARCH_QCOM || COMPILE_TEST) 3 4config PINCTRL_MSM 5 tristate "Qualcomm core pin controller driver" 6 depends on GPIOLIB 7 select QCOM_SCM 8 select PINMUX 9 select PINCONF 10 select GENERIC_PINCONF 11 select GPIOLIB_IRQCHIP 12 select IRQ_DOMAIN_HIERARCHY 13 select IRQ_FASTEOI_HIERARCHY_HANDLERS 14 15config PINCTRL_APQ8064 16 tristate "Qualcomm APQ8064 pin controller driver" 17 depends on OF 18 depends on PINCTRL_MSM 19 help 20 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 21 Qualcomm TLMM block found in the Qualcomm APQ8064 platform. 22 23config PINCTRL_APQ8084 24 tristate "Qualcomm APQ8084 pin controller driver" 25 depends on OF 26 depends on PINCTRL_MSM 27 help 28 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 29 Qualcomm TLMM block found in the Qualcomm APQ8084 platform. 30 31config PINCTRL_IPQ4019 32 tristate "Qualcomm IPQ4019 pin controller driver" 33 depends on OF 34 depends on PINCTRL_MSM 35 help 36 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 37 Qualcomm TLMM block found in the Qualcomm IPQ4019 platform. 38 39config PINCTRL_IPQ8064 40 tristate "Qualcomm IPQ8064 pin controller driver" 41 depends on OF 42 depends on PINCTRL_MSM 43 help 44 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 45 Qualcomm TLMM block found in the Qualcomm IPQ8064 platform. 46 47config PINCTRL_IPQ8074 48 tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver" 49 depends on OF 50 depends on PINCTRL_MSM 51 help 52 This is the pinctrl, pinmux, pinconf and gpiolib driver for 53 the Qualcomm Technologies Inc. TLMM block found on the 54 Qualcomm Technologies Inc. IPQ8074 platform. Select this for 55 IPQ8074. 56 57config PINCTRL_IPQ6018 58 tristate "Qualcomm Technologies, Inc. IPQ6018 pin controller driver" 59 depends on OF 60 depends on PINCTRL_MSM 61 help 62 This is the pinctrl, pinmux, pinconf and gpiolib driver for 63 the Qualcomm Technologies Inc. TLMM block found on the 64 Qualcomm Technologies Inc. IPQ6018 platform. Select this for 65 IPQ6018. 66 67config PINCTRL_MSM8226 68 tristate "Qualcomm 8226 pin controller driver" 69 depends on OF 70 depends on PINCTRL_MSM 71 help 72 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 73 Qualcomm Technologies Inc TLMM block found on the Qualcomm 74 Technologies Inc MSM8226 platform. 75 76config PINCTRL_MSM8660 77 tristate "Qualcomm 8660 pin controller driver" 78 depends on OF 79 depends on PINCTRL_MSM 80 help 81 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 82 Qualcomm TLMM block found in the Qualcomm 8660 platform. 83 84config PINCTRL_MSM8960 85 tristate "Qualcomm 8960 pin controller driver" 86 depends on OF 87 depends on PINCTRL_MSM 88 help 89 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 90 Qualcomm TLMM block found in the Qualcomm 8960 platform. 91 92config PINCTRL_MDM9607 93 tristate "Qualcomm 9607 pin controller driver" 94 depends on GPIOLIB && OF 95 depends on PINCTRL_MSM 96 help 97 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 98 Qualcomm TLMM block found in the Qualcomm 9607 platform. 99 100config PINCTRL_MDM9615 101 tristate "Qualcomm 9615 pin controller driver" 102 depends on OF 103 depends on PINCTRL_MSM 104 help 105 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 106 Qualcomm TLMM block found in the Qualcomm 9615 platform. 107 108config PINCTRL_MSM8X74 109 tristate "Qualcomm 8x74 pin controller driver" 110 depends on OF 111 depends on PINCTRL_MSM 112 help 113 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 114 Qualcomm TLMM block found in the Qualcomm 8974 platform. 115 116config PINCTRL_MSM8916 117 tristate "Qualcomm 8916 pin controller driver" 118 depends on OF 119 depends on PINCTRL_MSM 120 help 121 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 122 Qualcomm TLMM block found on the Qualcomm 8916 platform. 123 124config PINCTRL_MSM8953 125 tristate "Qualcomm 8953 pin controller driver" 126 depends on OF 127 depends on PINCTRL_MSM 128 help 129 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 130 Qualcomm TLMM block found on the Qualcomm MSM8953 platform. 131 The Qualcomm APQ8053, SDM450, SDM632 platforms are also 132 supported by this driver. 133 134config PINCTRL_MSM8976 135 tristate "Qualcomm 8976 pin controller driver" 136 depends on OF 137 depends on PINCTRL_MSM 138 help 139 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 140 Qualcomm TLMM block found on the Qualcomm MSM8976 platform. 141 The Qualcomm MSM8956, APQ8056, APQ8076 platforms are also 142 supported by this driver. 143 144config PINCTRL_MSM8994 145 tristate "Qualcomm 8994 pin controller driver" 146 depends on OF 147 depends on PINCTRL_MSM 148 help 149 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 150 Qualcomm TLMM block found in the Qualcomm 8994 platform. The 151 Qualcomm 8992 platform is also supported by this driver. 152 153config PINCTRL_MSM8996 154 tristate "Qualcomm MSM8996 pin controller driver" 155 depends on OF 156 depends on PINCTRL_MSM 157 help 158 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 159 Qualcomm TLMM block found in the Qualcomm MSM8996 platform. 160 161config PINCTRL_MSM8998 162 tristate "Qualcomm MSM8998 pin controller driver" 163 depends on OF 164 depends on PINCTRL_MSM 165 help 166 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 167 Qualcomm TLMM block found in the Qualcomm MSM8998 platform. 168 169config PINCTRL_QCS404 170 tristate "Qualcomm QCS404 pin controller driver" 171 depends on OF 172 depends on PINCTRL_MSM 173 help 174 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 175 TLMM block found in the Qualcomm QCS404 platform. 176 177config PINCTRL_QDF2XXX 178 tristate "Qualcomm Technologies QDF2xxx pin controller driver" 179 depends on ACPI 180 depends on PINCTRL_MSM 181 help 182 This is the GPIO driver for the TLMM block found on the 183 Qualcomm Technologies QDF2xxx SOCs. 184 185config PINCTRL_QCOM_SPMI_PMIC 186 tristate "Qualcomm SPMI PMIC pin controller driver" 187 depends on OF && SPMI 188 select REGMAP_SPMI 189 select PINMUX 190 select PINCONF 191 select GENERIC_PINCONF 192 select GPIOLIB_IRQCHIP 193 select IRQ_DOMAIN_HIERARCHY 194 help 195 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 196 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, 197 which are using SPMI for communication with SoC. Example PMIC's 198 devices are pm8841, pm8941 and pma8084. 199 200config PINCTRL_QCOM_SSBI_PMIC 201 tristate "Qualcomm SSBI PMIC pin controller driver" 202 depends on OF 203 select PINMUX 204 select PINCONF 205 select GENERIC_PINCONF 206 select GPIOLIB_IRQCHIP 207 select IRQ_DOMAIN_HIERARCHY 208 help 209 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 210 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, 211 which are using SSBI for communication with SoC. Example PMIC's 212 devices are pm8058 and pm8921. 213 214config PINCTRL_SC7180 215 tristate "Qualcomm Technologies Inc SC7180 pin controller driver" 216 depends on OF 217 depends on PINCTRL_MSM 218 help 219 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 220 Qualcomm Technologies Inc TLMM block found on the Qualcomm 221 Technologies Inc SC7180 platform. 222 223config PINCTRL_SC7280 224 tristate "Qualcomm Technologies Inc SC7280 pin controller driver" 225 depends on OF 226 depends on PINCTRL_MSM 227 help 228 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 229 Qualcomm Technologies Inc TLMM block found on the Qualcomm 230 Technologies Inc SC7280 platform. 231 232config PINCTRL_SC8180X 233 tristate "Qualcomm Technologies Inc SC8180x pin controller driver" 234 depends on (OF || ACPI) 235 depends on PINCTRL_MSM 236 help 237 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 238 Qualcomm Technologies Inc TLMM block found on the Qualcomm 239 Technologies Inc SC8180x platform. 240 241config PINCTRL_SDM660 242 tristate "Qualcomm Technologies Inc SDM660 pin controller driver" 243 depends on OF 244 depends on PINCTRL_MSM 245 help 246 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 247 Qualcomm Technologies Inc TLMM block found on the Qualcomm 248 Technologies Inc SDM660 platform. 249 250config PINCTRL_SDM845 251 tristate "Qualcomm Technologies Inc SDM845 pin controller driver" 252 depends on (OF || ACPI) 253 depends on PINCTRL_MSM 254 help 255 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 256 Qualcomm Technologies Inc TLMM block found on the Qualcomm 257 Technologies Inc SDM845 platform. 258 259config PINCTRL_SDX55 260 tristate "Qualcomm Technologies Inc SDX55 pin controller driver" 261 depends on OF 262 depends on PINCTRL_MSM 263 help 264 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 265 Qualcomm Technologies Inc TLMM block found on the Qualcomm 266 Technologies Inc SDX55 platform. 267 268config PINCTRL_SM6115 269 tristate "Qualcomm Technologies Inc SM6115,SM4250 pin controller driver" 270 depends on GPIOLIB && OF 271 depends on PINCTRL_MSM 272 help 273 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 274 Qualcomm Technologies Inc TLMM block found on the Qualcomm 275 Technologies Inc SM6115 and SM4250 platforms. 276 277config PINCTRL_SM6125 278 tristate "Qualcomm Technologies Inc SM6125 pin controller driver" 279 depends on OF 280 depends on PINCTRL_MSM 281 help 282 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 283 Qualcomm Technologies Inc TLMM block found on the Qualcomm 284 Technologies Inc SM6125 platform. 285 286config PINCTRL_SM8150 287 tristate "Qualcomm Technologies Inc SM8150 pin controller driver" 288 depends on OF 289 depends on PINCTRL_MSM 290 help 291 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 292 Qualcomm Technologies Inc TLMM block found on the Qualcomm 293 Technologies Inc SM8150 platform. 294 295config PINCTRL_SM8250 296 tristate "Qualcomm Technologies Inc SM8250 pin controller driver" 297 depends on OF 298 depends on PINCTRL_MSM 299 help 300 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 301 Qualcomm Technologies Inc TLMM block found on the Qualcomm 302 Technologies Inc SM8250 platform. 303 304config PINCTRL_SM8350 305 tristate "Qualcomm Technologies Inc SM8350 pin controller driver" 306 depends on PINCTRL_MSM 307 help 308 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 309 Qualcomm Technologies Inc TLMM block found on the Qualcomm 310 Technologies Inc SM8350 platform. 311 312config PINCTRL_LPASS_LPI 313 tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver" 314 select PINMUX 315 select PINCONF 316 select GENERIC_PINCONF 317 depends on GPIOLIB 318 help 319 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 320 Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI 321 (Low Power Island) found on the Qualcomm Technologies Inc SoCs. 322 323endif 324