Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1709081 > unrolled thread

[PATCH v2 0/3] hwmon: (pmbus): Add POWER System power supply driver

Started byEddie James <eajames@linux.vnet.ibm.com>
First post2017-08-11 00:30 +0200
Last post2017-08-11 00:30 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 0/3] hwmon: (pmbus): Add POWER System power supply driver Eddie James <eajames@linux.vnet.ibm.com> - 2017-08-11 00:30 +0200
    [PATCH v2 1/3] dt-bindings: i2c: Document the POWER system power supply device Eddie James <eajames@linux.vnet.ibm.com> - 2017-08-11 00:30 +0200

#1709081 — [PATCH v2 0/3] hwmon: (pmbus): Add POWER System power supply driver

FromEddie James <eajames@linux.vnet.ibm.com>
Date2017-08-11 00:30 +0200
Subject[PATCH v2 0/3] hwmon: (pmbus): Add POWER System power supply driver
Message-ID<ud47M-3wS-11@gated-at.bofh.it>
From: "Edward A. James" <eajames@us.ibm.com>

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

This series depends on the pmbus core extensions for debugfs recently submitted
to the mailing list (latest: https://lkml.org/lkml/2017/8/10/881).

Since v1:
 * Renamed the driver.
 * Removed non-hwmon attributes.
 * Simplified word and byte data reads.

Edward A. James (3):
  dt-bindings: i2c: Document the POWER system power supply device
  hwmon: (pmbus): Add POWER system power supply driver
  Documentation: hwmon: Add POWER system power supply documentation

 .../devicetree/bindings/i2c/ibm,power-ps.txt       |  21 +++
 Documentation/hwmon/powerps                        |  54 ++++++++
 drivers/hwmon/pmbus/Kconfig                        |  10 ++
 drivers/hwmon/pmbus/Makefile                       |   1 +
 drivers/hwmon/pmbus/powerps.c                      | 144 +++++++++++++++++++++
 5 files changed, 230 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/ibm,power-ps.txt
 create mode 100644 Documentation/hwmon/powerps
 create mode 100644 drivers/hwmon/pmbus/powerps.c

-- 
1.8.3.1

[toc] | [next] | [standalone]


#1709082 — [PATCH v2 1/3] dt-bindings: i2c: Document the POWER system power supply device

FromEddie James <eajames@linux.vnet.ibm.com>
Date2017-08-11 00:30 +0200
Subject[PATCH v2 1/3] dt-bindings: i2c: Document the POWER system power supply device
Message-ID<ud47M-3wS-19@gated-at.bofh.it>
In reply to#1709081
From: "Edward A. James" <eajames@us.ibm.com>

Signed-off-by: Edward A. James <eajames@us.ibm.com>
---
 .../devicetree/bindings/i2c/ibm,power-ps.txt        | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/ibm,power-ps.txt

diff --git a/Documentation/devicetree/bindings/i2c/ibm,power-ps.txt b/Documentation/devicetree/bindings/i2c/ibm,power-ps.txt
new file mode 100644
index 0000000..2ea8ea2
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/ibm,power-ps.txt
@@ -0,0 +1,21 @@
+Device-tree bindings for IBM POWER system power supplies
+--------------------------------------------------------
+
+Required properties:
+ - compatible = "ibm,power-ps";
+ - reg = < I2C bus address >;		: Address of the power supply on the
+					  I2C bus.
+
+Example:
+
+    i2c-bus@100 {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        #interrupt-cells = <1>;
+        < more properties >
+
+        power_ps@68 {
+            compatible = "ibm,power-ps";
+            reg = <0x68>;
+        };
+    };
-- 
1.8.3.1

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web