xref: /linux/drivers/platform/mellanox/Kconfig (revision 1193e205dbb6feca917dc8e1862ffcdf2194234b)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Platform support for Mellanox hardware
4#
5
6menuconfig MELLANOX_PLATFORM
7	bool "Platform support for Mellanox hardware"
8	depends on X86 || ARM || ARM64 || COMPILE_TEST
9	help
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.
12
13	  If you say N, all options in this submenu will be skipped and disabled.
14
15if MELLANOX_PLATFORM
16
17config MLX_PLATFORM
18	tristate "Mellanox Technologies platform support"
19	depends on ACPI && I2C && PCI
20	select REGMAP
21	help
22	  This option enables system support for the Mellanox Technologies
23	  platform. The Mellanox systems provide data center networking
24	  solutions based on Virtual Protocol Interconnect (VPI) technology
25	  enable seamless connectivity to 56/100Gb/s InfiniBand or 10/40/56GbE
26	  connection.
27
28	  If you have a Mellanox system, say Y or M here.
29
30config MLXREG_DPU
31	tristate "Nvidia Data Processor Unit platform driver support"
32	depends on I2C
33	select REGMAP_I2C
34	help
35	  This driver provides support for the Nvidia BF3 Data Processor Units,
36	  which are the part of SN4280 Ethernet smart switch systems
37	  providing a high performance switching solution for Enterprise Data
38	  Centers (EDC) for building Ethernet based clusters, High-Performance
39	  Computing (HPC) and embedded environments.
40
41	  If you have a Nvidia smart switch system, say Y or M here.
42
43config MLXREG_HOTPLUG
44	tristate "Mellanox platform hotplug driver support"
45	depends on HWMON
46	depends on I2C
47	select REGMAP
48	help
49	  This driver handles hot-plug events for the power suppliers, power
50	  cables and fans on the wide range Mellanox IB and Ethernet systems.
51
52config MLXREG_IO
53	tristate "Mellanox platform register access driver support"
54	depends on HWMON
55	select REGMAP
56	help
57	  This driver allows access to Mellanox programmable device register
58	  space through sysfs interface. The sets of registers for sysfs access
59	  are defined per system type bases and include the registers related
60	  to system resets operation, system reset causes monitoring and some
61	  kinds of mux selection.
62
63config MLXREG_LC
64	tristate "Mellanox line card platform driver support"
65	depends on HWMON
66	depends on I2C
67	select REGMAP
68	help
69	  This driver provides support for the Mellanox MSN4800-XX line cards,
70	  which are the part of MSN4800 Ethernet modular switch systems
71	  providing a high performance switching solution for Enterprise Data
72	  Centers (EDC) for building Ethernet based clusters, High-Performance
73	  Computing (HPC) and embedded environments.
74
75config MLXBF_TMFIFO
76	tristate "Mellanox BlueField SoC TmFifo platform driver"
77	depends on ARM64
78	depends on ACPI
79	depends on VIRTIO_CONSOLE && VIRTIO_NET
80	help
81	  Say y here to enable TmFifo support. The TmFifo driver provides
82	  platform driver support for the TmFifo which supports console
83	  and networking based on the virtio framework.
84
85config MLXBF_BOOTCTL
86	tristate "Mellanox BlueField Firmware Boot Control driver"
87	depends on ARM64
88	depends on ACPI
89	depends on NET
90	help
91	  The Mellanox BlueField firmware implements functionality to
92	  request swapping the primary and alternate eMMC boot partition,
93	  and to set up a watchdog that can undo that swap if the system
94	  does not boot up correctly. This driver provides sysfs access
95	  to the userspace tools, to be used in conjunction with the eMMC
96	  device driver to do necessary initial swap of the boot partition.
97
98config MLXBF_PMC
99	tristate "Mellanox BlueField Performance Monitoring Counters driver"
100	depends on ARM64
101	depends on HWMON
102	depends on ACPI
103	help
104	  Say y here to enable PMC support. The PMC driver provides access
105	  to performance monitoring counters within various blocks in the
106	  Mellanox BlueField SoC via a sysfs interface.
107
108config NVSW_SN2201
109	tristate "Nvidia SN2201 platform driver support"
110	depends on HWMON && I2C
111	depends on ACPI || COMPILE_TEST
112	select REGMAP_I2C
113	help
114	  This driver provides support for the Nvidia SN2201 platform.
115	  The SN2201 is a highly integrated for one rack unit system with
116	  L3 management switches. It has 48 x 1Gbps RJ45 + 4 x 100G QSFP28
117	  ports in a compact 1RU form factor. The system also including a
118	  serial port (RS-232 interface), an OOB port (1G/100M MDI interface)
119	  and USB ports for management functions.
120	  The processor used on SN2201 is Intel Atom®Processor C Series,
121	  C3338R which is one of the Denverton product families.
122	  System equipped with Nvidia®Spectrum-1 32x100GbE Ethernet switch.
123
124endif # MELLANOX_PLATFORM
125