Skip to contentSkip to conversation

drm/bridge: ti-dlpc3433: select REGMAP_I2C

PATCH New Pengpeng Hou 1 participant 1 message Nov 30

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/bridge: ti-dlpc3433: select REGMAP_I2C

ti-dlpc3433.c initializes an I2C regmap using devm_regmap_init_i2c(), but DRM_TI_DLPC3433 does not select REGMAP_I2C. The driver can therefore be enabled without the required register-transport implementation and fail to build.

Select REGMAP_I2C so the backend is enabled at the linkage level required by this consumer, rather than relying on another driver to pull it in.

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

Fixes 6352cd451ddb ("drm: bridge: Add TI DLPC3433 DSI to DMD bridge")

---
AI assistance: gpt 5 (patch preparation and review).

 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/Kconfig +1 -0
index c7da6b0..c9bdc94 100644
@@ -429,6 +429,7 @@ config DRM_TI_DLPC3433
 	depends on OF
 	select DRM_MIPI_DSI
 	select DRM_PANEL_BRIDGE
+	select REGMAP_I2C
 	help
 	  TI DLPC3433 is a MIPI DSI based display controller bridge
 	  for processing high resolution DMD based projectors.

base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244