platform/x86: mlx-platform: Add capability field to platform FAN description
authorVadim Pasternak <vadimp@nvidia.com>
Wed, 23 Sep 2020 17:20:53 +0000 (20:20 +0300)
committerHans de Goede <hdegoede@redhat.com>
Wed, 7 Oct 2020 21:21:04 +0000 (23:21 +0200)
commit47a514b642cf144d6067e219474f08cde562b840
tree9eedf6fef5ce236c930c0efc3ceb3953ea432dbd
parentd2f3ab5b6b05f67817f3bd3f2fda5f0126e95a62
platform/x86: mlx-platform: Add capability field to platform FAN description

Set 'capability' field to FAN core platform data..
The content of 'capability' register allows to set the mapping between
the drawers and tachometers.
The motivation is to avoid adding a new code in the future in order to
distinct between the systems types supporting a different kinds of the
FAN drawers.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200923172053.26296-6-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/mlx-platform.c