mbox series

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

Message ID 20221027163619.13552-1-asmaa@nvidia.com
Headers show
Series UBUNTU: SAUCE: Support BlueField-3 GPIO driver | expand

Message

Asmaa Mnebhi Oct. 27, 2022, 4:36 p.m. UTC
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

Comments

Bartlomiej Zolnierkiewicz Nov. 10, 2022, 5:14 p.m. UTC | #1
Applied to jammy:linux-bluefield/master-next. Thanks.

--
Best regards,
Bartlomiej

On Thu, Oct 27, 2022 at 6:37 PM Asmaa Mnebhi <asmaa@nvidia.com> wrote:
>
> 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