platform/x86: mlx-platform: Remove PSU EEPROM configuration
authorVadim Pasternak <vadimp@nvidia.com>
Wed, 23 Sep 2020 17:20:49 +0000 (20:20 +0300)
committerHans de Goede <hdegoede@redhat.com>
Wed, 7 Oct 2020 21:20:48 +0000 (23:20 +0200)
commitc071afcea6ecf24a3c119f25ce9f71ffd55b5dc2
treefdee4ff1e440662df09736c8129a50e58a8d8b4c
parentd0e21c24de71f0c46491d2ccf3d511447a74d2c7
platform/x86: mlx-platform: Remove PSU EEPROM configuration

Remove PSU EEPROM configuration for systems class equipped with
Mellanox chip Spectrume-2. 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 "24c32".
There is a new requirement is to support power unit replacement by "off
the shelf" device, matching electrical required parameters. Such device
could 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 "24c32" will not work.

Fixes: 1bd42d94ccab ("platform/x86: mlx-platform: Add support for new 200G IB and Ethernet systems")
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200923172053.26296-2-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/mlx-platform.c