configurations: yosemite4: Set fan current sensors max value
Set fan current sensors max value to an appropriate value.
Otherwise, fan current sensors value might remain unchanged when the fan
maintains a constant speed.
Test Case: Maxvalue is set and can be read from PSU sensor service.
Change-Id: I1b63eca5b8a16bc1babfb068ab764722f15f421d
Signed-off-by: Ian Chien <ianchien.wiwynn@gmail.com>
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 50c3122..f5ac45b 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -260,21 +260,39 @@
"iin_Name": {
"$ref": "#/definitions/Types/iin_Name"
},
+ "in0_Max": {
+ "$ref": "#/definitions/Types/in0_Max"
+ },
"in0_Name": {
"$ref": "#/definitions/Types/in0_Name"
},
+ "in1_Max": {
+ "$ref": "#/definitions/Types/in1_Max"
+ },
"in1_Name": {
"$ref": "#/definitions/Types/in1_Name"
},
+ "in2_Max": {
+ "$ref": "#/definitions/Types/in2_Max"
+ },
"in2_Name": {
"$ref": "#/definitions/Types/in2_Name"
},
+ "in3_Max": {
+ "$ref": "#/definitions/Types/in3_Max"
+ },
"in3_Name": {
"$ref": "#/definitions/Types/in3_Name"
},
+ "in4_Max": {
+ "$ref": "#/definitions/Types/in4_Max"
+ },
"in4_Name": {
"$ref": "#/definitions/Types/in4_Name"
},
+ "in5_Max": {
+ "$ref": "#/definitions/Types/in5_Max"
+ },
"in5_Name": {
"$ref": "#/definitions/Types/in5_Name"
},
@@ -284,21 +302,39 @@
"in7_Name": {
"$ref": "#/definitions/Types/in7_Name"
},
+ "in_voltage0_Max": {
+ "$ref": "#/definitions/Types/in_voltage0_Max"
+ },
"in_voltage0_Name": {
"$ref": "#/definitions/Types/in_voltage0_Name"
},
+ "in_voltage1_Max": {
+ "$ref": "#/definitions/Types/in_voltage1_Max"
+ },
"in_voltage1_Name": {
"$ref": "#/definitions/Types/in_voltage1_Name"
},
+ "in_voltage2_Max": {
+ "$ref": "#/definitions/Types/in_voltage2_Max"
+ },
"in_voltage2_Name": {
"$ref": "#/definitions/Types/in_voltage2_Name"
},
+ "in_voltage3_Max": {
+ "$ref": "#/definitions/Types/in_voltage3_Max"
+ },
"in_voltage3_Name": {
"$ref": "#/definitions/Types/in_voltage3_Name"
},
+ "in_voltage4_Max": {
+ "$ref": "#/definitions/Types/in_voltage4_Max"
+ },
"in_voltage4_Name": {
"$ref": "#/definitions/Types/in_voltage4_Name"
},
+ "in_voltage5_Max": {
+ "$ref": "#/definitions/Types/in_voltage5_Max"
+ },
"in_voltage5_Name": {
"$ref": "#/definitions/Types/in_voltage5_Name"
},
@@ -1064,21 +1100,39 @@
"iin_Name": {
"type": "string"
},
+ "in0_Max": {
+ "type": "number"
+ },
"in0_Name": {
"type": "string"
},
+ "in1_Max": {
+ "type": "number"
+ },
"in1_Name": {
"type": "string"
},
+ "in2_Max": {
+ "type": "number"
+ },
"in2_Name": {
"type": "string"
},
+ "in3_Max": {
+ "type": "number"
+ },
"in3_Name": {
"type": "string"
},
+ "in4_Max": {
+ "type": "number"
+ },
"in4_Name": {
"type": "string"
},
+ "in5_Max": {
+ "type": "number"
+ },
"in5_Name": {
"type": "string"
},
@@ -1088,21 +1142,39 @@
"in7_Name": {
"type": "string"
},
+ "in_voltage0_Max": {
+ "type": "number"
+ },
"in_voltage0_Name": {
"type": "string"
},
+ "in_voltage1_Max": {
+ "type": "number"
+ },
"in_voltage1_Name": {
"type": "string"
},
+ "in_voltage2_Max": {
+ "type": "number"
+ },
"in_voltage2_Name": {
"type": "string"
},
+ "in_voltage3_Max": {
+ "type": "number"
+ },
"in_voltage3_Name": {
"type": "string"
},
+ "in_voltage4_Max": {
+ "type": "number"
+ },
"in_voltage4_Name": {
"type": "string"
},
+ "in_voltage5_Max": {
+ "type": "number"
+ },
"in_voltage5_Name": {
"type": "string"
},