Skip to contentSkip to conversation

pwr-mlxbf: extend Kconfig to include gpio-mlxbf3 dependency

PATCH Applied David Thompson 2 participants 2 messages Aug 23, 2023 – Sep 12, 2023 System reset/shutdown drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/power/reset/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/reset/Kconfig +1 -1
index fff07b2bd77b..62f592e61733 100644
@@ -307,7 +307,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.
 
Signature · 1 line
2.30.1
#1 lore raw
Quoted 8 lines · David Thompson

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.

[...]

Applied, thanks!

[1/1] pwr-mlxbf: extend Kconfig to include gpio-mlxbf3 dependency

      commit: 82f07f1acf417b81e793145c167dd5e156024de4

Best regards,

Signature · 1 line
Sebastian Reichel <[email protected]>