Skip to content

Commit 66e64b4

Browse files
geertuAndi Shyti
authored andcommitted
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: d6263c4 ("i2c: amd-isp: Add ISP i2c-designware driver") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Pratap Nirujogi <pratap.nirujogi@amd.com> Link: https://lore.kernel.org/r/3888f892b8c4d8c8acd17e56581e726ace7f7092.1746536495.git.geert+renesas@glider.be Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
1 parent c030a41 commit 66e64b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/busses/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,7 @@ config I2C_DESIGNWARE_PLATFORM
594594

595595
config I2C_DESIGNWARE_AMDISP
596596
tristate "Synopsys DesignWare Platform for AMDISP"
597+
depends on DRM_AMD_ISP || COMPILE_TEST
597598
depends on I2C_DESIGNWARE_CORE
598599
help
599600
If you say yes to this option, support will be included for the

0 commit comments

Comments
 (0)