pinctrl: iproc: Add NSP and Stingray GPIO support
authorRay Jui <ray.jui@broadcom.com>
Mon, 18 Jul 2016 17:20:18 +0000 (10:20 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 22 Jul 2016 14:47:51 +0000 (16:47 +0200)
commitf58de3d96a73e05b5bb67be517e6e87c6234fef0
tree797ac1f8c8b0e259386f2d983da940e225101ea1
parent418af4a88ed41cd38aa817b585b857b8bd5f7fd9
pinctrl: iproc: Add NSP and Stingray GPIO support

The iProc GPIO controller is shared among multiple iProc based SoCs.
In the NSP integration, the drive strength pinctrl function is
disabled. In the integration of Stingray, pinctrl is handled by another
block and this GPIO controller is solely used as a GPIO controller, and
therefore should not be registered to the pinconf framework

This patch introduces new SoC specific compatible strings
"brcm,iproc-nsp-gpio" for NSP with drive strength feature disabled and
"brcm,iproc-stingray-gpio" for Stingray with all PINCONF features
disabled

This patch is developed based on the initial work from Yendapally
Reddy Dhananjaya <yendapally.reddy@broadcom.com> who attempted to
disable drive strength configuration for the iProc based NSP chip. In
addition, Pramod Kumar <pramod.kumar@broadcom.com> also contributed to
make the support more generic across all currently supported PINCONF
functions in the iProc GPIO/PINCONF driver

Signed-off-by: Pramod Kumar <pramodku@broadcom.com>
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-iproc-gpio.c