blob: 86014c425dd148be8e44258fd47f75a6ce8d421b [file] [log] [blame]
Matt Spinlerf7616bc2019-11-19 09:23:37 -06001description: >
Patrick Williamsa1347412022-12-06 10:56:22 -06002 Implement to provide host interface support. This will define the interfaces
3 using which, a OpenPower machine can communicate with host on agreed
4 commands.
Matt Spinlerf7616bc2019-11-19 09:23:37 -06005
Patrick Williamsa1347412022-12-06 10:56:22 -06006 This is for Internal use by the Firmware only. The D-Bus object is visible
7 for the REST but it must not be used.
Matt Spinlerf7616bc2019-11-19 09:23:37 -06008
9methods:
10 - name: Execute
11 description: >
12 Execute the requested command by the caller. This command will be
13 processed in first in first out order. See the Command enum
14 description below for details on all supported commands.
15 parameters:
16 - name: command
17 type: enum[self.Command]
18 description: Requested command to execute against the host
19 - name: data
20 type: variant[byte]
21 description: Data associated with the command.
22
23signals:
24 - name: CommandComplete
25 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050026 Signal indicating that a command has completed
Matt Spinlerf7616bc2019-11-19 09:23:37 -060027 properties:
Patrick Williams8da396c2022-03-14 14:21:02 -050028 - name: command
29 type: enum[self.Command]
30 description: Executed command
31 - name: result
32 type: enum[self.Result]
33 description: Result of the command execution
Matt Spinlerf7616bc2019-11-19 09:23:37 -060034
35enumerations:
36 - name: Command
37 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050038 The command to execute against the host
Matt Spinlerf7616bc2019-11-19 09:23:37 -060039 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050040 - name: OCCReset
41 description: >
Patrick Williamsa1347412022-12-06 10:56:22 -060042 Host firmware should reset the OCC. This is invoked by OCC error
43 monitor application on detecting the error. Sensor ID of the
44 failing OCC will be sent as data. This command will return once
45 the command has been placed in command Queue.
Matt Spinlerf7616bc2019-11-19 09:23:37 -060046
47 - name: Result
48 description: >
Patrick Williams8da396c2022-03-14 14:21:02 -050049 The result of the command execution
Matt Spinlerf7616bc2019-11-19 09:23:37 -060050 values:
Patrick Williams8da396c2022-03-14 14:21:02 -050051 - name: Success
52 description: Command execution was a success
53 - name: Failure
54 description: Command execution was a failure