Skip to contentSkip to conversation

arm64: defconfig: mediatek: enable PHY drivers

PATCH Superseded Vignesh Raman 2 participants 2 messages Mar 13, 2025 Arm MediaTek

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 arm64: defconfig: mediatek: enable PHY drivers

The mediatek display driver fails to probe on mt8173-elm-hana and mt8183-kukui-jacuzzi-juniper-sku16 in v6.14-rc4 due to missing PHY configurations.

Commit [1] stopped selecting the MediaTek PHY drivers, requiring them to be explicitly enabled in defconfig.

Enable the following PHY drivers for MediaTek platforms:
- CONFIG_PHY_MTK_HDMI=m for HDMI display
- CONFIG_PHY_MTK_MIPI_DSI=m for DSI display
- CONFIG_PHY_MTK_DP=m for DP display

[1] commit 924d66011f24 ("drm/mediatek: stop selecting foreign drivers")

Fixes 924d66011f24 ("drm/mediatek: stop selecting foreign drivers")

---

v2:
- Include board details in the commit message.
- Sort newly added PHY configs in defconfig.

v3:
- Use defconfig/savedefconfig to get the correct configs ordering.
- Removed PHY_MTK_XSPHY since it is not required for probing display driver.
- Add the commit details which deselected the MediaTek PHY drivers and added a Fixes tag.
- Enabled CONFIG_PHY_MTK_DP, which was previously deselected.

---
 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/configs/defconfig +3 -0
index 1f25423de383..fa8ee7070b37 100644
@@ -1573,6 +1573,9 @@ CONFIG_PHY_HISTB_COMBPHY=y
 CONFIG_PHY_HISI_INNO_USB2=y
 CONFIG_PHY_MVEBU_CP110_COMPHY=y
 CONFIG_PHY_MTK_TPHY=y
+CONFIG_PHY_MTK_HDMI=m
+CONFIG_PHY_MTK_MIPI_DSI=m
+CONFIG_PHY_MTK_DP=m
 CONFIG_PHY_QCOM_EDP=m
 CONFIG_PHY_QCOM_PCIE2=m
 CONFIG_PHY_QCOM_QMP=m
Signature · 1 line
2.47.2
Reviewed-by on v3 1/1
#1 lore raw
Quoted 7 lines · Vignesh Raman

The mediatek display driver fails to probe on mt8173-elm-hana and mt8183-kukui-jacuzzi-juniper-sku16 in v6.14-rc4 due to missing PHY configurations.

Commit [1] stopped selecting the MediaTek PHY drivers, requiring them to be explicitly enabled in defconfig.

Quoted 6 lines

Enable the following PHY drivers for MediaTek platforms:
- CONFIG_PHY_MTK_HDMI=m for HDMI display
- CONFIG_PHY_MTK_MIPI_DSI=m for DSI display
- CONFIG_PHY_MTK_DP=m for DP display

[1] commit 924d66011f24 ("drm/mediatek: stop selecting foreign drivers")

Usually this would go directly in the paragraph, like so:

Commit 924d66011f24 ("drm/mediatek: stop selecting foreign drivers") stopped selecting the MediaTek PHY drivers, requiring them to be explicitly enabled in defconfig.

But that's just so you know in the future, you don't need to send a new version just for that.

Quoted 3 lines
Fixes 924d66011f24 ("drm/mediatek: stop selecting foreign drivers")

Thanks,
Nícolas