summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-01-16 23:57:10 -0600
committerPatrick Williams <patrick@stwcx.xyz>2017-01-19 18:22:43 +0000
commit124967ebddcdc852b6f1ca1dd6ff2e5589896443 (patch)
treeb6a3d4d0d65e78f558806a1fc614e42cd26d95e3 /xyz/openbmc_project
parentd40a32edaad31c1f19a473713a0e81b28f6ce6ac (diff)
downloadphosphor-dbus-interfaces-124967ebddcdc852b6f1ca1dd6ff2e5589896443.tar.gz
phosphor-dbus-interfaces-124967ebddcdc852b6f1ca1dd6ff2e5589896443.zip
Define openbmc error for a GPIO callout
xyz.openbmc_project.Error.Callout.GPIO inherits xyz.openbmc_project.Error.Callout.Device Change-Id: I2c025ef5a619a844cf026cedfc85a28e40ed5be5 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'xyz/openbmc_project')
-rw-r--r--xyz/openbmc_project/Error/Callout/GPIO.errors.yaml5
-rw-r--r--xyz/openbmc_project/Error/Callout/GPIO.metadata.yaml4
2 files changed, 9 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Error/Callout/GPIO.errors.yaml b/xyz/openbmc_project/Error/Callout/GPIO.errors.yaml
new file mode 100644
index 0000000..a790ea2
--- /dev/null
+++ b/xyz/openbmc_project/Error/Callout/GPIO.errors.yaml
@@ -0,0 +1,5 @@
+# xyz.openbmc_project.Error.Callout.GPIO
+- name: GPIO
+ description: Callout GPIO pin
+ inherits:
+ - xyz.openbmc_project.Error.Callout.Device
diff --git a/xyz/openbmc_project/Error/Callout/GPIO.metadata.yaml b/xyz/openbmc_project/Error/Callout/GPIO.metadata.yaml
new file mode 100644
index 0000000..f4d5e3a
--- /dev/null
+++ b/xyz/openbmc_project/Error/Callout/GPIO.metadata.yaml
@@ -0,0 +1,4 @@
+- name: GPIO
+ meta:
+ - str: "CALLOUT_GPIO_NUM=%u"
+ type: uint32
OpenPOWER on IntegriCloud