Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1386796
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | "Andrew F. Davis" <afd@ti.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 1/2] hwmon: Define binding for the INA3221 hwmon driver |
| Date | Mon, 25 Apr 2016 21:50:01 +0200 |
| Message-ID | <rrUG5-2Ru-1@gated-at.bofh.it> (permalink) |
| References | <rrUG5-2Ru-3@gated-at.bofh.it> |
| X-Original-To | Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net>, Jonathan Corbet <corbet@lwn.net> |
| X-Mailer | git-send-email 2.8.1 |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 35 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | <linux-hwmon@vger.kernel.org>, <linux-doc@vger.kernel.org>, <linux-kernel@vger.kernel.org>, "Andrew F. Davis" <afd@ti.com> |
| X-Original-Date | Mon, 25 Apr 2016 14:39:21 -0500 |
| X-Original-Message-ID | <1461613162-1606-2-git-send-email-afd@ti.com> |
| X-Original-References | <1461613162-1606-1-git-send-email-afd@ti.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1386796 |
Show key headers only | View raw
Define a binding for the INA3221 Triple Current/Voltage Monitor.
Signed-off-by: Andrew F. Davis <afd@ti.com>
---
Documentation/devicetree/bindings/hwmon/ina3221.txt | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/ina3221.txt
diff --git a/Documentation/devicetree/bindings/hwmon/ina3221.txt b/Documentation/devicetree/bindings/hwmon/ina3221.txt
new file mode 100644
index 0000000..8ec908b
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwmon/ina3221.txt
@@ -0,0 +1,19 @@
+Texas Instruments INA3221 Triple I2C Current/Voltage Monitor
+
+Required properties:
+ - compatible : Should be "ti,ina3221".
+ - reg : I2C address of the device.
+
+Optional properties:
+ - shunt-resistors : Shunt resistor values in micro-Ohms for each channel.
+
+Example:
+
+&i2c {
+ hw_monitor@40 {
+ compatible = "ti,ina3221";
+ reg = <0x40>;
+
+ shunt-resistors = <1000>, <2000>, <500>;
+ };
+};
--
2.8.1
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH v3 1/2] hwmon: Define binding for the INA3221 hwmon driver "Andrew F. Davis" <afd@ti.com> - 2016-04-25 21:50 +0200
csiph-web