Skip to content

Commit 5c24a28

Browse files
Evan BennWim Van Sebroeck
authored andcommitted
dt-bindings: watchdog: Add ARM smc wdt for mt8173 watchdog
This watchdog can be used on ARM systems with a Secure Monitor firmware to forward watchdog operations to firmware via a Secure Monitor Call. Signed-off-by: Evan Benn <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/20200505131242.v6.1.Id96574f1f52479d7a2f3b866b8a0552ab8c03d7f@changeid Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 62c35b4 commit 5c24a28

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/watchdog/arm-smc-wdt.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: ARM Secure Monitor Call based watchdog
8+
9+
allOf:
10+
- $ref: "watchdog.yaml#"
11+
12+
maintainers:
13+
- Julius Werner <[email protected]>
14+
15+
properties:
16+
compatible:
17+
enum:
18+
- arm,smc-wdt
19+
arm,smc-id:
20+
allOf:
21+
- $ref: /schemas/types.yaml#/definitions/uint32
22+
description: |
23+
The ATF smc function id used by the firmware.
24+
Defaults to 0x82003D06 if unset.
25+
26+
required:
27+
- compatible
28+
29+
examples:
30+
- |
31+
watchdog {
32+
compatible = "arm,smc-wdt";
33+
arm,smc-id = <0x82003D06>;
34+
timeout-sec = <15>;
35+
};
36+
37+
...

MAINTAINERS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,6 +1456,12 @@ S: Maintained
14561456
F: Documentation/devicetree/bindings/interrupt-controller/arm,vic.txt
14571457
F: drivers/irqchip/irq-vic.c
14581458

1459+
ARM SMC WATCHDOG DRIVER
1460+
M: Julius Werner <[email protected]>
1461+
R: Evan Benn <[email protected]>
1462+
S: Maintained
1463+
F: devicetree/bindings/watchdog/arm-smc-wdt.yaml
1464+
14591465
ARM SMMU DRIVERS
14601466
M: Will Deacon <[email protected]>
14611467
R: Robin Murphy <[email protected]>

0 commit comments

Comments
 (0)