Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: timer: Convert snps,archs-gfrc to DT schema

Convert the Synopsys ARC HS 64-bit 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/20250506022309.2588605-1-robh@kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Rob Herring (Arm) and committed by
Daniel Lezcano
49f2f4d1 e1e9fad1

+30 -14
-14
Documentation/devicetree/bindings/timer/snps,archs-gfrc.txt
··· 1 - Synopsys ARC Free Running 64-bit Global Timer for ARC HS CPUs 2 - - clocksource provider for SMP SoC 3 - 4 - Required properties: 5 - 6 - - compatible : should be "snps,archs-gfrc" 7 - - clocks : phandle to the source clock 8 - 9 - Example: 10 - 11 - gfrc { 12 - compatible = "snps,archs-gfrc"; 13 - clocks = <&core_clk>; 14 - };
+30
Documentation/devicetree/bindings/timer/snps,archs-gfrc.yaml
··· 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-gfrc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Synopsys ARC Free Running 64-bit Global Timer for ARC HS CPUs 8 + 9 + maintainers: 10 + - Vineet Gupta <vgupta@synopsys.com> 11 + 12 + properties: 13 + compatible: 14 + const: snps,archs-gfrc 15 + 16 + clocks: 17 + maxItems: 1 18 + 19 + required: 20 + - compatible 21 + - clocks 22 + 23 + additionalProperties: false 24 + 25 + examples: 26 + - | 27 + timer { 28 + compatible = "snps,archs-gfrc"; 29 + clocks = <&core_clk>; 30 + };