]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/pinctrl/pinctrl-xway.c
OF: pinctrl: MIPS: lantiq: implement lantiq/xway pinctrl support
authorJohn Crispin <blogic@openwrt.org>
Tue, 28 Aug 2012 10:44:59 +0000 (12:44 +0200)
committerJohn Crispin <blogic@openwrt.org>
Thu, 13 Sep 2012 08:30:49 +0000 (10:30 +0200)
commit3f8c50c9b110dad4136ea7226cd87b0c4cdb70c8
treebd2dc11535f5102ca56edc10e4674d1e13908f20
parent30404aec4d093942ba67ded8e1926cbf4472d4f7
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
arch/mips/Kconfig
arch/mips/lantiq/Kconfig
arch/mips/lantiq/xway/Makefile
arch/mips/lantiq/xway/gpio.c [deleted file]
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-lantiq.c [new file with mode: 0644]
drivers/pinctrl/pinctrl-lantiq.h [new file with mode: 0644]
drivers/pinctrl/pinctrl-xway.c [new file with mode: 0644]