]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1fb88d42587a343ac373224227d70f91d8c61815
tree4fb282164ff6065aed09bb4094b94cbd264f19bc
parent80c739af0d047b0d0c460ac04eaf5c55008993b9
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]