[PATCH linux dev-4.10 v5 0/4] hwmon: (pmbus): Add IBM Common Form Factor (CFF) power supply driver

Eddie James eajames at linux.vnet.ibm.com
Sat Aug 12 03:56:41 AEST 2017


From: "Edward A. James" <eajames at us.ibm.com>

This series adds a hwmon pmbus driver for a POWER System power supply. The
core monitoring functionality is provided by pmbus.

These devices should be auto-probed on the I2C bus, so I added them to the
witherspoon device tree.

Changes since v4:
 * Rename the driver again...
 * Change compatible property; we can't have any '-' in the compatible
   property because pmbus will use that string for hwmon registration name,
   which disallows that character.
 * Remove debugfs bool from pmbus_driver_info
 * Add comment about returning rc when reading STATUS_MFR_SPECIFIC fails.

Edward A. James (4):
  dt-bindings: i2c: Document the IBM CCF power supply version 1
  hwmon: (pmbus): Add IBM Common Form Factor (CFF) power supply driver
  Documentation: hwmon: Document the IBM CFF power supply
  ARM: dts: aspeed: Witherspoon: Add power supplies to i2c bus

 .../devicetree/bindings/i2c/ibm,cffps1.txt         |  21 +++
 Documentation/hwmon/ibm-cffps                      |  54 ++++++++
 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts   |  10 ++
 drivers/hwmon/pmbus/Kconfig                        |  10 ++
 drivers/hwmon/pmbus/Makefile                       |   1 +
 drivers/hwmon/pmbus/ibm-cffps.c                    | 151 +++++++++++++++++++++
 6 files changed, 247 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/ibm,cffps1.txt
 create mode 100644 Documentation/hwmon/ibm-cffps
 create mode 100644 drivers/hwmon/pmbus/ibm-cffps.c

-- 
1.8.3.1



More information about the openbmc mailing list