Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3322400ybg; Mon, 28 Oct 2019 11:00:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIncudGW6lnpD5kMjEzi+n+o9tarP+ZNVbKVYZdfk6gHpTZKaSXit6hlW9ZbPo9codw7vJ X-Received: by 2002:a17:906:2d68:: with SMTP id f8mr17739179eji.71.1572285658291; Mon, 28 Oct 2019 11:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572285658; cv=none; d=google.com; s=arc-20160816; b=z/Pb4NJcI3rwvLTr5NQJEQezKCIskS7LA7mfmYAg+Vch0+ljc80Y4POLZu1Cbym8W3 6LFz4+5udiMHtdn95u4SFP3GoKRCgbd9i2Hcc54pWOoD76EzAQA/OfY6krcsbh7jfnsV 5mamEROxEyNlsH1X1KhgPMUSmFnm7wZ5d4VtLPlYZ6akeZGeOo6ieTFyJWSMyzJXPimA CbZIK5mk8KDCNXOZlgn1Lo/folVqFnzX2LVWGPiiAgA4OMX1k16exhltBpfFGwG9czfU 4HboYAjJJyiswwvZUCmkzSLoEILy/WoQYKF0bczCsPGpqClT3esPk+oPhQJVYoWr9B9F T3sw== 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=zz90kEkSWWg/YORe6tmdX1Bf7ogm6HlTvGcmmgO38JE=; b=utN13c31etTtITOKt46YduGIE4NK7y96gd+txasILRzyJO0BXKBLIntVd0cAkYAjoW STQK/ug27L/0SaIOKiy4LL5sEfYlmt0KrGdvlIOZ2S50xQLOUQ82M+2D8w7B0UBgCWVc fLf5fdBe8LHZhGSfpEjTK6PL2SiUYLpoRdVlhrClPMbhxGJFcuhobtzz+Xocms8ZWHVJ U7ZZJaRzKwoNltgWQAZbotIwfcMublLYCIVapErQDZztQ/9PO0e/FZV6Tf0Zj4oDCH9J xts1Rd3ttlE1wVuRlUc1yuG18KGmlsrj7zlh8r2fAYCW7RZ6ehCXYsyo2u9BM9I+W/td UE4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HD06jgfK; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q18si8118229eda.291.2019.10.28.11.00.07; Mon, 28 Oct 2019 11:00:58 -0700 (PDT) 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=@linaro.org header.s=google header.b=HD06jgfK; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732631AbfJ1HUJ (ORCPT + 99 others); Mon, 28 Oct 2019 03:20:09 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:36778 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732605AbfJ1HUH (ORCPT ); Mon, 28 Oct 2019 03:20:07 -0400 Received: by mail-pg1-f196.google.com with SMTP id j22so275761pgh.3 for ; Mon, 28 Oct 2019 00:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=zz90kEkSWWg/YORe6tmdX1Bf7ogm6HlTvGcmmgO38JE=; b=HD06jgfKdHaybBrjNDZRaOXNwrZc0W1LGLFB2+ngCxaUP4+gDqrtFqGtDyC7MrXPwX jR87YsTHT2M2QI4PXnUjNQcWD3GGTN5fXlPkFY4Om+Z18tEZqNR4xE6Rw/t6FpVu1QGu C4CwaqrEkr96aBTVgePTF44Rfo0I6mTdcpTHjAmyHzC+uMtjxHKemtjTh1trpesbg5ts PMStpjRNp3jlevLAvILguA+lR4rfm3Fyw0/1hyFx0sMmmFtWlqMbBkcoeIEBdOhPdPgF Oy55yKn1eGz9KjE7kgmfCZbWQ4yljK0mARwq08Hmry7c4eQAktXMsEdZHmNi7z72sPZZ 7CHA== 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=zz90kEkSWWg/YORe6tmdX1Bf7ogm6HlTvGcmmgO38JE=; b=mfuFI0OMXaN4XYmmItO6WD0b/ULBJvR0uhSI/DHMVcFEBLTLJKlHRnl6V2fhzIYsvI Zsnx+KIBTSrbPOF5tLbIJc0AUrmKRH6XMmX8O2MJ1FwdU5MNhcqJZDy8/1P0IY6Ygt/a Ct2iMUchwHCsD1xIA/K3cyGFAdy5u7xHPNu+vLTE/VDM4rMcXprAW1sbSDtXzf8c/Vo4 50YoTmJBOAktt1//Bmlx8AbOBfaWZ8IH4B0OG4WFapLnCdhl8HTvLK4epI96guBayADY rzBSXBKez5BT5fFtqjEymaAcuWpEilHKNs+EzMClYRPhfGXeQHz3HWmTYUhAdm6IDrC3 18kA== X-Gm-Message-State: APjAAAWs8XeKdSlD1Vfo55LtJgFaWnnZR7moAeFplhzJ+8bYT1M3hz/L TZVq8pyvKho5nKzcTV+4TPiQxw== X-Received: by 2002:a17:90a:26c1:: with SMTP id m59mr20848364pje.101.1572247206109; Mon, 28 Oct 2019 00:20:06 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.82]) by smtp.gmail.com with ESMTPSA id 13sm11504703pgq.72.2019.10.28.00.20.02 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Oct 2019 00:20:05 -0700 (PDT) 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 4/5] dt-bindings: power: sc27xx: Add a new property to describe the real resistance of coulomb counter chip Date: Mon, 28 Oct 2019 15:19:00 +0800 Message-Id: <00202f739348258555dcc40982c330542ac61863.1572245011.git.baolin.wang@linaro.org> 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 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. Signed-off-by: Baolin Wang --- .../devicetree/bindings/power/supply/sc27xx-fg.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt index 0a5705b..fc042d0 100644 --- a/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt +++ b/Documentation/devicetree/bindings/power/supply/sc27xx-fg.txt @@ -13,6 +13,7 @@ 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: 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 +53,6 @@ Example: nvmem-cells = <&fgu_calib>; nvmem-cell-names = "fgu_calib"; monitored-battery = <&bat>; + sprd,calib-resistance = <21500>; }; }; -- 1.7.9.5