[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1582647809.git.Asmaa@mellanox.com>
Date: Tue, 25 Feb 2020 11:32:52 -0500
From: Asmaa Mnebhi <Asmaa@...lanox.com>
To: bgolaszewski@...libre.com, linus.walleij@...aro.org
Cc: Asmaa Mnebhi <Asmaa@...lanox.com>, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/1] gpio: add driver for Mellanox BlueField 2 GPIO controller
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
Powered by blists - more mailing lists