* [PATCH v2 0/2] power_supply: update Charger-Manager @ 2012-03-28 12:07 Chanwoo Choi 2012-04-06 0:31 ` [RESEND PATCH " Chanwoo Choi 0 siblings, 1 reply; 5+ messages in thread From: Chanwoo Choi @ 2012-03-28 12:07 UTC (permalink / raw) To: Rafael J. Wysocki Cc: linux-kernel@vger.kernel.org, myungjoo.ham@samsung.com, Kyungmin Park Initially, the main role of Charger-Manager is to monitor battery health while the system is in suspend-to-RAM. This patchset updates the initial Charger-Manager to poll the battery state in normal state and provide function for in-kernel use. As Mr. Kim Donggeun leaved the company as personal reason, I follow up of this patchset. So I replied about your comment based on following link last week. - https://lkml.org/lkml/2012/2/29/506 - https://lkml.org/lkml/2012/2/29/524 - https://lkml.org/lkml/2012/3/4/137 The following patch url are replies which was posted on last week. Re: power_supply: Charger-Manager: poll battery health in normal state - https://lkml.org/lkml/2012/3/19/733 Re: power_supply: Charger-Manager: provide function for in-kernel use - http://comments.gmane.org/gmane.linux.kernel/1270020 v2 - Code clean according to comment of Rafael J. Wysocki - Use Power management wakeup interface for waking up the system from sleep when event is happended - Cancle work/delayed_work in remove function Donggeun Kim (2): power_supply: Charger-Manager: poll battery health in normal state power_supply: Charger-Manager: provide function for in-kernel use Documentation/power/charger-manager.txt | 41 +++- drivers/power/charger-manager.c | 391 +++++++++++++++++++++++++++++++ include/linux/power/charger-manager.h | 49 ++++- 3 files changed, 471 insertions(+), 10 deletions(-) ^ permalink raw reply [flat|nested] 5+ messages in thread
* [RESEND PATCH v2 0/2] power_supply: update Charger-Manager 2012-03-28 12:07 [PATCH v2 0/2] power_supply: update Charger-Manager Chanwoo Choi @ 2012-04-06 0:31 ` Chanwoo Choi 2012-04-24 10:47 ` Chanwoo Choi 0 siblings, 1 reply; 5+ messages in thread From: Chanwoo Choi @ 2012-04-06 0:31 UTC (permalink / raw) To: Rafael J. Wysocki Cc: linux-kernel@vger.kernel.org, linux-pm, myungjoo.ham@samsung.com, Kyungmin Park Initially, the main role of Charger-Manager is to monitor battery health while the system is in suspend-to-RAM. This patchset updates the initial Charger-Manager to poll the battery state in normal state and provide function for in-kernel use. As Mr. Kim Donggeun leaved the company as personal reason, I follow up of this patchset. So I replied about your comment based on following link last week. - https://lkml.org/lkml/2012/2/29/506 - https://lkml.org/lkml/2012/2/29/524 - https://lkml.org/lkml/2012/3/4/137 The following patch url are replies which was posted on last week. Re: power_supply: Charger-Manager: poll battery health in normal state - https://lkml.org/lkml/2012/3/19/733 Re: power_supply: Charger-Manager: provide function for in-kernel use - http://comments.gmane.org/gmane.linux.kernel/1270020 v2 - Code clean according to comment of Rafael J. Wysocki - Use Power management wakeup interface for waking up the system from sleep when event is happended - Cancle work/delayed_work in remove function Donggeun Kim (2): power_supply: Charger-Manager: poll battery health in normal state power_supply: Charger-Manager: provide function for in-kernel use Documentation/power/charger-manager.txt | 41 +++- drivers/power/charger-manager.c | 391 +++++++++++++++++++++++++++++++ include/linux/power/charger-manager.h | 49 ++++- 3 files changed, 471 insertions(+), 10 deletions(-) ^ permalink raw reply [flat|nested] 5+ messages in thread
* [RESEND PATCH v2 0/2] power_supply: update Charger-Manager 2012-04-06 0:31 ` [RESEND PATCH " Chanwoo Choi @ 2012-04-24 10:47 ` Chanwoo Choi 2012-05-06 2:56 ` Anton Vorontsov 0 siblings, 1 reply; 5+ messages in thread From: Chanwoo Choi @ 2012-04-24 10:47 UTC (permalink / raw) To: Anton Vorontsov, David Woodhouse, Rafael J. Wysocki Cc: linux-kernel@vger.kernel.org, myungjoo.ham@samsung.com, Kyungmin Park Initially, the main role of Charger-Manager is to monitor battery health while the system is in suspend-to-RAM. This patchset updates the initial Charger-Manager to poll the battery state in normal state and provide function for in-kernel use. As Mr. Kim Donggeun leaved the company as personal reason, I follow up of this patchset. So I replied about your comment based on following link last week. - https://lkml.org/lkml/2012/2/29/506 - https://lkml.org/lkml/2012/2/29/524 - https://lkml.org/lkml/2012/3/4/137 The following patch url are replies which was posted on last week. Re: power_supply: Charger-Manager: poll battery health in normal state - https://lkml.org/lkml/2012/3/19/733 Re: power_supply: Charger-Manager: provide function for in-kernel use - http://comments.gmane.org/gmane.linux.kernel/1270020 v2 - Code clean according to comment of Rafael J. Wysocki - Use Power management wakeup interface for waking up the system from sleep when event is happended - Cancle work/delayed_work in remove function Donggeun Kim (2): power_supply: Charger-Manager: poll battery health in normal state power_supply: Charger-Manager: provide function for in-kernel use Documentation/power/charger-manager.txt | 41 +++- drivers/power/charger-manager.c | 391 +++++++++++++++++++++++++++++++ include/linux/power/charger-manager.h | 49 ++++- 3 files changed, 471 insertions(+), 10 deletions(-) ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RESEND PATCH v2 0/2] power_supply: update Charger-Manager 2012-04-24 10:47 ` Chanwoo Choi @ 2012-05-06 2:56 ` Anton Vorontsov 2012-05-07 1:11 ` Chanwoo Choi 0 siblings, 1 reply; 5+ messages in thread From: Anton Vorontsov @ 2012-05-06 2:56 UTC (permalink / raw) To: Chanwoo Choi Cc: David Woodhouse, Rafael J. Wysocki, linux-kernel@vger.kernel.org, myungjoo.ham@samsung.com, Kyungmin Park On Tue, Apr 24, 2012 at 07:47:24PM +0900, Chanwoo Choi wrote: [...] > Documentation/power/charger-manager.txt | 41 +++- > drivers/power/charger-manager.c | 391 > +++++++++++++++++++++++++++++++ > include/linux/power/charger-manager.h | 49 ++++- > 3 files changed, 471 insertions(+), 10 deletions(-) Applied, thanks! Note that the patches were word-wrap damaged, I had to fix them by hand. The file 'linux/Documentation/email-clients.txt' contains some useful tips for setting up commonly used mail clients. You might also try using 'git send-email'. While looking through the CM code, I noticed that cm uevents are not friendly wrt several chargers (the code has static variables in the uevent_notify() func). Also, what's the rationale behind implementing own uevent handling, and not using power_supply uevents (see power_supply_sysfs.c and power_supply_changed() thing)? Also, you don't seem to report variables in the uevent, but just messages. That's unusual. Thanks, -- Anton Vorontsov Email: cbouatmailru@gmail.com ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RESEND PATCH v2 0/2] power_supply: update Charger-Manager 2012-05-06 2:56 ` Anton Vorontsov @ 2012-05-07 1:11 ` Chanwoo Choi 0 siblings, 0 replies; 5+ messages in thread From: Chanwoo Choi @ 2012-05-07 1:11 UTC (permalink / raw) To: Anton Vorontsov Cc: David Woodhouse, Rafael J. Wysocki, linux-kernel@vger.kernel.org, myungjoo.ham@samsung.com, Kyungmin Park Hi Anton, Firstly, thank for your reply and applied. On 05/06/2012 11:56 AM, Anton Vorontsov wrote: > On Tue, Apr 24, 2012 at 07:47:24PM +0900, Chanwoo Choi wrote: > [...] >> Documentation/power/charger-manager.txt | 41 +++- >> drivers/power/charger-manager.c | 391 >> +++++++++++++++++++++++++++++++ >> include/linux/power/charger-manager.h | 49 ++++- >> 3 files changed, 471 insertions(+), 10 deletions(-) > > Applied, thanks! > > Note that the patches were word-wrap damaged, I had to fix them by > hand. The file 'linux/Documentation/email-clients.txt' contains some > useful tips for setting up commonly used mail clients. You might > also try using 'git send-email'. I'm so sorry. I will not do a same mistake. > > While looking through the CM code, I noticed that cm uevents > are not friendly wrt several chargers (the code has static variables > in the uevent_notify() func). > I will modify obscure code about your comment in the next patch. > Also, what's the rationale behind implementing own uevent handling, > and not using power_supply uevents (see power_supply_sysfs.c > and power_supply_changed() thing)? Also, you don't seem to > report variables in the uevent, but just messages. That's unusual. > OK, I will implement uevent feature in charger-manager by using power_supply uevents instead of own uevent handling and post new patchset. Best Regards, Chanwoo Choi ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-05-07 1:11 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-03-28 12:07 [PATCH v2 0/2] power_supply: update Charger-Manager Chanwoo Choi 2012-04-06 0:31 ` [RESEND PATCH " Chanwoo Choi 2012-04-24 10:47 ` Chanwoo Choi 2012-05-06 2:56 ` Anton Vorontsov 2012-05-07 1:11 ` Chanwoo Choi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox