diff options
author | David Thompson <davthompson@nvidia.com> | 2023-08-23 09:37:43 -0400 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-09-12 20:09:35 +0200 |
commit | 82f07f1acf417b81e793145c167dd5e156024de4 (patch) | |
tree | 28a8ccf0c8782830f6a1b9fac5dc4ff18f886225 /drivers/power | |
parent | 37d1a624cb7934687dd9775f7fea771ae5aadd29 (diff) | |
download | linux-rpi-82f07f1acf417b81e793145c167dd5e156024de4.tar.gz linux-rpi-82f07f1acf417b81e793145c167dd5e156024de4.tar.bz2 linux-rpi-82f07f1acf417b81e793145c167dd5e156024de4.zip |
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>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/reset/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 59e1ebb7842e..411e00b255d6 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -300,7 +300,7 @@ config NVMEM_REBOOT_MODE config POWER_MLXBF tristate "Mellanox BlueField power handling driver" - depends on (GPIO_MLXBF2 && ACPI) + depends on (GPIO_MLXBF2 || GPIO_MLXBF3) && ACPI help This driver supports reset or low power mode handling for Mellanox BlueField. |