From patchwork Mon Jul 25 17:12:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 9246069 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7D4A16077C for ; Mon, 25 Jul 2016 17:12:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6AE63252D2 for ; Mon, 25 Jul 2016 17:12:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5C24626490; Mon, 25 Jul 2016 17:12:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 492A2252D2 for ; Mon, 25 Jul 2016 17:12:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753233AbcGYRMj (ORCPT ); Mon, 25 Jul 2016 13:12:39 -0400 Received: from fudo.makrotopia.org ([185.142.180.71]:59033 "EHLO fudo.makrotopia.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753207AbcGYRMi (ORCPT ); Mon, 25 Jul 2016 13:12:38 -0400 Received: from local by fudo.makrotopia.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1bRjQi-0002JO-Tj for linux-hwmon@vger.kernel.org; Mon, 25 Jul 2016 19:12:37 +0200 Date: Mon, 25 Jul 2016 19:12:36 +0200 From: Daniel Golle To: linux-hwmon@vger.kernel.org Subject: [PATCH 2/2] hwmon: (ltc4151) Add devicetree binding for ltc4151 Message-ID: <20160725171235.GB2263@makrotopia.org> References: <5795A144.2020300@roeck-us.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <5795A144.2020300@roeck-us.net> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Daniel Golle --- (resent to linux-hwmon which by accident wasn't among the receipients) Documentation/devicetree/bindings/hwmon/ltc4151.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ltc4151.txt diff --git a/Documentation/devicetree/bindings/hwmon/ltc4151.txt b/Documentation/devicetree/bindings/hwmon/ltc4151.txt new file mode 100644 index 0000000..aec69ed --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/ltc4151.txt @@ -0,0 +1,18 @@ +ltc4151 properties + +Required properties: +- compatible: Must be "lltc,ltc4151" +- reg: I2C address + +Optional properties: + +- shunt-resistor + Shunt resistor value in micro-Ohm + +Example: + +ltc4151@6e { + compatible = "lltc,ltc4151"; + reg = <0x6e>; + shunt-resistor = <1500>; +};