net: dm: fec: Support phy-reset-post-delay property
authorAndrejs Cainikovs <Andrejs.Cainikovs@netmodule.com>
Fri, 1 Mar 2019 13:27:59 +0000 (13:27 +0000)
committerAnatolij Gustschin <agust@denx.de>
Mon, 8 Apr 2019 13:23:28 +0000 (15:23 +0200)
commit31d4045d4be8263828689c7eb6ff4e72071ad5ce
treebfd0da4f9491104ed8491da96463dae7e96afa20
parentafbc31948a007e03d6a1282677aafc2208f45819
net: dm: fec: Support phy-reset-post-delay property

As per Linux kernel DT binding doc:
- phy-reset-post-delay : Post reset delay in milliseconds. If present then
  a delay of phy-reset-post-delay milliseconds will be observed after the
  phy-reset-gpios has been toggled. Can be omitted thus no delay is
  observed. Delay is in range of 1ms to 1000ms. Other delays are invalid.

Signed-off-by: Andrejs Cainikovs <andrejs.cainikovs@netmodule.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Stefano Babic <sbabic@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Lukasz Majewski <lukma@denx.de>
drivers/net/fec_mxc.c
drivers/net/fec_mxc.h