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

Provide support for the fan direction register.
This register shows configuration for system fans direction, which could
be forward or reversed.
For forward direction - relevant bit is set 0;
For reversed direction - relevant bit is set 1.

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