Re: [PATCH] net: davinci_mdio: Set of_node in the mdio bus

2016-04-28 Thread Andrew Lunn
> Is there another way to be able to make the of_mdio_find_bus() call be able to > find the davinci mdio bus? I missed the first post, and i cannot find it in the archive. Can you explain what your problem is please. So long as you call of_mdiobus_register() passing the correct device node, it sh

Re: [PATCH] net: davinci_mdio: Set of_node in the mdio bus

2016-04-28 Thread J.D. Schroeder
On 04/28/2016 02:44 PM, David Miller wrote: >> --- a/drivers/net/ethernet/ti/davinci_mdio.c >> +++ b/drivers/net/ethernet/ti/davinci_mdio.c >> @@ -343,6 +343,7 @@ static int davinci_mdio_probe(struct platform_device >> *pdev) >> if (davinci_mdio_probe_dt(&data->pdata, pdev)) >>

Re: [PATCH] net: davinci_mdio: Set of_node in the mdio bus

2016-04-28 Thread David Miller
From: "J.D. Schroeder" Date: Thu, 28 Apr 2016 16:39:36 -0500 > On 04/28/2016 02:44 PM, David Miller wrote: >>> --- a/drivers/net/ethernet/ti/davinci_mdio.c >>> +++ b/drivers/net/ethernet/ti/davinci_mdio.c >>> @@ -343,6 +343,7 @@ static int davinci_mdio_probe(struct platform_device >>> *pdev) >>>

Re: [PATCH] net: davinci_mdio: Set of_node in the mdio bus

2016-04-28 Thread David Miller
From: "J.D. Schroeder" Date: Mon, 25 Apr 2016 09:46:11 -0500 > From: "J.D. Schroeder" > > Assigns the of_node from the platform device to the of_node of the > mdio bus so that it can be used in the mdio driver to properly match > a bus in the DT with a phandle in of_mdio_find_bus(). > > Signed

[PATCH] net: davinci_mdio: Set of_node in the mdio bus

2016-04-25 Thread J.D. Schroeder
From: "J.D. Schroeder" Assigns the of_node from the platform device to the of_node of the mdio bus so that it can be used in the mdio driver to properly match a bus in the DT with a phandle in of_mdio_find_bus(). Signed-off-by: J.D. Schroeder Signed-off-by: Ben McCauley --- drivers/net/ethern