diff options
author | Richard Leitner | 2017-12-22 11:08:09 +0100 |
---|---|---|
committer | David S. Miller | 2017-12-27 17:06:50 +0100 |
commit | 04f629f730fcd30c811777d186b15c38737eaa3c (patch) | |
tree | 6e6856c7f6809cd26e2662bd3cdc5f35c0aa6676 /drivers/of | |
parent | Merge branch 'hns3-next' (diff) | |
download | kernel-qcow2-linux-04f629f730fcd30c811777d186b15c38737eaa3c.tar.gz kernel-qcow2-linux-04f629f730fcd30c811777d186b15c38737eaa3c.tar.xz kernel-qcow2-linux-04f629f730fcd30c811777d186b15c38737eaa3c.zip |
phylib: rename reset-(post-)delay-us to reset-(de)assert-us
As suggested by Rob Herring [1] rename the previously introduced
reset-{,post-}delay-us bindings to the clearer reset-{,de}assert-us
[1] https://patchwork.kernel.org/patch/10104905/
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/of_mdio.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c index f4c73292b304..1b9ef35cf0d9 100644 --- a/drivers/of/of_mdio.c +++ b/drivers/of/of_mdio.c @@ -77,9 +77,10 @@ static int of_mdiobus_register_phy(struct mii_bus *mdio, if (of_property_read_bool(child, "broken-turn-around")) mdio->phy_ignore_ta_mask |= 1 << addr; - of_property_read_u32(child, "reset-delay-us", &phy->mdio.reset_delay); - of_property_read_u32(child, "reset-post-delay-us", - &phy->mdio.reset_post_delay); + of_property_read_u32(child, "reset-assert-us", + &phy->mdio.reset_assert_delay); + of_property_read_u32(child, "reset-deassert-us", + &phy->mdio.reset_deassert_delay); /* Associate the OF node with the device structure so it * can be looked up later */ |