aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-07-30 14:57:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-30 14:57:57 -0400
commit464c9098bbc17b4596aa12191a7e646a28e7587a (patch)
tree1d97f02c1f071f358f0d0b5fd8e04db3b9a7a9af /Documentation
parent4c677e2eefdba9c5bfc4474e2e91b26ae8458a1d (diff)
parentf90be42fb383f39aa814b8e14de138da8973e5c1 (diff)
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging
* 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/staging: (24 commits) hwmon: (lm90) Refactor reading of config2 register hwmon: (lm90) Make SA56004 detection more robust hwmon: (lm90) Simplify handling of extended local temp register hwmon: (pmbus) Add client driver for LM25066, LM5064, and LM5066 hwmon: (max34440) Add support for peak attributes hwmon: (max8688) Add support for peak attributes hwmon: (max16064) Add support for peak attributes hwmon: (adm1275) Add support for peak attributes hwmon: (pmbus) Add support for peak attributes hwmon: Add new attributes to sysfs ABI hwmon: (pmbus) Strengthen check for status register existence hwmon: (pmbus) Add support for virtual pages hwmon: (pmbus) Support reading and writing of word registers in device specific code hwmon: (pmbus) Increase attribute name size hwmon: (pmbus) Add ADP4000, NCP4200 and NCP4208 to list of supported devices hwmon: (pmbus) Add support for VID output voltage mode hwmon: (pmbus) Move PMBus drivers to drivers/hwmon/pmbus hwmon: (coretemp) Add core/pkg threshold support to Coretemp hwmon: (lm95241) Add support for LM95231 hwmon: LM95245 driver ...
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/hwmon/adm12758
-rw-r--r--Documentation/hwmon/coretemp7
-rw-r--r--Documentation/hwmon/lm2506690
-rw-r--r--Documentation/hwmon/lm909
-rw-r--r--Documentation/hwmon/lm9524533
-rw-r--r--Documentation/hwmon/max160644
-rw-r--r--Documentation/hwmon/max166860
-rw-r--r--Documentation/hwmon/max344406
-rw-r--r--Documentation/hwmon/max86886
-rw-r--r--Documentation/hwmon/ntc_thermistor93
-rw-r--r--Documentation/hwmon/pmbus7
-rw-r--r--Documentation/hwmon/sysfs-interface46
12 files changed, 366 insertions, 3 deletions
diff --git a/Documentation/hwmon/adm1275 b/Documentation/hwmon/adm1275
index 6a3a6476cf20..097b3ccc4be7 100644
--- a/Documentation/hwmon/adm1275
+++ b/Documentation/hwmon/adm1275
@@ -43,8 +43,8 @@ Documentation/hwmon/pmbus for details.
43Sysfs entries 43Sysfs entries
44------------- 44-------------
45 45
46The following attributes are supported. Limits are read-write; all other 46The following attributes are supported. Limits are read-write, history reset
47attributes are read-only. 47attributes are write-only, all other attributes are read-only.
48 48
49in1_label "vin1" or "vout1" depending on chip variant and 49in1_label "vin1" or "vout1" depending on chip variant and
50 configuration. 50 configuration.
@@ -53,8 +53,12 @@ in1_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
53in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register. 53in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
54in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status. 54in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
55in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. 55in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
56in1_highest Historical maximum voltage.
57in1_reset_history Write any value to reset history.
56 58
57curr1_label "iout1" 59curr1_label "iout1"
58curr1_input Measured current. From READ_IOUT register. 60curr1_input Measured current. From READ_IOUT register.
59curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register. 61curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register.
60curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register. 62curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register.
63curr1_highest Historical maximum current.
64curr1_reset_history Write any value to reset history.
diff --git a/Documentation/hwmon/coretemp b/Documentation/hwmon/coretemp
index f85e913a3401..fa8776ab9b18 100644
--- a/Documentation/hwmon/coretemp
+++ b/Documentation/hwmon/coretemp
@@ -35,6 +35,13 @@ the Out-Of-Spec bit. Following table summarizes the exported sysfs files:
35All Sysfs entries are named with their core_id (represented here by 'X'). 35All Sysfs entries are named with their core_id (represented here by 'X').
36tempX_input - Core temperature (in millidegrees Celsius). 36tempX_input - Core temperature (in millidegrees Celsius).
37tempX_max - All cooling devices should be turned on (on Core2). 37tempX_max - All cooling devices should be turned on (on Core2).
38 Initialized with IA32_THERM_INTERRUPT. When the CPU
39 temperature reaches this temperature, an interrupt is
40 generated and tempX_max_alarm is set.
41tempX_max_hyst - If the CPU temperature falls below than temperature,
42 an interrupt is generated and tempX_max_alarm is reset.
43tempX_max_alarm - Set if the temperature reaches or exceeds tempX_max.
44 Reset if the temperature drops to or below tempX_max_hyst.
38tempX_crit - Maximum junction temperature (in millidegrees Celsius). 45tempX_crit - Maximum junction temperature (in millidegrees Celsius).
39tempX_crit_alarm - Set when Out-of-spec bit is set, never clears. 46tempX_crit_alarm - Set when Out-of-spec bit is set, never clears.
40 Correct CPU operation is no longer guaranteed. 47 Correct CPU operation is no longer guaranteed.
diff --git a/Documentation/hwmon/lm25066 b/Documentation/hwmon/lm25066
new file mode 100644
index 000000000000..a21db81c4591
--- /dev/null
+++ b/Documentation/hwmon/lm25066
@@ -0,0 +1,90 @@
1Kernel driver max8688
2=====================
3
4Supported chips:
5 * National Semiconductor LM25066
6 Prefix: 'lm25066'
7 Addresses scanned: -
8 Datasheets:
9 http://www.national.com/pf/LM/LM25066.html
10 http://www.national.com/pf/LM/LM25066A.html
11 * National Semiconductor LM5064
12 Prefix: 'lm5064'
13 Addresses scanned: -
14 Datasheet:
15 http://www.national.com/pf/LM/LM5064.html
16 * National Semiconductor LM5066
17 Prefix: 'lm5066'
18 Addresses scanned: -
19 Datasheet:
20 http://www.national.com/pf/LM/LM5066.html
21
22Author: Guenter Roeck <guenter.roeck@ericsson.com>
23
24
25Description
26-----------
27
28This driver supports hardware montoring for National Semiconductor LM25066,
29LM5064, and LM5064 Power Management, Monitoring, Control, and Protection ICs.
30
31The driver is a client driver to the core PMBus driver. Please see
32Documentation/hwmon/pmbus for details on PMBus client drivers.
33
34
35Usage Notes
36-----------
37
38This driver does not auto-detect devices. You will have to instantiate the
39devices explicitly. Please see Documentation/i2c/instantiating-devices for
40details.
41
42
43Platform data support
44---------------------
45
46The driver supports standard PMBus driver platform data.
47
48
49Sysfs entries
50-------------
51
52The following attributes are supported. Limits are read-write; all other
53attributes are read-only.
54
55in1_label "vin"
56in1_input Measured input voltage.
57in1_average Average measured input voltage.
58in1_min Minimum input voltage.
59in1_max Maximum input voltage.
60in1_min_alarm Input voltage low alarm.
61in1_max_alarm Input voltage high alarm.
62
63in2_label "vout1"
64in2_input Measured output voltage.
65in2_average Average measured output voltage.
66in2_min Minimum output voltage.
67in2_min_alarm Output voltage low alarm.
68
69in3_label "vout2"
70in3_input Measured voltage on vaux pin
71
72curr1_label "iin"
73curr1_input Measured input current.
74curr1_average Average measured input current.
75curr1_max Maximum input current.
76curr1_max_alarm Input current high alarm.
77
78power1_label "pin"
79power1_input Measured input power.
80power1_average Average measured input power.
81power1_max Maximum input power limit.
82power1_alarm Input power alarm
83power1_input_highest Historical maximum power.
84power1_reset_history Write any value to reset maximum power history.
85
86temp1_input Measured temperature.
87temp1_max Maximum temperature.
88temp1_crit Critical high temperature.
89temp1_max_alarm Chip temperature high alarm.
90temp1_crit_alarm Chip temperature critical high alarm.
diff --git a/Documentation/hwmon/lm90 b/Documentation/hwmon/lm90
index f3efd18e87f4..9cd14cfe6515 100644
--- a/Documentation/hwmon/lm90
+++ b/Documentation/hwmon/lm90
@@ -113,7 +113,11 @@ Supported chips:
113 Prefix: 'w83l771' 113 Prefix: 'w83l771'
114 Addresses scanned: I2C 0x4c 114 Addresses scanned: I2C 0x4c
115 Datasheet: Not publicly available, can be requested from Nuvoton 115 Datasheet: Not publicly available, can be requested from Nuvoton
116 116 * Philips/NXP SA56004X
117 Prefix: 'sa56004'
118 Addresses scanned: I2C 0x48 through 0x4F
119 Datasheet: Publicly available at NXP website
120 http://ics.nxp.com/products/interface/datasheet/sa56004x.pdf
117 121
118Author: Jean Delvare <khali@linux-fr.org> 122Author: Jean Delvare <khali@linux-fr.org>
119 123
@@ -193,6 +197,9 @@ W83L771AWG/ASG
193 * The AWG and ASG variants only differ in package format. 197 * The AWG and ASG variants only differ in package format.
194 * Diode ideality factor configuration (remote sensor) at 0xE3 198 * Diode ideality factor configuration (remote sensor) at 0xE3
195 199
200SA56004X:
201 * Better local resolution
202
196All temperature values are given in degrees Celsius. Resolution 203All temperature values are given in degrees Celsius. Resolution
197is 1.0 degree for the local temperature, 0.125 degree for the remote 204is 1.0 degree for the local temperature, 0.125 degree for the remote
198temperature, except for the MAX6657, MAX6658 and MAX6659 which have a 205temperature, except for the MAX6657, MAX6658 and MAX6659 which have a
diff --git a/Documentation/hwmon/lm95245 b/Documentation/hwmon/lm95245
new file mode 100644
index 000000000000..cbd8aeab7124
--- /dev/null
+++ b/Documentation/hwmon/lm95245
@@ -0,0 +1,33 @@
1Kernel driver lm95245
2==================
3
4Supported chips:
5 * National Semiconductor LM95245
6 Addresses scanned: I2C 0x18, 0x19, 0x29, 0x4c, 0x4d
7 Datasheet: Publicly available at the National Semiconductor website
8 http://www.national.com/mpf/LM/LM95245.html
9
10
11Author: Alexander Stein <alexander.stein@systec-electronic.com>
12
13Description
14-----------
15
16The LM95245 is an 11-bit digital temperature sensor with a 2-wire System
17Management Bus (SMBus) interface and TruTherm technology that can monitor
18the temperature of a remote diode as well as its own temperature.
19The LM95245 can be used to very accurately monitor the temperature of
20external devices such as microprocessors.
21
22All temperature values are given in millidegrees Celsius. Local temperature
23is given within a range of -127 to +127.875 degrees. Remote temperatures are
24given within a range of -127 to +255 degrees. Resolution depends on
25temperature input and range.
26
27Each sensor has its own critical limit, but the hysteresis is common to all
28two channels.
29
30The lm95245 driver can change its update interval to a fixed set of values.
31It will round up to the next selectable interval. See the datasheet for exact
32values. Reading sensor values more often will do no harm, but will return
33'old' values.
diff --git a/Documentation/hwmon/max16064 b/Documentation/hwmon/max16064
index 41728999e142..f6e8bcbfaccf 100644
--- a/Documentation/hwmon/max16064
+++ b/Documentation/hwmon/max16064
@@ -50,6 +50,8 @@ in[1-4]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
50in[1-4]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. 50in[1-4]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
51in[1-4]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. 51in[1-4]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status.
52in[1-4]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. 52in[1-4]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status.
53in[1-4]_highest Historical maximum voltage.
54in[1-4]_reset_history Write any value to reset history.
53 55
54temp1_input Measured temperature. From READ_TEMPERATURE_1 register. 56temp1_input Measured temperature. From READ_TEMPERATURE_1 register.
55temp1_max Maximum temperature. From OT_WARN_LIMIT register. 57temp1_max Maximum temperature. From OT_WARN_LIMIT register.
@@ -60,3 +62,5 @@ temp1_max_alarm Chip temperature high alarm. Set by comparing
60temp1_crit_alarm Chip temperature critical high alarm. Set by comparing 62temp1_crit_alarm Chip temperature critical high alarm. Set by comparing
61 READ_TEMPERATURE_1 with OT_FAULT_LIMIT if TEMP_OT_FAULT 63 READ_TEMPERATURE_1 with OT_FAULT_LIMIT if TEMP_OT_FAULT
62 status is set. 64 status is set.
65temp1_highest Historical maximum temperature.
66temp1_reset_history Write any value to reset history.
diff --git a/Documentation/hwmon/max1668 b/Documentation/hwmon/max1668
new file mode 100644
index 000000000000..0616ed9758df
--- /dev/null
+++ b/Documentation/hwmon/max1668
@@ -0,0 +1,60 @@
1Kernel driver max1668
2=====================
3
4Supported chips:
5 * Maxim MAX1668, MAX1805 and MAX1989
6 Prefix: 'max1668'
7 Addresses scanned: I2C 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x4c, 0x4d, 0x4e
8 Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX1668-MAX1989.pdf
9
10Author:
11 David George <david.george@ska.ac.za>
12
13Description
14-----------
15
16This driver implements support for the Maxim MAX1668, MAX1805 and MAX1989
17chips.
18
19The three devices are very similar, but the MAX1805 has a reduced feature
20set; only two remote temperature inputs vs the four avaible on the other
21two ICs.
22
23The driver is able to distinguish between the devices and creates sysfs
24entries as follows:
25
26MAX1805, MAX1668 and MAX1989:
27
28temp1_input ro local (ambient) temperature
29temp1_max rw local temperature maximum threshold for alarm
30temp1_max_alarm ro local temperature maximum threshold alarm
31temp1_min rw local temperature minimum threshold for alarm
32temp1_min_alarm ro local temperature minimum threshold alarm
33temp2_input ro remote temperature 1
34temp2_max rw remote temperature 1 maximum threshold for alarm
35temp2_max_alarm ro remote temperature 1 maximum threshold alarm
36temp2_min rw remote temperature 1 minimum threshold for alarm
37temp2_min_alarm ro remote temperature 1 minimum threshold alarm
38temp3_input ro remote temperature 2
39temp3_max rw remote temperature 2 maximum threshold for alarm
40temp3_max_alarm ro remote temperature 2 maximum threshold alarm
41temp3_min rw remote temperature 2 minimum threshold for alarm
42temp3_min_alarm ro remote temperature 2 minimum threshold alarm
43
44MAX1668 and MAX1989 only:
45temp4_input ro remote temperature 3
46temp4_max rw remote temperature 3 maximum threshold for alarm
47temp4_max_alarm ro remote temperature 3 maximum threshold alarm
48temp4_min rw remote temperature 3 minimum threshold for alarm
49temp4_min_alarm ro remote temperature 3 minimum threshold alarm
50temp5_input ro remote temperature 4
51temp5_max rw remote temperature 4 maximum threshold for alarm
52temp5_max_alarm ro remote temperature 4 maximum threshold alarm
53temp5_min rw remote temperature 4 minimum threshold for alarm
54temp5_min_alarm ro remote temperature 4 minimum threshold alarm
55
56Module Parameters
57-----------------
58
59* read_only: int
60 Set to non-zero if you wish to prevent write access to alarm thresholds.
diff --git a/Documentation/hwmon/max34440 b/Documentation/hwmon/max34440
index 6c525dd07d59..8ab51536a1eb 100644
--- a/Documentation/hwmon/max34440
+++ b/Documentation/hwmon/max34440
@@ -56,6 +56,8 @@ in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
56in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. 56in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
57in[1-6]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. 57in[1-6]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status.
58in[1-6]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. 58in[1-6]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status.
59in[1-6]_highest Historical maximum voltage.
60in[1-6]_reset_history Write any value to reset history.
59 61
60curr[1-6]_label "iout[1-6]". 62curr[1-6]_label "iout[1-6]".
61curr[1-6]_input Measured current. From READ_IOUT register. 63curr[1-6]_input Measured current. From READ_IOUT register.
@@ -63,6 +65,8 @@ curr[1-6]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
63curr[1-6]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. 65curr[1-6]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
64curr[1-6]_max_alarm Current high alarm. From IOUT_OC_WARNING status. 66curr[1-6]_max_alarm Current high alarm. From IOUT_OC_WARNING status.
65curr[1-6]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. 67curr[1-6]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
68curr[1-6]_highest Historical maximum current.
69curr[1-6]_reset_history Write any value to reset history.
66 70
67 in6 and curr6 attributes only exist for MAX34440. 71 in6 and curr6 attributes only exist for MAX34440.
68 72
@@ -75,5 +79,7 @@ temp[1-8]_max Maximum temperature. From OT_WARN_LIMIT register.
75temp[1-8]_crit Critical high temperature. From OT_FAULT_LIMIT register. 79temp[1-8]_crit Critical high temperature. From OT_FAULT_LIMIT register.
76temp[1-8]_max_alarm Temperature high alarm. 80temp[1-8]_max_alarm Temperature high alarm.
77temp[1-8]_crit_alarm Temperature critical high alarm. 81temp[1-8]_crit_alarm Temperature critical high alarm.
82temp[1-8]_highest Historical maximum temperature.
83temp[1-8]_reset_history Write any value to reset history.
78 84
79 temp7 and temp8 attributes only exist for MAX34440. 85 temp7 and temp8 attributes only exist for MAX34440.
diff --git a/Documentation/hwmon/max8688 b/Documentation/hwmon/max8688
index 0ddd3a412030..71ed10a3c94e 100644
--- a/Documentation/hwmon/max8688
+++ b/Documentation/hwmon/max8688
@@ -50,6 +50,8 @@ in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
50in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status. 50in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
51in1_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status. 51in1_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status.
52in1_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status. 52in1_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status.
53in1_highest Historical maximum voltage.
54in1_reset_history Write any value to reset history.
53 55
54curr1_label "iout1" 56curr1_label "iout1"
55curr1_input Measured current. From READ_IOUT register. 57curr1_input Measured current. From READ_IOUT register.
@@ -57,6 +59,8 @@ curr1_max Maximum current. From IOUT_OC_WARN_LIMIT register.
57curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register. 59curr1_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
58curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register. 60curr1_max_alarm Current high alarm. From IOUT_OC_WARN_LIMIT register.
59curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status. 61curr1_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
62curr1_highest Historical maximum current.
63curr1_reset_history Write any value to reset history.
60 64
61temp1_input Measured temperature. From READ_TEMPERATURE_1 register. 65temp1_input Measured temperature. From READ_TEMPERATURE_1 register.
62temp1_max Maximum temperature. From OT_WARN_LIMIT register. 66temp1_max Maximum temperature. From OT_WARN_LIMIT register.
@@ -67,3 +71,5 @@ temp1_max_alarm Chip temperature high alarm. Set by comparing
67temp1_crit_alarm Chip temperature critical high alarm. Set by comparing 71temp1_crit_alarm Chip temperature critical high alarm. Set by comparing
68 READ_TEMPERATURE_1 with OT_FAULT_LIMIT if TEMP_OT_FAULT 72 READ_TEMPERATURE_1 with OT_FAULT_LIMIT if TEMP_OT_FAULT
69 status is set. 73 status is set.
74temp1_highest Historical maximum temperature.
75temp1_reset_history Write any value to reset history.
diff --git a/Documentation/hwmon/ntc_thermistor b/Documentation/hwmon/ntc_thermistor
new file mode 100644
index 000000000000..3bfda94096fd
--- /dev/null
+++ b/Documentation/hwmon/ntc_thermistor
@@ -0,0 +1,93 @@
1Kernel driver ntc_thermistor
2=================
3
4Supported thermistors:
5* Murata NTC Thermistors NCP15WB473, NCP18WB473, NCP21WB473, NCP03WB473, NCP15WL333
6 Prefixes: 'ncp15wb473', 'ncp18wb473', 'ncp21wb473', 'ncp03wb473', 'ncp15wl333'
7 Datasheet: Publicly available at Murata
8
9Other NTC thermistors can be supported simply by adding compensation
10tables; e.g., NCP15WL333 support is added by the table ncpXXwl333.
11
12Authors:
13 MyungJoo Ham <myungjoo.ham@samsung.com>
14
15Description
16-----------
17
18The NTC thermistor is a simple thermistor that requires users to provide the
19resistance and lookup the corresponding compensation table to get the
20temperature input.
21
22The NTC driver provides lookup tables with a linear approximation function
23and four circuit models with an option not to use any of the four models.
24
25The four circuit models provided are:
26
27 $: resister, [TH]: the thermistor
28
29 1. connect = NTC_CONNECTED_POSITIVE, pullup_ohm > 0
30
31 [pullup_uV]
32 | |
33 [TH] $ (pullup_ohm)
34 | |
35 +----+-----------------------[read_uV]
36 |
37 $ (pulldown_ohm)
38 |
39 --- (ground)
40
41 2. connect = NTC_CONNECTED_POSITIVE, pullup_ohm = 0 (not-connected)
42
43 [pullup_uV]
44 |
45 [TH]
46 |
47 +----------------------------[read_uV]
48 |
49 $ (pulldown_ohm)
50 |
51 --- (ground)
52
53 3. connect = NTC_CONNECTED_GROUND, pulldown_ohm > 0
54
55 [pullup_uV]
56 |
57 $ (pullup_ohm)
58 |
59 +----+-----------------------[read_uV]
60 | |
61 [TH] $ (pulldown_ohm)
62 | |
63 -------- (ground)
64
65 4. connect = NTC_CONNECTED_GROUND, pulldown_ohm = 0 (not-connected)
66
67 [pullup_uV]
68 |
69 $ (pullup_ohm)
70 |
71 +----------------------------[read_uV]
72 |
73 [TH]
74 |
75 --- (ground)
76
77When one of the four circuit models is used, read_uV, pullup_uV, pullup_ohm,
78pulldown_ohm, and connect should be provided. When none of the four models
79are suitable or the user can get the resistance directly, the user should
80provide read_ohm and _not_ provide the others.
81
82Sysfs Interface
83---------------
84name the mandatory global attribute, the thermistor name.
85
86temp1_type always 4 (thermistor)
87 RO
88
89temp1_input measure the temperature and provide the measured value.
90 (reading this file initiates the reading procedure.)
91 RO
92
93Note that each NTC thermistor has only _one_ thermistor; thus, only temp1 exists.
diff --git a/Documentation/hwmon/pmbus b/Documentation/hwmon/pmbus
index 5e462fc7f99b..c36c1c1a62bb 100644
--- a/Documentation/hwmon/pmbus
+++ b/Documentation/hwmon/pmbus
@@ -13,6 +13,13 @@ Supported chips:
13 Prefix: 'ltc2978' 13 Prefix: 'ltc2978'
14 Addresses scanned: - 14 Addresses scanned: -
15 Datasheet: http://cds.linear.com/docs/Datasheet/2978fa.pdf 15 Datasheet: http://cds.linear.com/docs/Datasheet/2978fa.pdf
16 * ON Semiconductor ADP4000, NCP4200, NCP4208
17 Prefixes: 'adp4000', 'ncp4200', 'ncp4208'
18 Addresses scanned: -
19 Datasheets:
20 http://www.onsemi.com/pub_link/Collateral/ADP4000-D.PDF
21 http://www.onsemi.com/pub_link/Collateral/NCP4200-D.PDF
22 http://www.onsemi.com/pub_link/Collateral/JUNE%202009-%20REV.%200.PDF
16 * Generic PMBus devices 23 * Generic PMBus devices
17 Prefix: 'pmbus' 24 Prefix: 'pmbus'
18 Addresses scanned: - 25 Addresses scanned: -
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface
index 8f63c244f1aa..a4aa8f600e09 100644
--- a/Documentation/hwmon/sysfs-interface
+++ b/Documentation/hwmon/sysfs-interface
@@ -139,6 +139,29 @@ in[0-*]_input Voltage input value.
139 thumb: drivers should report the voltage values at the 139 thumb: drivers should report the voltage values at the
140 "pins" of the chip. 140 "pins" of the chip.
141 141
142in[0-*]_average
143 Average voltage
144 Unit: millivolt
145 RO
146
147in[0-*]_lowest
148 Historical minimum voltage
149 Unit: millivolt
150 RO
151
152in[0-*]_highest
153 Historical maximum voltage
154 Unit: millivolt
155 RO
156
157in[0-*]_reset_history
158 Reset inX_lowest and inX_highest
159 WO
160
161in_reset_history
162 Reset inX_lowest and inX_highest for all sensors
163 WO
164
142in[0-*]_label Suggested voltage channel label. 165in[0-*]_label Suggested voltage channel label.
143 Text string 166 Text string
144 Should only be created if the driver has hints about what 167 Should only be created if the driver has hints about what
@@ -407,6 +430,29 @@ curr[1-*]_input Current input value
407 Unit: milliampere 430 Unit: milliampere
408 RO 431 RO
409 432
433curr[1-*]_average
434 Average current use
435 Unit: milliampere
436 RO
437
438curr[1-*]_lowest
439 Historical minimum current
440 Unit: milliampere
441 RO
442
443curr[1-*]_highest
444 Historical maximum current
445 Unit: milliampere
446 RO
447
448curr[1-*]_reset_history
449 Reset currX_lowest and currX_highest
450 WO
451
452curr_reset_history
453 Reset currX_lowest and currX_highest for all sensors
454 WO
455
410Also see the Alarms section for status flags associated with currents. 456Also see the Alarms section for status flags associated with currents.
411 457
412********* 458*********