Add mgnt/spider/medusa board sensors for Yosemite 4
- Configure the following type sensors:
- adm1272
- adm1281
- adc128d818
- aspeed adc
- ina233
- pmbus
- tmp75
- tmp421
- Revise condition to probe json config for entity-manager
Tested:
- Read sensors from entity-manager through dbus
Change-Id: I7d4d8e94aab5f1cbca281e32deab958b593a6930
Signed-off-by: Delphine CC Chiu <Delphine_CC_Chiu@wiwynn.com>
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 86dd16d..b010d07 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -264,6 +264,21 @@
"in2_Name": {
"$ref": "#/definitions/Types/in2_Name"
},
+ "in3_Name": {
+ "$ref": "#/definitions/Types/in3_Name"
+ },
+ "in4_Name": {
+ "$ref": "#/definitions/Types/in4_Name"
+ },
+ "in5_Name": {
+ "$ref": "#/definitions/Types/in5_Name"
+ },
+ "in6_Name": {
+ "$ref": "#/definitions/Types/in6_Name"
+ },
+ "in7_Name": {
+ "$ref": "#/definitions/Types/in7_Name"
+ },
"curr1_Name": {
"$ref": "#/definitions/Types/curr1_Name"
},
@@ -561,6 +576,30 @@
"iout1_Scale": {
"$ref": "#/definitions/Types/iout1_Scale"
},
+ "in0_Scale": {
+ "$ref": "#/definitions/Types/in0_Scale"
+ },
+ "in1_Scale": {
+ "$ref": "#/definitions/Types/in1_Scale"
+ },
+ "in2_Scale": {
+ "$ref": "#/definitions/Types/in2_Scale"
+ },
+ "in3_Scale": {
+ "$ref": "#/definitions/Types/in3_Scale"
+ },
+ "in4_Scale": {
+ "$ref": "#/definitions/Types/in4_Scale"
+ },
+ "in5_Scale": {
+ "$ref": "#/definitions/Types/in5_Scale"
+ },
+ "in6_Scale": {
+ "$ref": "#/definitions/Types/in6_Scale"
+ },
+ "in7_Scale": {
+ "$ref": "#/definitions/Types/in7_Scale"
+ },
"PollRate": {
"$ref": "#/definitions/Types/PollRate"
},
@@ -903,6 +942,21 @@
"in2_Name": {
"type": "string"
},
+ "in3_Name": {
+ "type": "string"
+ },
+ "in4_Name": {
+ "type": "string"
+ },
+ "in5_Name": {
+ "type": "string"
+ },
+ "in6_Name": {
+ "type": "string"
+ },
+ "in7_Name": {
+ "type": "string"
+ },
"curr1_Name": {
"type": "string"
},
@@ -1200,6 +1254,30 @@
"iout1_Scale": {
"type": "number"
},
+ "in0_Scale": {
+ "type": "number"
+ },
+ "in1_Scale": {
+ "type": "number"
+ },
+ "in2_Scale": {
+ "type": "number"
+ },
+ "in3_Scale": {
+ "type": "number"
+ },
+ "in4_Scale": {
+ "type": "number"
+ },
+ "in5_Scale": {
+ "type": "number"
+ },
+ "in6_Scale": {
+ "type": "number"
+ },
+ "in7_Scale": {
+ "type": "number"
+ },
"PollRate": {
"type": "number"
},