phylib: Add device reset delay support
authorRichard Leitner <richard.leitner@skidata.com>
Mon, 11 Dec 2017 12:16:57 +0000 (13:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 16:22:53 +0000 (11:22 -0500)
commit3a30ae6ef3cba29c83ca791bde0d06f182d5678d
treef2da147aeebdf7292a3e1b46e657ca623382310a
parent9cca5d2f1be941c2fbe0ac192a139fe1b93d2c3c
phylib: Add device reset delay support

Some PHYs need a minimum time after the reset gpio was asserted and/or
deasserted. To ensure we meet these timing requirements add two new
optional devicetree parameters for the phy: reset-delay-us and
reset-post-delay-us.

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/phy.txt
drivers/net/phy/mdio_device.c
drivers/of/of_mdio.c
include/linux/mdio.h