Skip to contentSkip to conversation

Support NVIDIA BlueField-3 GPIO controller

PATCH Linus Walleij 2 participants 2 messages Feb 13, 2023 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

Linus Walleij

author Reviewed-by
#2 lore raw
In reply to a message not in the archive
Quoted 10 lines · Asmaa Mnebhi

This patch adds support for the BlueField-3 SoC GPIO driver which allows:
- setting certain GPIOs as interrupts from other dependent drivers
- ability to manipulate certain GPIO pins via libgpiod tools

BlueField-3 has 56 GPIOs but the user is only allowed to change some of them into GPIO mode. Use valid_mask to make it impossible to alter the rest of the GPIOs.

Excellent work Asmaa,

Yours,
Linus Walleij

Reviewed-by Linus Walleij
#3 lore raw
Quoted 5 lines

BlueField-3 has 56 GPIOs but the user is only allowed to change some of them into GPIO mode. Use valid_mask to make it impossible to alter the rest of the GPIOs.

Excellent work Asmaa,

Thank you very much Linus!
Andy added few comments which I will address shortly in v4.