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

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>

authored by

Rob Herring (Arm) and committed by
Daniel Lezcano
7e5ce194 960a2f4c

+40 -17
-17
Documentation/devicetree/bindings/timer/socionext,milbeaut-timer.txt
··· 1 - Milbeaut SoCs Timer Controller 2 - 3 - Required properties: 4 - 5 - - compatible : should be "socionext,milbeaut-timer". 6 - - reg : Specifies base physical address and size of the registers. 7 - - interrupts : The interrupt of the first timer. 8 - - clocks: phandle to the input clk. 9 - 10 - Example: 11 - 12 - timer { 13 - compatible = "socionext,milbeaut-timer"; 14 - reg = <0x1e000050 0x20> 15 - interrupts = <0 91 4>; 16 - clocks = <&clk 4>; 17 - };
+40
Documentation/devicetree/bindings/timer/socionext,milbeaut-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/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 + };