Skip to content

Commit 379967d

Browse files
robherringdlezcano
authored andcommitted
dt-bindings: timer: Convert st,spear-timer to DT schema
Convert the ST SPEAr Timer binding to DT schema format. It's a straight-forward conversion. Signed-off-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250506022326.2589389-1-robh@kernel.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 7e5ce19 commit 379967d

File tree

2 files changed

+36
-16
lines changed

2 files changed

+36
-16
lines changed

Documentation/devicetree/bindings/timer/st,spear-timer.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/timer/st,spear-timer.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: SPEAr ARM Timer
8+
9+
maintainers:
10+
- Viresh Kumar <vireshk@kernel.org>
11+
- Shiraz Hashim <shiraz.linux.kernel@gmail.com>
12+
13+
properties:
14+
compatible:
15+
const: st,spear-timer
16+
17+
reg:
18+
maxItems: 1
19+
20+
interrupts:
21+
maxItems: 1
22+
23+
required:
24+
- compatible
25+
- reg
26+
- interrupts
27+
28+
additionalProperties: false
29+
30+
examples:
31+
- |
32+
timer@f0000000 {
33+
compatible = "st,spear-timer";
34+
reg = <0xf0000000 0x400>;
35+
interrupts = <2>;
36+
};

0 commit comments

Comments
 (0)