[SRU][J:linux-bluefield][PATCH v2 0/1] UBUNTU: SAUCE: Support BlueField-3 GPIO driver

Asmaa Mnebhi asmaa at nvidia.com
Thu Oct 27 16:36:18 UTC 2022


BugLink: https://bugs.launchpad.net/bugs/1994897

SRU Justification:

[Impact]

* Support GPIO driver for BlueField-3 SoCs.

[Fix]

* Support GPIO driver for BlueField-3 SoCs.
* Allows user to alter GPIO value when direction is set to output
* Support configuring GPIOs as interrupts for dependent drivers such as pwr-mlxbf and mlxbf-gige

[Test Case]

* At the moment, this driver can only be tested internally on palladium and via the ARM simulator.
* This driver only loaded on BF3 platforms so has no impact on older platforms such as BF2 and BF1.

[Regression Potential]

* Code will need to be tested once real HW is ready (bringup)

[Other]
* This driver is in the process of being upstreamed. This code is likely to change depending on feedback we receive from maintainers. But the upstreaming process is long and we need to have this code to be available before BlueField-3 bringup.

Asmaa Mnebhi (1):
  UBUNTU: SAUCE: Support BlueField-3 GPIO driver

 debian.bluefield/config/config.common.ubuntu |   1 +
 drivers/gpio/Kconfig                         |   7 +
 drivers/gpio/Makefile                        |   1 +
 drivers/gpio/gpio-mlxbf3.c                   | 340 +++++++++++++++++++
 4 files changed, 349 insertions(+)
 create mode 100644 drivers/gpio/gpio-mlxbf3.c

-- 
2.30.1




More information about the kernel-team mailing list