1 # SPDX-License-Identifier: GPL-2.0
3 # Platform support for Mellanox hardware
6 menuconfig MELLANOX_PLATFORM
7 bool "Platform support for Mellanox hardware"
8 depends on X86 || ARM || ARM64 || COMPILE_TEST
10 Say Y here to get to see options for platform support for
11 Mellanox systems. This option alone does not add any kernel code.
13 If you say N, all options in this submenu will be skipped and disabled.
18 tristate "Mellanox platform hotplug driver support"
23 This driver handles hot-plug events for the power suppliers, power
24 cables and fans on the wide range Mellanox IB and Ethernet systems.
27 tristate "Mellanox platform register access driver support"
31 This driver allows access to Mellanox programmable device register
32 space through sysfs interface. The sets of registers for sysfs access
33 are defined per system type bases and include the registers related
34 to system resets operation, system reset causes monitoring and some
35 kinds of mux selection.
38 tristate "Mellanox BlueField SoC TmFifo platform driver"
41 depends on VIRTIO_CONSOLE && VIRTIO_NET
43 Say y here to enable TmFifo support. The TmFifo driver provides
44 platform driver support for the TmFifo which supports console
45 and networking based on the virtio framework.
48 tristate "Mellanox BlueField Firmware Boot Control driver"
52 The Mellanox BlueField firmware implements functionality to
53 request swapping the primary and alternate eMMC boot partition,
54 and to set up a watchdog that can undo that swap if the system
55 does not boot up correctly. This driver provides sysfs access
56 to the userspace tools, to be used in conjunction with the eMMC
57 device driver to do necessary initial swap of the boot partition.
60 tristate "Mellanox BlueField Performance Monitoring Counters driver"
65 Say y here to enable PMC support. The PMC driver provides access
66 to performance monitoring counters within various blocks in the
67 Mellanox BlueField SoC via a sysfs interface.
69 endif # MELLANOX_PLATFORM