Skip to content

Commit 82f07f1

Browse files
dthompsosre
authored andcommitted
pwr-mlxbf: extend Kconfig to include gpio-mlxbf3 dependency
The BlueField power handling driver (pwr-mlxbf.c) provides functionality for both BlueField-2 and BlueField-3 based platforms. This driver also depends on the SoC-specific BlueField GPIO driver, whether gpio-mlxbf2 or gpio-mlxbf3. This patch extends the Kconfig definition to include the dependency on the gpio-mlxbf3 driver, if applicable. Signed-off-by: David Thompson <davthompson@nvidia.com> Reviewed-by: Asmaa Mnebhi <asmaa@nvidia.com> Link: https://lore.kernel.org/r/20230823133743.31275-1-davthompson@nvidia.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
1 parent 37d1a62 commit 82f07f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/power/reset/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ config NVMEM_REBOOT_MODE
300300

301301
config POWER_MLXBF
302302
tristate "Mellanox BlueField power handling driver"
303-
depends on (GPIO_MLXBF2 && ACPI)
303+
depends on (GPIO_MLXBF2 || GPIO_MLXBF3) && ACPI
304304
help
305305
This driver supports reset or low power mode handling for Mellanox BlueField.
306306

0 commit comments

Comments
 (0)