]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell10g: add thermal hwmon device
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 3 Apr 2018 09:31:45 +0000 (10:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2018 15:24:54 +0000 (11:24 -0400)
commit92d9f2715e0432f5f198933fced8b726dc23af59
tree919aa9917ef2e40964634ad08e580b63c212ab6d
parent6c97f7cc66adfcd3dfe3be3a1e168306e73f44e8
net: phy: marvell10g: add thermal hwmon device

Add a thermal monitoring device for the Marvell 88x3310, which updates
once a second.  We also need to hook into the suspend/resume mechanism
to ensure that the thermal monitoring is reconfigured when we resume.

Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c