Re: [PATCH] dt-bindings: net: qcom,emac: convert to dtschema

From: Andrew Lunn
Date: Wed Jul 17 2024 - 11:20:32 EST


On Wed, Jul 17, 2024 at 10:09:27AM +0100, Rayyan Ansari wrote:
> Convert the bindings for the Qualcomm EMAC Ethernet Controller from the
> old text format to yaml.
>
> Also move the phy node of the controller to be within an mdio block so
> we can use mdio.yaml.

Does the MAC driver already support this?

When i look at the emacs-phy.c there is

struct device_node *np = pdev->dev.of_node;

ret = of_mdiobus_register(mii_bus, np);

I don't see anything looking for the mdio node in the tree.

Andrew