From patchwork Thu Sep 28 12:50:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maciej Purski X-Patchwork-Id: 9975947 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 9F3086034B for ; Thu, 28 Sep 2017 12:51:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 91242295A4 for ; Thu, 28 Sep 2017 12:51:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85896295BA; Thu, 28 Sep 2017 12:51:17 +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 2AE7C295A4 for ; Thu, 28 Sep 2017 12:51:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752900AbdI1MvQ (ORCPT ); Thu, 28 Sep 2017 08:51:16 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54257 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752962AbdI1MvO (ORCPT ); Thu, 28 Sep 2017 08:51:14 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20170928125111euoutp022a7bf2c1163334243092a1909fa27955~oh4LSp4pZ0068300683euoutp02i; Thu, 28 Sep 2017 12:51:11 +0000 (GMT) Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170928125110eucas1p104fdeeba87c7e56c79818c2126ebec44~oh4KnUoJk2540125401eucas1p1I; Thu, 28 Sep 2017 12:51:10 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges5.samsung.com (EUCPMTA) with SMTP id BF.37.12743.E30FCC95; Thu, 28 Sep 2017 13:51:10 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170928125109eucas1p1287998eb55b09d5eba9dc929f7dcb284~oh4J6gh7-2524825248eucas1p1I; Thu, 28 Sep 2017 12:51:09 +0000 (GMT) X-AuditID: cbfec7f5-f79d06d0000031c7-05-59ccf03e8589 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id B6.5C.20118.D30FCC95; Thu, 28 Sep 2017 13:51:09 +0100 (BST) Received: from AMDC2075.DIGITAL.local ([106.120.51.25]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OWZ00K1TQC79Y00@eusync3.samsung.com>; Thu, 28 Sep 2017 13:51:09 +0100 (BST) From: Maciej Purski To: devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-iio@vger.kernel.org Cc: Rob Herring , Mark Rutland , Guenter Roeck , Jean Delvare , Jonathan Corbet , Russell King , Kukjin Kim , Krzysztof Kozlowski , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Bartlomiej Zolnierkiewicz , Marek Szyprowski , Maciej Purski Subject: [PATCH 4/4] ARM: dts: Add max-expected-current properties for ina231 in Odroid XU3 Date: Thu, 28 Sep 2017 14:50:15 +0200 Message-id: <1506603015-27202-5-git-send-email-m.purski@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1506603015-27202-1-git-send-email-m.purski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzVSa0hTYRju2zlnO04nh2n6oWExCsPI7vFRKglZJwopInCC2sqDSt7YVFLT vOWchonihaicuRmJeUtnalrONRsu11xaJoqhBF4wy9RE1OaO/nve930uPPCSmLCacCOjYhMY aawkWsTl4xr96sBhvwWj+GjVEyfUVNFAoKn3coAqdQME+lR0DU1k1XLQo8lZDHVszmHIZGrk IVVJJYGaJ4cJVJWrwpF8thWgZ7p5HFWYujlIW9oF0FSVkYOU099x9Eo3xkPqr2YOWuvQ89CD Lh3v3G667lkdoC3DZoxe+B1KN9cquPRr1X26urCEoFVzWoI2ZesA3b6SwaMLW2oB3dAyhNOL zR5XHYL5PuFMdFQSIz3id5Mf2arUg/h18u67gp+8DJDPywd2JKROwtXGZZzFLvDzeAM3H/BJ IaUGUDHZYzsIqUUAl4du7QgKy6c5LKkGwD+ZOowdNq0KxYhVQZJcygvWycO29s5UN4CWf4M2 W4wy4bCmqwzbsnKiQmC2fp3Ywjh1AA6v9dqwgDoPLW87ARvnAUcGFDa+HRUAs/qqbWmQqudB bU4WdysNWgU/MvezfCc409ey3W0PtJQUbHdLhealDi6L78HM0cZtzlm4WNxi88coR1isKcdY SwHMyxWyFBpWflRhLPaHhjEDYAtXACivMXCLgLsS7KoFzkyiLCaCkZ3ylkliZImxEd6342Ka gfV1+jf6lt4Atf6MFlAkEDkIUFO/WEhIkmTJMVoASUzkLIieMYqFgnBJcgojjQuTJkYzMi1w J3GRq8A3OFcspCIkCcwdholnpDtXDmnnlgGChjRpVwo2PNvqyZcJPi+cRy4EPr+eOh9gb+84 9m2+7fHEF37opVLNIXW5/2bARacbPeH7KDMnteqvNF2oGsnTuCqlmpX1Msf2gzlqQ3h+Ttqo wmfvh8DTvZQx02UUIzt7gjwnUnx/GY9fzmmnHSZLB0OY9KcPxW3zg+6G8dATIlwWKTnmhUll kv9jHRhTNgMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrJLMWRmVeSWpSXmKPExsVy+t/xq7q2H85EGux9YWCxccZ6VosnB9oZ LeYfOcdqcXZCoMWDplVMFv2PXzNb7Pr/htni/PkN7BZLJs9ntdj0+BqrxcK2JSwW7a+3MlrM O/KOxWLG+X1MFoem7mW0eLLwDJPFgpe3WCzWHrnLbrH0+kUmi9+7jrFbtO49wu4g6rFm3hpG j8vXLjJ7fPgY57FpVSebx+Yl9R6L+yazeix5c4jV43zzEUaPnd8b2D36tqxi9Fi/5SqLx+dN cgE8UVw2Kak5mWWpRfp2CVwZWxccYyz4y1Gxv/sZewNjF3sXIyeHhICJRN/0l0wQtpjEhXvr 2UBsIYEljBLzN2h3MXIB2Y1MEhcndDF3MXJwsAloSaxpjweJiwjsY5Q4/XguI4jDLHCRReLM nnUsIN3CArESC1auBJvKIqAqce33YVYQm1fAReLynt2MENvkJG6e62QGsTkFXCWaji9mhtjs IrHocSfrBEbeBYwMqxhFUkuLc9Nzi430ihNzi0vz0vWS83M3MQIjZNuxn1t2MHa9Cz7EKMDB qMTDu+Dg6Ugh1sSy4srcQ4wSHMxKIrw5r85ECvGmJFZWpRblxxeV5qQWH2KU5mBREuft3bM6 UkggPbEkNTs1tSC1CCbLxMEpBQyemxanV8iWLYzcdTgjIEnNcxp3cHLUJdUFs5trTxscz2Xo qvlVOPnbqWL3ul3ajL8dWPm+fNW/9P73mndXbCYctlI+dmTTgjnBlbO8P8ZoSDZZW7Sf5vpw imG7ppPp+w3a7vyeDQcYn2its7T9JHqRoVYr2WpbvvahffrKj2afMnnk25igek2JpTgj0VCL uag4EQBhG58DjAIAAA== X-CMS-MailID: 20170928125109eucas1p1287998eb55b09d5eba9dc929f7dcb284 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?UTF-8?B?TWFjaWVqIFB1cnNraRtTZWN1cml0eSAoVFApG1NhbXN1bmcg?= =?UTF-8?B?RWxlY3Ryb25pY3MbVHJhaW5lZSAoKQ==?= X-Global-Sender: =?UTF-8?B?TWFjaWVqIFB1cnNraRtTZWN1cml0eSAoVFApG1NhbXN1bmcg?= =?UTF-8?B?RWxlY3Ryb25pY3MbVHJhaW5lZSAoKQ==?= X-Sender-Code: =?UTF-8?B?QzEwG0VIURtDMTBDRDAyQ0QwMjczOTU=?= CMS-TYPE: 201P X-CMS-RootMailID: 20170928125109eucas1p1287998eb55b09d5eba9dc929f7dcb284 X-RootMTR: 20170928125109eucas1p1287998eb55b09d5eba9dc929f7dcb284 References: <1506603015-27202-1-git-send-email-m.purski@samsung.com> 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 Set max-expected-current to values required by the documentation, in order to achieve desired precision. Signed-off-by: Maciej Purski --- arch/arm/boot/dts/exynos5422-odroidxu3.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-odroidxu3.dts b/arch/arm/boot/dts/exynos5422-odroidxu3.dts index 9ed6564..aa19374 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu3.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu3.dts @@ -28,6 +28,7 @@ compatible = "ti,ina231"; reg = <0x40>; shunt-resistor = <10000>; + max-expected-current = <9000>; }; /* memory: VDD_MEM */ @@ -35,6 +36,7 @@ compatible = "ti,ina231"; reg = <0x41>; shunt-resistor = <10000>; + max-expected-current = <3000>; }; /* GPU: VDD_G3D */ @@ -42,6 +44,7 @@ compatible = "ti,ina231"; reg = <0x44>; shunt-resistor = <10000>; + max-expected-current = <5000>; }; /* A7 cluster: VDD_KFC */ @@ -49,6 +52,7 @@ compatible = "ti,ina231"; reg = <0x45>; shunt-resistor = <10000>; + max-expected-current = <2000>; }; };