Add phosphor-multi-gpio-presence
The new service works like phosphor-gpio-presence, but uses libgpiod
and can monitor an arbitrary amount of GPIOs.
The driver loading feature hasn't been ported to the new service.
Change-Id: I412345f804208e48eec40ec020b3a0d8f668a34b
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
diff --git a/phosphor-multi-gpio-presence.json b/phosphor-multi-gpio-presence.json
new file mode 100644
index 0000000..65b5283
--- /dev/null
+++ b/phosphor-multi-gpio-presence.json
@@ -0,0 +1,16 @@
+[
+ {
+ "Name": "DIMM A0",
+ "LineName": "POWER_BUTTON",
+ "Inventory": "/system/chassis/motherboard/dimm_a0"
+ },
+ {
+ "Name": "Powersupply 0",
+ "ChipId": "0",
+ "GpioNum": 14,
+ "Inventory": "/system/chassis/motherboard/powersupply0",
+ "ActiveLow": true,
+ "Bias": "PULL_UP",
+ "ExtraInterfaces": ["xyz.openbmc_project.Inventory.Item.PowerSupply"]
+ }
+]