net: pxa168_eth: Provide phy_interface mode on platform_data
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 22 Oct 2014 18:26:45 +0000 (20:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Oct 2014 19:49:20 +0000 (15:49 -0400)
commite7de17abeda24d8acc316b2e07bd969d03099eea
tree956a8d0c5b75de42998b4c589d5421cf229c469a
parent6b358aedced8180830727258718c3916bef3e249
net: pxa168_eth: Provide phy_interface mode on platform_data

The PXA168 Ethernet IP support MII and RMII connection to its PHY.
Currently, pxa168 platform_data does not provide a way to pass that
and there is one user of pxa168 platform_data (mach-mmp/gplug).
Given the pinctrl settings of gplug it uses RMII, so add and pass
a corresponding phy_interface_t.

Tested-by: Antoine Ténart <antoine.tenart@free-electrons.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/mach-mmp/gplugd.c
include/linux/pxa168_eth.h