net: ti cpsw ethernet: allow reading phy interface mode from DT
authorDaniel Mack <zonque@gmail.com>
Wed, 26 Sep 2012 07:24:27 +0000 (07:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Oct 2012 21:10:55 +0000 (17:10 -0400)
commitd7559982701ac500662b2e8e150ff34f7faf0281
treecd731653972e45649b1b13bb1b82d9602c152208
parent342b7b741d76bc8aadeff844634348bb2a343d19
net: ti cpsw ethernet: allow reading phy interface mode from DT

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@gmail.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/cpsw.txt
drivers/net/ethernet/ti/cpsw.c