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

dt-bindings: timer: Convert csky,gx6605s-timer to DT schema

Convert the C-SKY gx6605s timer binding to DT schema format. It's a
straight-forward conversion.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Guo Ren <guoren@kernel.org>
Link: https://lore.kernel.org/r/20250506022224.2586860-1-robh@kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Rob Herring (Arm) and committed by
Daniel Lezcano
c3205f0f 157265af

+40 -42
-42
Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt
··· 1 - ================= 2 - gx6605s SOC Timer 3 - ================= 4 - 5 - The timer is used in gx6605s soc as system timer and the driver 6 - contain clk event and clk source. 7 - 8 - ============================== 9 - timer node bindings definition 10 - ============================== 11 - 12 - Description: Describes gx6605s SOC timer 13 - 14 - PROPERTIES 15 - 16 - - compatible 17 - Usage: required 18 - Value type: <string> 19 - Definition: must be "csky,gx6605s-timer" 20 - - reg 21 - Usage: required 22 - Value type: <u32 u32> 23 - Definition: <phyaddr size> in soc from cpu view 24 - - clocks 25 - Usage: required 26 - Value type: phandle + clock specifier cells 27 - Definition: must be input clk node 28 - - interrupt 29 - Usage: required 30 - Value type: <u32> 31 - Definition: must be timer irq num defined by soc 32 - 33 - Examples: 34 - --------- 35 - 36 - timer0: timer@20a000 { 37 - compatible = "csky,gx6605s-timer"; 38 - reg = <0x0020a000 0x400>; 39 - clocks = <&dummy_apb_clk>; 40 - interrupts = <10>; 41 - interrupt-parent = <&intc>; 42 - };
+40
Documentation/devicetree/bindings/timer/csky,gx6605s-timer.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/timer/csky,gx6605s-timer.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: gx6605s SOC Timer 8 + 9 + maintainers: 10 + - Guo Ren <guoren@kernel.org> 11 + 12 + properties: 13 + compatible: 14 + const: csky,gx6605s-timer 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + clocks: 20 + maxItems: 1 21 + 22 + interrupts: 23 + maxItems: 1 24 + 25 + required: 26 + - compatible 27 + - reg 28 + - clocks 29 + - interrupts 30 + 31 + additionalProperties: false 32 + 33 + examples: 34 + - | 35 + timer@20a000 { 36 + compatible = "csky,gx6605s-timer"; 37 + reg = <0x0020a000 0x400>; 38 + clocks = <&dummy_apb_clk>; 39 + interrupts = <10>; 40 + };