Add support for broadcom iproc gpio driver.
Changes from v5:
-Address review comments from Simon Glass,
Correct and add function comments,
Rename macro names.
Changes from v4:
-Address review comments from Simon Glass,
Check for function return value.
Changes from v3:
-Address review comments from Simon Glass,
Rearrange header file,
Add struct comment taking about members,
Use clrsetbits_le32(),
Add new line before return etc.
Changes from v2:
-remove ununsed variable "node" in iproc_get_gpio_pctrl_mapping()
func to fix compilation warning.
Changes from v1:
-Address review comments from Simon Glass,
Use dev_read_...() instead of fdtdec_...().
Rayagonda Kokatanur (2):
drivers: gpio: add broadcom iproc gpio driver support
gpio: do not include <asm/arch/gpio.h> on TARGET_BCMNS3
arch/arm/include/asm/gpio.h | 2 +-
drivers/gpio/Kconfig | 11 ++
drivers/gpio/Makefile | 1 +
drivers/gpio/iproc_gpio.c | 290 ++++++++++++++++++++++++++++++++++++
4 files changed, 303 insertions(+), 1 deletion(-)
create mode 100644 drivers/gpio/iproc_gpio.c