Skip to content

Commit b213f06

Browse files
nxpfranklirobherring
authored andcommitted
dt-bindings: watchdog: convert zii,rave-sp-wdt.txt to yaml format
Convert device binding doc zii,rave-sp-wdt.txt to yaml format. Additional changes: - Ref to watchdog.yaml. - Remove mfd node in example. - Remove eeprom part in example. Signed-off-by: Frank Li <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent a9c2d9d commit b213f06

File tree

2 files changed

+47
-39
lines changed

2 files changed

+47
-39
lines changed

Documentation/devicetree/bindings/watchdog/zii,rave-sp-wdt.txt

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/watchdog/zii,rave-sp-wdt.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Zodiac Inflight Innovations RAVE Supervisory Processor Watchdog
8+
9+
maintainers:
10+
- Frank Li <[email protected]>
11+
12+
description:
13+
RAVE SP watchdog device is a "MFD cell" device corresponding to
14+
watchdog functionality of RAVE Supervisory Processor. It is expected
15+
that its Device Tree node is specified as a child of the node
16+
corresponding to the parent RAVE SP device (as documented in
17+
Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml)
18+
19+
properties:
20+
compatible:
21+
enum:
22+
- zii,rave-sp-watchdog
23+
- zii,rave-sp-watchdog-legacy
24+
25+
nvmem-cell-names:
26+
items:
27+
- const: wdt_timeout
28+
29+
nvmem-cells:
30+
maxItems: 1
31+
32+
required:
33+
- compatible
34+
35+
allOf:
36+
- $ref: watchdog.yaml#
37+
38+
unevaluatedProperties: false
39+
40+
examples:
41+
- |
42+
watchdog {
43+
compatible = "zii,rave-sp-watchdog";
44+
nvmem-cells = <&wdt_timeout>;
45+
nvmem-cell-names = "wdt_timeout";
46+
};
47+

0 commit comments

Comments
 (0)