[PATCH 1/2] net: ti cpsw ethernet: allow reading phy interface mode from DT

Daniel Mack zonque at gmail.com
Tue Oct 2 07:15:38 EST 2012


On 01.10.2012 23:11, David Miller wrote:
> From: Daniel Mack <zonque at gmail.com>
> Date: Wed, 26 Sep 2012 19:24:27 +0200
> 
>> Allow users to specify the phy interface of the CPSW slaves. The new
>> node parameter is called "phy_if_mode" and is optional. The original
>> behaviour of the driver is preserved when not given.
>>
>> Signed-off-by: Daniel Mack <zonque at gmail.com>
> 
> Applied, thanks.
> 

Eh, no - sorry. My original understanding was that a bit in the cpsw
registers has to be set only when a certain physical phy mode is in use.
Hence we would have needed a way to pass that information in via DT. But
as Mugunthan pointed out, that bit must always be set, and the cpsw
slaves can stay agnostic to the actual phy mode.

So that patch isn't needed. Sorry for the confusion.


Daniel



More information about the devicetree-discuss mailing list