platform/x86: mlx-platform: Add support for fan capability registers
authorVadim Pasternak <vadimp@mellanox.com>
Wed, 12 Dec 2018 23:59:15 +0000 (23:59 +0000)
committerDarren Hart (VMware) <dvhart@infradead.org>
Sat, 26 Jan 2019 19:08:25 +0000 (11:08 -0800)
commit83cdb2c11173ee4aa621c8cce6e1c33fb564d2be
treed6834f1512c483802301ed249de6bcb96a4cec67
parent946e4e02b11889cb161b15ff4712a8ba21a50eb6
platform/x86: mlx-platform: Add support for fan capability registers

Provide support for the fan capability registers for the next generation
systems of types MQM87xx, MSN34xx, MSN37xx. These new registers provide
configuration for tachometers and fan drawers connectivity.  Use these
registers for next generation led, fan and hotplug structures in order
to distinguish between the systems which have minor configuration
differences. This reduces the amount of code used to describe such
systems.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/mellanox/mlxreg-hotplug.c
drivers/platform/x86/mlx-platform.c