xref: /linux/drivers/pinctrl/Kconfig (revision a6df410d420aa4ff316797d352f69e7ebae5ff98)
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
14244e95a7SUwe Kleine-König	bool "Support pin multiplexing controllers" if COMPILE_TEST
15ae6b4d85SLinus Walleij
16ae6b4d85SLinus Walleijconfig PINCONF
17244e95a7SUwe Kleine-König	bool "Support pin configuration controllers" if COMPILE_TEST
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
29e9a03addSSonic Zhangconfig PINCTRL_ADI2
30e9a03addSSonic Zhang	bool "ADI pin controller driver"
319d7278d0SSonic Zhang	depends on BLACKFIN
32e9a03addSSonic Zhang	select PINMUX
33e9a03addSSonic Zhang	select IRQ_DOMAIN
34e9a03addSSonic Zhang	help
35e9a03addSSonic Zhang	  This is the pin controller and gpio driver for ADI BF54x, BF60x and
36e9a03addSSonic Zhang	  future processors. This option is selected automatically when specific
37e9a03addSSonic Zhang	  machine and arch are selected to build.
38e9a03addSSonic Zhang
39c8ce8782SLaxman Dewanganconfig PINCTRL_AS3722
40c8ce8782SLaxman Dewangan	bool "Pinctrl and GPIO driver for ams AS3722 PMIC"
41c8ce8782SLaxman Dewangan	depends on MFD_AS3722 && GPIOLIB
42c8ce8782SLaxman Dewangan	select PINMUX
43c8ce8782SLaxman Dewangan	select GENERIC_PINCONF
44c8ce8782SLaxman Dewangan	help
45c8ce8782SLaxman Dewangan	  AS3722 device supports the configuration of GPIO pins for different
46c8ce8782SLaxman Dewangan	  functionality. This driver supports the pinmux, push-pull and
47c8ce8782SLaxman Dewangan	  open drain configuration for the GPIO pins of AS3722 devices. It also
48c8ce8782SLaxman Dewangan	  supports the GPIO functionality through gpiolib.
49c8ce8782SLaxman Dewangan
50e9a03addSSonic Zhangconfig PINCTRL_BF54x
51e9a03addSSonic Zhang	def_bool y if BF54x
52e9a03addSSonic Zhang	select PINCTRL_ADI2
53e9a03addSSonic Zhang
54e9a03addSSonic Zhangconfig PINCTRL_BF60x
55e9a03addSSonic Zhang	def_bool y if BF60x
56e9a03addSSonic Zhang	select PINCTRL_ADI2
57e9a03addSSonic Zhang
586732ae5cSJean-Christophe PLAGNIOL-VILLARDconfig PINCTRL_AT91
596732ae5cSJean-Christophe PLAGNIOL-VILLARD	bool "AT91 pinctrl driver"
606732ae5cSJean-Christophe PLAGNIOL-VILLARD	depends on OF
616732ae5cSJean-Christophe PLAGNIOL-VILLARD	depends on ARCH_AT91
626732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINMUX
636732ae5cSJean-Christophe PLAGNIOL-VILLARD	select PINCONF
6480cc3732SAlexander Stein	select GPIOLIB
6580cc3732SAlexander Stein	select OF_GPIO
6680cc3732SAlexander Stein	select GPIOLIB_IRQCHIP
676732ae5cSJean-Christophe PLAGNIOL-VILLARD	help
686732ae5cSJean-Christophe PLAGNIOL-VILLARD	  Say Y here to enable the at91 pinctrl driver
696732ae5cSJean-Christophe PLAGNIOL-VILLARD
703f8c50c9SJohn Crispinconfig PINCTRL_LANTIQ
713f8c50c9SJohn Crispin	bool
723f8c50c9SJohn Crispin	depends on LANTIQ
733f8c50c9SJohn Crispin	select PINMUX
743f8c50c9SJohn Crispin	select PINCONF
753f8c50c9SJohn Crispin
76e316cb2bSJohn Crispinconfig PINCTRL_FALCON
77e316cb2bSJohn Crispin	bool
78e316cb2bSJohn Crispin	depends on SOC_FALCON
79e316cb2bSJohn Crispin	depends on PINCTRL_LANTIQ
80e316cb2bSJohn Crispin
816ac73095SBeniamino Galvaniconfig PINCTRL_MESON
826ac73095SBeniamino Galvani	bool
836ac73095SBeniamino Galvani	select PINMUX
846ac73095SBeniamino Galvani	select PINCONF
856ac73095SBeniamino Galvani	select GENERIC_PINCONF
866ac73095SBeniamino Galvani	select OF_GPIO
876ac73095SBeniamino Galvani	select REGMAP_MMIO
886ac73095SBeniamino Galvani
89d3e51161SHeiko Stübnerconfig PINCTRL_ROCKCHIP
90d3e51161SHeiko Stübner	bool
91d3e51161SHeiko Stübner	select PINMUX
92d3e51161SHeiko Stübner	select GENERIC_PINCONF
93d3e51161SHeiko Stübner	select GENERIC_IRQ_CHIP
94751a99abSHeiko Stübner	select MFD_SYSCON
95d3e51161SHeiko Stübner
968b8b091bSTony Lindgrenconfig PINCTRL_SINGLE
978b8b091bSTony Lindgren	tristate "One-register-per-pin type device tree based pinctrl driver"
988b8b091bSTony Lindgren	depends on OF
998b8b091bSTony Lindgren	select PINMUX
1008b8b091bSTony Lindgren	select PINCONF
1019dddb4dfSHaojian Zhuang	select GENERIC_PINCONF
1028b8b091bSTony Lindgren	help
1038b8b091bSTony Lindgren	  This selects the device tree based generic pinctrl driver.
1048b8b091bSTony Lindgren
1053bece55aSLinus Walleijconfig PINCTRL_SIRF
106a17272a4SBarry Song	bool "CSR SiRFprimaII pin controller driver"
107d3e26f2fSBarry Song	depends on ARCH_SIRF
108393daa81SRongjun Ying	select PINMUX
1097420d2d0SLinus Walleij	select GPIOLIB_IRQCHIP
110393daa81SRongjun Ying
111701016c0SSrinivas KANDAGATLAconfig PINCTRL_ST
112701016c0SSrinivas KANDAGATLA	bool
113701016c0SSrinivas KANDAGATLA	depends on OF
114701016c0SSrinivas KANDAGATLA	select PINMUX
115701016c0SSrinivas KANDAGATLA	select PINCONF
116130cbe30SLinus Walleij	select GPIOLIB_IRQCHIP
117701016c0SSrinivas KANDAGATLA
118971dac71SStephen Warrenconfig PINCTRL_TEGRA
119971dac71SStephen Warren	bool
120507ccdbfSAxel Lin	select PINMUX
121507ccdbfSAxel Lin	select PINCONF
122971dac71SStephen Warren
123971dac71SStephen Warrenconfig PINCTRL_TEGRA20
124971dac71SStephen Warren	bool
125971dac71SStephen Warren	select PINCTRL_TEGRA
126971dac71SStephen Warren
127971dac71SStephen Warrenconfig PINCTRL_TEGRA30
128971dac71SStephen Warren	bool
129971dac71SStephen Warren	select PINCTRL_TEGRA
130971dac71SStephen Warren
131b6ae7a26SPritesh Raithathaconfig PINCTRL_TEGRA114
132b6ae7a26SPritesh Raithatha	bool
133b6ae7a26SPritesh Raithatha	select PINCTRL_TEGRA
134b6ae7a26SPritesh Raithatha
1351a16bee6SAshwini Ghugeconfig PINCTRL_TEGRA124
1361a16bee6SAshwini Ghuge	bool
1371a16bee6SAshwini Ghuge	select PINCTRL_TEGRA
1381a16bee6SAshwini Ghuge
1399184f756SStephen Warrenconfig PINCTRL_TEGRA210
1409184f756SStephen Warren	bool
1419184f756SStephen Warren	select PINCTRL_TEGRA
1429184f756SStephen Warren
143dc0a3938SThierry Redingconfig PINCTRL_TEGRA_XUSB
144dc0a3938SThierry Reding	def_bool y if ARCH_TEGRA
145dc0a3938SThierry Reding	select GENERIC_PHY
146dc0a3938SThierry Reding	select PINCONF
147dc0a3938SThierry Reding	select PINMUX
148dc0a3938SThierry Reding
149d5025f9fSJames Hoganconfig PINCTRL_TZ1090
150d5025f9fSJames Hogan	bool "Toumaz Xenif TZ1090 pin control driver"
151d5025f9fSJames Hogan	depends on SOC_TZ1090
152d5025f9fSJames Hogan	select PINMUX
153d5025f9fSJames Hogan	select GENERIC_PINCONF
154d5025f9fSJames Hogan
155b58f0273SJames Hoganconfig PINCTRL_TZ1090_PDC
156b58f0273SJames Hogan	bool "Toumaz Xenif TZ1090 PDC pin control driver"
157b58f0273SJames Hogan	depends on SOC_TZ1090
158b58f0273SJames Hogan	select PINMUX
159b58f0273SJames Hogan	select PINCONF
160b58f0273SJames Hogan
1613bece55aSLinus Walleijconfig PINCTRL_U300
1623bece55aSLinus Walleij	bool "U300 pin controller driver"
16398da3529SLinus Walleij	depends on ARCH_U300
16498da3529SLinus Walleij	select PINMUX
165dc0b1aa3SLinus Walleij	select GENERIC_PINCONF
16645f034efSLinus Walleij
167ca402d37SLinus Walleijconfig PINCTRL_COH901
168ca402d37SLinus Walleij	bool "ST-Ericsson U300 COH 901 335/571 GPIO"
1693c94d1bbSLinus Walleij	depends on GPIOLIB && ARCH_U300 && PINCTRL_U300
170523dcce7SLinus Walleij	select GPIOLIB_IRQCHIP
171ca402d37SLinus Walleij	help
172ca402d37SLinus Walleij	  Say yes here to support GPIO interface on ST-Ericsson U300.
173ca402d37SLinus Walleij	  The names of the two IP block variants supported are
174ca402d37SLinus Walleij	  COH 901 335 and COH 901 571/3. They contain 3, 5 or 7
175ca402d37SLinus Walleij	  ports of 8 GPIO pins each.
176ca402d37SLinus Walleij
1770a8d3e24SLaxman Dewanganconfig PINCTRL_PALMAS
178736658c5SMark Brown	bool "Pinctrl driver for the PALMAS Series MFD devices"
1790a8d3e24SLaxman Dewangan	depends on OF && MFD_PALMAS
18063ca8db7SAxel Lin	select PINMUX
1810a8d3e24SLaxman Dewangan	select GENERIC_PINCONF
1820a8d3e24SLaxman Dewangan	help
1830a8d3e24SLaxman Dewangan	  Palmas device supports the configuration of pins for different
1840a8d3e24SLaxman Dewangan	  functionality. This driver supports the pinmux, push-pull and
1850a8d3e24SLaxman Dewangan	  open drain configuration for the Palmas series devices like
1860a8d3e24SLaxman Dewangan	  TPS65913, TPS80036 etc.
1870a8d3e24SLaxman Dewangan
188add958ceSSoren Brinkmannconfig PINCTRL_ZYNQ
189add958ceSSoren Brinkmann	bool "Pinctrl driver for Xilinx Zynq"
190add958ceSSoren Brinkmann	depends on ARCH_ZYNQ
191add958ceSSoren Brinkmann	select PINMUX
192add958ceSSoren Brinkmann	select GENERIC_PINCONF
193add958ceSSoren Brinkmann	help
194add958ceSSoren Brinkmann	  This selectes the pinctrl driver for Xilinx Zynq.
195add958ceSSoren Brinkmann
196b17f2f9bSRay Juisource "drivers/pinctrl/bcm/Kconfig"
1973de68d33SAntoine Tenartsource "drivers/pinctrl/berlin/Kconfig"
198edad3b2aSLinus Walleijsource "drivers/pinctrl/freescale/Kconfig"
1995fae8b86SMika Westerbergsource "drivers/pinctrl/intel/Kconfig"
20006763c74SThomas Petazzonisource "drivers/pinctrl/mvebu/Kconfig"
2013a198059SLinus Walleijsource "drivers/pinctrl/nomadik/Kconfig"
20269b78b8dSLinus Walleijsource "drivers/pinctrl/qcom/Kconfig"
203ebe629a3SSachin Kamatsource "drivers/pinctrl/samsung/Kconfig"
2046e54d8d2SLaurent Pinchartsource "drivers/pinctrl/sh-pfc/Kconfig"
205deda8287SViresh Kumarsource "drivers/pinctrl/spear/Kconfig"
2065f910777SMaxime Ripardsource "drivers/pinctrl/sunxi/Kconfig"
207170c6152STony Prisksource "drivers/pinctrl/vt8500/Kconfig"
208*a6df410dSHongzhou Yangsource "drivers/pinctrl/mediatek/Kconfig"
209deda8287SViresh Kumar
2103f8c50c9SJohn Crispinconfig PINCTRL_XWAY
2113f8c50c9SJohn Crispin	bool
2123f8c50c9SJohn Crispin	depends on SOC_TYPE_XWAY
2133f8c50c9SJohn Crispin	depends on PINCTRL_LANTIQ
2143f8c50c9SJohn Crispin
2155aad0db1SChristian Ruppertconfig PINCTRL_TB10X
2165aad0db1SChristian Ruppert	bool
2175aad0db1SChristian Ruppert	depends on ARC_PLAT_TB10X
2185aad0db1SChristian Ruppert
21945f034efSLinus Walleijendmenu
22098da3529SLinus Walleij
2212744e8afSLinus Walleijendif
222