From patchwork Mon Apr 25 19:39:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Davis X-Patchwork-Id: 8931821 Return-Path: X-Original-To: patchwork-linux-hwmon@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E39609F39D for ; Mon, 25 Apr 2016 19:40:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2E70E200E5 for ; Mon, 25 Apr 2016 19:40:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 304662017D for ; Mon, 25 Apr 2016 19:40:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933467AbcDYTkP (ORCPT ); Mon, 25 Apr 2016 15:40:15 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:40466 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933421AbcDYTkN (ORCPT ); Mon, 25 Apr 2016 15:40:13 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id u3PJdSVP031214; Mon, 25 Apr 2016 14:39:28 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id u3PJdScp015714; Mon, 25 Apr 2016 14:39:28 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.224.2; Mon, 25 Apr 2016 14:39:28 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id u3PJdSww025727; Mon, 25 Apr 2016 14:39:28 -0500 Received: from localhost (uda0226330.am.dhcp.ti.com [128.247.83.10]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id u3PJdS929805; Mon, 25 Apr 2016 14:39:28 -0500 (CDT) From: "Andrew F. Davis" To: Jean Delvare , Guenter Roeck , Jonathan Corbet CC: , , , "Andrew F. Davis" Subject: [PATCH v3 1/2] hwmon: Define binding for the INA3221 hwmon driver Date: Mon, 25 Apr 2016 14:39:21 -0500 Message-ID: <1461613162-1606-2-git-send-email-afd@ti.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1461613162-1606-1-git-send-email-afd@ti.com> References: <1461613162-1606-1-git-send-email-afd@ti.com> MIME-Version: 1.0 Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; + }; +};