xref: /linux/drivers/pinctrl/Kconfig (revision 93fbd3c0502bd2a470ec599c870b0f8dd54ad359)
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*93fbd3c0SDong Aishengconfig PINCTRL_IMX53
35*93fbd3c0SDong Aisheng	bool "IMX53 pinctrl driver"
36*93fbd3c0SDong Aisheng	depends on OF
37*93fbd3c0SDong Aisheng	depends on SOC_IMX53
38*93fbd3c0SDong Aisheng	select PINCTRL_IMX
39*93fbd3c0SDong Aisheng	help
40*93fbd3c0SDong Aisheng	  Say Y here to enable the imx53 pinctrl driver
41*93fbd3c0SDong Aisheng
42d8fe3572SDong Aishengconfig PINCTRL_IMX6Q
43d8fe3572SDong Aisheng	bool "IMX6Q pinctrl driver"
44d8fe3572SDong Aisheng	depends on OF
45d8fe3572SDong Aisheng	depends on SOC_IMX6Q
46d8fe3572SDong Aisheng	select PINCTRL_IMX
47d8fe3572SDong Aisheng	help
48d8fe3572SDong Aisheng	  Say Y here to enable the imx6q pinctrl driver
49d8fe3572SDong Aisheng
50f4e66983SHaojian Zhuangconfig PINCTRL_PXA3xx
51f4e66983SHaojian Zhuang	bool
52f4e66983SHaojian Zhuang	select PINMUX
53f4e66983SHaojian Zhuang
54f4e66983SHaojian Zhuangconfig PINCTRL_MMP2
55f4e66983SHaojian Zhuang	bool "MMP2 pin controller driver"
56f4e66983SHaojian Zhuang	depends on ARCH_MMP
57f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
58f4e66983SHaojian Zhuang	select PINCONF
59f4e66983SHaojian Zhuang
6017723111SShawn Guoconfig PINCTRL_MXS
6117723111SShawn Guo	bool
6217723111SShawn Guo
6317723111SShawn Guoconfig PINCTRL_IMX23
6417723111SShawn Guo	bool
6517723111SShawn Guo	select PINMUX
6617723111SShawn Guo	select PINCONF
6717723111SShawn Guo	select PINCTRL_MXS
6817723111SShawn Guo
6917723111SShawn Guoconfig PINCTRL_IMX28
7017723111SShawn Guo	bool
7117723111SShawn Guo	select PINMUX
7217723111SShawn Guo	select PINCONF
7317723111SShawn Guo	select PINCTRL_MXS
7417723111SShawn Guo
75f4e66983SHaojian Zhuangconfig PINCTRL_PXA168
76f4e66983SHaojian Zhuang	bool "PXA168 pin controller driver"
77f4e66983SHaojian Zhuang	depends on ARCH_MMP
78f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
79f4e66983SHaojian Zhuang	select PINCONF
80f4e66983SHaojian Zhuang
81f4e66983SHaojian Zhuangconfig PINCTRL_PXA910
82f4e66983SHaojian Zhuang	bool "PXA910 pin controller driver"
83f4e66983SHaojian Zhuang	depends on ARCH_MMP
84f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
85f4e66983SHaojian Zhuang	select PINCONF
86f4e66983SHaojian Zhuang
873bece55aSLinus Walleijconfig PINCTRL_SIRF
883bece55aSLinus Walleij	bool "CSR SiRFprimaII pin controller driver"
89393daa81SRongjun Ying	depends on ARCH_PRIMA2
90393daa81SRongjun Ying	select PINMUX
91393daa81SRongjun Ying
92971dac71SStephen Warrenconfig PINCTRL_TEGRA
93971dac71SStephen Warren	bool
94971dac71SStephen Warren
95971dac71SStephen Warrenconfig PINCTRL_TEGRA20
96971dac71SStephen Warren	bool
97971dac71SStephen Warren	select PINMUX
98971dac71SStephen Warren	select PINCONF
99971dac71SStephen Warren	select PINCTRL_TEGRA
100971dac71SStephen Warren
101971dac71SStephen Warrenconfig PINCTRL_TEGRA30
102971dac71SStephen Warren	bool
103971dac71SStephen Warren	select PINMUX
104971dac71SStephen Warren	select PINCONF
105971dac71SStephen Warren	select PINCTRL_TEGRA
106971dac71SStephen Warren
1073bece55aSLinus Walleijconfig PINCTRL_U300
1083bece55aSLinus Walleij	bool "U300 pin controller driver"
10998da3529SLinus Walleij	depends on ARCH_U300
11098da3529SLinus Walleij	select PINMUX
111dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
11245f034efSLinus Walleij
113ca402d37SLinus Walleijconfig PINCTRL_COH901
114ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
115b4e3ac74SLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINMUX_U300
116ca402d37SLinus Walleij	help
117ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
118ca402d37SLinus Walleij	  The names of the two IP block variants supported are
119ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
120ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
121ca402d37SLinus Walleij
12245f034efSLinus Walleijendmenu
12398da3529SLinus Walleij
1242744e8afSLinus Walleijendif
125