watchdog: Add Watchdog Timeout signal
The `Timeout` signal is used to indicate a watchdog timeout event. It is
being used in `phosphor-watchdog` for timeout events. It has a `Action`
property to indicate the timeout event that it took. It could be
different from the expiredAction due to fallback watchdog.
The new signal is picked up in `phosphor-sel-logger` handle Watchdog SEL
logs.
Change-Id: I0e20af1d23f7a8dbc9a7580797923373b04f2905
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/yaml/xyz/openbmc_project/State/Watchdog.interface.yaml b/yaml/xyz/openbmc_project/State/Watchdog.interface.yaml
index f54ec3b..8a7335f 100644
--- a/yaml/xyz/openbmc_project/State/Watchdog.interface.yaml
+++ b/yaml/xyz/openbmc_project/State/Watchdog.interface.yaml
@@ -95,3 +95,13 @@
- name: 'OEM'
description: >
OEM.
+
+signals:
+ - name: Timeout
+ description: >
+ Watchdog timeout event signal
+ properties:
+ - name: Action
+ type: enum[self.Action]
+ description: >
+ The action taken during the watchdog timeout event.