From patchwork Thu Oct 12 12:36:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maciej Purski X-Patchwork-Id: 10001843 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 6CD076028A for ; Thu, 12 Oct 2017 12:36:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5F63628DB5 for ; Thu, 12 Oct 2017 12:36:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53B0D28DB7; Thu, 12 Oct 2017 12:36:51 +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 D47B128DB5 for ; Thu, 12 Oct 2017 12:36:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757011AbdJLMgt (ORCPT ); Thu, 12 Oct 2017 08:36:49 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:51794 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752620AbdJLMgq (ORCPT ); Thu, 12 Oct 2017 08:36:46 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20171012123643euoutp01fd6bcde84031a53d686d616ddcb8309e~s0tjKenDQ3176331763euoutp01r; Thu, 12 Oct 2017 12:36:43 +0000 (GMT) Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171012123642eucas1p218204136e2c588f7917565bcdb249262~s0tiYL_CE1269712697eucas1p2g; Thu, 12 Oct 2017 12:36:42 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1.samsung.com (EUCPMTA) with SMTP id E6.79.12576.AD16FD95; Thu, 12 Oct 2017 13:36:42 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171012123642eucas1p2878b47147404d6699eb92f9316f7c1b5~s0thoBjQA1481514815eucas1p2R; Thu, 12 Oct 2017 12:36:42 +0000 (GMT) X-AuditID: cbfec7ef-f79ee6d000003120-e2-59df61da5f1e Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id D9.3D.20118.AD16FD95; Thu, 12 Oct 2017 13:36:42 +0100 (BST) Received: from AMDC2075.DIGITAL.local ([106.120.51.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OXP00DU9N0HRK20@eusync4.samsung.com>; Thu, 12 Oct 2017 13:36:42 +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 v2 4/4] ARM: dts: Add ti-max-expected-current-microamp properties for ina231 in Odroid XU3 Date: Thu, 12 Oct 2017 14:36:05 +0200 Message-id: <1507811765-31005-5-git-send-email-m.purski@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1507811765-31005-1-git-send-email-m.purski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAz1SbUhTYRTu3b139/oxuUyzVw2FlUQDLSPyhTK0FO5Pi/7oD3XlRcU5x65K WuG3pqKJQzMypzhNhp9r+Ykia7kfpjc1lTRT/IjMkYlamZI5N/v3nOc85znngUNhYi3hSSUo UliVQiaXCB3xruFd3m9WthBx8VOTFHVWtxNoZagQII1pjECj5bfQYo5OgJ4sr2Oo78CCIZ7v IJFWrSGQfnmaQPUFWhwVrr8GqNb0HUfV/KAAGSsHAFqpfydAdWuzOGo1zZOocWZcgPb6hkmU P2Aig08yLbUtgJmcHseYH5tRjF5XJGReaTOZhjI1wWgtRoLhc02A6f2VRTJlBh1g2g1TOLOl 9w53jnS8FsvKE9JY1YXrMY7xy6OjAmWrw31T3TzIAj1kMXCgIH0Z5ncX4TbsDt9/bhcWA0dK TDcBaK7sIqwNMb0FYLdGejzwsqiR/C+yrOnsxQGAb972HxYUJaSlsKUw2sq70YMATv6eOLLF aB6HTQNVmNXKlZbD6ebZo9047QuzBxqAFYvoULj7Qm+/zxt+HCs60jvQYbC5YY6wGkFaR8Kh VTNhE4XCmsUtewhX+M1ssA+fhpPqEjv/AI7v9Alt+CHMnuuwa67CrQrD0QKMdoEVXU8xawJI i+DjArFNwsCciSW7TQjMqywBtsTVAE7X1OPlwKsOnNABNzaVS4pjuQB/TpbEpSri/O8lJ+nB 4e+M/DVv9IDV3DtGQFNA4iz66rQQISZkaVx6khFACpO4ifioQ0oUK0vPYFXJ0apUOcsZgReF S06JgiILIsR0nCyFTWRZJas67gooB88s4CHns1N38pzOb/aDpVlLab8h/BwKSdSkh+dbekt6 4v5sNDv55N3U3/Xb9FGbyZ/7wWczt8t25nFFm/LKozbFfkxXhqalShp2pn27vLqxglbvhYUo A3VpLt0Nyk45X7of9GzkebSf77qTKKczwf3DFw8OTtxg86ZuB85c6m+W4Fy8LECKqTjZPy0+ rKg3AwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFLMWRmVeSWpSXmKPExsVy+t/xa7q3Eu9HGrRN57DYOGM9q8WTA+2M FvOPnGO1ODsh0OJB0yomi/7Hr5ktdv1/w2xx/vwGdoslk+ezWmx6fI3VYmHbEhaL9tdbGS3m HXnHYjHj/D4mi0NT9zJaPFl4hsliwctbLBZrj9xlt1h6/SKTxe9dx9gtWvceYXcQ9Vgzbw2j x+VrF5k9PnyM89i0qpPNY/OSeo/FfZNZPZa8OcTqcb75CKPHzu8N7B59W1YxeqzfcpXF4/Mm uQCeKC6blNSczLLUIn27BK6Mx2fPMhWs5aw4suAuYwPjDvYuRk4OCQETieWdS6FsMYkL99az dTFycQgJLGGU+PqpmwXCaWSSWP7jL3MXIwcHm4CWxJr2eJC4iMA+RonTj+cygjjMAhdZJM7s WccCMkpYIEfi2opbYDaLgKpE497FjCA2r4CLxM+5m6DWyUncPNfJDGJzCrhKrFh8mxXEFgKq ab24lnECI+8CRoZVjCKppcW56bnFRnrFibnFpXnpesn5uZsYgTGy7djPLTsYu94FH2IU4GBU 4uG1ZL8fKcSaWFZcmXuIUYKDWUmE93wcUIg3JbGyKrUoP76oNCe1+BCjNAeLkjhv757VkUIC 6YklqdmpqQWpRTBZJg5OqQbG/jo9hg4ZyRd1CSIaPnFFdvd337xWv+Ladun3371W8NiuORug ERWiGjBBZLLYu3tvS7WTZ77fEXTrgdcnrvY3ooaJzjZ/GktVfb4GS77+dEKqKZ0v75XV1met 9mfy/JvTPTekFuw+PP0Vs8uE9q2LH3XxKrX+KjPLWFNYwflNnXONcxf3JHclluKMREMt5qLi RADTyukUjQIAAA== X-CMS-MailID: 20171012123642eucas1p2878b47147404d6699eb92f9316f7c1b5 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: 20171012123642eucas1p2878b47147404d6699eb92f9316f7c1b5 X-RootMTR: 20171012123642eucas1p2878b47147404d6699eb92f9316f7c1b5 References: <1507811765-31005-1-git-send-email-m.purski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@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..bbad001 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>; + ti-max-expected-current-microamp = <9000>; }; /* memory: VDD_MEM */ @@ -35,6 +36,7 @@ compatible = "ti,ina231"; reg = <0x41>; shunt-resistor = <10000>; + ti-max-expected-current-microamp = <3000>; }; /* GPU: VDD_G3D */ @@ -42,6 +44,7 @@ compatible = "ti,ina231"; reg = <0x44>; shunt-resistor = <10000>; + ti-max-expected-current-microamp = <5000>; }; /* A7 cluster: VDD_KFC */ @@ -49,6 +52,7 @@ compatible = "ti,ina231"; reg = <0x45>; shunt-resistor = <10000>; + ti-max-expected-current-microamp = <2000>; }; };