diff options
author | Robert Coulson <rob.coulson@gmail.com> | 2013-06-10 21:46:02 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-06-27 13:30:43 -0400 |
commit | 260f81ffc1b9f09dde355caa09e4b312756666f0 (patch) | |
tree | 46d929b1f8e1834a06007bdeaee4ad9d68e0bb82 /Documentation/hwmon/ds1621 | |
parent | 2ec2819623521c28de3ab5d6e1f096542d032246 (diff) |
hwmon: (ds1621) Add DS1731 chip support to ds1621 driver
These changes add DS1731 chip support to the ds1621 driver,
Kconfig, and documentation.
Signed-off-by: Robert Coulson <rob.coulson@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon/ds1621')
-rw-r--r-- | Documentation/hwmon/ds1621 | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/Documentation/hwmon/ds1621 b/Documentation/hwmon/ds1621 index 83780660f5b1..c0817f7934e4 100644 --- a/Documentation/hwmon/ds1621 +++ b/Documentation/hwmon/ds1621 | |||
@@ -22,6 +22,11 @@ Supported chips: | |||
22 | Addresses scanned: none | 22 | Addresses scanned: none |
23 | Datasheet: Publicly available from www.maximintegrated.com | 23 | Datasheet: Publicly available from www.maximintegrated.com |
24 | 24 | ||
25 | * Maxim Integrated DS1731 | ||
26 | Prefix: 'ds1731' | ||
27 | Addresses scanned: none | ||
28 | Datasheet: Publicly available from www.maximintegrated.com | ||
29 | |||
25 | Authors: | 30 | Authors: |
26 | Christian W. Zuckschwerdt <zany@triq.net> | 31 | Christian W. Zuckschwerdt <zany@triq.net> |
27 | valuable contributions by Jan M. Sendler <sendler@sendler.de> | 32 | valuable contributions by Jan M. Sendler <sendler@sendler.de> |
@@ -72,8 +77,8 @@ Temperature conversion of the DS1621 takes up to 1000ms; internal access to | |||
72 | non-volatile registers may last for 10ms or below. | 77 | non-volatile registers may last for 10ms or below. |
73 | 78 | ||
74 | The DS1625 is pin compatible and functionally equivalent with the DS1621, | 79 | The DS1625 is pin compatible and functionally equivalent with the DS1621, |
75 | but the DS1621 is meant to replace it. The DS1631 and DS1721 are also | 80 | but the DS1621 is meant to replace it. The DS1631, DS1721, and DS1731 are |
76 | pin compatible with the DS1621, but provide multi-resolution support. | 81 | also pin compatible with the DS1621, but provide multi-resolution support. |
77 | 82 | ||
78 | Since there is no version or vendor identification register, there is | 83 | Since there is no version or vendor identification register, there is |
79 | no unique identification for these devices. Therefore, explicit device | 84 | no unique identification for these devices. Therefore, explicit device |
@@ -84,26 +89,26 @@ explicitly instantiated, one device per address, in this address | |||
84 | range: 0x48..0x4f. | 89 | range: 0x48..0x4f. |
85 | 90 | ||
86 | The DS1721 is pin compatible with the DS1621, has an accuracy of +/- 1.0 | 91 | The DS1721 is pin compatible with the DS1621, has an accuracy of +/- 1.0 |
87 | degree Celsius over a -10 to +85 degree range, a minimum/maximum alarm | 92 | degree Celsius (from -10 to +85 degrees), a minimum/maximum alarm default |
88 | default setting of 75 and 80 degrees respectively, and a maximum conversion | 93 | setting of 75 and 80 degrees, and a maximum conversion time of 750ms. |
89 | time of 750ms. | ||
90 | 94 | ||
91 | In addition, the DS1721 supports four resolution settings from 9 to 12 bits | 95 | In addition, the DS1721 supports four resolution settings from 9 to 12 bits |
92 | (defined in degrees C per LSB: 0.5, 0.25, 0.125, and 0.0625, respectifully), | 96 | (defined in degrees C per LSB: 0.5, 0.25, 0.125, and 0.0625, respectively), |
93 | that are set at device power on to the highest resolution: 12-bits. | 97 | that are set at device power on to the highest resolution: 12-bits. |
94 | 98 | ||
95 | One additional note about the ds1721 is that although the data sheet says | 99 | One additional note about the ds1721 is that although the data sheet says |
96 | the temperature flags (THF and TLF) are used internally, these flags do | 100 | the temperature flags (THF and TLF) are used internally, these flags do |
97 | get set and cleared as the actual temperature crosses the min or max settings. | 101 | get set and cleared as the actual temperature crosses the min or max settings. |
98 | 102 | ||
99 | The DS1631 is also pin compatible with the DS1621 and feature compatible with | 103 | The DS1631 and DS1731 are pin compatible with the DS1621 and feature compatible |
100 | the DS1721, however the DS1631 accuracy is +/- 0.5 degree Celsius over the | 104 | with the DS1721. However, the DS1631 accuracy is +/- 0.5 degree Celsius (from 0 |
101 | same range. | 105 | to +70 degrees), while the DS1731 accuracy is +/-1 degree Celsius (from -10 to |
106 | +85 degrees). | ||
102 | 107 | ||
103 | Changing the DS1631/1721 resolution mode affects the conversion time and can be | 108 | The resolution mode for the DS1631, DS1721, or DS1731 can be changed from |
104 | done from userspace, via the device 'update_interval' sysfs attribute. This | 109 | userspace, via the device 'update_interval' sysfs attribute. This attribute |
105 | attribute will normalize range of input values to the device maximum resolution | 110 | will normalize the range of input values to the device maximum resolution |
106 | values defined in the datasheet as such: | 111 | values defined in the datasheet as follows: |
107 | 112 | ||
108 | Resolution Conversion Time Input Range | 113 | Resolution Conversion Time Input Range |
109 | (C/LSB) (msec) (msec) | 114 | (C/LSB) (msec) (msec) |