mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
hwmon: (ads7828) add support for ADS7830
The ADS7830 device is almost the same as the ADS7828, except that it does 8-bit sampling, instead of 12-bit. This patch extends the ads7828 driver to support this chip. Signed-off-by: Guillaume Roguez <[email protected]> Signed-off-by: Vivien Didelot <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
46d7846292
commit
0962e0f1a5
3 changed files with 32 additions and 11 deletions
|
|
@ -7,9 +7,15 @@ Supported chips:
|
|||
Datasheet: Publicly available at the Texas Instruments website:
|
||||
http://focus.ti.com/lit/ds/symlink/ads7828.pdf
|
||||
|
||||
* Texas Instruments ADS7830
|
||||
Prefix: 'ads7830'
|
||||
Datasheet: Publicly available at the Texas Instruments website:
|
||||
http://focus.ti.com/lit/ds/symlink/ads7830.pdf
|
||||
|
||||
Authors:
|
||||
Steve Hardy <[email protected]>
|
||||
Vivien Didelot <[email protected]>
|
||||
Guillaume Roguez <[email protected]>
|
||||
|
||||
Platform data
|
||||
-------------
|
||||
|
|
@ -35,9 +41,10 @@ in include/linux/platform_data/ads7828.h). The structure fields are:
|
|||
Description
|
||||
-----------
|
||||
|
||||
This driver implements support for the Texas Instruments ADS7828.
|
||||
This driver implements support for the Texas Instruments ADS7828 and ADS7830.
|
||||
|
||||
This device is a 12-bit 8-channel A-D converter.
|
||||
The ADS7828 device is a 12-bit 8-channel A/D converter, while the ADS7830 does
|
||||
8-bit sampling.
|
||||
|
||||
It can operate in single ended mode (8 +ve inputs) or in differential mode,
|
||||
where 4 differential pairs can be measured.
|
||||
|
|
|
|||
Loading…
Reference in a new issue