meta-quanta: gbs: Update power-config-host0.json
With a recent x86-power-control update, the json file to be parsed is
expected to have a "Polarity" field.
Add the same "Polarity" values for the existing fields.
Reference: https://github.com/openbmc/x86-power-control/commit/50937e7339db744f765efdc3cc58f3d0c5976601
Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Ia60a87de0d9e3e97dbb03b1f8fb4e9fba32f87a6
diff --git a/meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control/power-config-host0.json b/meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control/power-config-host0.json
index 5c32a3a..2537fc3 100644
--- a/meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control/power-config-host0.json
+++ b/meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control/power-config-host0.json
@@ -3,32 +3,38 @@
{
"Name" : "PostComplete",
"LineName" : "POST_COMPLETE",
- "Type" : "GPIO"
+ "Type" : "GPIO",
+ "Polarity" : "ActiveLow"
},
{
"Name" : "PowerButton",
"LineName" : "POWER_BUTTON",
- "Type" : "GPIO"
+ "Type" : "GPIO",
+ "Polarity" : "ActiveLow"
},
{
"Name" : "PowerOk",
"LineName" : "PS_PWROK",
- "Type" : "GPIO"
+ "Type" : "GPIO",
+ "Polarity" : "ActiveHigh"
},
{
"Name" : "PowerOut",
"LineName" : "POWER_OUT",
- "Type" : "GPIO"
+ "Type" : "GPIO",
+ "Polarity" : "ActiveLow"
},
{
"Name" : "ResetButton",
"LineName" : "RESET_BUTTON",
- "Type" : "GPIO"
+ "Type" : "GPIO",
+ "Polarity" : "ActiveLow"
},
{
"Name" : "ResetOut",
"LineName" : "RESET_OUT",
- "Type" : "GPIO"
+ "Type" : "GPIO",
+ "Polarity" : "ActiveLow"
}
]
}