aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/Kconfig
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-08-28 06:44:59 -0400
committerJohn Crispin <blogic@openwrt.org>2012-09-13 04:30:49 -0400
commit3f8c50c9b110dad4136ea7226cd87b0c4cdb70c8 (patch)
treebd2dc11535f5102ca56edc10e4674d1e13908f20 /drivers/pinctrl/Kconfig
parent30404aec4d093942ba67ded8e1926cbf4472d4f7 (diff)
OF: pinctrl: MIPS: lantiq: implement lantiq/xway pinctrl support
Implement support for pinctrl on lantiq/xway socs. The IO core found on these socs has the registers for pinctrl, pinconf and gpio mixed up in the same register range. As the gpio_chip handling is only a few lines, the driver also implements the gpio functionality. This obseletes the old gpio driver that was located in the arch/ folder. Signed-off-by: John Crispin <blogic@openwrt.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Cc: devicetree-discuss@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r--drivers/pinctrl/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 54e3588bef62..f77dce0b1011 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -55,6 +55,12 @@ config PINCTRL_IMX6Q
55 help 55 help
56 Say Y here to enable the imx6q pinctrl driver 56 Say Y here to enable the imx6q pinctrl driver
57 57
58config PINCTRL_LANTIQ
59 bool
60 depends on LANTIQ
61 select PINMUX
62 select PINCONF
63
58config PINCTRL_PXA3xx 64config PINCTRL_PXA3xx
59 bool 65 bool
60 select PINMUX 66 select PINMUX
@@ -147,6 +153,11 @@ config PINCTRL_COH901
147 153
148source "drivers/pinctrl/spear/Kconfig" 154source "drivers/pinctrl/spear/Kconfig"
149 155
156config PINCTRL_XWAY
157 bool
158 depends on SOC_TYPE_XWAY
159 depends on PINCTRL_LANTIQ
160
150endmenu 161endmenu
151 162
152endif 163endif