mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
To: linux-kernel@vger.kernel.org
Cc: Anton Vorontsov <cbouatmailru@gmail.com>,
	Anton Vorontsov <anton.vorontsov@linaro.org>,
	Jenny TC <jenny.tc@intel.com>,
	Durgadoss R <durgadoss.r@intel.com>,
	Ramakrishna Pallala <ramakrishna.pallala@intel.com>
Subject: [PATCH 0/2] power_supply: Add power supply throttling support
Date: Tue,  9 Oct 2012 22:24:40 +0530	[thread overview]
Message-ID: <1349801680-19566-1-git-send-email-ramakrishna.pallala@intel.com> (raw)

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

                 reply	other threads:[~2012-10-09 18:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1349801680-19566-1-git-send-email-ramakrishna.pallala@intel.com \
    --to=ramakrishna.pallala@intel.com \
    --cc=anton.vorontsov@linaro.org \
    --cc=cbouatmailru@gmail.com \
    --cc=durgadoss.r@intel.com \
    --cc=jenny.tc@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®