Re: [PATCH net] net: ethernet: sun4i-emac: Support phy-handle property for finding PHYs

From: David Miller
Date: Tue Aug 06 2019 - 14:29:43 EST


From: Chen-Yu Tsai <wens@xxxxxxxxxx>
Date: Tue, 6 Aug 2019 15:35:39 +0800

> From: Chen-Yu Tsai <wens@xxxxxxxx>
>
> The sun4i-emac uses the "phy" property to find the PHY it's supposed to
> use. This property was deprecated in favor of "phy-handle" in commit
> 8c5b09447625 ("dt-bindings: net: sun4i-emac: Convert the binding to a
> schemas").
>
> Add support for this new property name, and fall back to the old one in
> case the device tree hasn't been updated.
>
> Signed-off-by: Chen-Yu Tsai <wens@xxxxxxxx>

Applied.