xref: /linux/drivers/pinctrl/Kconfig (revision 0fa7be407dc101afe2d3dc99ded99de34c967a52)
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
5217723111SShawn Guoconfig PINCTRL_MXS
5317723111SShawn Guo	bool
5417723111SShawn Guo
5517723111SShawn Guoconfig PINCTRL_IMX23
5617723111SShawn Guo	bool
5717723111SShawn Guo	select PINMUX
5817723111SShawn Guo	select PINCONF
5917723111SShawn Guo	select PINCTRL_MXS
6017723111SShawn Guo
6117723111SShawn Guoconfig PINCTRL_IMX28
6217723111SShawn Guo	bool
6317723111SShawn Guo	select PINMUX
6417723111SShawn Guo	select PINCONF
6517723111SShawn Guo	select PINCTRL_MXS
6617723111SShawn Guo
67e98ea774SLinus Walleijconfig PINCTRL_NOMADIK
68e98ea774SLinus Walleij	bool "Nomadik pin controller driver"
69*0fa7be40SArnd Bergmann	depends on ARCH_U8500 || ARCH_NOMADIK
70dbfe8ca2SLinus Walleij	select PINMUX
71d41af627SLinus Walleij	select PINCONF
72e98ea774SLinus Walleij
73e98ea774SLinus Walleijconfig PINCTRL_DB8500
74e98ea774SLinus Walleij	bool "DB8500 pin controller driver"
75e98ea774SLinus Walleij	depends on PINCTRL_NOMADIK && ARCH_U8500
76e98ea774SLinus Walleij
77f4e66983SHaojian Zhuangconfig PINCTRL_PXA168
78f4e66983SHaojian Zhuang	bool "PXA168 pin controller driver"
79f4e66983SHaojian Zhuang	depends on ARCH_MMP
80f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
81f4e66983SHaojian Zhuang	select PINCONF
82f4e66983SHaojian Zhuang
83f4e66983SHaojian Zhuangconfig PINCTRL_PXA910
84f4e66983SHaojian Zhuang	bool "PXA910 pin controller driver"
85f4e66983SHaojian Zhuang	depends on ARCH_MMP
86f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
87f4e66983SHaojian Zhuang	select PINCONF
88f4e66983SHaojian Zhuang
893bece55aSLinus Walleijconfig PINCTRL_SIRF
903bece55aSLinus Walleij	bool "CSR SiRFprimaII pin controller driver"
91393daa81SRongjun Ying	depends on ARCH_PRIMA2
92393daa81SRongjun Ying	select PINMUX
93393daa81SRongjun Ying
94971dac71SStephen Warrenconfig PINCTRL_TEGRA
95971dac71SStephen Warren	bool
96971dac71SStephen Warren
97971dac71SStephen Warrenconfig PINCTRL_TEGRA20
98971dac71SStephen Warren	bool
99971dac71SStephen Warren	select PINMUX
100971dac71SStephen Warren	select PINCONF
101971dac71SStephen Warren	select PINCTRL_TEGRA
102971dac71SStephen Warren
103971dac71SStephen Warrenconfig PINCTRL_TEGRA30
104971dac71SStephen Warren	bool
105971dac71SStephen Warren	select PINMUX
106971dac71SStephen Warren	select PINCONF
107971dac71SStephen Warren	select PINCTRL_TEGRA
108971dac71SStephen Warren
1093bece55aSLinus Walleijconfig PINCTRL_U300
1103bece55aSLinus Walleij	bool "U300 pin controller driver"
11198da3529SLinus Walleij	depends on ARCH_U300
11298da3529SLinus Walleij	select PINMUX
113dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
11445f034efSLinus Walleij
115ca402d37SLinus Walleijconfig PINCTRL_COH901
116ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
117b4e3ac74SLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINMUX_U300
118ca402d37SLinus Walleij	help
119ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
120ca402d37SLinus Walleij	  The names of the two IP block variants supported are
121ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
122ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
123ca402d37SLinus Walleij
124deda8287SViresh Kumarsource "drivers/pinctrl/spear/Kconfig"
125deda8287SViresh Kumar
12645f034efSLinus Walleijendmenu
12798da3529SLinus Walleij
1282744e8afSLinus Walleijendif
129