From: John Stultz <john.stultz@linaro.org>
To: LKML <linux-kernel@vger.kernel.org>
Cc: John Stultz <john.stultz@linaro.org>,
Anton Vorontsov <cbouatmailru@gmail.com>,
Akihiro MAEDA <sola.1980.a@gmail.com>,
Masashi YOKOTA <yokota@pylone.jp>
Subject: [PATCH 0/3][RFC] Virtual Battery Driver
Date: Mon, 25 Apr 2011 13:20:26 -0700 [thread overview]
Message-ID: <1303762829-18000-1-git-send-email-john.stultz@linaro.org> (raw)
For awhile now, there has been an out of tree virtual
battery driver that was created by Masashi YOKOTA
<yokota@pylone.jp> that folks have been using to test
battery UI functionality on boards that don't actually
have battery hardware.
More recently the power supply test driver (test_power.c)
has been merged.
Both drivers provide somwhat similar functionality,
although the virtual battery driver allows settings
such as health and charge state to be manipulated at
runtime via module params.
So while I'm not proposing to merge this patch set as
is, I wanted to send it out for comment to see if there
would be some interest or objections for merging some of
the functionality from the virtual battery driver into
the test_power driver?
Thoughts?
thanks
-john
CC: Anton Vorontsov <cbouatmailru@gmail.com>
CC: Akihiro MAEDA <sola.1980.a@gmail.com>
CC: Masashi YOKOTA <yokota@pylone.jp>
Akihiro MAEDA (1):
power: virtual battery driver tweaks
John Stultz (1):
power: Fixup stack usage in vritual battery driver
Masashi YOKOTA (1):
power: Add virtual battery driver
drivers/power/Kconfig | 5 +
drivers/power/Makefile | 1 +
drivers/power/virtual_battery.c | 400 +++++++++++++++++++++++++++++++++++++++
3 files changed, 406 insertions(+), 0 deletions(-)
create mode 100644 drivers/power/virtual_battery.c
--
1.7.3.2.146.gca209
next reply other threads:[~2011-04-25 20:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-25 20:20 John Stultz [this message]
2011-04-25 20:20 ` [PATCH 1/3][RFC] power: Add virtual battery driver John Stultz
2011-04-25 20:20 ` [PATCH 2/3][RFC] power: virtual battery driver tweaks John Stultz
2011-04-25 20:20 ` [PATCH 3/3][RFC] power: Fixup stack usage in vritual battery driver John Stultz
2011-04-25 21:11 ` [PATCH 0/3][RFC] Virtual Battery Driver Anton Vorontsov
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=1303762829-18000-1-git-send-email-john.stultz@linaro.org \
--to=john.stultz@linaro.org \
--cc=cbouatmailru@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sola.1980.a@gmail.com \
--cc=yokota@pylone.jp \
/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