xref: /linux/drivers/pinctrl/Kconfig (revision e98ea774c8d210364379329f042e7596f83ecc58)
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
29f4e66983SHaojian Zhuangconfig PINCTRL_PXA3xx
30f4e66983SHaojian Zhuang	bool
31f4e66983SHaojian Zhuang	select PINMUX
32f4e66983SHaojian Zhuang
33f4e66983SHaojian Zhuangconfig PINCTRL_MMP2
34f4e66983SHaojian Zhuang	bool "MMP2 pin controller driver"
35f4e66983SHaojian Zhuang	depends on ARCH_MMP
36f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
37f4e66983SHaojian Zhuang	select PINCONF
38f4e66983SHaojian Zhuang
39*e98ea774SLinus Walleijconfig PINCTRL_NOMADIK
40*e98ea774SLinus Walleij	bool "Nomadik pin controller driver"
41*e98ea774SLinus Walleij	depends on ARCH_U8500
42*e98ea774SLinus Walleij
43*e98ea774SLinus Walleijconfig PINCTRL_DB8500
44*e98ea774SLinus Walleij	bool "DB8500 pin controller driver"
45*e98ea774SLinus Walleij	depends on PINCTRL_NOMADIK && ARCH_U8500
46*e98ea774SLinus Walleij
47f4e66983SHaojian Zhuangconfig PINCTRL_PXA168
48f4e66983SHaojian Zhuang	bool "PXA168 pin controller driver"
49f4e66983SHaojian Zhuang	depends on ARCH_MMP
50f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
51f4e66983SHaojian Zhuang	select PINCONF
52f4e66983SHaojian Zhuang
53f4e66983SHaojian Zhuangconfig PINCTRL_PXA910
54f4e66983SHaojian Zhuang	bool "PXA910 pin controller driver"
55f4e66983SHaojian Zhuang	depends on ARCH_MMP
56f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
57f4e66983SHaojian Zhuang	select PINCONF
58f4e66983SHaojian Zhuang
593bece55aSLinus Walleijconfig PINCTRL_SIRF
603bece55aSLinus Walleij	bool "CSR SiRFprimaII pin controller driver"
61393daa81SRongjun Ying	depends on ARCH_PRIMA2
62393daa81SRongjun Ying	select PINMUX
63393daa81SRongjun Ying
64971dac71SStephen Warrenconfig PINCTRL_TEGRA
65971dac71SStephen Warren	bool
66971dac71SStephen Warren
67971dac71SStephen Warrenconfig PINCTRL_TEGRA20
68971dac71SStephen Warren	bool
69971dac71SStephen Warren	select PINMUX
70971dac71SStephen Warren	select PINCONF
71971dac71SStephen Warren	select PINCTRL_TEGRA
72971dac71SStephen Warren
73971dac71SStephen Warrenconfig PINCTRL_TEGRA30
74971dac71SStephen Warren	bool
75971dac71SStephen Warren	select PINMUX
76971dac71SStephen Warren	select PINCONF
77971dac71SStephen Warren	select PINCTRL_TEGRA
78971dac71SStephen Warren
793bece55aSLinus Walleijconfig PINCTRL_U300
803bece55aSLinus Walleij	bool "U300 pin controller driver"
8198da3529SLinus Walleij	depends on ARCH_U300
8298da3529SLinus Walleij	select PINMUX
83dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
8445f034efSLinus Walleij
85ca402d37SLinus Walleijconfig PINCTRL_COH901
86ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
87b4e3ac74SLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINMUX_U300
88ca402d37SLinus Walleij	help
89ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
90ca402d37SLinus Walleij	  The names of the two IP block variants supported are
91ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
92ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
93ca402d37SLinus Walleij
9445f034efSLinus Walleijendmenu
9598da3529SLinus Walleij
962744e8afSLinus Walleijendif
97