platform/x86: mlx-platform: Add support for new capability register
authorVadim Pasternak <vadimp@mellanox.com>
Mon, 13 Jan 2020 16:28:37 +0000 (16:28 +0000)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 13 Jan 2020 19:02:46 +0000 (21:02 +0200)
commit4845460421d433dc41b53ea903f1ab55900184bf
tree72508950bd3676db23f879456edbbd23c2835e3f
parentbdd6e155e0d641c3607bb59169d6caa10235bb40
platform/x86: mlx-platform: Add support for new capability register

Add support for capability register, which contains information about
the number of PS units equipped on the system and about minimum I2C
frequency supported by the all system's I2C devices.
Utilization of this register allows to avoid necessity of providing new
system description, in case it differs in number of PS units or in
minimal I2C frequency.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/mlx-platform.c