Skip to content

Commit

Permalink
phy: marvell: Add support for temperature sensor
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Lunn authored and David S. Miller committed Jan 20, 2017
1 parent 319554f commit 0b04680
Showing 1 changed file with 420 additions and 3 deletions.
Loading

0 comments on commit 0b04680

Please sign in to comment.