From 7ba5b75f8c820ae3e1de0cc6977cd667b435d8ec Mon Sep 17 00:00:00 2001 From: George Hung Date: Mon, 26 Jul 2021 13:43:33 +0800 Subject: meta-quanta: gbs: update x86-power-control json config https://gerrit.openbmc-project.xyz/36528 brought in a new change in the json, so update to the latest format for power-config-host0.json Signed-off-by: George Hung Change-Id: I2fa800eda63adda765b032c2d5d02186654349cb --- .../x86-power-control/power-config-host0.json | 40 +++++++++++++++++----- 1 file changed, 32 insertions(+), 8 deletions(-) (limited to 'meta-quanta') 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 5916ccc72..5c32a3a66 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 @@ -1,10 +1,34 @@ { - "gpio_configs":{ - "PostComplete": "POST_COMPLETE", - "PwrButton": "POWER_BUTTON", - "PwrOK": "PS_PWROK", - "PwrOut": "POWER_OUT", - "RstButton": "RESET_BUTTON", - "RstOut": "RESET_OUT" - } + "gpio_configs":[ + { + "Name" : "PostComplete", + "LineName" : "POST_COMPLETE", + "Type" : "GPIO" + }, + { + "Name" : "PowerButton", + "LineName" : "POWER_BUTTON", + "Type" : "GPIO" + }, + { + "Name" : "PowerOk", + "LineName" : "PS_PWROK", + "Type" : "GPIO" + }, + { + "Name" : "PowerOut", + "LineName" : "POWER_OUT", + "Type" : "GPIO" + }, + { + "Name" : "ResetButton", + "LineName" : "RESET_BUTTON", + "Type" : "GPIO" + }, + { + "Name" : "ResetOut", + "LineName" : "RESET_OUT", + "Type" : "GPIO" + } + ] } -- cgit v1.2.3