linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: lecopzer@gmail.com
To: lecopzer@gmail.com, sre@kernel.org, linux-pm@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: yj.chiang@mediatek.com, lecopzer.chen@mediatek.com
Subject: [PATCH v2 0/2] test_power: Add CHARGE_COUNTER and CURRENT properties
Date: Fri, 13 Sep 2019 02:25:58 +0800	[thread overview]
Message-ID: <20190912182600.24211-1-lecopzer.chen@mediatek.com> (raw)

This series adds two common properties to test_power driver.
Most power supply drivers has these two properties, so add them to
test framework.


Changes in v2:
	- Seperate CHARGE_COUNTER and CURRENT into 2 patches.
	- Correct CHARGE_COUNTER whicch can be negative.


lecopzer (2):
  test_power: Add CHARGE_COUNTER properties
  test_power: Add CURRENT properties

 drivers/power/supply/test_power.c | 61 +++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

-- 
2.17.1


             reply	other threads:[~2019-09-12 18:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12 18:25 lecopzer [this message]
2019-09-12 18:25 ` [PATCH v2 1/2] test_power: Add CHARGE_COUNTER properties lecopzer
2019-10-14  5:46   ` Sebastian Reichel
2019-09-12 18:26 ` [PATCH v2 2/2] test_power: Add CURRENT properties lecopzer
2019-10-14  5:46   ` Sebastian Reichel

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=20190912182600.24211-1-lecopzer.chen@mediatek.com \
    --to=lecopzer@gmail.com \
    --cc=lecopzer.chen@mediatek.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=sre@kernel.org \
    --cc=yj.chiang@mediatek.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).