[PATCH] media: maxim-serdes: select REGMAP_I2C

From: Pengpeng Hou

Date: Mon Nov 30 2026 - 08:02:01 EST


The MAX9296A, MAX96717 and MAX96724 drivers initialize I2C regmaps,
but their common VIDEO_MAXIM_SERDES dependency does not select
REGMAP_I2C. Enabling one of these devices without an unrelated I2C
regmap consumer therefore leaves the required transport
implementation unavailable.

Select REGMAP_I2C from VIDEO_MAXIM_SERDES, which already depends on
I2C and is selected by all three devices. This keeps the shared
requirement in one place.

The issue was found by our static-analysis tool and manually reviewed.

Fixes: 64f76d5d9fd1 ("media: i2c: maxim-serdes: add MAX9296A driver")
Fixes: ea15bcd94f0f ("media: i2c: maxim-serdes: add MAX96717 driver")
Fixes: bccc36c35947 ("media: i2c: maxim-serdes: add MAX96724 driver")
Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>
---
AI assistance: gpt 5 (patch preparation and review).

drivers/media/i2c/maxim-serdes/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/media/i2c/maxim-serdes/Kconfig b/drivers/media/i2c/maxim-serdes/Kconfig
index d0c70d6..8857820 100644
--- a/drivers/media/i2c/maxim-serdes/Kconfig
+++ b/drivers/media/i2c/maxim-serdes/Kconfig
@@ -9,6 +9,7 @@ config VIDEO_MAXIM_SERDES
select MEDIA_CONTROLLER
select V4L2_FWNODE
select VIDEO_V4L2_SUBDEV_API
+ select REGMAP_I2C
help
This driver supports the Maxim GMSL2/3 common Serializer and
Deserializer framework.

base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244