Skip to content
This repository was archived by the owner on Feb 9, 2023. It is now read-only.

Commit c6acad6

Browse files
mellanoxbmcdvhart
authored andcommitted
platform/mellanox: mlxreg-hotplug: Modify to use a regmap interface
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 <[email protected]> Acked-by: Andy Shevchenko <[email protected]> [dvhart: spelling corrections, refactor device node introduction] Signed-off-by: Darren Hart (VMware) <[email protected]>
1 parent 752849e commit c6acad6

4 files changed

Lines changed: 635 additions & 337 deletions

File tree

drivers/platform/mellanox/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ if MELLANOX_PLATFORM
1616

1717
config MLXREG_HOTPLUG
1818
tristate "Mellanox platform hotplug driver support"
19+
depends on REGMAP
1920
depends on HWMON
2021
depends on I2C
2122
---help---

0 commit comments

Comments
 (0)