Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3640130ybl; Sun, 8 Dec 2019 20:07:07 -0800 (PST) X-Google-Smtp-Source: APXvYqwakw2QVYII/6KsnvA2UlVfCS8uxuOuEfta9D/KdwB0rsIBWFIIx+Eli4Tis8IkkhTPeNAS X-Received: by 2002:aca:1903:: with SMTP id l3mr22316146oii.16.1575864427813; Sun, 08 Dec 2019 20:07:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575864427; cv=none; d=google.com; s=arc-20160816; b=0Irko4C63rziUUYGQd9u+aRLztphi0sL5UIPAmRkdqv0TvXOptD4bgNSe75ELhxH+I wdRtn4C3xTVMT5QXpL5LSLAihcSIFb1vk+SZ5AHOiftkSlILGSwGQGnYJwem5Ot0j6Vb YPkzitxtr6nSDw35pweL5kZON2Wc/9JWJdvA/cWoru0jDFuiodPjB4IQPzFUyLcDdAEc JZgB47wsruxvepPdnKXq3yY9HYxXzIs0K91YkJEdqyUdPhQNDbLmjG3OBqCn3wTal2Vy 7fz/gGs8YC8WsMgtlOxzzWgfA/AP2qvmccdTXIiFRQx8LTXmTOUgPDx82cE5aEZ8RvbT LNYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=WvZp1SE31U0tt/atYOk2/QylIK+izOWm2BYL5+FBcUA=; b=TlTN9gDI3+pyyjQ+jDdxTyWMvfS3na6pRJx3IW6asLj5R7W2deNCdgWvbfIkNPWNRA M3alWHsxuXrtGY+rESyABMcIRKQHj9qCvM6IT2HrniPdaNPLP+GfSYhBydYwBxVMsae0 SWfbocpmgdwU48wyG0vTlJO76ukD9wtHvwalA/ZzFiZsAqspeulJAzHJufR5Sr75CHDZ J1/Nzx3HOUglgqmGDcA8Mf0Fb/LjNo/C0wt5/mfZu4zg1P64yHp6BQx5BeROhDjH+brk b9NHIN/e/DbBKhf8YnrQ1aA0tBshs6ztczWtqkN+HaJnKQTRXhA3hmeYdoKbdefzPvQJ /zfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mw2JAZco; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 123si10945610oif.177.2019.12.08.20.06.52; Sun, 08 Dec 2019 20:07:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mw2JAZco; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727162AbfLID5a (ORCPT + 99 others); Sun, 8 Dec 2019 22:57:30 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46014 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727059AbfLID53 (ORCPT ); Sun, 8 Dec 2019 22:57:29 -0500 Received: by mail-pg1-f196.google.com with SMTP id b9so6014917pgk.12; Sun, 08 Dec 2019 19:57:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=WvZp1SE31U0tt/atYOk2/QylIK+izOWm2BYL5+FBcUA=; b=Mw2JAZcoEUqf6EGy1zg/hy/E3EVf3xrOZkrP18byG7HswI9cbt6V8g9qnoqnc+c2j2 r8Ob0Q95DglnMkXLXp8DFaPmxXx7jyUo/CLWykXn8k84Nj2FrF9YRVlXXDv2+bmRzD7K TL7a9zJWbEgqsOkcI9HppyabDb7x/9GgE5YFT3y7IGuYoFFa7HDzmCU9U+NRjDWeeat6 caUxSMBTs2rh7C1OFjmGAF944EwGRwMhnkLhdsAgTO+V+Yj018MtlGx8zf61e5cgyWeE pawWJEbnH3JvxDzdGSgW3m5cfT1yAuVhvoUW7XyXs2pZPeVYlcGbQCKqWKliOYfqWvCU JRbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=WvZp1SE31U0tt/atYOk2/QylIK+izOWm2BYL5+FBcUA=; b=FMTNustypwCpOmS3qkynHScmLQirzolhA4mOw2WHETnzVHvUl2ATktZaQ/s6iOjnxf ZQWQou/5uZOqgs4uxX/xvrR/zZf7xyZTqBeVXZ5yodkViYejroI7tk4SVj0LCz+IhYjz lFwtYkj9PHJnhclu5krq60qZ/5HqmvqYbLJppoik2JB/aqD8JVHNBX2OyHUqskKvKr03 ndyzVN7X+I6jCHjvAGB5grwiLoxkdOoEjcQNmm/mb4Qf3W0HiZCdhjVsA9NNvrUtEYDL gd4+gtqB9WEei10K8EX7R83/vdYb87F2fqcI0026G8WT4twTjwH3R5ZdnM3d55wVkeEq /0jw== X-Gm-Message-State: APjAAAWWgeTrtHq74RWfqhhwN67XyGro7vOYZ3mvgbE62bONR4vkfYSN NCZzFG+Gxclnkhi+NoZLQV4= X-Received: by 2002:a63:5062:: with SMTP id q34mr16590505pgl.378.1575863848339; Sun, 08 Dec 2019 19:57:28 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id b129sm24606111pfb.147.2019.12.08.19.57.24 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Dec 2019 19:57:27 -0800 (PST) From: Baolin Wang To: sre@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, yuanjiang.yu@unisoc.com, baolin.wang@linaro.org, baolin.wang7@gmail.com, zhang.lyra@gmail.com, orsonzhai@gmail.com Subject: [PATCH v3 4/5] dt-bindings: power: sc27xx: Add a new property to describe the real resistance of coulomb counter chip Date: Mon, 9 Dec 2019 11:56:24 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Baolin Wang Add a new property to describe the real resistance of coulomb counter chip, which is used to calibrate the accuracy of the coulomb counter chip. Acked-by: Rob Herring Signed-off-by: Baolin Wang Signed-off-by: Baolin Wang --- .../devicetree/bindings/power/supply/sc27xx-fg.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt index 0a5705b..b6359b5 100644 --- a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt +++ b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt @@ -13,6 +13,8 @@ Required properties: - io-channel-names: Should be "bat-temp" or "charge-vol". - nvmem-cells: A phandle to the calibration cells provided by eFuse device. - nvmem-cell-names: Should be "fgu_calib". +- sprd,calib-resistance-micro-ohms: Specify the real resistance of coulomb counter + chip in micro Ohms. - monitored-battery: Phandle of battery characteristics devicetree node. See Documentation/devicetree/bindings/power/supply/battery.txt @@ -52,5 +54,6 @@ Example: nvmem-cells = <&fgu_calib>; nvmem-cell-names = "fgu_calib"; monitored-battery = <&bat>; + sprd,calib-resistance-micro-ohms = <21500>; }; }; -- 1.7.9.5