Re: [PATCH v3 2/9] net: arc_emac: add phy reset is optional for device tree

From: Sergei Shtylyov
Date: Wed Mar 16 2016 - 09:58:51 EST


Hello.

On 3/14/2016 11:01 AM, Caesar Wang wrote:

This patch adds the following property for arc_emac.

1) phy-reset-gpios:
The phy-reset-gpio is an optional property for arc emac device tree boot.
Change the binding document to match the driver code.

2) phy-reset-duration:
Different boards may require different phy reset duration. Add property
phy-reset-duration for device tree probe, so that the boards that need
a longer reset duration can specify it in their device tree.

Anyway, we can add the above property for arc emac.

Signed-off-by: Caesar Wang <wxt@xxxxxxxxxxxxxx>

Could you have a look at drivers/net/ethernet/cadence/macb/? It seems to be the only driver which places the PHY's "reset-gpios" prop correctly, into the PHY subnode? I'm currently working on adding support of this prop into phylib...

MBR, Sergei