From patchwork Thu Oct 12 13:18:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maciej Purski X-Patchwork-Id: 10001931 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 E4BB4603B5 for ; Thu, 12 Oct 2017 13:18:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D56A228DC1 for ; Thu, 12 Oct 2017 13:18:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9D0628DC9; Thu, 12 Oct 2017 13:18:34 +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 967BA28DC1 for ; Thu, 12 Oct 2017 13:18:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757380AbdJLNSb (ORCPT ); Thu, 12 Oct 2017 09:18:31 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57281 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755462AbdJLNSV (ORCPT ); Thu, 12 Oct 2017 09:18:21 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20171012131819euoutp0118059adf99d6fc1b6b1df7e9716e58c5~s1R3dvtX61070310703euoutp01e; Thu, 12 Oct 2017 13:18:19 +0000 (GMT) Received: from eusmges2.samsung.com (unknown [203.254.199.241]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171012131818eucas1p2ab4aec822361dfbf0e32e7c14c5636ac~s1R2uTAnI1916919169eucas1p2-; Thu, 12 Oct 2017 13:18:18 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2.samsung.com (EUCPMTA) with SMTP id 14.68.12907.A9B6FD95; Thu, 12 Oct 2017 14:18:18 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171012131817eucas1p1c1dd009d306c34e62cfdb850247f36d5~s1R2DH5ob2629526295eucas1p11; Thu, 12 Oct 2017 13:18:17 +0000 (GMT) X-AuditID: cbfec7f1-f793a6d00000326b-1b-59df6b9a964c Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 63.A0.18832.99B6FD95; Thu, 12 Oct 2017 14:18:17 +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 <0OXP0071YOY5COB0@eusync4.samsung.com>; Thu, 12 Oct 2017 14:18:17 +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 v3 4/4] ARM: dts: Add ti-max-expected-current-milliamp properties for ina231 in Odroid XU3 Date: Thu, 12 Oct 2017 15:18:02 +0200 Message-id: <1507814282-1486-5-git-send-email-m.purski@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1507814282-1486-1-git-send-email-m.purski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAAzVSa0hTYRju2zlnO4qrw9T6cOGPQX+E7ELEl1okCh2LoKICDbKVJyde21S8 dLFp85KaTky7ecEpMifTaToFJcea0sU5Lcu8ZbrAa41hpnnJefTf8z7v8zzv+8JLYoJKwoOM iIlnpDHiKBHXGW8xLfcefB45HnxYVytEjaVaAk29yQSo3NhLoI8FF9F3uZqDnkzOYqh9Yw5D ZnMDD6mKygmkmxwkUKVChaPM2dcAlRkXcFRq7uQgQ3EHQFOVHzioYvobjuqNozxU/cXCQf/a TTz0qMPIO+1Oa8o0gB4YtGD0b9t1WqfO5tJNqgd0VX4RQavmDARtTjcCum0pjUfnN6sBrW3+ jNN2necFlxBnvzAmKiKRkR46dcNZItcUEnH1TkkrE8OcNKDn5QAnElLH4KeJ/m28F/aNabk5 wJkUUNUAKvtqcUdDQNkBbDPd2TGYbAqCFdUAaH1l5bHFBoCGqrFNO0lyKS+oyQx18G5UJ4AD f/u3YjHKjMOajqeYI8qVioKthS85DoxTB+BgjRl3mPlUAKxa9mOnecKh3mzMQTtRgdCmRI4Y SKl5cCTDClhNINSuz3BY7Apnupu3z9kPs7O6tvlUaFls57L4Lnw43LCt8YV2ZfPWOhi1Gypb SrZmQYoPsxQCVkJDVVEFztL+UCN3Yc8tAbDOPoEVAGEF2KUGbkyCLDqckR31lomjZQkx4d63 YqN1YPNx3q932/TgV4+PAVAkELnwv66NBQsIcaIsOdoAIImJ3PjnJePBAn6YODmFkcaGShOi GJkBCElctI9/MkQRLKDCxfFMJMPEMdKdLod08kgDl1fyXNb2/Fk/92Nen8rXSi4FpUwLDOkL xzf0zww/N7xz3w2NvHC/Hdl4pt12z5t/TSiff+u3VD5R0DUTE5R932t0tTV0uS5pLMCnmFb2 1F+V5y0yySbFYEmesdIyu24f1lvP2jNaQ1av3PRnTjzOnbFpLUlC34XiviZNcTq2JsJlEvER L0wqE/8HgaF18DQDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBLMWRmVeSWpSXmKPExsVy+t/xa7ozs+9HGvxusLbYOGM9q8WTA+2M FvOPnGO1ODsh0OJB0yomi/7Hr5ktdv1/w2xx/vwGdoslk+ezWmx6fI3VYmHbEhaL9tdbGS3m HXnHYjHj/D4mi0NT9zJaPFl4hsliwctbLBZrj9xlt1h6/SKTxe9dx9gtWvceYXcQ9Vgzbw2j x+VrF5k9PnyM89i0qpPNY/OSeo/FfZNZPZa8OcTqcb75CKPHzu8N7B59W1YxeqzfcpXF4/Mm uQCeKC6blNSczLLUIn27BK6MpjUTWQvWclb8enibqYFxB3sXIyeHhICJxLGPbawQtpjEhXvr 2boYuTiEBJYwSuxfsBrKaWSS+NO3EaiKg4NNQEtiTXs8SFxEYB+jxOnHcxlBHGaBiywSZ/as YwEZJSyQI7F94hwmEJtFQFXi2rLzLCDNvALOEot/2kBsk5O4ea6TGSTMKeAi8XGSBUhYCKii 7XEH6wRG3gWMDKsYRVJLi3PTc4sN9YoTc4tL89L1kvNzNzEC42PbsZ+bdzBe2hh8iFGAg1GJ h/fG33uRQqyJZcWVuYcYJTiYlUR4fTPuRwrxpiRWVqUW5ccXleakFh9ilOZgURLn7d2zOlJI ID2xJDU7NbUgtQgmy8TBKdXAmFc9pWlWzZYT/e8UuKwsdm/IzuE3Puono/d3hfy3S9oWd+yS T05MzY2Q3/5fuezOJ4MVS6SYbx90jHy1nck0n+27XOaW7wtz25Kaw1z2Tj1jXmrWyHDrquvm tpcPUmSeiLe+LLG7t6RA73DIoQWScodbZKpj3+bLbOv9IHg/36Lh5kNFLsFjSizFGYmGWsxF xYkA6khTR4sCAAA= X-CMS-MailID: 20171012131817eucas1p1c1dd009d306c34e62cfdb850247f36d5 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 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: 20171012131817eucas1p1c1dd009d306c34e62cfdb850247f36d5 X-RootMTR: 20171012131817eucas1p1c1dd009d306c34e62cfdb850247f36d5 References: <1507814282-1486-1-git-send-email-m.purski@samsung.com> Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@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..a34c1e5 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-milliamp = <9000>; }; /* memory: VDD_MEM */ @@ -35,6 +36,7 @@ compatible = "ti,ina231"; reg = <0x41>; shunt-resistor = <10000>; + ti-max-expected-current-milliamp = <3000>; }; /* GPU: VDD_G3D */ @@ -42,6 +44,7 @@ compatible = "ti,ina231"; reg = <0x44>; shunt-resistor = <10000>; + ti-max-expected-current-milliamp = <5000>; }; /* A7 cluster: VDD_KFC */ @@ -49,6 +52,7 @@ compatible = "ti,ina231"; reg = <0x45>; shunt-resistor = <10000>; + ti-max-expected-current-milliamp = <2000>; }; };