mbox series

[v2,0/2] Add pmbus support for Infineon IRPS5401 (v2)

Message ID 1559764141-26105-1-git-send-email-hancock@sedsystems.ca (mailing list archive)
Headers show
Series Add pmbus support for Infineon IRPS5401 (v2) | expand

Message

Robert Hancock June 5, 2019, 7:48 p.m. UTC
This patch set adds support for the Infineon IRPS5401 PMIC to pmbus.
This chip has 5 outputs and includes separate VIN, IIN and PIN parameters
on multiple pages, which is something that the pmbus core did not
previously support properly.

Changes since v1:
-Changed to treat parameters as paged if they are on multiple pages, rather
than treating VIN, IIN and PIN as paged unconditionally
-Create separate driver for IRPS5401 to avoid potential impact on existing
devices from changing auto-probing

Robert Hancock (2):
  hwmon: (pmbus) Treat parameters as paged if on multiple pages
  hwmon: (pmbus) Add Infineon IRPS5401 driver

 drivers/hwmon/pmbus/Kconfig      |  9 ++++++
 drivers/hwmon/pmbus/Makefile     |  1 +
 drivers/hwmon/pmbus/irps5401.c   | 68 ++++++++++++++++++++++++++++++++++++++++
 drivers/hwmon/pmbus/pmbus_core.c | 33 ++++++++++++++++---
 4 files changed, 107 insertions(+), 4 deletions(-)
 create mode 100644 drivers/hwmon/pmbus/irps5401.c