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

Andrew Lunn andrew at lunn.ch
Wed May 10 16:08:00 PDT 2023


> +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 at lunn.ch>

    Andrew



More information about the Linux-mediatek mailing list