aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/mellanox/Kconfig
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@mellanox.com>2018-06-17 16:56:53 +0000
committerDarren Hart (VMware) <dvhart@infradead.org>2018-06-19 16:56:53 -0700
commit5ec4a8ace06cc0dc1af190dfa53d175029714d66 (patch)
treec6840f72d302dc77072f3f3268e6c46b53e0327d /drivers/platform/mellanox/Kconfig
parentLinux 4.18-rc1 (diff)
downloadlinux-dev-5ec4a8ace06cc0dc1af190dfa53d175029714d66.tar.xz
linux-dev-5ec4a8ace06cc0dc1af190dfa53d175029714d66.zip
platform/mellanox: Introduce support for Mellanox register access driver
Introduce new Mellanox platform driver to allow access to Mellanox programmable device register space trough sysfs interface. The driver purpose is to provide sysfs interface for user space for the registers essential for system control and monitoring. The sets of registers for sysfs access are supposed to be defined per system type bases and include the registers related to system resets operation, system reset causes monitoring and some kinds of mux selection. Signed-off-by: Vadim Pasternak <vadimp@mellanox.com> [dvhart: Kconfig typo fixes spotted by Randy Dunlap] Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'drivers/platform/mellanox/Kconfig')
-rw-r--r--drivers/platform/mellanox/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/platform/mellanox/Kconfig b/drivers/platform/mellanox/Kconfig
index 591bccdeaff9..cd8a90846063 100644
--- a/drivers/platform/mellanox/Kconfig
+++ b/drivers/platform/mellanox/Kconfig
@@ -23,4 +23,15 @@ config MLXREG_HOTPLUG
This driver handles hot-plug events for the power suppliers, power
cables and fans on the wide range Mellanox IB and Ethernet systems.
+config MLXREG_IO
+ tristate "Mellanox platform register access driver support"
+ depends on REGMAP
+ depends on HWMON
+ help
+ This driver allows access to Mellanox programmable device register
+ space through sysfs interface. The sets of registers for sysfs access
+ are defined per system type bases and include the registers related
+ to system resets operation, system reset causes monitoring and some
+ kinds of mux selection.
+
endif # MELLANOX_PLATFORM