Linux-PM Archive on lore.kernel.org
 help / color / 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
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 index

Thread overview: 3+ 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-09-12 18:26 ` [PATCH v2 2/2] test_power: Add CURRENT properties lecopzer

Reply instructions:

You may reply publically 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

Linux-PM Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-pm/0 linux-pm/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-pm linux-pm/ https://lore.kernel.org/linux-pm \
		linux-pm@vger.kernel.org linux-pm@archiver.kernel.org
	public-inbox-index linux-pm


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-pm


AGPL code for this site: git clone https://public-inbox.org/ public-inbox