提交 f46fc8cd 编写于 作者: G Guenter Roeck 提交者: Jean Delvare

hwmon: Add 3 critical limit attributes to sysfs-interface

Added _lcrit and _crit to voltage attributes. 
Added _lcrit to temperature attributes.
Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: NJean Delvare <khali@linux-fr.org>
上级 28cbd461
...@@ -107,10 +107,24 @@ in[0-*]_min Voltage min value. ...@@ -107,10 +107,24 @@ in[0-*]_min Voltage min value.
Unit: millivolt Unit: millivolt
RW RW
in[0-*]_lcrit Voltage critical min value.
Unit: millivolt
RW
If voltage drops to or below this limit, the system may
take drastic action such as power down or reset. At the very
least, it should report a fault.
in[0-*]_max Voltage max value. in[0-*]_max Voltage max value.
Unit: millivolt Unit: millivolt
RW RW
in[0-*]_crit Voltage critical max value.
Unit: millivolt
RW
If voltage reaches or exceeds this limit, the system may
take drastic action such as power down or reset. At the very
least, it should report a fault.
in[0-*]_input Voltage input value. in[0-*]_input Voltage input value.
Unit: millivolt Unit: millivolt
RO RO
...@@ -284,7 +298,7 @@ temp[1-*]_input Temperature input value. ...@@ -284,7 +298,7 @@ temp[1-*]_input Temperature input value.
Unit: millidegree Celsius Unit: millidegree Celsius
RO RO
temp[1-*]_crit Temperature critical value, typically greater than temp[1-*]_crit Temperature critical max value, typically greater than
corresponding temp_max values. corresponding temp_max values.
Unit: millidegree Celsius Unit: millidegree Celsius
RW RW
...@@ -296,6 +310,11 @@ temp[1-*]_crit_hyst ...@@ -296,6 +310,11 @@ temp[1-*]_crit_hyst
from the critical value. from the critical value.
RW RW
temp[1-*]_lcrit Temperature critical min value, typically lower than
corresponding temp_min values.
Unit: millidegree Celsius
RW
temp[1-*]_offset temp[1-*]_offset
Temperature offset which is added to the temperature reading Temperature offset which is added to the temperature reading
by the chip. by the chip.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册