aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/Makefile
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2013-09-21 00:50:39 +0530
committerDavid S. Miller <davem@davemloft.net>2013-09-24 10:33:07 -0400
commit5892cd135e166c425c992c437a2944534b663a24 (patch)
tree53d678d3cd3591f90daa85c1adefc9c0e9971efd /drivers/net/ethernet/ti/Makefile
parentnet: ethernet: cpsw: switch to devres allocations (diff)
downloadlinux-dev-5892cd135e166c425c992c437a2944534b663a24.tar.xz
linux-dev-5892cd135e166c425c992c437a2944534b663a24.zip
drivers: net: cpsw-phy-sel: Add new driver for phy mode selection for cpsw
The cpsw currently lacks code to properly set up the hardware interface mode on AM33xx. Other platforms might be equally affected. Usually, the bootloader will configure the control module register, so probably that's why such support wasn't needed in the past. In suspend mode though, this register is modified, and so it needs reprogramming after resume. This patch adds a new driver in which hardware interface can configure correct register bits when the slave is opened. The AM33xx also has a bit for each slave to configure the RMII reference clock direction. Setting it is now supported by a per-slave DT property. This code path introducted by this patch is currently exclusive for am33xx and same can be extened to various platforms via the DT compatibility property. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Tested-by: Daniel Mack <zonque@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/Makefile')
-rw-r--r--drivers/net/ethernet/ti/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/Makefile b/drivers/net/ethernet/ti/Makefile
index c65148e8aa1d..9cfaab8152be 100644
--- a/drivers/net/ethernet/ti/Makefile
+++ b/drivers/net/ethernet/ti/Makefile
@@ -7,5 +7,6 @@ obj-$(CONFIG_CPMAC) += cpmac.o
obj-$(CONFIG_TI_DAVINCI_EMAC) += davinci_emac.o
obj-$(CONFIG_TI_DAVINCI_MDIO) += davinci_mdio.o
obj-$(CONFIG_TI_DAVINCI_CPDMA) += davinci_cpdma.o
+obj-$(CONFIG_TI_CPSW_PHY_SEL) += cpsw-phy-sel.o
obj-$(CONFIG_TI_CPSW) += ti_cpsw.o
ti_cpsw-y := cpsw_ale.o cpsw.o cpts.o