linux/drivers/platform/mellanox
Vadim Pasternak 0a43f7be57 platform/mellanox: mlxreg-hotplug: Use capability register for attribute creation
Create the 'sysfs' attributes according to configuration provided
through the capability register, which purpose is to indicate the
actual number of the components within the particular group.
Such components could be, for example the FAN or power supply units.
The motivation is to avoid adding a new code in the future in order to
distinct between the systems types supporting a different number of the
components like power supplies, FANs, ASICs, line cards.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
2020-07-15 12:45:07 +03:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile platform/mellanox: Add bootctl driver for Mellanox BlueField Soc 2019-10-15 10:55:10 +03:00
mlxbf-bootctl.c platform/mellanox: fix the mlx-bootctl sysfs 2019-12-20 19:00:50 +02:00
mlxbf-bootctl.h platform/mellanox: Add bootctl driver for Mellanox BlueField Soc 2019-10-15 10:55:10 +03:00
mlxbf-tmfifo-regs.h platform/mellanox: Add TmFifo driver for Mellanox BlueField Soc 2019-05-06 17:54:42 +03:00
mlxbf-tmfifo.c platform/mellanox: fix potential deadlock in the tmfifo driver 2020-01-10 11:57:21 +02:00
mlxreg-hotplug.c platform/mellanox: mlxreg-hotplug: Use capability register for attribute creation 2020-07-15 12:45:07 +03:00
mlxreg-io.c platform/mellanox: Use 2-factor allocator calls 2018-07-18 13:29:11 +03:00