xref: /linux/drivers/pinctrl/Kconfig (revision dc0b1aa3e2fefa6372f38d7f6d5d33581567a1b5)
12744e8afSLinus Walleij#
22744e8afSLinus Walleij# PINCTRL infrastructure and drivers
32744e8afSLinus Walleij#
42744e8afSLinus Walleij
545f034efSLinus Walleijconfig PINCTRL
645f034efSLinus Walleij	bool
72744e8afSLinus Walleij	depends on EXPERIMENTAL
82744e8afSLinus Walleij
92744e8afSLinus Walleijif PINCTRL
102744e8afSLinus Walleij
1145f034efSLinus Walleijmenu "Pin controllers"
1245f034efSLinus Walleij	depends on PINCTRL
1345f034efSLinus Walleij
142744e8afSLinus Walleijconfig PINMUX
15ae6b4d85SLinus Walleij	bool "Support pin multiplexing controllers"
16ae6b4d85SLinus Walleij
17ae6b4d85SLinus Walleijconfig PINCONF
18ae6b4d85SLinus Walleij	bool "Support pin configuration controllers"
192744e8afSLinus Walleij
20394349f7SLinus Walleijconfig GENERIC_PINCONF
21394349f7SLinus Walleij	bool
22394349f7SLinus Walleij	select PINCONF
23394349f7SLinus Walleij
242744e8afSLinus Walleijconfig DEBUG_PINCTRL
252744e8afSLinus Walleij	bool "Debug PINCTRL calls"
262744e8afSLinus Walleij	depends on DEBUG_KERNEL
272744e8afSLinus Walleij	help
282744e8afSLinus Walleij	  Say Y here to add some extra checks and diagnostics to PINCTRL calls.
292744e8afSLinus Walleij
30f4e66983SHaojian Zhuangconfig PINCTRL_PXA3xx
31f4e66983SHaojian Zhuang	bool
32f4e66983SHaojian Zhuang	select PINMUX
33f4e66983SHaojian Zhuang
34f4e66983SHaojian Zhuangconfig PINCTRL_MMP2
35f4e66983SHaojian Zhuang	bool "MMP2 pin controller driver"
36f4e66983SHaojian Zhuang	depends on ARCH_MMP
37f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
38f4e66983SHaojian Zhuang	select PINCONF
39f4e66983SHaojian Zhuang
40f4e66983SHaojian Zhuangconfig PINCTRL_PXA168
41f4e66983SHaojian Zhuang	bool "PXA168 pin controller driver"
42f4e66983SHaojian Zhuang	depends on ARCH_MMP
43f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
44f4e66983SHaojian Zhuang	select PINCONF
45f4e66983SHaojian Zhuang
46f4e66983SHaojian Zhuangconfig PINCTRL_PXA910
47f4e66983SHaojian Zhuang	bool "PXA910 pin controller driver"
48f4e66983SHaojian Zhuang	depends on ARCH_MMP
49f4e66983SHaojian Zhuang	select PINCTRL_PXA3xx
50f4e66983SHaojian Zhuang	select PINCONF
51f4e66983SHaojian Zhuang
523bece55aSLinus Walleijconfig PINCTRL_SIRF
533bece55aSLinus Walleij	bool "CSR SiRFprimaII pin controller driver"
54393daa81SRongjun Ying	depends on ARCH_PRIMA2
55393daa81SRongjun Ying	select PINMUX
56393daa81SRongjun Ying
57971dac71SStephen Warrenconfig PINCTRL_TEGRA
58971dac71SStephen Warren	bool
59971dac71SStephen Warren
60971dac71SStephen Warrenconfig PINCTRL_TEGRA20
61971dac71SStephen Warren	bool
62971dac71SStephen Warren	select PINMUX
63971dac71SStephen Warren	select PINCONF
64971dac71SStephen Warren	select PINCTRL_TEGRA
65971dac71SStephen Warren
66971dac71SStephen Warrenconfig PINCTRL_TEGRA30
67971dac71SStephen Warren	bool
68971dac71SStephen Warren	select PINMUX
69971dac71SStephen Warren	select PINCONF
70971dac71SStephen Warren	select PINCTRL_TEGRA
71971dac71SStephen Warren
723bece55aSLinus Walleijconfig PINCTRL_U300
733bece55aSLinus Walleij	bool "U300 pin controller driver"
7498da3529SLinus Walleij	depends on ARCH_U300
7598da3529SLinus Walleij	select PINMUX
76*dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
7745f034efSLinus Walleij
78ca402d37SLinus Walleijconfig PINCTRL_COH901
79ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
80b4e3ac74SLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINMUX_U300
81ca402d37SLinus Walleij	help
82ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
83ca402d37SLinus Walleij	  The names of the two IP block variants supported are
84ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
85ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
86ca402d37SLinus Walleij
8745f034efSLinus Walleijendmenu
8898da3529SLinus Walleij
892744e8afSLinus Walleijendif
90