configurations: harma_mb: Add Power State
The MB_P1V8_CPU_RT_VOLT_V is DC sensor, so
add power status to avoid touch threshold.
Change-Id: Idfa1def185e1886f436ff7c9268845cb95963d35
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
diff --git a/configurations/harma_mb.json b/configurations/harma_mb.json
index dfc133d..89f8e99 100644
--- a/configurations/harma_mb.json
+++ b/configurations/harma_mb.json
@@ -220,15 +220,21 @@
],
"Type": "ADC128D818",
"in0_Name": "MB_P12V_MEM0_VOLT_V",
+ "in0_PowerState": "Always",
"in0_Scale": 151.515151515,
"in1_Name": "MB_P5V_STBY_VOLT_V",
+ "in1_PowerState": "Always",
"in1_Scale": 281.29395218,
"in2_Name": "MB_PVDD33_S5_VOLT_V",
+ "in2_PowerState": "Always",
"in2_Scale": 500,
"in3_Name": "MB_P1V8_STBY_VOLT_V",
+ "in3_PowerState": "Always",
"in4_Name": "MB_P12V_MEM1_VOLT_V",
+ "in4_PowerState": "Always",
"in4_Scale": 151.515151515,
- "in5_Name": "MB_P1V8_CPU_RT_VOLT_V"
+ "in5_Name": "MB_P1V8_CPU_RT_VOLT_V",
+ "in5_PowerState": "On"
},
{
"Address": "$address",
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 8f87057..85e41a6 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -278,6 +278,30 @@
"in7_Name": {
"$ref": "#/definitions/Types/in7_Name"
},
+ "in0_PowerState": {
+ "$ref": "#/definitions/Types/in0_PowerState"
+ },
+ "in1_PowerState": {
+ "$ref": "#/definitions/Types/in1_PowerState"
+ },
+ "in2_PowerState": {
+ "$ref": "#/definitions/Types/in2_PowerState"
+ },
+ "in3_PowerState": {
+ "$ref": "#/definitions/Types/in3_PowerState"
+ },
+ "in4_PowerState": {
+ "$ref": "#/definitions/Types/in4_PowerState"
+ },
+ "in5_PowerState": {
+ "$ref": "#/definitions/Types/in5_PowerState"
+ },
+ "in6_PowerState": {
+ "$ref": "#/definitions/Types/in6_PowerState"
+ },
+ "in7_PowerState": {
+ "$ref": "#/definitions/Types/in7_PowerState"
+ },
"curr1_Name": {
"$ref": "#/definitions/Types/curr1_Name"
},
@@ -1004,6 +1028,30 @@
"in7_Name": {
"type": "string"
},
+ "in0_PowerState": {
+ "type": "string"
+ },
+ "in1_PowerState": {
+ "type": "string"
+ },
+ "in2_PowerState": {
+ "type": "string"
+ },
+ "in3_PowerState": {
+ "type": "string"
+ },
+ "in4_PowerState": {
+ "type": "string"
+ },
+ "in5_PowerState": {
+ "type": "string"
+ },
+ "in6_PowerState": {
+ "type": "string"
+ },
+ "in7_PowerState": {
+ "type": "string"
+ },
"curr1_Name": {
"type": "string"
},