From: Rob Herring <robh@kernel.org>
To: Baolin Wang <baolin.wang@linaro.org>
Cc: sre@kernel.org, mark.rutland@arm.com, linux-pm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
yuanjiang.yu@unisoc.com, baolin.wang7@gmail.com,
zhang.lyra@gmail.com, orsonzhai@gmail.com
Subject: Re: [PATCH 4/5] dt-bindings: power: sc27xx: Add a new property to describe the real resistance of coulomb counter chip
Date: Wed, 30 Oct 2019 09:39:49 -0500 [thread overview]
Message-ID: <20191030143949.GA18637@bogus> (raw)
In-Reply-To: <00202f739348258555dcc40982c330542ac61863.1572245011.git.baolin.wang@linaro.org>
On Mon, Oct 28, 2019 at 03:19:00PM +0800, Baolin Wang wrote:
> 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 <baolin.wang@linaro.org>
> ---
> .../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
Needs a standard unit suffix.
>
> @@ -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
>
next prev parent reply other threads:[~2019-10-30 14:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-28 7:18 [PATCH 0/5] Improve the SC27XX fuel gauge controller Baolin Wang
2019-10-28 7:18 ` [PATCH 1/5] dt-bindings: power: Introduce one property to describe the battery resistance with temperature changes Baolin Wang
2019-10-30 14:38 ` Rob Herring
2019-10-31 2:13 ` Baolin Wang
2019-10-28 7:18 ` [PATCH 2/5] power: supply: core: Add battery internal resistance temperature table support Baolin Wang
2019-10-28 7:18 ` [PATCH 3/5] power: supply: sc27xx: Optimize the battery resistance with measuring temperature Baolin Wang
2019-10-28 7:19 ` [PATCH 4/5] dt-bindings: power: sc27xx: Add a new property to describe the real resistance of coulomb counter chip Baolin Wang
2019-10-30 14:39 ` Rob Herring [this message]
2019-10-31 2:14 ` Baolin Wang
2019-10-28 7:19 ` [PATCH 5/5] power: supply: sc27xx: Calibrate the resistance of coulomb counter Baolin Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191030143949.GA18637@bogus \
--to=robh@kernel.org \
--cc=baolin.wang7@gmail.com \
--cc=baolin.wang@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=orsonzhai@gmail.com \
--cc=sre@kernel.org \
--cc=yuanjiang.yu@unisoc.com \
--cc=zhang.lyra@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).