net: phy: bcm54140: add hwmon support
authorMichael Walle <michael@walle.cc>
Mon, 20 Apr 2020 18:21:13 +0000 (20:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Apr 2020 19:14:18 +0000 (12:14 -0700)
commit4406d36dfdf1fbd954400e16ffeb915c1907d58a
treecab71d01eb20818aa975b4c607fc16beb598582e
parent6937602ed3f9ebd46ed6a6b5e609c0ae4ed99008
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>
Documentation/hwmon/bcm54140.rst [new file with mode: 0644]
Documentation/hwmon/index.rst
drivers/net/phy/Kconfig
drivers/net/phy/bcm54140.c