Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # |
| 3 | # Platform support for Mellanox hardware |
| 4 | # |
| 5 | |
| 6 | menuconfig MELLANOX_PLATFORM |
| 7 | bool "Platform support for Mellanox hardware" |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 8 | depends on X86 || ARM || ARM64 || COMPILE_TEST |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 | |
| 15 | if MELLANOX_PLATFORM |
| 16 | |
| 17 | config MLXREG_HOTPLUG |
| 18 | tristate "Mellanox platform hotplug driver support" |
| 19 | depends on REGMAP |
| 20 | depends on HWMON |
| 21 | depends on I2C |
| 22 | ---help--- |
| 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. |
| 25 | |
| 26 | config MLXREG_IO |
| 27 | tristate "Mellanox platform register access driver support" |
| 28 | depends on REGMAP |
| 29 | depends on HWMON |
| 30 | help |
| 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. |
| 36 | |
David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 37 | config MLXBF_TMFIFO |
| 38 | tristate "Mellanox BlueField SoC TmFifo platform driver" |
| 39 | depends on ARM64 |
| 40 | depends on ACPI |
| 41 | depends on VIRTIO_CONSOLE && VIRTIO_NET |
| 42 | help |
| 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. |
| 46 | |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 47 | endif # MELLANOX_PLATFORM |