public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 RESEND 0/2] Update charger manager driver to support device tree
@ 2013-12-18  6:42 Jonghwa Lee
  2013-12-18  6:42 ` [PATCH v3 RESEND 1/2] charger-manager : Modify the way of checking battery's temperature Jonghwa Lee
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jonghwa Lee @ 2013-12-18  6:42 UTC (permalink / raw)
  To: linux-pm; +Cc: anton, dwmw2, 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.

Changes in V3 :
[ 1 / 2 ]
	- Fix typo
	- Refactoring codes
[ 2 / 2 ]
	- Add ommited description to documentation

Changes in V2 :
[ 1 / 2 ]
	- Use generic thermal framework interface to get battery temperature.
	- Move initialization codes of thermal data to probe() function.
	- Remove .temperature_out_of_range() callback function.
[ 2 / 2 ]
	- Remove DT node 'cm-battery-has-therm'

Jonghwa Lee (2):
  charger-manager : Modify the way of checking battery's temperature.
  charger-manager : Support deivce tree in charger manager driver

 .../bindings/power_supply/charger-manager.txt      |   81 ++++++
 drivers/power/charger-manager.c                    |  299 +++++++++++++++++---
 include/linux/power/charger-manager.h              |   34 ++-
 3 files changed, 357 insertions(+), 57 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power_supply/charger-manager.txt

-- 
1.7.9.5


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

end of thread, other threads:[~2013-12-24  1:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-18  6:42 [PATCH v3 RESEND 0/2] Update charger manager driver to support device tree Jonghwa Lee
2013-12-18  6:42 ` [PATCH v3 RESEND 1/2] charger-manager : Modify the way of checking battery's temperature Jonghwa Lee
2013-12-18  6:42 ` [PATCH v3 RESEND 2/2] charger-manager : Support deivce tree in charger manager driver Jonghwa Lee
2013-12-24  1:12 ` [PATCH v3 RESEND 0/2] Update charger manager driver to support device tree Anton Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox