aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/Kconfig
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-04-20 20:21:13 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-22 12:14:18 -0700
commit4406d36dfdf1fbd954400e16ffeb915c1907d58a (patch)
treecab71d01eb20818aa975b4c607fc16beb598582e /drivers/net/phy/Kconfig
parent6937602ed3f9ebd46ed6a6b5e609c0ae4ed99008 (diff)
downloadlinux-4406d36dfdf1fbd954400e16ffeb915c1907d58a.tar.gz
net: phy: bcm54140: add hwmon support
The PHY supports monitoring its die temperature as well as two analog voltages. Add support for it. Signed-off-by: Michael Walle <michael@walle.cc> Acked-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r--drivers/net/phy/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index cb7936b577de9c..bacfee41b5646c 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -349,6 +349,7 @@ config BROADCOM_PHY
config BCM54140_PHY
tristate "Broadcom BCM54140 PHY"
depends on PHYLIB
+ depends on HWMON || HWMON=n
select BCM_NET_PHYLIB
help
Support the Broadcom BCM54140 Quad SGMII/QSGMII PHY.