Add interface for sending raw PECI commands
This adds a D-Bus interface to send raw PECI commands to the
CPU.
Change-Id: I37c8c0b9fc713705b3afc81adca22ca313e91701
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
diff --git a/yaml/com/intel/Protocol/PECI/Raw.interface.yaml b/yaml/com/intel/Protocol/PECI/Raw.interface.yaml
new file mode 100644
index 0000000..9b8d071
--- /dev/null
+++ b/yaml/com/intel/Protocol/PECI/Raw.interface.yaml
@@ -0,0 +1,25 @@
+description: >
+ Implement to provide D-Bus raw PECI access to the CPU.
+
+methods:
+ - name: Send
+ description: >
+ Send raw PECI command(s) to the CPU
+ parameters:
+ - name: device
+ type: string
+ description: >
+ The path for the PECI device to use for the command
+ - name: commands
+ type: array[array[byte]]
+ description: >
+ An array of byte arrays where each byte array holds the raw
+ bytes for a single PECI command. The larger array allows
+ sending multiple PECI commands in a single transaction.
+ returns:
+ - name: results
+ type: array[array[byte]]
+ description: >
+ An array of byte arrays where each byte array holds the raw
+ bytes for a single PECI response corresponding to the command
+ in the command array.