Inventory: Add type attribute to Item.Accelerator interface

Inventory accelerator items can report their processor type
via management APIs like Redfish.
For this purpose, this commit adds following property:

1. Type - The string identifies the type of processor in
          the socket.

Signed-off-by: Sharad Yadav <sharady@nvidia.com>
Change-Id: I0e27ddc2fe4c2115ca134091ff9de38c35423a55
diff --git a/yaml/xyz/openbmc_project/Inventory/Item/Accelerator.interface.yaml b/yaml/xyz/openbmc_project/Inventory/Item/Accelerator.interface.yaml
index 5a44913..3bb3a01 100644
--- a/yaml/xyz/openbmc_project/Inventory/Item/Accelerator.interface.yaml
+++ b/yaml/xyz/openbmc_project/Inventory/Item/Accelerator.interface.yaml
@@ -3,3 +3,28 @@
     accelerator used to perform some functions more efficiently than is
     possible in software running on a general-purpose CPU. Examples of
     possible hardware accelerators include: GPUs, FPGAs, and ASICs.
+
+properties:
+    - name: Type
+      type: enum[self.AcceleratorType]
+      default: 'Unknown'
+      description: >
+          The type of accelerator.
+
+enumerations:
+    - name: AcceleratorType
+      description: >
+          Possible accelerator type
+      values:
+        - name: 'ASIC'
+          description: >
+              An ASIC.
+        - name: 'FPGA'
+          description: >
+              An FPGA.
+        - name: 'GPU'
+          description: >
+              A GPU.
+        - name: 'Unknown'
+          description: >
+              An unknown type.