diff options
author | Asmaa Mnebhi <asmaa@nvidia.com> | 2023-03-15 17:50:27 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-03-19 22:07:21 +0100 |
commit | d11f932808dc689717e409bbc81b5093e7902fc9 (patch) | |
tree | 3f48279039425d04294bc2e8098bd09ea5708c06 /drivers/pinctrl/Kconfig | |
parent | cae630bf47f84d426407ff6261debfe073ce8a4b (diff) | |
download | lwn-d11f932808dc689717e409bbc81b5093e7902fc9.tar.gz lwn-d11f932808dc689717e409bbc81b5093e7902fc9.zip |
pinctrl: mlxbf3: Add pinctrl driver support
NVIDIA BlueField-3 SoC has a few pins that can be used as GPIOs
or take the default hardware functionality. Add a driver for
the pin muxing.
Signed-off-by: Asmaa Mnebhi <asmaa@nvidia.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230315215027.30685-3-asmaa@nvidia.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/Kconfig')
-rw-r--r-- | drivers/pinctrl/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig index e2a24d668e41..fc6e2858c90c 100644 --- a/drivers/pinctrl/Kconfig +++ b/drivers/pinctrl/Kconfig @@ -523,6 +523,19 @@ config PINCTRL_ZYNQMP This driver can also be built as a module. If so, the module will be called pinctrl-zynqmp. +config PINCTRL_MLXBF3 + tristate "NVIDIA BlueField-3 SoC Pinctrl driver" + depends on (MELLANOX_PLATFORM && ARM64) || COMPILE_TEST + select PINMUX + select GPIOLIB + select GPIOLIB_IRQCHIP + select GPIO_MLXBF3 + help + Say Y to select the pinctrl driver for BlueField-3 SoCs. + This pin controller allows selecting the mux function for + each pin. This driver can also be built as a module called + pinctrl-mlxbf3. + source "drivers/pinctrl/actions/Kconfig" source "drivers/pinctrl/aspeed/Kconfig" source "drivers/pinctrl/bcm/Kconfig" |