commit | 0b04680fdae464ee51409b8cb36005f6ef8bd689 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Fri Jan 20 01:37:49 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Jan 20 14:42:51 2017 -0500 |
tree | d37542ca16877dc97c12bcbf1119a3556c7165ea | |
parent | 319554f284dda9f2737d09df82ba3610bd8ddea3 [diff] |
phy: marvell: Add support for temperature sensor Some Marvell PHYs have an inbuilt temperature sensor. Add hwmon support for this sensor. There are two different variants. The simpler, older chips have a 5 degree accuracy. The newer devices have 1 degree accuracy. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>