Hi,
On Tue, 23 May 2017 13:28:27 +0530 Jagan Teki wrote:
> From: Jagan Teki
>
> phy-reset-gpios property needed for adding mii_dev
> reset bus operation, so the board code not take care
> of phy_reset anymore if it use DM_ETH
>
> Cc: Joe Hershberger
> Cc: Fabio Estevam
> Signed-off-by: Jagan
Hi Jagan,
On Tue, May 23, 2017 at 4:58 AM, Jagan Teki wrote:
> +#if defined(CONFIG_DM_ETH) && defined(CONFIG_DM_GPIO)
> +static int fec_phy_reset(struct mii_dev *bus)
> +{
> + struct fec_priv *priv = dev_get_priv((struct udevice *)bus->priv);
> +
> + if (!dm_gpio_is_valid(&priv->rese
From: Jagan Teki
phy-reset-gpios property needed for adding mii_dev
reset bus operation, so the board code not take care
of phy_reset anymore if it use DM_ETH
Cc: Joe Hershberger
Cc: Fabio Estevam
Signed-off-by: Jagan Teki
---
drivers/net/fec_mxc.c | 64 ++
3 matches
Mail list logo