11f976f69SVadim Pasternak# SPDX-License-Identifier: GPL-2.0
21f976f69SVadim Pasternak#
31f976f69SVadim Pasternak# Platform support for Mellanox hardware
41f976f69SVadim Pasternak#
51f976f69SVadim Pasternak
61f976f69SVadim Pasternakmenuconfig MELLANOX_PLATFORM
71f976f69SVadim Pasternak	bool "Platform support for Mellanox hardware"
81f976f69SVadim Pasternak	depends on X86 || COMPILE_TEST
91f976f69SVadim Pasternak	---help---
101f976f69SVadim Pasternak	  Say Y here to get to see options for platform support for
111f976f69SVadim Pasternak	  Mellanox systems. This option alone does not add any kernel code.
121f976f69SVadim Pasternak
131f976f69SVadim Pasternak	  If you say N, all options in this submenu will be skipped and disabled.
141f976f69SVadim Pasternak
151f976f69SVadim Pasternakif MELLANOX_PLATFORM
161f976f69SVadim Pasternak
171f976f69SVadim Pasternakconfig MLXREG_HOTPLUG
181f976f69SVadim Pasternak	tristate "Mellanox platform hotplug driver support"
19c6acad68SVadim Pasternak	depends on REGMAP
201f976f69SVadim Pasternak	depends on HWMON
211f976f69SVadim Pasternak	depends on I2C
221f976f69SVadim Pasternak	---help---
231f976f69SVadim Pasternak	  This driver handles hot-plug events for the power suppliers, power
241f976f69SVadim Pasternak	  cables and fans on the wide range Mellanox IB and Ethernet systems.
251f976f69SVadim Pasternak
261f976f69SVadim Pasternakendif # MELLANOX_PLATFORM
27