diff options
author | Vadim Pasternak <vadimp@nvidia.com> | 2025-01-13 10:48:59 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2025-09-25 08:08:14 -0700 |
commit | 1e11552ee54d10c0b602c76b94db602e2581ce57 (patch) | |
tree | 96ed61342ee272b9967bdff6086a1d42aaf4722a /drivers/hwmon/pwm-fan.c | |
parent | c02e4644f8ac9c501077ef5ac53ae7fc51472d49 (diff) |
hwmon: (mlxreg-fan) Add support for new flavour of capability register
FAN platform data is common across the various systems, while fan
driver should be able to apply only the fan instances relevant
to specific system.
For example, platform data might contain descriptions for fan1,
fan2, ..., fan{n}, while some systems equipped with all 'n' fans,
others with less.
Also, on some systems fan drawer can be equipped with several
tachometers and on others only with one.
For detection of the real number of equipped drawers and tachometers
special capability registers are used.
These registers used to indicate presence of drawers and tachometers
through the bitmap.
For some new big modular systems this register will provide presence
data by counter.
Use slot parameter to distinct whether capability register contains
bitmask or counter.
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20250113084859.27064-3-vadimp@nvidia.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions