mbox series

[v6,0/2] add brcm iproc gpio driver

Message ID 20200505175647.6671-1-rayagonda.kokatanur@broadcom.com
Headers show
Series add brcm iproc gpio driver | expand

Message

Rayagonda Kokatanur May 5, 2020, 5:56 p.m. UTC
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