xref: /linux/drivers/pinctrl/Kconfig (revision d8fe35727a3c7e0f2c4ff0a579aab1d7ce252df8)
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*d8fe3572SDong Aishengconfig PINCTRL_IMX6Q
35*d8fe3572SDong Aisheng	bool "IMX6Q pinctrl driver"
36*d8fe3572SDong Aisheng	depends on OF
37*d8fe3572SDong Aisheng	depends on SOC_IMX6Q
38*d8fe3572SDong Aisheng	select PINCTRL_IMX
39*d8fe3572SDong Aisheng	help
40*d8fe3572SDong Aisheng	  Say Y here to enable the imx6q pinctrl driver
41*d8fe3572SDong 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
52f4e66983SHaojian Zhuangconfig PINCTRL_PXA168
53f4e66983SHaojian Zhuang	bool "PXA168 pin controller driver"
54f4e66983SHaojian Zhuang	depends on ARCH_MMP
55f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
56f4e66983SHaojian Zhuang	select PINCONF
57f4e66983SHaojian Zhuang
58f4e66983SHaojian Zhuangconfig PINCTRL_PXA910
59f4e66983SHaojian Zhuang	bool "PXA910 pin controller driver"
60f4e66983SHaojian Zhuang	depends on ARCH_MMP
61f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
62f4e66983SHaojian Zhuang	select PINCONF
63f4e66983SHaojian Zhuang
643bece55aSLinus Walleijconfig PINCTRL_SIRF
653bece55aSLinus Walleij	bool "CSR SiRFprimaII pin controller driver"
66393daa81SRongjun Ying	depends on ARCH_PRIMA2
67393daa81SRongjun Ying	select PINMUX
68393daa81SRongjun Ying
69971dac71SStephen Warrenconfig PINCTRL_TEGRA
70971dac71SStephen Warren	bool
71971dac71SStephen Warren
72971dac71SStephen Warrenconfig PINCTRL_TEGRA20
73971dac71SStephen Warren	bool
74971dac71SStephen Warren	select PINMUX
75971dac71SStephen Warren	select PINCONF
76971dac71SStephen Warren	select PINCTRL_TEGRA
77971dac71SStephen Warren
78971dac71SStephen Warrenconfig PINCTRL_TEGRA30
79971dac71SStephen Warren	bool
80971dac71SStephen Warren	select PINMUX
81971dac71SStephen Warren	select PINCONF
82971dac71SStephen Warren	select PINCTRL_TEGRA
83971dac71SStephen Warren
843bece55aSLinus Walleijconfig PINCTRL_U300
853bece55aSLinus Walleij	bool "U300 pin controller driver"
8698da3529SLinus Walleij	depends on ARCH_U300
8798da3529SLinus Walleij	select PINMUX
88dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
8945f034efSLinus Walleij
90ca402d37SLinus Walleijconfig PINCTRL_COH901
91ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
92b4e3ac74SLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINMUX_U300
93ca402d37SLinus Walleij	help
94ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
95ca402d37SLinus Walleij	  The names of the two IP block variants supported are
96ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
97ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
98ca402d37SLinus Walleij
9945f034efSLinus Walleijendmenu
10098da3529SLinus Walleij
1012744e8afSLinus Walleijendif
102