Skip to content

Commit

Permalink
platform/mellanox: mlxreg-hotplug: Modify to use a regmap interface
Browse files Browse the repository at this point in the history
Restructure mlxreg header for unification of hotplug item definitions.

Unify hotplug items to allow any kind of item (power controller, fan
eeprom, psu eeprom, asic health) in common way.

Use a hardware independent regmap interface, enabling the support of
hotplug events over programmable devices attached to different bus
types, such as I2C, LPC, or SPI. Add a device node to the
mlxreg_core_data structure.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com>
[dvhart: spelling corrections, refactor device node introduction]
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
  • Loading branch information
Vadim Pasternak authored and Darren Hart (VMware) committed Jan 31, 2018
1 parent 752849e commit c6acad6
Show file tree
Hide file tree
Showing 4 changed files with 635 additions and 337 deletions.
1 change: 1 addition & 0 deletions drivers/platform/mellanox/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ if MELLANOX_PLATFORM

config MLXREG_HOTPLUG
tristate "Mellanox platform hotplug driver support"
depends on REGMAP
depends on HWMON
depends on I2C
---help---
Expand Down
Loading

0 comments on commit c6acad6

Please sign in to comment.