xref: /linux/drivers/pinctrl/Kconfig (revision dbfe8ca259e1f899ca02ea33d903fa21bbea67c5)
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
39e98ea774SLinus Walleijconfig PINCTRL_NOMADIK
40e98ea774SLinus Walleij	bool "Nomadik pin controller driver"
41e98ea774SLinus Walleij	depends on ARCH_U8500
42*dbfe8ca2SLinus Walleij	select PINMUX
43e98ea774SLinus Walleij
44e98ea774SLinus Walleijconfig PINCTRL_DB8500
45e98ea774SLinus Walleij	bool "DB8500 pin controller driver"
46e98ea774SLinus Walleij	depends on PINCTRL_NOMADIK && ARCH_U8500
47e98ea774SLinus Walleij
48f4e66983SHaojian Zhuangconfig PINCTRL_PXA168
49f4e66983SHaojian Zhuang	bool "PXA168 pin controller driver"
50f4e66983SHaojian Zhuang	depends on ARCH_MMP
51f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
52f4e66983SHaojian Zhuang	select PINCONF
53f4e66983SHaojian Zhuang
54f4e66983SHaojian Zhuangconfig PINCTRL_PXA910
55f4e66983SHaojian Zhuang	bool "PXA910 pin controller driver"
56f4e66983SHaojian Zhuang	depends on ARCH_MMP
57f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
58f4e66983SHaojian Zhuang	select PINCONF
59f4e66983SHaojian Zhuang
603bece55aSLinus Walleijconfig PINCTRL_SIRF
613bece55aSLinus Walleij	bool "CSR SiRFprimaII pin controller driver"
62393daa81SRongjun Ying	depends on ARCH_PRIMA2
63393daa81SRongjun Ying	select PINMUX
64393daa81SRongjun Ying
65971dac71SStephen Warrenconfig PINCTRL_TEGRA
66971dac71SStephen Warren	bool
67971dac71SStephen Warren
68971dac71SStephen Warrenconfig PINCTRL_TEGRA20
69971dac71SStephen Warren	bool
70971dac71SStephen Warren	select PINMUX
71971dac71SStephen Warren	select PINCONF
72971dac71SStephen Warren	select PINCTRL_TEGRA
73971dac71SStephen Warren
74971dac71SStephen Warrenconfig PINCTRL_TEGRA30
75971dac71SStephen Warren	bool
76971dac71SStephen Warren	select PINMUX
77971dac71SStephen Warren	select PINCONF
78971dac71SStephen Warren	select PINCTRL_TEGRA
79971dac71SStephen Warren
803bece55aSLinus Walleijconfig PINCTRL_U300
813bece55aSLinus Walleij	bool "U300 pin controller driver"
8298da3529SLinus Walleij	depends on ARCH_U300
8398da3529SLinus Walleij	select PINMUX
84dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
8545f034efSLinus Walleij
86ca402d37SLinus Walleijconfig PINCTRL_COH901
87ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
88b4e3ac74SLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINMUX_U300
89ca402d37SLinus Walleij	help
90ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
91ca402d37SLinus Walleij	  The names of the two IP block variants supported are
92ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
93ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
94ca402d37SLinus Walleij
9545f034efSLinus Walleijendmenu
9698da3529SLinus Walleij
972744e8afSLinus Walleijendif
98