Skip to content

Commit 58ac7dc

Browse files
robherringdlezcano
authored andcommitted
dt-bindings: timer: Convert snps,archs-rtc to DT schema
Convert the Synopsys ARC HS RTC 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/20250506022313.2588796-1-robh@kernel.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent 49f2f4d commit 58ac7dc

File tree

2 files changed

+30
-14
lines changed

2 files changed

+30
-14
lines changed

Documentation/devicetree/bindings/timer/snps,archs-rtc.txt

Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/snps,archs-rtc.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Synopsys ARC Free Running 64-bit Local Timer for ARC HS CPUs
8+
9+
maintainers:
10+
- Vineet Gupta <vgupta@synopsys.com>
11+
12+
properties:
13+
compatible:
14+
const: snps,archs-rtc
15+
16+
clocks:
17+
maxItems: 1
18+
19+
required:
20+
- compatible
21+
- clocks
22+
23+
additionalProperties: false
24+
25+
examples:
26+
- |
27+
rtc {
28+
compatible = "snps,archs-rtc";
29+
clocks = <&core_clk>;
30+
};

0 commit comments

Comments
 (0)