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"
8536180feSVadim Pasternak	depends on X86 || ARM || 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
265ec4a8acSVadim Pasternakconfig MLXREG_IO
275ec4a8acSVadim Pasternak	tristate "Mellanox platform register access driver support"
285ec4a8acSVadim Pasternak	depends on REGMAP
295ec4a8acSVadim Pasternak	depends on HWMON
305ec4a8acSVadim Pasternak	help
315ec4a8acSVadim Pasternak	  This driver allows access to Mellanox programmable device register
325ec4a8acSVadim Pasternak	  space through sysfs interface. The sets of registers for sysfs access
335ec4a8acSVadim Pasternak	  are defined per system type bases and include the registers related
345ec4a8acSVadim Pasternak	  to system resets operation, system reset causes monitoring and some
355ec4a8acSVadim Pasternak	  kinds of mux selection.
365ec4a8acSVadim Pasternak
371f976f69SVadim Pasternakendif # MELLANOX_PLATFORM
38