pwr-mlxbf: extend Kconfig to include gpio-mlxbf3 dependency
authorDavid Thompson <davthompson@nvidia.com>
Wed, 23 Aug 2023 13:37:43 +0000 (09:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Oct 2023 10:03:09 +0000 (12:03 +0200)
commit1c972cb674e3ca88b773087c8bd60d0c48a91598
tree9228c5eeec8d5637abb92b1c6fdda0949f9f9736
parent82a93c65a4e0d6ca830577982f8fc89228c476c7
pwr-mlxbf: extend Kconfig to include gpio-mlxbf3 dependency

[ Upstream commit 82f07f1acf417b81e793145c167dd5e156024de4 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/power/reset/Kconfig