All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/mellanox: mlxreg-dpu: add I2C dependency
@ 2025-05-02 20:37 Arnd Bergmann
  2025-05-05 11:38 ` Ilpo Järvinen
  0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2025-05-02 20:37 UTC (permalink / raw)
  To: Hans de Goede, Ilpo Järvinen, Vadim Pasternak, Ciju Rajan K
  Cc: Arnd Bergmann, Michael Shych, platform-driver-x86, linux-kernel

From: Arnd Bergmann <arnd@arndb.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@arndb.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] platform/mellanox: mlxreg-dpu: add I2C dependency
  2025-05-02 20:37 [PATCH] platform/mellanox: mlxreg-dpu: add I2C dependency Arnd Bergmann
@ 2025-05-05 11:38 ` Ilpo Järvinen
  0 siblings, 0 replies; 2+ messages in thread
From: Ilpo Järvinen @ 2025-05-05 11:38 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Hans de Goede, Vadim Pasternak, Ciju Rajan K, Arnd Bergmann,
	Michael Shych, platform-driver-x86, LKML

On Fri, 2 May 2025, Arnd Bergmann wrote:

> From: Arnd Bergmann <arnd@arndb.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@arndb.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,


This has been long fixed in the review-ilpo-next branch but LKP has been 
slow to build test it so the fix hasn't propagated into fox-next. I just 
pushed the changes into for-next as it seems LKP might not build that at 
all.

-- 
 i.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-05 11:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-02 20:37 [PATCH] platform/mellanox: mlxreg-dpu: add I2C dependency Arnd Bergmann
2025-05-05 11:38 ` Ilpo Järvinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.