> 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
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))
>>
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)
>>>
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
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