Re: [PATCH net-next v3] net: phy: add driver for MediaTek SoC built-in GE PHYs

From: Andrew Lunn
Date: Wed May 10 2023 - 19:08:19 EST


> +static int mt7988_phy_probe_shared(struct phy_device *phydev)
> +{
> + struct mtk_socphy_shared_priv *priv = phydev->shared->priv;
> + void __iomem *boottrap;
> + struct device_node *np;
> + u32 reg;
> +
> + np = of_find_compatible_node(NULL, NULL, "mediatek,boottrap");
> + if (!np)
> + return -ENOENT;

Is this documented somewhere in the DT binding document?

The rest of the driver just seems to be undocumented magic which
nobody except the vendor would understand.

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew