-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Michael Hennerich
authored and
Greg Kroah-Hartman
committed
Aug 23, 2011
1 parent
1c5e6a3
commit 2051f25
Showing
5 changed files
with
1,062 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
drivers/staging/iio/Documentation/sysfs-bus-iio-adc-ad7280a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
What: /sys/bus/iio/devices/deviceX/inY-inZ_balance_switch_en | ||
KernelVersion: 3.0.0 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
Writing 1 enables the cell balance output switch corresponding | ||
to input Y. Writing 0 disables it. If the inY-inZ_balance_timer | ||
is set to a none zero value, the corresponding switch will | ||
enable for the programmed amount of time, before it | ||
automatically disables. | ||
|
||
What: /sys/bus/iio/devices/deviceX/inY-inZ_balance_timer | ||
KernelVersion: 3.0.0 | ||
Contact: linux-iio@vger.kernel.org | ||
Description: | ||
The inY-inZ_balance_timer file allows the user to program | ||
individual times for each cell balance output. The AD7280A | ||
allows the user to set the timer to a value from 0 minutes to | ||
36.9 minutes. The resolution of the timer is 71.5 sec. | ||
The value written is the on-time in milliseconds. When the | ||
timer value is set 0, the timer is disabled. The cell balance | ||
outputs are controlled only by inY-inZ_balance_switch_en. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.