0001 Kernel driver ads7828
0002 =====================
0003
0004 Supported chips:
0005
0006 * Texas Instruments/Burr-Brown ADS7828
0007
0008 Prefix: 'ads7828'
0009
0010 Datasheet: Publicly available at the Texas Instruments website:
0011
0012 http://focus.ti.com/lit/ds/symlink/ads7828.pdf
0013
0014 * Texas Instruments ADS7830
0015
0016 Prefix: 'ads7830'
0017
0018 Datasheet: Publicly available at the Texas Instruments website:
0019
0020 http://focus.ti.com/lit/ds/symlink/ads7830.pdf
0021
0022 Authors:
0023 - Steve Hardy <shardy@redhat.com>
0024 - Vivien Didelot <vivien.didelot@savoirfairelinux.com>
0025 - Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
0026
0027 Platform data
0028 -------------
0029
0030 The ads7828 driver accepts an optional ads7828_platform_data structure (defined
0031 in include/linux/platform_data/ads7828.h). The structure fields are:
0032
0033 * diff_input: (bool) Differential operation
0034 set to true for differential mode, false for default single ended mode.
0035
0036 * ext_vref: (bool) External reference
0037 set to true if it operates with an external reference, false for default
0038 internal reference.
0039
0040 * vref_mv: (unsigned int) Voltage reference
0041 if using an external reference, set this to the reference voltage in mV,
0042 otherwise it will default to the internal value (2500mV). This value will be
0043 bounded with limits accepted by the chip, described in the datasheet.
0044
0045 If no structure is provided, the configuration defaults to single ended
0046 operation and internal voltage reference (2.5V).
0047
0048 Description
0049 -----------
0050
0051 This driver implements support for the Texas Instruments ADS7828 and ADS7830.
0052
0053 The ADS7828 device is a 12-bit 8-channel A/D converter, while the ADS7830 does
0054 8-bit sampling.
0055
0056 It can operate in single ended mode (8 +ve inputs) or in differential mode,
0057 where 4 differential pairs can be measured.
0058
0059 The chip also has the facility to use an external voltage reference. This
0060 may be required if your hardware supplies the ADS7828 from a 5V supply, see
0061 the datasheet for more details.
0062
0063 There is no reliable way to identify this chip, so the driver will not scan
0064 some addresses to try to auto-detect it. That means that you will have to
0065 statically declare the device in the platform support code.