OSDN Git Service

platform_data/mlxreg: Add presence register field for FAN devices
authorVadim Pasternak <vadimp@mellanox.com>
Tue, 14 Jul 2020 12:02:02 +0000 (15:02 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 15 Jul 2020 09:45:07 +0000 (12:45 +0300)
commit17727a3b4879324818ea6f2ebc3f68432173ce24
tree8c919dd87754ac1e939db811b202164cbb7a2f80
parentf6fae31e590fdbd60efe7f5ae6e4bfb45ad42e24
platform_data/mlxreg: Add presence register field for FAN devices

Add new field 'reg_prsnt' to the structure 'mlxreg_core_data' to
provide the number FAN drawers equpped within the system. The purpose
is to allow mapping between FAN drawers and FAN rotors (tachometer),
since FAN drawer can be eqipped with a few rotors.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
include/linux/platform_data/mlxreg.h