GNU Linux-libre 4.14.266-gnu1
[releases.git] / drivers / pinctrl / qcom / Kconfig
1 if (ARCH_QCOM || COMPILE_TEST)
2
3 config PINCTRL_MSM
4         bool
5         select PINMUX
6         select PINCONF
7         select GENERIC_PINCONF
8         select GPIOLIB_IRQCHIP
9
10 config 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
18 config 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
26 config 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
34 config 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
42 config 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
52 config 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
60 config 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
68 config 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
76 config 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
84 config 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
92 config 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
101 config 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
109 config PINCTRL_QDF2XXX
110         tristate "Qualcomm Technologies QDF2xxx pin controller driver"
111         depends on GPIOLIB && ACPI
112         select PINCTRL_MSM
113         help
114           This is the GPIO driver for the TLMM block found on the
115           Qualcomm Technologies QDF2xxx SOCs.
116
117 config PINCTRL_QCOM_SPMI_PMIC
118        tristate "Qualcomm SPMI PMIC pin controller driver"
119        depends on GPIOLIB && OF && SPMI
120        select REGMAP_SPMI
121        select PINMUX
122        select PINCONF
123        select GENERIC_PINCONF
124        help
125          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
126          Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
127          which are using SPMI for communication with SoC. Example PMIC's
128          devices are pm8841, pm8941 and pma8084.
129
130 config PINCTRL_QCOM_SSBI_PMIC
131        tristate "Qualcomm SSBI PMIC pin controller driver"
132        depends on GPIOLIB && OF
133        select PINMUX
134        select PINCONF
135        select GENERIC_PINCONF
136        help
137          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
138          Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
139          which are using SSBI for communication with SoC. Example PMIC's
140          devices are pm8058 and pm8921.
141
142 endif