From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933504AbcDSS3e (ORCPT ); Tue, 19 Apr 2016 14:29:34 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:33851 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754032AbcDSS33 (ORCPT ); Tue, 19 Apr 2016 14:29:29 -0400 From: "Andrew F. Davis" To: Jean Delvare , Guenter Roeck , Jonathan Corbet CC: , , , "Andrew F. Davis" Subject: [PATCH v2 1/2] hwmon: Define binding for the INA3221 hwmon driver Date: Tue, 19 Apr 2016 13:28:38 -0500 Message-ID: <1461090519-3386-2-git-send-email-afd@ti.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1461090519-3386-1-git-send-email-afd@ti.com> References: <1461090519-3386-1-git-send-email-afd@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Define a binding for the INA3221 Triple Current/Voltage Monitor. Signed-off-by: Andrew F. Davis --- 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