platform/x86: mlx-platform: Remove PSU EEPROM from MSN274x platform configuration
authorVadim Pasternak <vadimp@nvidia.com>
Wed, 25 Nov 2020 10:10:56 +0000 (12:10 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 26 Nov 2020 14:26:22 +0000 (15:26 +0100)
commit912b341585e302ee44fc5a2733f7bcf505e2c86f
tree3d31c7a88f4db1022e0d23f18c88d0c59a7ce498
parent2bf5046bdb649908df8bcc0a012c56eee931a9af
platform/x86: mlx-platform: Remove PSU EEPROM from MSN274x platform configuration

Remove PSU EEPROM configuration for systems class equipped with
Mellanox chip Spectrum and ATOM CPU - system types MSN274x. Till now
all the systems from this class used few types of power units, all
equipped with EEPROM device with address space two bytes. Thus, all
these devices have been handled by EEPROM driver "24c02".

There is a new requirement is to support power unit replacement by "off
the shelf" device, matching electrical required parameters. Such device
can be equipped with different EEPROM type, which could be one byte
address space addressing or even could be not equipped with EEPROM.
In such case "24c02" will not work.

Fixes: ef08e14a3 ("platform/x86: mlx-platform: Add support for new msn274x system type")
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20201125101056.174708-3-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/mlx-platform.c