From ca1ba3ae07328386bc2ef188859e60af400e1e83 Mon Sep 17 00:00:00 2001
From: Anuj Agrawal <anuj.agrawal@intel.com>
Date: Thu, 23 Jun 2022 07:40:08 +0000
Subject: [PATCH] Post Complete Signal Handling

1.PostComplete Signal handling is changed from GPIO-based to Dbus-based.
2. Removed the WorkAround patch.

Tested: Tested on AVC, Property is changing as expected.

Signed-off-by: Anuj Agrawal <anuj.agrawal@intel.com>
Upstream-Status: Pending
---
 config/power-config-host0.json | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/config/power-config-host0.json b/config/power-config-host0.json
index 3224457..b655692 100644
--- a/config/power-config-host0.json
+++ b/config/power-config-host0.json
@@ -21,8 +21,11 @@
         {
             "Name": "PostComplete",
             "LineName": "POST_COMPLETE",
-            "Type": "GPIO",
-            "Polarity": "ActiveLow"
+            "Type" : "DBUS",
+            "DbusName" : "xyz.openbmc_project.Host.Misc.Manager",
+            "Path" : "/xyz/openbmc_project/misc/platform_state",
+            "Interface" : "xyz.openbmc_project.State.Host.Misc",
+            "Property" : "PostComplete"
         },
         {
             "Name": "PowerButton",
-- 
2.17.1

