mlxsw: core: Implement temperature hwmon interface
authorJiri Pirko <jiri@mellanox.com>
Fri, 27 Nov 2015 12:45:57 +0000 (13:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Nov 2015 20:05:40 +0000 (15:05 -0500)
commit89309da39f55922f6ca18ecd09a158c319c69d55
tree4fb282164ff6065aed09bb4094b94cbd264f19bc
parent85926f8770403d4c7a1828db873eb8c6bec14ce5
mlxsw: core: Implement temperature hwmon interface

ASIC provides access to temperature sensors. Implement their exposure to
userspace using hwmon.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/Kconfig
drivers/net/ethernet/mellanox/mlxsw/Makefile
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/core_hwmon.c [new file with mode: 0644]