[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250502203739.2143173-1-arnd@kernel.org>
Date: Fri, 2 May 2025 22:37:35 +0200
From: Arnd Bergmann <arnd@...nel.org>
To: Hans de Goede <hdegoede@...hat.com>,
Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
Vadim Pasternak <vadimp@...dia.com>,
Ciju Rajan K <crajank@...dia.com>
Cc: Arnd Bergmann <arnd@...db.de>,
Michael Shych <michaelsh@...dia.com>,
platform-driver-x86@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] platform/mellanox: mlxreg-dpu: add I2C dependency
From: Arnd Bergmann <arnd@...db.de>
REGMAP_I2C cannot be selected unless I2C is already enabled:
WARNING: unmet direct dependencies detected for REGMAP_I2C
Depends on [n]: I2C [=n]
Selected by [y]:
- MLXREG_DPU [=y] && MELLANOX_PLATFORM [=y]
Fixes: 3e75f2954116 ("platform/mellanox: mlxreg-dpu: Add initial support for Nvidia DPU")
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
drivers/platform/mellanox/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/mellanox/Kconfig b/drivers/platform/mellanox/Kconfig
index 7204b10388ca..e3afbe62c7f6 100644
--- a/drivers/platform/mellanox/Kconfig
+++ b/drivers/platform/mellanox/Kconfig
@@ -29,6 +29,7 @@ config MLX_PLATFORM
config MLXREG_DPU
tristate "Nvidia Data Processor Unit platform driver support"
+ depends on I2C
select REGMAP_I2C
help
This driver provides support for the Nvidia BF3 Data Processor Units,
--
2.39.5
Powered by blists - more mailing lists