platform: mellanox: nvsw-sn2200: Add support for new system flavour
authorVadim Pasternak <vadimp@nvidia.com>
Sun, 4 May 2025 16:55:06 +0000 (19:55 +0300)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 8 May 2025 13:03:48 +0000 (16:03 +0300)
commit56b0bb7f906907ae840796b942588802cf898675
tree16f6f90041201520fc4b6e925842a8f2b95e1516
parentc5925f438429330e649cef67cb364af03f2175f7
platform: mellanox: nvsw-sn2200: Add support for new system flavour

Add support for SN2201 system flavour, which is fitting OCP rack
form-factor and feeded from external power source through the rack
standard busbar interface.

Validate system type through DMI decode.
For new system flavour:
- Skip internal power supply configuration.
- Attach power hotswap device.

Reviewed-by: Michael Shych <michaelsh@nvidia.com>
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20250504165507.9003-2-vadimp@nvidia.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/mellanox/nvsw-sn2201.c