Re: [net-next PATCH v2 2/2] net: phy: mediatek: add Airoha PHY ID to SoC driver

From: Arnd Bergmann
Date: Thu Apr 10 2025 - 06:34:05 EST


On Thu, Apr 10, 2025, at 12:04, Christian Marangi wrote:
>
> config MEDIATEK_GE_SOC_PHY
> tristate "MediaTek SoC Ethernet PHYs"
> - depends on (ARM64 && ARCH_MEDIATEK && NVMEM_MTK_EFUSE) || COMPILE_TEST
> + depends on ARM64 || COMPILE_TEST
> + depends on ARCH_AIROHA || (ARCH_MEDIATEK && NVMEM_MTK_EFUSE) || \
> + COMPILE_TEST
> select MTK_NET_PHYLIB
> help
> Supports MediaTek SoC built-in Gigabit Ethernet PHYs.

This now also fails for non-compile-test builds with
NVMEM=m, ARCH_MEDIATEK=n, ARCH_AIROHA=y and MEDIATEK_GE_SOC_PHY=y.

Arnd