xref: /linux/drivers/pinctrl/Kconfig (revision 4f6a16bf019cb0bbe1deb7d3a83d3593dcce8706)
12744e8afSLinus Walleij#
22744e8afSLinus Walleij# PINCTRL infrastructure and drivers
32744e8afSLinus Walleij#
42744e8afSLinus Walleij
545f034efSLinus Walleijconfig PINCTRL
645f034efSLinus Walleij	bool
72744e8afSLinus Walleij
82744e8afSLinus Walleijif PINCTRL
92744e8afSLinus Walleij
1045f034efSLinus Walleijmenu "Pin controllers"
1145f034efSLinus Walleij	depends on PINCTRL
1245f034efSLinus Walleij
132744e8afSLinus Walleijconfig PINMUX
14ae6b4d85SLinus Walleij	bool "Support pin multiplexing controllers"
15ae6b4d85SLinus Walleij
16ae6b4d85SLinus Walleijconfig PINCONF
17ae6b4d85SLinus Walleij	bool "Support pin configuration controllers"
182744e8afSLinus Walleij
19394349f7SLinus Walleijconfig GENERIC_PINCONF
20394349f7SLinus Walleij	bool
21394349f7SLinus Walleij	select PINCONF
22394349f7SLinus Walleij
232744e8afSLinus Walleijconfig DEBUG_PINCTRL
242744e8afSLinus Walleij	bool "Debug PINCTRL calls"
252744e8afSLinus Walleij	depends on DEBUG_KERNEL
262744e8afSLinus Walleij	help
272744e8afSLinus Walleij	  Say Y here to add some extra checks and diagnostics to PINCTRL calls.
282744e8afSLinus Walleij
29ae75ff81SDong Aishengconfig PINCTRL_IMX
30ae75ff81SDong Aisheng	bool
31ae75ff81SDong Aisheng	select PINMUX
32ae75ff81SDong Aisheng	select PINCONF
33ae75ff81SDong Aisheng
34*4f6a16bfSDong Aishengconfig PINCTRL_IMX51
35*4f6a16bfSDong Aisheng	bool "IMX51 pinctrl driver"
36*4f6a16bfSDong Aisheng	depends on OF
37*4f6a16bfSDong Aisheng	depends on SOC_IMX51
38*4f6a16bfSDong Aisheng	select PINCTRL_IMX
39*4f6a16bfSDong Aisheng	help
40*4f6a16bfSDong Aisheng	  Say Y here to enable the imx51 pinctrl driver
41*4f6a16bfSDong Aisheng
4293fbd3c0SDong Aishengconfig PINCTRL_IMX53
4393fbd3c0SDong Aisheng	bool "IMX53 pinctrl driver"
4493fbd3c0SDong Aisheng	depends on OF
4593fbd3c0SDong Aisheng	depends on SOC_IMX53
4693fbd3c0SDong Aisheng	select PINCTRL_IMX
4793fbd3c0SDong Aisheng	help
4893fbd3c0SDong Aisheng	  Say Y here to enable the imx53 pinctrl driver
4993fbd3c0SDong Aisheng
50d8fe3572SDong Aishengconfig PINCTRL_IMX6Q
51d8fe3572SDong Aisheng	bool "IMX6Q pinctrl driver"
52d8fe3572SDong Aisheng	depends on OF
53d8fe3572SDong Aisheng	depends on SOC_IMX6Q
54d8fe3572SDong Aisheng	select PINCTRL_IMX
55d8fe3572SDong Aisheng	help
56d8fe3572SDong Aisheng	  Say Y here to enable the imx6q pinctrl driver
57d8fe3572SDong Aisheng
58f4e66983SHaojian Zhuangconfig PINCTRL_PXA3xx
59f4e66983SHaojian Zhuang	bool
60f4e66983SHaojian Zhuang	select PINMUX
61f4e66983SHaojian Zhuang
62f4e66983SHaojian Zhuangconfig PINCTRL_MMP2
63f4e66983SHaojian Zhuang	bool "MMP2 pin controller driver"
64f4e66983SHaojian Zhuang	depends on ARCH_MMP
65f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
66f4e66983SHaojian Zhuang	select PINCONF
67f4e66983SHaojian Zhuang
6817723111SShawn Guoconfig PINCTRL_MXS
6917723111SShawn Guo	bool
7017723111SShawn Guo
7117723111SShawn Guoconfig PINCTRL_IMX23
7217723111SShawn Guo	bool
7317723111SShawn Guo	select PINMUX
7417723111SShawn Guo	select PINCONF
7517723111SShawn Guo	select PINCTRL_MXS
7617723111SShawn Guo
7717723111SShawn Guoconfig PINCTRL_IMX28
7817723111SShawn Guo	bool
7917723111SShawn Guo	select PINMUX
8017723111SShawn Guo	select PINCONF
8117723111SShawn Guo	select PINCTRL_MXS
8217723111SShawn Guo
83f4e66983SHaojian Zhuangconfig PINCTRL_PXA168
84f4e66983SHaojian Zhuang	bool "PXA168 pin controller driver"
85f4e66983SHaojian Zhuang	depends on ARCH_MMP
86f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
87f4e66983SHaojian Zhuang	select PINCONF
88f4e66983SHaojian Zhuang
89f4e66983SHaojian Zhuangconfig PINCTRL_PXA910
90f4e66983SHaojian Zhuang	bool "PXA910 pin controller driver"
91f4e66983SHaojian Zhuang	depends on ARCH_MMP
92f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
93f4e66983SHaojian Zhuang	select PINCONF
94f4e66983SHaojian Zhuang
953bece55aSLinus Walleijconfig PINCTRL_SIRF
963bece55aSLinus Walleij	bool "CSR SiRFprimaII pin controller driver"
97393daa81SRongjun Ying	depends on ARCH_PRIMA2
98393daa81SRongjun Ying	select PINMUX
99393daa81SRongjun Ying
100971dac71SStephen Warrenconfig PINCTRL_TEGRA
101971dac71SStephen Warren	bool
102971dac71SStephen Warren
103971dac71SStephen Warrenconfig PINCTRL_TEGRA20
104971dac71SStephen Warren	bool
105971dac71SStephen Warren	select PINMUX
106971dac71SStephen Warren	select PINCONF
107971dac71SStephen Warren	select PINCTRL_TEGRA
108971dac71SStephen Warren
109971dac71SStephen Warrenconfig PINCTRL_TEGRA30
110971dac71SStephen Warren	bool
111971dac71SStephen Warren	select PINMUX
112971dac71SStephen Warren	select PINCONF
113971dac71SStephen Warren	select PINCTRL_TEGRA
114971dac71SStephen Warren
1153bece55aSLinus Walleijconfig PINCTRL_U300
1163bece55aSLinus Walleij	bool "U300 pin controller driver"
11798da3529SLinus Walleij	depends on ARCH_U300
11898da3529SLinus Walleij	select PINMUX
119dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
12045f034efSLinus Walleij
121ca402d37SLinus Walleijconfig PINCTRL_COH901
122ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
123b4e3ac74SLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINMUX_U300
124ca402d37SLinus Walleij	help
125ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
126ca402d37SLinus Walleij	  The names of the two IP block variants supported are
127ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
128ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
129ca402d37SLinus Walleij
13045f034efSLinus Walleijendmenu
13198da3529SLinus Walleij
1322744e8afSLinus Walleijendif
133