meta-yosemiteV2:Fix x86-power-ctrl config files
Corrected invalid gpio configurations for YosemiteV2.
Dbus based gpio config change due code logic change
in ipmbgpiosensor.
Signed-off-by: Logananth Sundararaj <logananth.s@hcl.com>
Change-Id: I8bafd6b077471ef9910954d1342274fc075274fa
diff --git a/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host1.json b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host1.json
index 8c8379e..708f957 100644
--- a/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host1.json
+++ b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host1.json
@@ -31,7 +31,7 @@
{
"Name" : "PowerOk",
"DbusName" : "xyz.openbmc_project.IpmbSensor",
- "Path" : "/xyz/openbmc_project/gpio/volt/1_CPU_Good",
+ "Path" : "/xyz/openbmc_project/gpio/ipmbGpioState/1_CPU_Good",
"Interface" : "xyz.openbmc_project.Chassis.Control.Power",
"Property" : "PGood",
"Type" : "DBUS"
diff --git a/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host2.json b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host2.json
index ebf7bf0..2455c62 100644
--- a/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host2.json
+++ b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host2.json
@@ -2,28 +2,28 @@
"gpio_configs":[
{
"Name" : "PostComplete",
- "LineName" : "POST_COMPLETE",
+ "LineName" : "POST_COMPLETE2",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "SlotPower",
- "LineName" : "SLOT1_POWER",
+ "LineName" : "SLOT2_POWER",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOut",
- "LineName" : "POWER_OUT1",
+ "LineName" : "POWER_OUT2",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "ResetOut",
- "LineName" : "RESET_OUT1",
+ "LineName" : "RESET_OUT2",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
@@ -31,7 +31,7 @@
{
"Name" : "PowerOk",
"DbusName" : "xyz.openbmc_project.IpmbSensor",
- "Path" : "/xyz/openbmc_project/gpio/volt/2_CPU_Good",
+ "Path" : "/xyz/openbmc_project/gpio/ipmbGpioState/2_CPU_Good",
"Interface" : "xyz.openbmc_project.Chassis.Control.Power",
"Property" : "PGood",
"Type" : "DBUS"
diff --git a/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host3.json b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host3.json
index 3631dc3..66077a2 100644
--- a/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host3.json
+++ b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host3.json
@@ -2,28 +2,28 @@
"gpio_configs":[
{
"Name" : "PostComplete",
- "LineName" : "POST_COMPLETE",
+ "LineName" : "POST_COMPLETE3",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "SlotPower",
- "LineName" : "SLOT1_POWER",
+ "LineName" : "SLOT3_POWER",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOut",
- "LineName" : "POWER_OUT1",
+ "LineName" : "POWER_OUT3",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "ResetOut",
- "LineName" : "RESET_OUT1",
+ "LineName" : "RESET_OUT3",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
@@ -31,7 +31,7 @@
{
"Name" : "PowerOk",
"DbusName" : "xyz.openbmc_project.IpmbSensor",
- "Path" : "/xyz/openbmc_project/gpio/volt/3_CPU_Good",
+ "Path" : "/xyz/openbmc_project/gpio/ipmbGpioState/3_CPU_Good",
"Interface" : "xyz.openbmc_project.Chassis.Control.Power",
"Property" : "PGood",
"Type" : "DBUS"
diff --git a/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host4.json b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host4.json
index dac58ae..0e7bc3c 100644
--- a/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host4.json
+++ b/meta-facebook/recipes-x86/chassis/x86-power-control/yosemitev2/power-config-host4.json
@@ -2,28 +2,28 @@
"gpio_configs":[
{
"Name" : "PostComplete",
- "LineName" : "POST_COMPLETE",
+ "LineName" : "POST_COMPLETE4",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "SlotPower",
- "LineName" : "SLOT1_POWER",
+ "LineName" : "SLOT4_POWER",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOut",
- "LineName" : "POWER_OUT1",
+ "LineName" : "POWER_OUT4",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "ResetOut",
- "LineName" : "RESET_OUT1",
+ "LineName" : "RESET_OUT4",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
@@ -31,7 +31,7 @@
{
"Name" : "PowerOk",
"DbusName" : "xyz.openbmc_project.IpmbSensor",
- "Path" : "/xyz/openbmc_project/gpio/volt/4_CPU_Good",
+ "Path" : "/xyz/openbmc_project/gpio/ipmbGpioState/4_CPU_Good",
"Interface" : "xyz.openbmc_project.Chassis.Control.Power",
"Property" : "PGood",
"Type" : "DBUS"