pinctrl: cygnus: add gpio/pinconf driver
authorRay Jui <rjui@broadcom.com>
Mon, 9 Mar 2015 20:45:00 +0000 (13:45 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 18 Mar 2015 01:02:19 +0000 (02:02 +0100)
commitb64333ce769cbcc6a4dbd0325d9b1da95c6929ff
tree1ef96363aa5a6f3083996372c5d6c97cf89c9db8
parent2dffad825f0bbba16590cfaebb1ec3672b6919d3
pinctrl: cygnus: add gpio/pinconf driver

This adds the initial support of the Broadcom Cygnus GPIO/PINCONF driver
that supports all 3 GPIO controllers on Cygnus including the ASIU GPIO
controller, the chipCommonG GPIO controller, and the always-on GPIO
controller. Basic PINCONF configurations such as bias pull up/down, and
drive strength are also supported in this driver.

Pins from the ASIU GPIO controller can be individually muxed to GPIO
function, through interaction with the Cygnus IOMUX controller

Signed-off-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Tested-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/Kconfig
drivers/pinctrl/bcm/Makefile
drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c [new file with mode: 0644]