linux/drivers/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
..
avs ARM: OMAP2+: do not allow SmartReflex to be built as a module 2012-06-29 05:54:31 -07:00
Kconfig power: battery: Generic battery driver using IIO 2012-09-22 10:40:23 +01:00
Makefile power: battery: Generic battery driver using IIO 2012-09-22 10:40:23 +01:00
ab8500_btemp.c
ab8500_charger.c usb: phy: fix return value check of usb_get_phy 2012-07-02 10:40:49 +03:00
ab8500_fg.c
abx500_chargalg.c
apm_power.c
bq27x00_battery.c bq27x00_battery: Add support for BQ27425 chip 2012-07-13 20:26:20 -07:00
charger-manager.c charger-manager: Set current limit of regulator for over current protection 2012-07-13 18:31:17 -07:00
collie_battery.c
da9030_battery.c
da9052-battery.c
ds2760_battery.c
ds2780_battery.c
ds2781_battery.c The tag contains just a few battery-related changes for v3.6. It's is 2012-07-31 18:08:25 -07:00
ds2782_battery.c
generic-adc-battery.c power: battery: Generic battery driver using IIO 2012-09-22 10:40:23 +01:00
gpio-charger.c
intel_mid_battery.c
isp1704_charger.c usb: phy: fix return value check of usb_get_phy 2012-07-02 10:40:49 +03:00
jz4740-battery.c
lp8727_charger.c lp8727_charger: Move header file into platform_data directory 2012-07-14 01:14:35 -07:00
max8903_charger.c
max8925_power.c
max8997_charger.c
max8998_charger.c
max17040_battery.c
max17042_battery.c
olpc_battery.c Merge branch 'for-linus-3.6' of git://dev.laptop.org/users/dilinger/linux-olpc 2012-08-02 11:52:39 -07:00
pcf50633-charger.c
pda_power.c This patch series contains a major revamp of how we collect entropy 2012-07-31 19:07:42 -07:00
pmu_battery.c
power_supply.h
power_supply_core.c Merge with upstream to accommodate with thermal changes 2012-07-31 05:16:47 -07:00
power_supply_leds.c
power_supply_sysfs.c power_supply: Add min/max alert properties for CAPACITY, TEMP, TEMP_AMBIENT 2012-07-13 20:41:58 -07:00
s3c_adc_battery.c
sbs-battery.c
smb347-charger.c
test_power.c
tosa_battery.c
twl4030_charger.c The tag contains just a few battery-related changes for v3.6. It's is 2012-07-31 18:08:25 -07:00
wm97xx_battery.c
wm831x_backup.c
wm831x_power.c
wm8350_power.c
z2_battery.c