aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2019-11-20 00:19:21 +0200
committerDavid S. Miller <davem@davemloft.net>2019-11-20 11:25:24 -0800
commitda84e50c8e7525517c8484269578b247760cc7f4 (patch)
treeb4eb6756ca3ea12073cd61606eec5f40e3aa6abb /drivers/phy
parentnet: ethernet: ti: introduce cpsw switchdev based driver part 2 - switch (diff)
downloadlinux-dev-da84e50c8e7525517c8484269578b247760cc7f4.tar.xz
linux-dev-da84e50c8e7525517c8484269578b247760cc7f4.zip
phy: ti: phy-gmii-sel: dependency from ti cpsw-switchdev driver
Add dependency from TI_CPSW_SWITCHDEV. Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/ti/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/phy/ti/Kconfig b/drivers/phy/ti/Kconfig
index c3fa1840f8de..174888609779 100644
--- a/drivers/phy/ti/Kconfig
+++ b/drivers/phy/ti/Kconfig
@@ -90,8 +90,8 @@ config TWL4030_USB
config PHY_TI_GMII_SEL
tristate
- default y if TI_CPSW=y
- depends on TI_CPSW || COMPILE_TEST
+ default y if TI_CPSW=y || TI_CPSW_SWITCHDEV=y
+ depends on TI_CPSW || TI_CPSW_SWITCHDEV || COMPILE_TEST
select GENERIC_PHY
select REGMAP
default m