File tree 3 files changed +12
-0
lines changed
Documentation/ABI/testing
3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,15 @@ Description:
149
149
150
150
RW
151
151
152
+ What: /sys/class/hwmon/hwmonX/inY_fault
153
+ Description:
154
+ Reports a voltage hard failure (eg: shorted component)
155
+
156
+ - 1: Failed
157
+ - 0: Ok
158
+
159
+ RO
160
+
152
161
What: /sys/class/hwmon/hwmonX/cpuY_vid
153
162
Description:
154
163
CPU core reference voltage.
Original file line number Diff line number Diff line change @@ -510,6 +510,7 @@ static const char * const hwmon_in_attr_templates[] = {
510
510
[hwmon_in_rated_min ] = "in%d_rated_min" ,
511
511
[hwmon_in_rated_max ] = "in%d_rated_max" ,
512
512
[hwmon_in_beep ] = "in%d_beep" ,
513
+ [hwmon_in_fault ] = "in%d_fault" ,
513
514
};
514
515
515
516
static const char * const hwmon_curr_attr_templates [] = {
Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ enum hwmon_in_attributes {
141
141
hwmon_in_rated_min ,
142
142
hwmon_in_rated_max ,
143
143
hwmon_in_beep ,
144
+ hwmon_in_fault ,
144
145
};
145
146
146
147
#define HWMON_I_ENABLE BIT(hwmon_in_enable)
@@ -162,6 +163,7 @@ enum hwmon_in_attributes {
162
163
#define HWMON_I_RATED_MIN BIT(hwmon_in_rated_min)
163
164
#define HWMON_I_RATED_MAX BIT(hwmon_in_rated_max)
164
165
#define HWMON_I_BEEP BIT(hwmon_in_beep)
166
+ #define HWMON_I_FAULT BIT(hwmon_in_fault)
165
167
166
168
enum hwmon_curr_attributes {
167
169
hwmon_curr_enable ,
You can’t perform that action at this time.
0 commit comments