From 3481d728ee10aca4f31a21697cd4e2a598387e0d Mon Sep 17 00:00:00 2001 From: Brandon Kim Date: Thu, 23 Sep 2021 21:02:27 -0700 Subject: 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 Change-Id: Ia60a87de0d9e3e97dbb03b1f8fb4e9fba32f87a6 --- .../chassis/x86-power-control/power-config-host0.json | 18 ++++++++++++------ 1 file 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" } ] } -- cgit v1.2.3