platform: mellanox: Introduce support of new Nvidia L1 switch
authorVadim Pasternak <vadimp@nvidia.com>
Wed, 8 Feb 2023 06:33:22 +0000 (08:33 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 10 Feb 2023 16:43:33 +0000 (17:43 +0100)
commitdd635e33b5c9a3ad3712abae7b845f4353da8cef
treefe352680241df1563baf441d57ed3863a1409c1c
parentfcf3790b9b63b27ac0269c2285021139a0798a7b
platform: mellanox: Introduce support of new Nvidia L1 switch

Add support for new L1 switch nodes providing L1 connectivity for
multi-node networking chassis.

The purpose is to provide compute server with full management and IO
subsystems with connections to L1 switches.

System contains the following components:
- COMe module based on Intel Coffee Lake CPU
- Switch baseboard with two ASICs, while
  24 ports of each ASICs are connected to one backplane connector
  32 ports of each ASIC are connected to 8 OSFPs
- Integrated 60mm dual-rotor FANs inside L1 node (N+2 redundancy)
- Support 48V or 54V DC input from the external power server.

Add the structures related to the new systems to allow proper activation
of the all required platform driver.

Add poweroff callback to support deep power cycle flow, which should
include special actions against CPLD device for performing graceful
operation.

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