gpio: mlxbf3: Add gpio driver support
authorAsmaa Mnebhi <asmaa@nvidia.com>
Wed, 15 Mar 2023 21:50:26 +0000 (17:50 -0400)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 16 Jun 2023 09:08:32 +0000 (11:08 +0200)
commitcd33f216d241520385a5166ae73a0771197a9f0b
treeffe1b33cd14ee67e24f0193ffe7ae2eb6fbe55b4
parent8efe124702a9a8ef8e3302714ff6a0e68efd118b
gpio: mlxbf3: Add gpio driver support

Add support for the BlueField-3 SoC GPIO driver.
This driver configures and handles GPIO interrupts. It also enables a user
to manipulate certain GPIO pins via libgpiod tools or other kernel drivers.
The usables pins are defined via the "gpio-reserved-ranges" property.

Signed-off-by: Asmaa Mnebhi <asmaa@nvidia.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-mlxbf3.c [new file with mode: 0644]