Skip to content

Commit 7e5ce19

Browse files
robherringdlezcano
authored andcommitted
dt-bindings: timer: Convert socionext,milbeaut-timer to DT schema
Convert the Socionext Milbeaut 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/20250506022322.2589193-1-robh@kernel.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 960a2f4 commit 7e5ce19

File tree

2 files changed

+40
-17
lines changed

2 files changed

+40
-17
lines changed

Documentation/devicetree/bindings/timer/socionext,milbeaut-timer.txt

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/socionext,milbeaut-timer.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Milbeaut SoCs Timer Controller
8+
9+
maintainers:
10+
- Sugaya Taichi <sugaya.taichi@socionext.com>
11+
12+
properties:
13+
compatible:
14+
const: socionext,milbeaut-timer
15+
16+
reg:
17+
maxItems: 1
18+
19+
interrupts:
20+
maxItems: 1
21+
22+
clocks:
23+
maxItems: 1
24+
25+
required:
26+
- compatible
27+
- reg
28+
- interrupts
29+
- clocks
30+
31+
additionalProperties: false
32+
33+
examples:
34+
- |
35+
timer@1e000050 {
36+
compatible = "socionext,milbeaut-timer";
37+
reg = <0x1e000050 0x20>;
38+
interrupts = <0 91 4>;
39+
clocks = <&clk 4>;
40+
};

0 commit comments

Comments
 (0)