diff options
author | Leonel Gonzalez <lgonzalez@us.ibm.com> | 2017-07-27 16:15:11 -0500 |
---|---|---|
committer | Leonel Gonzalez <lgonzalez@us.ibm.com> | 2017-09-08 14:02:40 -0500 |
commit | 5cd1a433f48c659dbebc1c31840890ba29f4fe16 (patch) | |
tree | c58f89591300f901a4bf80d256591a6b02a94480 /xyz/openbmc_project/Mboxd | |
parent | 6e6aa3a9e20fd43935acaf5679553ff8fcbcd6c7 (diff) | |
download | phosphor-mboxd-5cd1a433f48c659dbebc1c31840890ba29f4fe16.tar.gz phosphor-mboxd-5cd1a433f48c659dbebc1c31840890ba29f4fe16.zip |
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>
Diffstat (limited to 'xyz/openbmc_project/Mboxd')
-rw-r--r-- | xyz/openbmc_project/Mboxd/Internal/Manager.interface.yaml | 59 |
1 files changed, 59 insertions, 0 deletions
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. + |