Re: [net-next PATCH v2 2/3] Documentation: ACPI: DSD: Document MDIO PHY

From: Andy Shevchenko
Date: Wed Jul 01 2020 - 06:28:00 EST


On Wed, Jul 1, 2020 at 9:13 AM Calvin Johnson
<calvin.johnson@xxxxxxxxxxx> wrote:
>
> Introduce ACPI mechanism to get PHYs registered on a MDIO bus and
> provide them to be connected to MAC.
>
> An ACPI node property "mdio-handle" is introduced to reference the
> MDIO bus on which PHYs are registered with autoprobing method used
> by mdiobus_register().

...

> + Package (2) {"mdio-handle", Package (){\_SB.MDI0}}

Reference as a package? Hmm... Is it really possible to have more than
one handle here?

...

> + Package (2) {"phy-channel", 2},
> + Package (2) {"phy-mode", "rgmii-id"},
> + Package (2) {"mdio-handle", Package (){\_SB.MDI0}}

And drop all these 2s. They are counted automatically by `iasl`.

--
With Best Regards,
Andy Shevchenko