Skip to content

Add MPS MP5920 Host-Swap controller

Alex Vdovydchenko linux-devicetree linux-doc linux-hwmon linux-i2c lkml llvm oe-kbuild-all 1 version Applied

Status from this message: Applied, after adding Conor's Ack from v3.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest2 patches 6 repliesApplied

Changes in v2 from the cover letter

- fixed typos

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: hwmon: Add MPS mp5920Documentation/devicetree/bindings/trivial-devices.yaml+2 -03 replies
2/2hwmon: add MP5920 driverDocumentation/hwmon/index.rst Documentation/hwmon/mp5920.rst drivers/hwmon/pmbus/Kconfig +2 more+187 -03 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchThomas Weißschuh
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/2] Add MPS MP5920 Host-Swap controller

This series of patches adds the MP5920 Host-swap controller, which is used as a protection and control IC for devices that are being inserted into a live backplane. MP5920 acts as a voltage regulator (MP5911 etc) supervisor. IC utilizes pmbus and provides monitoring, statistics and limits to electrical and thermal characteristics such as:
- input and output voltage
- output current
- output power
- IC temperature

One must take into account the nonlinear character of readings, so there will be a statistical error in the range 5–10 percents, depending on current passing through. In order to use the IC, make sure to specify a valid I2C address (consult to datasheet and dts-bindings)
MP5920 datasheet: https://www.monolithicpower.com/en/mp5920.html

Changes in v2:
- fixed typos
Changes in v3:

  -  removed unnecessary license blob
  -  removed unnecessary headers
  -  edited device tables style
  -  added chip name checking in probing
  -  fixed typos in pmbus_driver_info struct initialization
Changes in v4:
  -  added i2c_check_functionality in probing
  -  refactored usage of dev_err_probe insted of dev_err
  -  edited chip name string handling while printing
  -  restored .driver.of_match_table, keeping i2c_driver "old" style

Alex Vdovydchenko (2):
dt-bindings: hwmon: Add MPS mp5920
hwmon: add MP5920 driver

 .../devicetree/bindings/trivial-devices.yaml  |  2 +
 Documentation/hwmon/index.rst                 |  1 +
 Documentation/hwmon/mp5920.rst                | 91 ++++++++++++++++++
 drivers/hwmon/pmbus/Kconfig                   |  9 ++
 drivers/hwmon/pmbus/Makefile                  |  1 +
 drivers/hwmon/pmbus/mp5920.c                  | 93 +++++++++++++++++++
 6 files changed, 197 insertions(+)
 create mode 100644 Documentation/hwmon/mp5920.rst
 create mode 100644 drivers/hwmon/pmbus/mp5920.c
Signature · 1 line
2.43.0