[PATCH 0/2] power_supply: Add power supply throttling support

From: Ramakrishna Pallala
Date: Tue Oct 09 2012 - 14:12:28 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/