nfp: add hwmon support

Add support for retrieving temperature and power sensor and limits via NSP.

Signed-off-by: David Brunecz <david.brunecz@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David Brunecz 2017-05-28 17:53:00 -07:00 • committed by David S. Miller
commit eefbde7e10
8 changed files with 286 additions and 7 deletions