xref: /openbmc/linux/drivers/pinctrl/qcom/Kconfig (revision c0c74acb)
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_MSM8660
43	tristate "Qualcomm 8660 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 the
48	  Qualcomm TLMM block found in the Qualcomm 8660 platform.
49
50config PINCTRL_MSM8960
51	tristate "Qualcomm 8960 pin controller driver"
52	depends on GPIOLIB && OF
53	select PINCTRL_MSM
54	help
55	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
56	  Qualcomm TLMM block found in the Qualcomm 8960 platform.
57
58config PINCTRL_MDM9615
59	tristate "Qualcomm 9615 pin controller driver"
60	depends on GPIOLIB && OF
61	select PINCTRL_MSM
62	help
63	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
64	  Qualcomm TLMM block found in the Qualcomm 9615 platform.
65
66config PINCTRL_MSM8X74
67	tristate "Qualcomm 8x74 pin controller driver"
68	depends on GPIOLIB && OF
69	select PINCTRL_MSM
70	help
71	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
72	  Qualcomm TLMM block found in the Qualcomm 8974 platform.
73
74config PINCTRL_MSM8916
75	tristate "Qualcomm 8916 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 on the Qualcomm 8916 platform.
81
82config PINCTRL_MSM8994
83	tristate "Qualcomm 8994 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 8994 platform. The
89	  Qualcomm 8992 platform is also supported by this driver.
90
91config PINCTRL_MSM8996
92	tristate "Qualcomm MSM8996 pin controller driver"
93	depends on GPIOLIB && OF
94	select PINCTRL_MSM
95	help
96	  This is the pinctrl, pinmux, pinconf and gpiolib driver for the
97	  Qualcomm TLMM block found in the Qualcomm MSM8996 platform.
98
99config PINCTRL_QDF2XXX
100	tristate "Qualcomm Technologies QDF2xxx pin controller driver"
101	depends on GPIOLIB && ACPI
102	select PINCTRL_MSM
103	help
104	  This is the GPIO driver for the TLMM block found on the
105	  Qualcomm Technologies QDF2xxx SOCs.
106
107config PINCTRL_QCOM_SPMI_PMIC
108       tristate "Qualcomm SPMI PMIC pin controller driver"
109       depends on GPIOLIB && OF && SPMI
110       select REGMAP_SPMI
111       select PINMUX
112       select PINCONF
113       select GENERIC_PINCONF
114       help
115         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
116         Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
117         which are using SPMI for communication with SoC. Example PMIC's
118         devices are pm8841, pm8941 and pma8084.
119
120config PINCTRL_QCOM_SSBI_PMIC
121       tristate "Qualcomm SSBI PMIC pin controller driver"
122       depends on GPIOLIB && OF
123       select PINMUX
124       select PINCONF
125       select GENERIC_PINCONF
126       help
127         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
128         Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
129         which are using SSBI for communication with SoC. Example PMIC's
130         devices are pm8058 and pm8921.
131
132endif
133