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

Andrew Lunn
2024-07-17T15:20:18Z

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