1if (ARCH_QCOM || COMPILE_TEST) 2 3config PINCTRL_MSM 4 bool 5 select PINMUX 6 select PINCONF 7 select GENERIC_PINCONF 8 select GPIOLIB_IRQCHIP 9 10config PINCTRL_APQ8064 11 tristate "Qualcomm APQ8064 pin controller driver" 12 depends on GPIOLIB && OF 13 select PINCTRL_MSM 14 help 15 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 16 Qualcomm TLMM block found in the Qualcomm APQ8064 platform. 17 18config PINCTRL_APQ8084 19 tristate "Qualcomm APQ8084 pin controller driver" 20 depends on GPIOLIB && OF 21 select PINCTRL_MSM 22 help 23 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 24 Qualcomm TLMM block found in the Qualcomm APQ8084 platform. 25 26config PINCTRL_IPQ4019 27 tristate "Qualcomm IPQ4019 pin controller driver" 28 depends on GPIOLIB && OF 29 select PINCTRL_MSM 30 help 31 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 32 Qualcomm TLMM block found in the Qualcomm IPQ4019 platform. 33 34config PINCTRL_IPQ8064 35 tristate "Qualcomm IPQ8064 pin controller driver" 36 depends on GPIOLIB && OF 37 select PINCTRL_MSM 38 help 39 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 40 Qualcomm TLMM block found in the Qualcomm IPQ8064 platform. 41 42config PINCTRL_IPQ8074 43 tristate "Qualcomm Technologies, Inc. IPQ8074 pin controller driver" 44 depends on GPIOLIB && OF 45 select PINCTRL_MSM 46 help 47 This is the pinctrl, pinmux, pinconf and gpiolib driver for 48 the Qualcomm Technologies Inc. TLMM block found on the 49 Qualcomm Technologies Inc. IPQ8074 platform. Select this for 50 IPQ8074. 51 52config PINCTRL_MSM8660 53 tristate "Qualcomm 8660 pin controller driver" 54 depends on GPIOLIB && OF 55 select PINCTRL_MSM 56 help 57 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 58 Qualcomm TLMM block found in the Qualcomm 8660 platform. 59 60config PINCTRL_MSM8960 61 tristate "Qualcomm 8960 pin controller driver" 62 depends on GPIOLIB && OF 63 select PINCTRL_MSM 64 help 65 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 66 Qualcomm TLMM block found in the Qualcomm 8960 platform. 67 68config PINCTRL_MDM9615 69 tristate "Qualcomm 9615 pin controller driver" 70 depends on GPIOLIB && OF 71 select PINCTRL_MSM 72 help 73 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 74 Qualcomm TLMM block found in the Qualcomm 9615 platform. 75 76config PINCTRL_MSM8X74 77 tristate "Qualcomm 8x74 pin controller driver" 78 depends on GPIOLIB && OF 79 select PINCTRL_MSM 80 help 81 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 82 Qualcomm TLMM block found in the Qualcomm 8974 platform. 83 84config PINCTRL_MSM8916 85 tristate "Qualcomm 8916 pin controller driver" 86 depends on GPIOLIB && OF 87 select PINCTRL_MSM 88 help 89 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 90 Qualcomm TLMM block found on the Qualcomm 8916 platform. 91 92config PINCTRL_MSM8994 93 tristate "Qualcomm 8994 pin controller driver" 94 depends on GPIOLIB && OF 95 select PINCTRL_MSM 96 help 97 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 98 Qualcomm TLMM block found in the Qualcomm 8994 platform. The 99 Qualcomm 8992 platform is also supported by this driver. 100 101config PINCTRL_MSM8996 102 tristate "Qualcomm MSM8996 pin controller driver" 103 depends on GPIOLIB && OF 104 select PINCTRL_MSM 105 help 106 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 107 Qualcomm TLMM block found in the Qualcomm MSM8996 platform. 108 109config PINCTRL_MSM8998 110 tristate "Qualcomm MSM8998 pin controller driver" 111 depends on GPIOLIB && OF 112 select PINCTRL_MSM 113 help 114 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 115 Qualcomm TLMM block found in the Qualcomm MSM8998 platform. 116 117config PINCTRL_QDF2XXX 118 tristate "Qualcomm Technologies QDF2xxx pin controller driver" 119 depends on GPIOLIB && ACPI 120 select PINCTRL_MSM 121 help 122 This is the GPIO driver for the TLMM block found on the 123 Qualcomm Technologies QDF2xxx SOCs. 124 125config PINCTRL_QCOM_SPMI_PMIC 126 tristate "Qualcomm SPMI PMIC pin controller driver" 127 depends on GPIOLIB && OF && SPMI 128 select REGMAP_SPMI 129 select PINMUX 130 select PINCONF 131 select GENERIC_PINCONF 132 help 133 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 134 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, 135 which are using SPMI for communication with SoC. Example PMIC's 136 devices are pm8841, pm8941 and pma8084. 137 138config PINCTRL_QCOM_SSBI_PMIC 139 tristate "Qualcomm SSBI PMIC pin controller driver" 140 depends on GPIOLIB && OF 141 select PINMUX 142 select PINCONF 143 select GENERIC_PINCONF 144 help 145 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 146 Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips, 147 which are using SSBI for communication with SoC. Example PMIC's 148 devices are pm8058 and pm8921. 149 150endif 151