diff options
author | Deepak Kodihalli <dkodihal@in.ibm.com> | 2017-03-06 00:16:46 -0600 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-03-09 21:52:41 +0000 |
commit | 2878f3e1eb40363984a557b56a480b3ce00d6be1 (patch) | |
tree | 4943808647006d65149d18afa88056d4c8561b16 /xyz/openbmc_project/Common | |
parent | bd33f31a3b8aa7be1b21c7359f7b6abf1b4eff29 (diff) | |
download | phosphor-dbus-interfaces-2878f3e1eb40363984a557b56a480b3ce00d6be1.tar.gz phosphor-dbus-interfaces-2878f3e1eb40363984a557b56a480b3ce00d6be1.zip |
Move callout error definitions
Move callout error definitions from xyz/openbmc_project/Error/Callout to
xyz/openbmc_project/Common.
Change-Id: I29d1c63f8f82e867993a8f901a4e3b7b3812ce00
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'xyz/openbmc_project/Common')
-rw-r--r-- | xyz/openbmc_project/Common/Callout.errors.yaml | 14 | ||||
-rw-r--r-- | xyz/openbmc_project/Common/Callout.metadata.yaml | 32 |
2 files changed, 46 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Common/Callout.errors.yaml b/xyz/openbmc_project/Common/Callout.errors.yaml new file mode 100644 index 0000000..d51431d --- /dev/null +++ b/xyz/openbmc_project/Common/Callout.errors.yaml @@ -0,0 +1,14 @@ +- name: Device + description: Generic device callout + +- name: GPIO + description: Callout GPIO pin + +- name: IIC + description: Callout IIC device + +- name: Inventory + description: Inventory item callout + +- name: IPMISensor + description: Callout IPMI sensor diff --git a/xyz/openbmc_project/Common/Callout.metadata.yaml b/xyz/openbmc_project/Common/Callout.metadata.yaml new file mode 100644 index 0000000..206d164 --- /dev/null +++ b/xyz/openbmc_project/Common/Callout.metadata.yaml @@ -0,0 +1,32 @@ +- name: Device + meta: + - str: "CALLOUT_ERRNO=%d" + type: int32 + - str: "CALLOUT_DEVICE_PATH=%s" + type: string + +- name: GPIO + meta: + - str: "CALLOUT_GPIO_NUM=%u" + type: uint32 + #inherits: + #- xyz.openbmc_project.Error.Callout.Device + +- name: IIC + meta: + - str: "CALLOUT_IIC_BUS=%s" + type: string + - str: "CALLOUT_IIC_ADDR=0x%hx" + type: uint16 + #inherits: + #- xyz.openbmc_project.Error.Callout.Device + +- name: Inventory + meta: + - str: "CALLOUT_INVENTORY_PATH=%s" + type: string + +- name: IPMISensor + meta: + - str: "CALLOUT_IPMI_SENSOR_NUM=%u" + type: uint32 |