summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Kim <brandonkim@google.com>2021-09-24 07:02:27 +0300
committerBrandon Kim <brandonkim@google.com>2021-09-24 07:04:48 +0300
commit3481d728ee10aca4f31a21697cd4e2a598387e0d (patch)
treebfbfd2f391d70a21d1dc2ddba06365ed692aa7ad
parent98f38d4c8d94db6fe6156e87bbe37b2c0cf64f4d (diff)
downloadopenbmc-3481d728ee10aca4f31a21697cd4e2a598387e0d.tar.xz
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
-rw-r--r--meta-quanta/meta-gbs/recipes-x86/chassis/x86-power-control/power-config-host0.json18
1 files changed, 12 insertions, 6 deletions
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 5c32a3a66..2537fc39b 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"
}
]
}