|From:||John Stultz <firstname.lastname@example.org>|
|Subject:||[PATCH 0/3][RFC] Virtual Battery Driver|
|Date:||Mon, 25 Apr 2011 13:20:26 -0700|
|Cc:||John Stultz <email@example.com>, Anton Vorontsov <firstname.lastname@example.org>, Akihiro MAEDA <email@example.com>, Masashi YOKOTA <firstname.lastname@example.org>|
For awhile now, there has been an out of tree virtual battery driver that was created by Masashi YOKOTA <email@example.com> 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 <firstname.lastname@example.org> CC: Akihiro MAEDA <email@example.com> CC: Masashi YOKOTA <firstname.lastname@example.org> 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 -- 220.127.116.11.146.gca209 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds