phosphor-mboxd: Define mboxd dbus properties and methods

Defines the mboxd yaml file, as the first change
to allow phosphor-mboxd to use sdbusplus.
Modifies gitignore to ignore mboxd binary but not
the mboxd directory in the yaml's path.
Describes the xyz.openbmc_project.Mboxd interface

Change-Id: Iec2876b93b5152b1fafdbefce277fcf64b9525f8
Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
diff --git a/.gitignore b/.gitignore
index 9523617..e87701d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,7 +47,7 @@
 Makefile
 .deps
 arm-openbmc-linux-gnueabi-libtool
-mboxd
+/mboxd
 mboxctl
 cscope.out
 /test/*.o
diff --git a/xyz/openbmc_project/Mboxd/Internal/Manager.interface.yaml b/xyz/openbmc_project/Mboxd/Internal/Manager.interface.yaml
new file mode 100644
index 0000000..a52bc48
--- /dev/null
+++ b/xyz/openbmc_project/Mboxd/Internal/Manager.interface.yaml
@@ -0,0 +1,59 @@
+description: >
+    Implement to provide mailbox daemon management features.
+properties:
+    - name: State
+      type: enum[self.States]
+      description: >
+        The state of the mailbox daemon.
+properties:
+    - name: LPC
+      type: enum[self.LPC]
+      description: >
+        The state of the LPC bus mapping.
+methods:
+    - name: Reset
+      description: >
+        Reset the mailbox daemon.
+    - name: Suspend
+      description: >
+        Suspend the daemon to inhibit it from performing flash accesses.
+    - name: Resume
+      description: >
+        Activate the daemon to allow it to perform flash accesses.
+      parameters:
+        - name: FlashModified
+          type: boolean
+          description: >
+            Indicates if flash was modified.
+    - name: ClearCache
+      description: >
+        Direct the daemon to clear its cache since the data source has been modified.
+    - name: Kill
+      description: >
+        Stop the mailbox daemon.
+
+enumerations:
+    - name: States
+      description: >
+        The possible mailbox daemon states.
+      values:
+          - name: Active
+            description: >
+              The daemon is active and flash access is allowed.
+          - name: Suspended
+            description: >
+              The daemon is suspended and flash access is not allowed.
+    - name: LPC
+      description: >
+        The possible LPC bus mapping states.
+      values:
+          - name: Invalid
+            description: >
+              The LPC bus mapping is in an invalid state.
+          - name: Flash
+            description: >
+              The LPC bus mapping points to flash directly.
+          - name: Memory
+            description: >
+              The LPC bus mapping points to memory.
+