ARM: sunxi: Add pinctrl driver for Allwinner SoCs
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 18 Jan 2013 21:30:34 +0000 (22:30 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Jan 2013 12:51:15 +0000 (13:51 +0100)
commit0e37f88d9ad800f5dd94c9fc9dc304b4e9cb7d2c
tree592b7e3812dc6c06db0dc8ecf59e52dbf8984b4f
parent9931faca02c604c22335f5a935a501bb2ace6e20
ARM: sunxi: Add pinctrl driver for Allwinner SoCs

The Allwinner SoCs have an IP module that handle both the muxing and the
GPIOs.

This IP has 8 banks of 32 bits, with a number of pins actually useful
for each of these banks varying from one to another, and depending on
the SoC used on the board.

This driver only implements the pinctrl part, the gpio part will come
eventually.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/allwinner,sunxi-pinctrl.txt [new file with mode: 0644]
arch/arm/mach-sunxi/Kconfig
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/pinctrl-sunxi.c [new file with mode: 0644]
drivers/pinctrl/pinctrl-sunxi.h [new file with mode: 0644]