diff options
author | Vadim Pasternak <vadimp@nvidia.com> | 2022-04-19 17:54:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-20 17:03:21 +0300 |
commit | f11a323da46cff1ce3e5bb87c36cc8cd21f9a793 (patch) | |
tree | 3fc845b5c64ba2bc620044c92e8f5c1fe1708393 /drivers/base/regmap/regmap-sccb.c | |
parent | 06a0fc43bb10e48355574b8d28ab5ab1a3c86c61 (diff) | |
download | linux-f11a323da46cff1ce3e5bb87c36cc8cd21f9a793.tar.xz |
mlxsw: core_thermal: Add interfaces for line card initialization and de-initialization
Add callback functions for line card thermal area initialization and
de-initialization. Each line card is associated with the relevant
thermal area, which may contain thermal zones for cages and gearboxes
found on this line card.
The line card thermal initialization / de-initialization APIs are to be
called when line card is set to active / inactive state by
got_active() / got_inactive() callbacks from line card state machine.
For example thermal zone for module #9 located at line card #7 will
have type:
mlxsw-lc7-module9.
And thermal zone for gearbox #2 located at line card #5 will have type:
mlxsw-lc5-gearbox2.
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/base/regmap/regmap-sccb.c')
0 files changed, 0 insertions, 0 deletions