All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] gpio: add driver for Mellanox BlueField 2 GPIO controller
@ 2020-02-25 16:32 Asmaa Mnebhi
  2020-02-25 16:32 ` [PATCH v2 1/1] " Asmaa Mnebhi
  0 siblings, 1 reply; 5+ messages in thread
From: Asmaa Mnebhi @ 2020-02-25 16:32 UTC (permalink / raw)
  To: bgolaszewski, linus.walleij; +Cc: Asmaa Mnebhi, linux-kernel

This patch adds support for the GPIO controller used by Mellanox BlueFIeld
2 SOCs.
This patch addresses the following issues:
1) Split in one gpio_chip per instance (there are 3 instances)
2) Use bgpio_init() for set/clear/get gpio values
3) The direction settings need some special HW lock/unlock to happen and it also uses 2 registers to set the direction instead of one.
So direction_input and direction_output are overriden.

Asmaa Mnebhi (1):
  gpio: add driver for Mellanox BlueField 2 GPIO controller

 drivers/gpio/Kconfig       |   7 +
 drivers/gpio/Makefile      |   1 +
 drivers/gpio/gpio-mlxbf2.c | 345 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 353 insertions(+)
 create mode 100644 drivers/gpio/gpio-mlxbf2.c

-- 
2.1.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-28 23:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-25 16:32 [PATCH v2 0/1] gpio: add driver for Mellanox BlueField 2 GPIO controller Asmaa Mnebhi
2020-02-25 16:32 ` [PATCH v2 1/1] " Asmaa Mnebhi
2020-02-25 16:42   ` Asmaa Mnebhi
2020-02-28 23:14     ` Linus Walleij
2020-02-26  9:32   ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.