Skip to contentSkip to conversation

arm64: defconfig: mediatek: enable PHY drivers

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

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 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.

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_XSPHY=m for USB

---

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

---
 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/configs/defconfig +3 -0
index 1f25423de383..87e8cbd3fd26 100644
@@ -1572,7 +1572,10 @@ CONFIG_PHY_HI6220_USB=y
 CONFIG_PHY_HISTB_COMBPHY=y
 CONFIG_PHY_HISI_INNO_USB2=y
 CONFIG_PHY_MVEBU_CP110_COMPHY=y
+CONFIG_PHY_MTK_HDMI=m
+CONFIG_PHY_MTK_MIPI_DSI=m
 CONFIG_PHY_MTK_TPHY=y
+CONFIG_PHY_MTK_XSPHY=m
 CONFIG_PHY_QCOM_EDP=m
 CONFIG_PHY_QCOM_PCIE2=m
 CONFIG_PHY_QCOM_QMP=m
Signature · 1 line
2.47.2
#1 lore raw
Quoted 25 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.

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_XSPHY=m for USB

---

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

---
 arch/arm64/configs/defconfig | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/configs/defconfig +0 -0
index 1f25423de383..87e8cbd3fd26 100644

arch/arm64/configs/defconfig CONFIG_PHY_HI6220_USB=y · line 1576

Quoted 5 lines
arch/arm64/configs/defconfig +2 -0
@@ -1572,7 +1572,10 @@ CONFIG_PHY_HI6220_USB=y
 CONFIG_PHY_HISTB_COMBPHY=y
 CONFIG_PHY_HISI_INNO_USB2=y
 CONFIG_PHY_MVEBU_CP110_COMPHY=y
+CONFIG_PHY_MTK_HDMI=m
+CONFIG_PHY_MTK_MIPI_DSI=m

This isn't the expected ordering. I imagine you manually added these configs in the defconfig.

To get the right ordering, after you've added the configs anywhere in this defconfig, do a 'make defconfig', then a 'make savedefconfig', and copy the generated 'defconfig' file at the root to this location, then you can add just this hunk to the commit, and it'll be in the correct order.

Thanks,
Nícolas

#2 lore raw

Hi Nícolas,

Quoted 21 lines · Nícolas F. R. A. Prado
Quoted 20 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.

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_XSPHY=m for USB

---

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

---
  arch/arm64/configs/defconfig | 3 +++
  1 file changed, 3 insertions(+)
Quoted 13 lines

arch/arm64/configs/defconfig CONFIG_PHY_HI6220_USB=y · line 1576

Quoted 10 lines
arch/arm64/configs/defconfig +2 -0
index 1f25423de383..87e8cbd3fd26 100644
@@ -1572,7 +1572,10 @@ CONFIG_PHY_HI6220_USB=y
  CONFIG_PHY_HISTB_COMBPHY=y
  CONFIG_PHY_HISI_INNO_USB2=y
  CONFIG_PHY_MVEBU_CP110_COMPHY=y
+CONFIG_PHY_MTK_HDMI=m
+CONFIG_PHY_MTK_MIPI_DSI=m

This isn't the expected ordering. I imagine you manually added these configs in the defconfig.

Yes, I added them manually.

Quoted 5 lines

To get the right ordering, after you've added the configs anywhere in this defconfig, do a 'make defconfig', then a 'make savedefconfig', and copy the generated 'defconfig' file at the root to this location, then you can add just this hunk to the commit, and it'll be in the correct order.

Thanks for the explanation. I will follow this approach.

Regards,
Vignesh

Quoted 3 lines

Thanks,
Nícolas