Commit f46fc8cd382f318a7d9c6cd0af1b771c74e5dfd0

Authored by Guenter Roeck
Committed by Jean Delvare
1 parent 28cbd461f0

hwmon: Add 3 critical limit attributes to sysfs-interface

Added _lcrit and _crit to voltage attributes.
Added _lcrit to temperature attributes.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>

Showing 1 changed file with 20 additions and 1 deletions Side-by-side Diff

Documentation/hwmon/sysfs-interface
... ... @@ -107,10 +107,24 @@
107 107 Unit: millivolt
108 108 RW
109 109  
  110 +in[0-*]_lcrit Voltage critical min value.
  111 + Unit: millivolt
  112 + RW
  113 + If voltage drops to or below this limit, the system may
  114 + take drastic action such as power down or reset. At the very
  115 + least, it should report a fault.
  116 +
110 117 in[0-*]_max Voltage max value.
111 118 Unit: millivolt
112 119 RW
113 120  
  121 +in[0-*]_crit Voltage critical max value.
  122 + Unit: millivolt
  123 + RW
  124 + If voltage reaches or exceeds this limit, the system may
  125 + take drastic action such as power down or reset. At the very
  126 + least, it should report a fault.
  127 +
114 128 in[0-*]_input Voltage input value.
115 129 Unit: millivolt
116 130 RO
... ... @@ -284,7 +298,7 @@
284 298 Unit: millidegree Celsius
285 299 RO
286 300  
287   -temp[1-*]_crit Temperature critical value, typically greater than
  301 +temp[1-*]_crit Temperature critical max value, typically greater than
288 302 corresponding temp_max values.
289 303 Unit: millidegree Celsius
290 304 RW
... ... @@ -294,6 +308,11 @@
294 308 Unit: millidegree Celsius
295 309 Must be reported as an absolute temperature, NOT a delta
296 310 from the critical value.
  311 + RW
  312 +
  313 +temp[1-*]_lcrit Temperature critical min value, typically lower than
  314 + corresponding temp_min values.
  315 + Unit: millidegree Celsius
297 316 RW
298 317  
299 318 temp[1-*]_offset