commit | 8dcf2ad39fdb2d183b7bd4307c837713e3150b9a | [log] [tgz] |
---|---|---|
author | Mark Starovoytov <mstarovoitov@marvell.com> | Mon Jul 20 21:32:44 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 20 18:07:39 2020 -0700 |
tree | 2c14c831ac90d7d9ca21f9b1f59b4d4f1334e52b | |
parent | a89df867ce1a3368015ff6f85ab4a23d2a0aaba1 [diff] |
net: atlantic: add hwmon getter for MAC temperature This patch adds the possibility to obtain MAC temperature via hwmon. On A1 there are two separate temperature sensors. On A2 there's only one temperature sensor, which is used for reporting both MAC and PHY temperature. Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com> Signed-off-by: Igor Russkikh <irusskikh@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>