iio: adc: New driver for AD7280A Lithium Ion Battery Monitoring System
authorMichael Hennerich <michael.hennerich@analog.com>
Wed, 20 Jul 2011 13:03:09 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 20:35:49 +0000 (13:35 -0700)
commit2051f25d2a26573918b59d69847f5bf77635023e
treed860f12ab9d76c0202bd117c1e53aa30b8ded733
parent1c5e6a3f76a4f55d403bb6d0359b16efa4289809
iio: adc: New driver for AD7280A Lithium Ion Battery Monitoring System

The AD7280A monitoring system contains all the functions required for
general purpose monitoring and maintenance of stacked
lithium ion batteries as used in hybrid electric vehicles,
battery backup applications, etc.

Changes since V1:

Make cell channels all type IIO_IN_DIFF, update documentation accordingly.
Remove unused and redundant defines.
Use SI units where applicable.
Remove unnecessary wrapper function.
Remove redundant initialization.
Add comments where requested.
Revise event handler.
Use const where applicable.

Changes since V2:

Remove redundant adc.h include file, scheduled for removal.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/Documentation/sysfs-bus-iio-adc-ad7280a [new file with mode: 0644]
drivers/staging/iio/adc/Kconfig
drivers/staging/iio/adc/Makefile
drivers/staging/iio/adc/ad7280a.c [new file with mode: 0644]
drivers/staging/iio/adc/ad7280a.h [new file with mode: 0644]