Skip to content

Commit 94e4a7d

Browse files
Xiantao HuWim Van Sebroeck
authored andcommitted
dt-bindings: watchdog: Add watchdog yaml file for Sunplus SP7021
This adds the documentation for the devicetree bindings of the Sunplus SP7021 watchdog driver, found from SP7021 SoCs and newer. Signed-off-by: Xiantao Hu <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 5794dda commit 94e4a7d

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed
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+
# Copyright (C) Sunplus Co., Ltd. 2021
3+
%YAML 1.2
4+
---
5+
$id: http://devicetree.org/schemas/watchdog/sunplus,sp7021-wdt.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: Sunplus SoCs Watchdog
9+
10+
maintainers:
11+
- XianTao Hu <[email protected]>
12+
13+
allOf:
14+
- $ref: watchdog.yaml#
15+
16+
properties:
17+
compatible:
18+
const: sunplus,sp7021-wdt
19+
20+
reg:
21+
items:
22+
- description: watchdog registers regions
23+
- description: miscellaneous control registers regions
24+
25+
clocks:
26+
maxItems: 1
27+
28+
resets:
29+
maxItems: 1
30+
31+
required:
32+
- compatible
33+
- reg
34+
- clocks
35+
- resets
36+
37+
additionalProperties: false
38+
39+
examples:
40+
- |
41+
watchdog: watchdog@9c000630 {
42+
compatible = "sunplus,sp7021-wdt";
43+
reg = <0x9c000630 0x08>, <0x9c000274 0x04>;
44+
clocks = <&clkc 0x24>;
45+
resets = <&rstc 0x14>;
46+
};
47+
...

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18902,6 +18902,12 @@ S: Maintained
1890218902
F: Documentation/devicetree/bindings/serial/sunplus,sp7021-uart.yaml
1890318903
F: drivers/tty/serial/sunplus-uart.c
1890418904

18905+
SUNPLUS WATCHDOG DRIVER
18906+
M: Xiantao Hu <[email protected]>
18907+
18908+
S: Maintained
18909+
F: Documentation/devicetree/bindings/watchdog/sunplus,sp7021-wdt.yaml
18910+
1890518911
SUPERH
1890618912
M: Yoshinori Sato <[email protected]>
1890718913
M: Rich Felker <[email protected]>

0 commit comments

Comments
 (0)