xref: /linux/drivers/pinctrl/Kconfig (revision 17723111e64fbcc327846ff0b33532bcf1d40f56)
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
34d8fe3572SDong Aishengconfig PINCTRL_IMX6Q
35d8fe3572SDong Aisheng	bool "IMX6Q pinctrl driver"
36d8fe3572SDong Aisheng	depends on OF
37d8fe3572SDong Aisheng	depends on SOC_IMX6Q
38d8fe3572SDong Aisheng	select PINCTRL_IMX
39d8fe3572SDong Aisheng	help
40d8fe3572SDong Aisheng	  Say Y here to enable the imx6q pinctrl driver
41d8fe3572SDong Aisheng
42f4e66983SHaojian Zhuangconfig PINCTRL_PXA3xx
43f4e66983SHaojian Zhuang	bool
44f4e66983SHaojian Zhuang	select PINMUX
45f4e66983SHaojian Zhuang
46f4e66983SHaojian Zhuangconfig PINCTRL_MMP2
47f4e66983SHaojian Zhuang	bool "MMP2 pin controller driver"
48f4e66983SHaojian Zhuang	depends on ARCH_MMP
49f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
50f4e66983SHaojian Zhuang	select PINCONF
51f4e66983SHaojian Zhuang
52*17723111SShawn Guoconfig PINCTRL_MXS
53*17723111SShawn Guo	bool
54*17723111SShawn Guo
55*17723111SShawn Guoconfig PINCTRL_IMX23
56*17723111SShawn Guo	bool
57*17723111SShawn Guo	select PINMUX
58*17723111SShawn Guo	select PINCONF
59*17723111SShawn Guo	select PINCTRL_MXS
60*17723111SShawn Guo
61*17723111SShawn Guoconfig PINCTRL_IMX28
62*17723111SShawn Guo	bool
63*17723111SShawn Guo	select PINMUX
64*17723111SShawn Guo	select PINCONF
65*17723111SShawn Guo	select PINCTRL_MXS
66*17723111SShawn Guo
67f4e66983SHaojian Zhuangconfig PINCTRL_PXA168
68f4e66983SHaojian Zhuang	bool "PXA168 pin controller driver"
69f4e66983SHaojian Zhuang	depends on ARCH_MMP
70f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
71f4e66983SHaojian Zhuang	select PINCONF
72f4e66983SHaojian Zhuang
73f4e66983SHaojian Zhuangconfig PINCTRL_PXA910
74f4e66983SHaojian Zhuang	bool "PXA910 pin controller driver"
75f4e66983SHaojian Zhuang	depends on ARCH_MMP
76f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
77f4e66983SHaojian Zhuang	select PINCONF
78f4e66983SHaojian Zhuang
793bece55aSLinus Walleijconfig PINCTRL_SIRF
803bece55aSLinus Walleij	bool "CSR SiRFprimaII pin controller driver"
81393daa81SRongjun Ying	depends on ARCH_PRIMA2
82393daa81SRongjun Ying	select PINMUX
83393daa81SRongjun Ying
84971dac71SStephen Warrenconfig PINCTRL_TEGRA
85971dac71SStephen Warren	bool
86971dac71SStephen Warren
87971dac71SStephen Warrenconfig PINCTRL_TEGRA20
88971dac71SStephen Warren	bool
89971dac71SStephen Warren	select PINMUX
90971dac71SStephen Warren	select PINCONF
91971dac71SStephen Warren	select PINCTRL_TEGRA
92971dac71SStephen Warren
93971dac71SStephen Warrenconfig PINCTRL_TEGRA30
94971dac71SStephen Warren	bool
95971dac71SStephen Warren	select PINMUX
96971dac71SStephen Warren	select PINCONF
97971dac71SStephen Warren	select PINCTRL_TEGRA
98971dac71SStephen Warren
993bece55aSLinus Walleijconfig PINCTRL_U300
1003bece55aSLinus Walleij	bool "U300 pin controller driver"
10198da3529SLinus Walleij	depends on ARCH_U300
10298da3529SLinus Walleij	select PINMUX
103dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
10445f034efSLinus Walleij
105ca402d37SLinus Walleijconfig PINCTRL_COH901
106ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
107b4e3ac74SLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINMUX_U300
108ca402d37SLinus Walleij	help
109ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
110ca402d37SLinus Walleij	  The names of the two IP block variants supported are
111ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
112ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
113ca402d37SLinus Walleij
11445f034efSLinus Walleijendmenu
11598da3529SLinus Walleij
1162744e8afSLinus Walleijendif
117