Skip to contentSkip to conversation

drm/bridge: imx: Fix unmet depenency for PHY_FSL_SAMSUNG_HDMI_PHY

PATCH Superseded Adam Ford 2 participants 2 messages Apr 20, 2024 – Apr 21, 2024

Subsystems (5)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 drm/bridge: imx: Fix unmet depenency for PHY_FSL_SAMSUNG_HDMI_PHY

When enabling i.MX8MP DWC HDMI driver, it automatically selects PHY_FSL_SAMSUNG_HDMI_PHY, since it wont' work without the phy. This may cause some Kconfig warnings during various build tests. Fix this by implying the phy instead of selecting the phy.

Fixes 1f36d634670d ("drm/bridge: imx: add bridge wrapper driver for i.MX8MP DWC HDMI")
drivers/gpu/drm/bridge/imx/Kconfig +1 -1
index 7687ed652df5..8f125c75050d 100644
@@ -9,7 +9,7 @@ config DRM_IMX8MP_DW_HDMI_BRIDGE
 	depends on DRM_DW_HDMI
 	depends on OF
 	select DRM_IMX8MP_HDMI_PVI
-	select PHY_FSL_SAMSUNG_HDMI_PHY
+	imply PHY_FSL_SAMSUNG_HDMI_PHY
 	help
 	  Choose this to enable support for the internal HDMI encoder found
 	  on the i.MX8MP SoC.
Signature · 1 line
2.43.0
#1 lore raw

Hi Adam,

Thank you for the patch.

Quoted 15 lines · Adam Ford

When enabling i.MX8MP DWC HDMI driver, it automatically selects PHY_FSL_SAMSUNG_HDMI_PHY, since it wont' work without the phy. This may cause some Kconfig warnings during various build tests. Fix this by implying the phy instead of selecting the phy.

Fixes 1f36d634670d ("drm/bridge: imx: add bridge wrapper driver for i.MX8MP DWC HDMI")
drivers/gpu/drm/bridge/imx/Kconfig +0 -0
index 7687ed652df5..8f125c75050d 100644

drivers/gpu/drm/bridge/imx/Kconfig config DRM_IMX8MP_DW_HDMI_BRIDGE · line 11

Quoted 3 lines
drivers/gpu/drm/bridge/imx/Kconfig +0 -0
@@ -9,7 +9,7 @@ config DRM_IMX8MP_DW_HDMI_BRIDGE
 	depends on DRM_DW_HDMI
 	depends on OF
 	select DRM_IMX8MP_HDMI_PVI

This also looks wrong, even if in practice it will likely work because DRM_IMX8MP_HDMI_PVI has no extra dependency compared to DRM_IMX8MP_DW_HDMI_BRIDGE. Still, it would be good to fix it.

Quoted 5 lines
drivers/gpu/drm/bridge/imx/Kconfig +1 -1
-	select PHY_FSL_SAMSUNG_HDMI_PHY
+	imply PHY_FSL_SAMSUNG_HDMI_PHY
 	help
 	  Choose this to enable support for the internal HDMI encoder found
 	  on the i.MX8MP SoC.
Signature · 3 lines
Regards,

Laurent Pinchart