mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] power_supply: Add power supply throttling support
@ 2012-10-09 16:54 Ramakrishna Pallala
  0 siblings, 0 replies; only message in thread
From: Ramakrishna Pallala @ 2012-10-09 16:54 UTC (permalink / raw)
  To: linux-kernel
  Cc: Anton Vorontsov, Anton Vorontsov, Jenny TC, Durgadoss R,
	Ramakrishna Pallala

During charging battery temperature and charger chip temperature will
go up. This can also result in increased skin temperature.

This patchset adds the power supply throttling support
and also registers the power supply as cooling device.

PATCH 1/2: Add support for CHARGE_CONTROL_* attributes
This adds the power supply attributes for CHARGE_CONTROL_*
These new attributes will the enable user space to implement
custom charging algorithms based on platform state.

PATCH 2/2: Register power supply for thermal cooling device
This patch registers the power supply as cooling device with
thermal framework.

 Documentation/power/power_supply_class.txt |    3 +++
 drivers/power/power_supply_sysfs.c         |    2 ++
 include/linux/power_supply.h               |    2 ++
 drivers/power/power_supply_core.c |  100 +++++++++++++++++++++++++++++++++++++
 include/linux/power_supply.h      |    1 +
 4 files changed, 108 insertions(+), 0 deletions(-)

Thanks,
Ramakrishna Pallala

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-09 18:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-09 16:54 [PATCH 0/2] power_supply: Add power supply throttling support Ramakrishna Pallala

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

all inboxes | Powered by JetHome®