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 || 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 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
26endif # MELLANOX_PLATFORM
27