diff options
Diffstat (limited to 'Documentation/hwmon/ads7828')
-rw-r--r-- | Documentation/hwmon/ads7828 | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/Documentation/hwmon/ads7828 b/Documentation/hwmon/ads7828 index 2bbebe6f771f..a987c94a88e5 100644 --- a/Documentation/hwmon/ads7828 +++ b/Documentation/hwmon/ads7828 | |||
@@ -4,22 +4,33 @@ Kernel driver ads7828 | |||
4 | Supported chips: | 4 | Supported chips: |
5 | * Texas Instruments/Burr-Brown ADS7828 | 5 | * Texas Instruments/Burr-Brown ADS7828 |
6 | Prefix: 'ads7828' | 6 | Prefix: 'ads7828' |
7 | Addresses scanned: I2C 0x48, 0x49, 0x4a, 0x4b | 7 | Datasheet: Publicly available at the Texas Instruments website: |
8 | Datasheet: Publicly available at the Texas Instruments website : | ||
9 | http://focus.ti.com/lit/ds/symlink/ads7828.pdf | 8 | http://focus.ti.com/lit/ds/symlink/ads7828.pdf |
10 | 9 | ||
11 | Authors: | 10 | Authors: |
12 | Steve Hardy <shardy@redhat.com> | 11 | Steve Hardy <shardy@redhat.com> |
12 | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | ||
13 | 13 | ||
14 | Module Parameters | 14 | Platform data |
15 | ----------------- | 15 | ------------- |
16 | 16 | ||
17 | * se_input: bool (default Y) | 17 | The ads7828 driver accepts an optional ads7828_platform_data structure (defined |
18 | Single ended operation - set to N for differential mode | 18 | in include/linux/platform_data/ads7828.h). The structure fields are: |
19 | * int_vref: bool (default Y) | 19 | |
20 | Operate with the internal 2.5V reference - set to N for external reference | 20 | * diff_input: (bool) Differential operation |
21 | * vref_mv: int (default 2500) | 21 | set to true for differential mode, false for default single ended mode. |
22 | If using an external reference, set this to the reference voltage in mV | 22 | |
23 | * ext_vref: (bool) External reference | ||
24 | set to true if it operates with an external reference, false for default | ||
25 | internal reference. | ||
26 | |||
27 | * vref_mv: (unsigned int) Voltage reference | ||
28 | if using an external reference, set this to the reference voltage in mV, | ||
29 | otherwise it will default to the internal value (2500mV). This value will be | ||
30 | bounded with limits accepted by the chip, described in the datasheet. | ||
31 | |||
32 | If no structure is provided, the configuration defaults to single ended | ||
33 | operation and internal voltage reference (2.5V). | ||
23 | 34 | ||
24 | Description | 35 | Description |
25 | ----------- | 36 | ----------- |
@@ -34,3 +45,7 @@ where 4 differential pairs can be measured. | |||
34 | The chip also has the facility to use an external voltage reference. This | 45 | The chip also has the facility to use an external voltage reference. This |
35 | may be required if your hardware supplies the ADS7828 from a 5V supply, see | 46 | may be required if your hardware supplies the ADS7828 from a 5V supply, see |
36 | the datasheet for more details. | 47 | the datasheet for more details. |
48 | |||
49 | There is no reliable way to identify this chip, so the driver will not scan | ||
50 | some addresses to try to auto-detect it. That means that you will have to | ||
51 | statically declare the device in the platform support code. | ||