blob: 960b2b0b382cc3107c9349edd250fb0728721e9d [file] [log] [blame]
Yi Li4f025cd2016-12-02 19:03:53 +08001description: >
2 Implement the watchdog function.
William A. Kennington III34fc2962018-01-23 21:05:19 -08003
Yi Li4f025cd2016-12-02 19:03:53 +08004properties:
William A. Kennington III34fc2962018-01-23 21:05:19 -08005 - name: Initialized
6 type: boolean
7 description: >
8 Whether the host has configured the watchdog yet.
9 default: false
Yi Li4f025cd2016-12-02 19:03:53 +080010 - name: Enabled
11 type: boolean
12 description: >
13 The watchdog is enabled or not.
14 default: false
William A. Kennington IIIdfa9e652018-01-23 21:05:38 -080015 - name: ExpireAction
16 type: enum[self.Action]
17 description: >
18 The action the watchdog should perform when it expires.
19 default: 'HardReset'
Yi Li4f025cd2016-12-02 19:03:53 +080020 - name: Interval
21 type: uint64
22 description: >
Patrick Venture08b0d932017-07-30 10:40:41 -070023 Time interval to arm the watchdog, in milli-second.
Yi Li4f025cd2016-12-02 19:03:53 +080024 default: 30000
25 - name: TimeRemaining
26 type: uint64
27 description: >
Patrick Venture08b0d932017-07-30 10:40:41 -070028 Time remaining before timeout, in milli-second.
Yi Li4f025cd2016-12-02 19:03:53 +080029 Setting this property can re-arm the watchdog.
30 default: 0
Yi Li4f025cd2016-12-02 19:03:53 +080031
William A. Kennington IIIdfa9e652018-01-23 21:05:38 -080032enumerations:
33 - name: Action
34 description: >
35 The type of action to perform.
36 values:
37 - name: 'None'
38 description: >
39 Do nothing.
40 - name: 'HardReset'
41 description: >
42 Perform a reset of the system.
43 - name: 'PowerOff'
44 description: >
45 Perform a power off of the system.
46 - name: 'PowerCycle'
47 description: >
48 Perform a power cycle of the system.
49
Yi Li4f025cd2016-12-02 19:03:53 +080050# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4