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 11config PINCTRL_APQ8064 12 tristate "Qualcomm APQ8064 pin controller driver" 13 depends on GPIOLIB && OF 14 select PINCTRL_MSM 15 help 16 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 17 Qualcomm TLMM block found in the Qualcomm APQ8064 platform. 18 19config PINCTRL_APQ8084 20 tristate "Qualcomm APQ8084 pin controller driver" 21 depends on GPIOLIB && OF 22 select PINCTRL_MSM 23 help 24 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 25 Qualcomm TLMM block found in the Qualcomm APQ8084 platform. 26 27config PINCTRL_IPQ4019 28 tristate "Qualcomm IPQ4019 pin controller driver" 29 depends on GPIOLIB && OF 30 select PINCTRL_MSM 31 help 32 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 33 Qualcomm TLMM block found in the Qualcomm IPQ4019 platform. 34 35config PINCTRL_IPQ8064 36 tristate "Qualcomm IPQ8064 pin controller driver" 37 depends on GPIOLIB && OF 38 select PINCTRL_MSM 39 help 40 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 41 Qualcomm TLMM block found in the Qualcomm IPQ8064 platform. 42 43config PINCTRL_IPQ8074 44 tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver" 45 depends on GPIOLIB && OF 46 select PINCTRL_MSM 47 help 48 This is the pinctrl, pinmux, pinconf and gpiolib driver for 49 the Qualcomm Technologies Inc. TLMM block found on the 50 Qualcomm Technologies Inc. IPQ8074 platform. Select this for 51 IPQ8074. 52 53config PINCTRL_MSM8660 54 tristate "Qualcomm 8660 pin controller driver" 55 depends on GPIOLIB && OF 56 select PINCTRL_MSM 57 help 58 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 59 Qualcomm TLMM block found in the Qualcomm 8660 platform. 60 61config PINCTRL_MSM8960 62 tristate "Qualcomm 8960 pin controller driver" 63 depends on GPIOLIB && OF 64 select PINCTRL_MSM 65 help 66 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 67 Qualcomm TLMM block found in the Qualcomm 8960 platform. 68 69config PINCTRL_MDM9615 70 tristate "Qualcomm 9615 pin controller driver" 71 depends on GPIOLIB && OF 72 select PINCTRL_MSM 73 help 74 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 75 Qualcomm TLMM block found in the Qualcomm 9615 platform. 76 77config PINCTRL_MSM8X74 78 tristate "Qualcomm 8x74 pin controller driver" 79 depends on GPIOLIB && OF 80 select PINCTRL_MSM 81 help 82 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 83 Qualcomm TLMM block found in the Qualcomm 8974 platform. 84 85config PINCTRL_MSM8916 86 tristate "Qualcomm 8916 pin controller driver" 87 depends on GPIOLIB && OF 88 select PINCTRL_MSM 89 help 90 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 91 Qualcomm TLMM block found on the Qualcomm 8916 platform. 92 93config PINCTRL_MSM8994 94 tristate "Qualcomm 8994 pin controller driver" 95 depends on GPIOLIB && OF 96 select PINCTRL_MSM 97 help 98 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 99 Qualcomm TLMM block found in the Qualcomm 8994 platform. The 100 Qualcomm 8992 platform is also supported by this driver. 101 102config PINCTRL_MSM8996 103 tristate "Qualcomm MSM8996 pin controller driver" 104 depends on GPIOLIB && OF 105 select PINCTRL_MSM 106 help 107 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 108 Qualcomm TLMM block found in the Qualcomm MSM8996 platform. 109 110config PINCTRL_MSM8998 111 tristate "Qualcomm MSM8998 pin controller driver" 112 depends on GPIOLIB && OF 113 select PINCTRL_MSM 114 help 115 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 116 Qualcomm TLMM block found in the Qualcomm MSM8998 platform. 117 118config PINCTRL_QCS404 119 tristate "Qualcomm QCS404 pin controller driver" 120 depends on GPIOLIB && OF 121 select PINCTRL_MSM 122 help 123 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 124 TLMM block found in the Qualcomm QCS404 platform. 125 126config PINCTRL_QDF2XXX 127 tristate "Qualcomm Technologies QDF2xxx pin controller driver" 128 depends on GPIOLIB && ACPI 129 select PINCTRL_MSM 130 help 131 This is the GPIO driver for the TLMM block found on the 132 Qualcomm Technologies QDF2xxx SOCs. 133 134config PINCTRL_QCOM_SPMI_PMIC 135 tristate "Qualcomm SPMI PMIC pin controller driver" 136 depends on GPIOLIB && OF && SPMI 137 select REGMAP_SPMI 138 select PINMUX 139 select PINCONF 140 select GENERIC_PINCONF 141 select IRQ_DOMAIN_HIERARCHY 142 help 143 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 144 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, 145 which are using SPMI for communication with SoC. Example PMIC's 146 devices are pm8841, pm8941 and pma8084. 147 148config PINCTRL_QCOM_SSBI_PMIC 149 tristate "Qualcomm SSBI PMIC pin controller driver" 150 depends on GPIOLIB && OF 151 select PINMUX 152 select PINCONF 153 select GENERIC_PINCONF 154 select IRQ_DOMAIN_HIERARCHY 155 help 156 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 157 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, 158 which are using SSBI for communication with SoC. Example PMIC's 159 devices are pm8058 and pm8921. 160 161config PINCTRL_SDM660 162 tristate "Qualcomm Technologies Inc SDM660 pin controller driver" 163 depends on GPIOLIB && OF 164 select PINCTRL_MSM 165 help 166 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 167 Qualcomm Technologies Inc TLMM block found on the Qualcomm 168 Technologies Inc SDM660 platform. 169 170config PINCTRL_SDM845 171 tristate "Qualcomm Technologies Inc SDM845 pin controller driver" 172 depends on GPIOLIB && (OF || ACPI) 173 select PINCTRL_MSM 174 help 175 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 176 Qualcomm Technologies Inc TLMM block found on the Qualcomm 177 Technologies Inc SDM845 platform. 178 179config PINCTRL_SM8150 180 tristate "Qualcomm Technologies Inc SM8150 pin controller driver" 181 depends on GPIOLIB && OF 182 select PINCTRL_MSM 183 help 184 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 185 Qualcomm Technologies Inc TLMM block found on the Qualcomm 186 Technologies Inc SM8150 platform. 187 188endif 189