meta-facebook: harma: add post debug card presence pin
Add post debug card presence pin in phosphor-multi-gpio-monitor service
TestPlan:
root@bmc:~# busctl tree xyz.openbmc_project.Inventory.Manager
└─ /xyz/openbmc_project/inventory/system/board/Harma_MB
├─ /xyz/openbmc_project/inventory/system/board/Harma_MB/presence_asic_modules_0
├─ /xyz/openbmc_project/inventory/system/board/Harma_MB/presence_asic_modules_1
├─ /xyz/openbmc_project/inventory/system/board/Harma_MB/presence_e1s_0
├─ /xyz/openbmc_project/inventory/system/board/Harma_MB/presence_e1s_1
├─ /xyz/openbmc_project/inventory/system/board/Harma_MB/presence_ocp_0
└─ /xyz/openbmc_project/inventory/system/board/Harma_MB/presence_post_card
Change-Id: Id5dd4065ae1bb860f7a164d7ea3bfb49065efe8f
Signed-off-by: Peter Yin <peter.yin@quantatw.com>
diff --git a/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-monitor.json b/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-monitor.json
index fa5af7d..8ccfccd 100644
--- a/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-monitor.json
+++ b/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-monitor.json
@@ -23,17 +23,6 @@
"Continue": true
},
{
- "Name": "presence-post-card",
- "ChipId": "0",
- "GpioNum": 206,
- "EventMon": "BOTH",
- "Targets": {
- "RISING": ["deassert-gpio-log@presence-post-card.service"],
- "FALLING": ["assert-gpio-log@presence-post-card.service"]
- },
- "Continue": true
- },
- {
"Name": "ac-power-button",
"ChipId": "1",
"GpioNum": 0,
diff --git a/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-presence.json b/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-presence.json
index d406147..d1d7e6e 100644
--- a/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-presence.json
+++ b/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/plat-phosphor-multi-gpio-presence.json
@@ -33,5 +33,12 @@
"ActiveLow": true,
"Bias": "DISABLE",
"Inventory": "/system/board/Harma_MB/presence_asic_modules_1"
+ },
+ {
+ "Name": "presence-post-card",
+ "LineName": "presence-post-card",
+ "ActiveLow": true,
+ "Bias": "DISABLE",
+ "Inventory": "/system/board/Harma_MB/presence_post_card"
}
-]
\ No newline at end of file
+]