Kconfig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Platform support for Mellanox hardware
  4. #
  5. menuconfig MELLANOX_PLATFORM
  6. bool "Platform support for Mellanox hardware"
  7. depends on X86 || ARM || COMPILE_TEST
  8. ---help---
  9. Say Y here to get to see options for platform support for
  10. Mellanox systems. This option alone does not add any kernel code.
  11. If you say N, all options in this submenu will be skipped and disabled.
  12. if MELLANOX_PLATFORM
  13. config MLXREG_HOTPLUG
  14. tristate "Mellanox platform hotplug driver support"
  15. depends on REGMAP
  16. depends on HWMON
  17. depends on I2C
  18. ---help---
  19. This driver handles hot-plug events for the power suppliers, power
  20. cables and fans on the wide range Mellanox IB and Ethernet systems.
  21. config MLXREG_IO
  22. tristate "Mellanox platform register access driver support"
  23. depends on REGMAP
  24. depends on HWMON
  25. help
  26. This driver allows access to Mellanox programmable device register
  27. space through sysfs interface. The sets of registers for sysfs access
  28. are defined per system type bases and include the registers related
  29. to system resets operation, system reset causes monitoring and some
  30. kinds of mux selection.
  31. endif # MELLANOX_PLATFORM