[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <3888f892b8c4d8c8acd17e56581e726ace7f7092.1746536495.git.geert+renesas@glider.be>
Date: Tue, 6 May 2025 15:02:06 +0200
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Andi Shyti <andi.shyti@...nel.org>,
Pratap Nirujogi <pratap.nirujogi@....com>,
Bin Du <bin.du@....com>,
Mario Limonciello <mario.limonciello@....com>,
Venkata Narendra Kumar Gutta <vengutta@....com>
Cc: linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH] i2c: I2C_DESIGNWARE_AMDISP should depend on DRM_AMD_ISP
The AMD Image Signal Processor I2C functionality is only present on AMD
platforms with ISP support, and its platform device is instantiated by
the AMD ISP driver. Hence add a dependency on DRM_AMD_ISP, to prevent
asking the user about this driver when configuring a kernel that does
not support the AMD ISP.
Fixes: 63f0545cb1bf0840 ("i2c: amd-isp: Add ISP i2c-designware driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
---
drivers/i2c/busses/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 865b760866ef42ba..7c348491e1bbac7c 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -594,6 +594,7 @@ config I2C_DESIGNWARE_PLATFORM
config I2C_DESIGNWARE_AMDISP
tristate "Synopsys DesignWare Platform for AMDISP"
+ depends on DRM_AMD_ISP || COMPILE_TEST
depends on I2C_DESIGNWARE_CORE
help
If you say yes to this option, support will be included for the
--
2.43.0
Powered by blists - more mailing lists