0001 # SPDX-License-Identifier: GPL-2.0
0002 #
0003 # Platform support for Mellanox hardware
0004 #
0005
0006 menuconfig MELLANOX_PLATFORM
0007 bool "Platform support for Mellanox hardware"
0008 depends on X86 || ARM || ARM64 || COMPILE_TEST
0009 help
0010 Say Y here to get to see options for platform support for
0011 Mellanox systems. This option alone does not add any kernel code.
0012
0013 If you say N, all options in this submenu will be skipped and disabled.
0014
0015 if MELLANOX_PLATFORM
0016
0017 config MLXREG_HOTPLUG
0018 tristate "Mellanox platform hotplug driver support"
0019 depends on REGMAP
0020 depends on HWMON
0021 depends on I2C
0022 help
0023 This driver handles hot-plug events for the power suppliers, power
0024 cables and fans on the wide range Mellanox IB and Ethernet systems.
0025
0026 config MLXREG_IO
0027 tristate "Mellanox platform register access driver support"
0028 depends on REGMAP
0029 depends on HWMON
0030 help
0031 This driver allows access to Mellanox programmable device register
0032 space through sysfs interface. The sets of registers for sysfs access
0033 are defined per system type bases and include the registers related
0034 to system resets operation, system reset causes monitoring and some
0035 kinds of mux selection.
0036
0037 config MLXREG_LC
0038 tristate "Mellanox line card platform driver support"
0039 depends on REGMAP
0040 depends on HWMON
0041 depends on I2C
0042 help
0043 This driver provides support for the Mellanox MSN4800-XX line cards,
0044 which are the part of MSN4800 Ethernet modular switch systems
0045 providing a high performance switching solution for Enterprise Data
0046 Centers (EDC) for building Ethernet based clusters, High-Performance
0047 Computing (HPC) and embedded environments.
0048
0049 config MLXBF_TMFIFO
0050 tristate "Mellanox BlueField SoC TmFifo platform driver"
0051 depends on ARM64
0052 depends on ACPI
0053 depends on VIRTIO_CONSOLE && VIRTIO_NET
0054 help
0055 Say y here to enable TmFifo support. The TmFifo driver provides
0056 platform driver support for the TmFifo which supports console
0057 and networking based on the virtio framework.
0058
0059 config MLXBF_BOOTCTL
0060 tristate "Mellanox BlueField Firmware Boot Control driver"
0061 depends on ARM64
0062 depends on ACPI
0063 help
0064 The Mellanox BlueField firmware implements functionality to
0065 request swapping the primary and alternate eMMC boot partition,
0066 and to set up a watchdog that can undo that swap if the system
0067 does not boot up correctly. This driver provides sysfs access
0068 to the userspace tools, to be used in conjunction with the eMMC
0069 device driver to do necessary initial swap of the boot partition.
0070
0071 config MLXBF_PMC
0072 tristate "Mellanox BlueField Performance Monitoring Counters driver"
0073 depends on ARM64
0074 depends on HWMON
0075 depends on ACPI
0076 help
0077 Say y here to enable PMC support. The PMC driver provides access
0078 to performance monitoring counters within various blocks in the
0079 Mellanox BlueField SoC via a sysfs interface.
0080
0081 config NVSW_SN2201
0082 tristate "Nvidia SN2201 platform driver support"
0083 depends on REGMAP
0084 depends on HWMON
0085 depends on I2C
0086 depends on REGMAP_I2C
0087 help
0088 This driver provides support for the Nvidia SN2201 platform.
0089 The SN2201 is a highly integrated for one rack unit system with
0090 L3 management switches. It has 48 x 1Gbps RJ45 + 4 x 100G QSFP28
0091 ports in a compact 1RU form factor. The system also including a
0092 serial port (RS-232 interface), an OOB port (1G/100M MDI interface)
0093 and USB ports for management functions.
0094 The processor used on SN2201 is Intel Atom®Processor C Series,
0095 C3338R which is one of the Denverton product families.
0096 System equipped with Nvidia®Spectrum-1 32x100GbE Ethernet switch.
0097
0098 endif # MELLANOX_PLATFORM