linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Update charger manager driver to support device tree
@ 2013-10-25  2:47 Jonghwa Lee
  2013-10-25  2:47 ` [PATCH 1/3] charger-manager : Replace kzalloc to devm_kzalloc and remove uneccessary code Jonghwa Lee
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jonghwa Lee @ 2013-10-25  2:47 UTC (permalink / raw)
  To: linux-pm; +Cc: anton, dwmw2, myungjoo.ham, cw00.choi, Jonghwa Lee

Until now, charger manager doesn't support DT at all. It only works with
legacy platform data. Therefore, charger_desc structure which is requisite
data for working contains non-friendly variables for DT, as like funtion ptr,
and u64 type data.

These patches modifies charger_desc structure and driver to support device tree
fully. For using device tree in charger manager, you can check example of
charger manager's device tree model in Documentaion directory. 

Currently, there're many required nodes for proper charger manager's
working, we would optimize them later.

Jonghwa Lee (3):
  charger-manager : Replace kzalloc to devm_kzalloc and remove
    uneccessary code.
  charger-manager : Add default battery temperature checking funtion.
  charger-manager : Support deivce tree in charger manager driver

 .../bindings/power_supply/charger-manager.txt      |   82 +++++
 drivers/power/charger-manager.c                    |  315 +++++++++++++++-----
 include/linux/power/charger-manager.h              |   21 +-
 3 files changed, 340 insertions(+), 78 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power_supply/charger-manager.txt

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-10-28  6:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25  2:47 [PATCH 0/3] Update charger manager driver to support device tree Jonghwa Lee
2013-10-25  2:47 ` [PATCH 1/3] charger-manager : Replace kzalloc to devm_kzalloc and remove uneccessary code Jonghwa Lee
2013-10-25 23:30   ` Anton Vorontsov
2013-10-28  2:01     ` jonghwa3.lee
2013-10-25  2:47 ` [PATCH 2/3] charger-manager : Add default battery temperature checking funtion Jonghwa Lee
2013-10-25 23:44   ` Anton Vorontsov
2013-10-28  2:26     ` jonghwa3.lee
2013-10-28  6:31       ` Anton Vorontsov
2013-10-25  2:47 ` [PATCH 3/3] charger-manager : Support deivce tree in charger manager driver Jonghwa Lee

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).