Configuration: Add GPIODeviceDetect interface

configuration interface for gpio-presence daemon.

As defined in the design document for gpio hw inventory [1]

References:
[1] https://github.com/openbmc/docs/blob/abbf7355231fbd9d5231e136780c167f2a89494e/designs/inventory/gpio-based-hardware-inventory.md

Change-Id: I01b002623125de258366779a656592c0840a6d89
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/yaml/xyz/openbmc_project/Configuration/GPIODeviceDetect.interface.yaml b/yaml/xyz/openbmc_project/Configuration/GPIODeviceDetect.interface.yaml
new file mode 100644
index 0000000..fad8661
--- /dev/null
+++ b/yaml/xyz/openbmc_project/Configuration/GPIODeviceDetect.interface.yaml
@@ -0,0 +1,18 @@
+description: >
+    Information to enable a daemon to probe hardware based on gpio values
+properties:
+    - name: Name
+      type: string
+      description: >
+          Used by entity-manager to identify which hw was detected. For internal
+          use by entity-manager.
+    - name: PresencePinNames
+      type: array[string]
+      description: >
+          Names of the gpio lines.
+    - name: PresencePinValues
+      type: array[uint64]
+      description: >
+          Values of the gpio lines for which a device is considered present.
+          Choosing 'uint64' instead of 'bool' here for compatibility with how EM
+          exposes configuration on dbus.