linux-stable/include/linux/power
anish kumar e60fea794e power: battery: Generic battery driver using IIO
Driver to allow use of the ADC drivers supported by the IIO
subsystem for battery status monitoring. Connecting this
driver to the relevant IIO device requires registration of
the appropriate iio_map structure array by the IIO device
driver (usually from platform data).  If specified the driver
will also make use of a gpio to provide interrupt driven
notification that the battery is fully charged.

In last version:
Addressed concerns raised by lars:
a. made the adc_bat per device.
b. get the IIO channel using hardcoded channel names.
c. Minor issues related to gpio_is_valid and some code
   refactoring.

In V1:
Addressed concerns raised by Anton:
a. changed the struct name to gab(generic adc battery).
b. Added some functions to neaten the code.
c. Some minor coding guidelines changes.
d. Used the latest function introduce by lars:
   iio_read_channel_processed to streamline the code.

In V2:
Addressed concerns by lars:
a. No need of allocating memory for channels.Make it array.
b. Code restructring, coding style and following kernel guidelines changes
   suggested by him.

In V3:
Addressed conerns by Anton:
a. Added the copyright.
b. Coding guidelines changes suggested by him.
c. Added Makefile and Kconfig

Signed-off-by: anish kumar <anish198519851985@gmail.com>
Acked-by: Anton Vorontsov <cbouatmailru@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2012-09-22 10:40:23 +01:00
..
bq27x00_battery.h bq27x00: Add bq27000 support 2011-02-22 11:02:42 +01:00
charger-manager.h charger-manager: Set current limit of regulator for over current protection 2012-07-13 18:31:17 -07:00
generic-adc-battery.h power: battery: Generic battery driver using IIO 2012-09-22 10:40:23 +01:00
gpio-charger.h
isp1704_charger.h isp1704_charger: Allow board specific powering routine 2011-04-20 17:48:49 +04:00
jz4740-battery.h
max8903_charger.h power_supply: Add driver for MAX8903 charger 2011-04-20 17:48:48 +04:00
max17042_battery.h max17042_battery: Add support for max17047/50 chip 2012-05-05 20:28:11 -07:00
sbs-battery.h sbs-battery: Rename internals to new name 2012-01-06 05:22:21 +04:00
smartreflex.h ARM: OMAP2+: SmartReflex: add POWER_AVS Kconfig options 2012-05-31 16:03:45 -07:00
smb347-charger.h Add I2C driver for Summit Microelectronics SMB347 Battery Charger. 2012-03-26 20:41:01 +04:00