commit | fee2d546414d74052c68e864e3fdbd0e8c692974 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Tue Jan 09 22:42:09 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 10 15:35:05 2018 -0500 |
tree | 8d93650be9ac109aaaa5e8e6b8a3b7e36f71e760 | |
parent | 0c959a2e862f659fc74c35696da21355fe11e9e2 [diff] |
net: phy: marvell: mv88e6390 temperature sensor reading The internal PHYs in the mv88e6390 switch have a temperature sensor. It uses a different register layout to other PHY currently supported. It also has an errata, in that some reads of the sensor result in bad values. So a number of reads need to be made, and the average taken. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>