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 344f6a16bfSDong Aishengconfig PINCTRL_IMX51 354f6a16bfSDong Aisheng bool "IMX51 pinctrl driver" 364f6a16bfSDong Aisheng depends on OF 374f6a16bfSDong Aisheng depends on SOC_IMX51 384f6a16bfSDong Aisheng select PINCTRL_IMX 394f6a16bfSDong Aisheng help 404f6a16bfSDong Aisheng Say Y here to enable the imx51 pinctrl driver 414f6a16bfSDong Aisheng 4293fbd3c0SDong Aishengconfig PINCTRL_IMX53 4393fbd3c0SDong Aisheng bool "IMX53 pinctrl driver" 4493fbd3c0SDong Aisheng depends on OF 4593fbd3c0SDong Aisheng depends on SOC_IMX53 4693fbd3c0SDong Aisheng select PINCTRL_IMX 4793fbd3c0SDong Aisheng help 4893fbd3c0SDong Aisheng Say Y here to enable the imx53 pinctrl driver 4993fbd3c0SDong Aisheng 50d8fe3572SDong Aishengconfig PINCTRL_IMX6Q 51d8fe3572SDong Aisheng bool "IMX6Q pinctrl driver" 52d8fe3572SDong Aisheng depends on OF 53d8fe3572SDong Aisheng depends on SOC_IMX6Q 54d8fe3572SDong Aisheng select PINCTRL_IMX 55d8fe3572SDong Aisheng help 56d8fe3572SDong Aisheng Say Y here to enable the imx6q pinctrl driver 57d8fe3572SDong Aisheng 583f8c50c9SJohn Crispinconfig PINCTRL_LANTIQ 593f8c50c9SJohn Crispin bool 603f8c50c9SJohn Crispin depends on LANTIQ 613f8c50c9SJohn Crispin select PINMUX 623f8c50c9SJohn Crispin select PINCONF 633f8c50c9SJohn Crispin 64f4e66983SHaojian Zhuangconfig PINCTRL_PXA3xx 65f4e66983SHaojian Zhuang bool 66f4e66983SHaojian Zhuang select PINMUX 67f4e66983SHaojian Zhuang 68*e316cb2bSJohn Crispinconfig PINCTRL_FALCON 69*e316cb2bSJohn Crispin bool 70*e316cb2bSJohn Crispin depends on SOC_FALCON 71*e316cb2bSJohn Crispin depends on PINCTRL_LANTIQ 72*e316cb2bSJohn Crispin 73f4e66983SHaojian Zhuangconfig PINCTRL_MMP2 74f4e66983SHaojian Zhuang bool "MMP2 pin controller driver" 75f4e66983SHaojian Zhuang depends on ARCH_MMP 76f4e66983SHaojian Zhuang select PINCTRL_PXA3xx 77f4e66983SHaojian Zhuang select PINCONF 78f4e66983SHaojian Zhuang 7917723111SShawn Guoconfig PINCTRL_MXS 8017723111SShawn Guo bool 8117723111SShawn Guo 8217723111SShawn Guoconfig PINCTRL_IMX23 8317723111SShawn Guo bool 8417723111SShawn Guo select PINMUX 8517723111SShawn Guo select PINCONF 8617723111SShawn Guo select PINCTRL_MXS 8717723111SShawn Guo 8817723111SShawn Guoconfig PINCTRL_IMX28 8917723111SShawn Guo bool 9017723111SShawn Guo select PINMUX 9117723111SShawn Guo select PINCONF 9217723111SShawn Guo select PINCTRL_MXS 9317723111SShawn Guo 94e98ea774SLinus Walleijconfig PINCTRL_NOMADIK 95e98ea774SLinus Walleij bool "Nomadik pin controller driver" 960fa7be40SArnd Bergmann depends on ARCH_U8500 || ARCH_NOMADIK 97dbfe8ca2SLinus Walleij select PINMUX 98d41af627SLinus Walleij select PINCONF 99e98ea774SLinus Walleij 100e98ea774SLinus Walleijconfig PINCTRL_DB8500 101e98ea774SLinus Walleij bool "DB8500 pin controller driver" 102e98ea774SLinus Walleij depends on PINCTRL_NOMADIK && ARCH_U8500 103e98ea774SLinus Walleij 104f4e66983SHaojian Zhuangconfig PINCTRL_PXA168 105f4e66983SHaojian Zhuang bool "PXA168 pin controller driver" 106f4e66983SHaojian Zhuang depends on ARCH_MMP 107f4e66983SHaojian Zhuang select PINCTRL_PXA3xx 108f4e66983SHaojian Zhuang select PINCONF 109f4e66983SHaojian Zhuang 110f4e66983SHaojian Zhuangconfig PINCTRL_PXA910 111f4e66983SHaojian Zhuang bool "PXA910 pin controller driver" 112f4e66983SHaojian Zhuang depends on ARCH_MMP 113f4e66983SHaojian Zhuang select PINCTRL_PXA3xx 114f4e66983SHaojian Zhuang select PINCONF 115f4e66983SHaojian Zhuang 1168b8b091bSTony Lindgrenconfig PINCTRL_SINGLE 1178b8b091bSTony Lindgren tristate "One-register-per-pin type device tree based pinctrl driver" 1188b8b091bSTony Lindgren depends on OF 1198b8b091bSTony Lindgren select PINMUX 1208b8b091bSTony Lindgren select PINCONF 1218b8b091bSTony Lindgren help 1228b8b091bSTony Lindgren This selects the device tree based generic pinctrl driver. 1238b8b091bSTony Lindgren 1243bece55aSLinus Walleijconfig PINCTRL_SIRF 1253bece55aSLinus Walleij bool "CSR SiRFprimaII pin controller driver" 126393daa81SRongjun Ying depends on ARCH_PRIMA2 127393daa81SRongjun Ying select PINMUX 128393daa81SRongjun Ying 129971dac71SStephen Warrenconfig PINCTRL_TEGRA 130971dac71SStephen Warren bool 131971dac71SStephen Warren 132971dac71SStephen Warrenconfig PINCTRL_TEGRA20 133971dac71SStephen Warren bool 134971dac71SStephen Warren select PINMUX 135971dac71SStephen Warren select PINCONF 136971dac71SStephen Warren select PINCTRL_TEGRA 137971dac71SStephen Warren 138971dac71SStephen Warrenconfig PINCTRL_TEGRA30 139971dac71SStephen Warren bool 140971dac71SStephen Warren select PINMUX 141971dac71SStephen Warren select PINCONF 142971dac71SStephen Warren select PINCTRL_TEGRA 143971dac71SStephen Warren 1443bece55aSLinus Walleijconfig PINCTRL_U300 1453bece55aSLinus Walleij bool "U300 pin controller driver" 14698da3529SLinus Walleij depends on ARCH_U300 14798da3529SLinus Walleij select PINMUX 148dc0b1aa3SLinus Walleij select GENERIC_PINCONF 14945f034efSLinus Walleij 150ca402d37SLinus Walleijconfig PINCTRL_COH901 151ca402d37SLinus Walleij bool "ST-Ericsson U300 COH 901 335/571 GPIO" 1523c94d1bbSLinus Walleij depends on GPIOLIB && ARCH_U300 && PINCTRL_U300 153ca402d37SLinus Walleij help 154ca402d37SLinus Walleij Say yes here to support GPIO interface on ST-Ericsson U300. 155ca402d37SLinus Walleij The names of the two IP block variants supported are 156ca402d37SLinus Walleij COH 901 335 and COH 901 571/3. They contain 3, 5 or 7 157ca402d37SLinus Walleij ports of 8 GPIO pins each. 158ca402d37SLinus Walleij 159deda8287SViresh Kumarsource "drivers/pinctrl/spear/Kconfig" 160deda8287SViresh Kumar 1613f8c50c9SJohn Crispinconfig PINCTRL_XWAY 1623f8c50c9SJohn Crispin bool 1633f8c50c9SJohn Crispin depends on SOC_TYPE_XWAY 1643f8c50c9SJohn Crispin depends on PINCTRL_LANTIQ 1653f8c50c9SJohn Crispin 16645f034efSLinus Walleijendmenu 16798da3529SLinus Walleij 1682744e8afSLinus Walleijendif 169