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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: timer: Convert rda,8810pl-timer to YAML

Convert RDA Micro Timer bindings to DT schema format.

Signed-off-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220504175502.GA2573@standask-GA-A55M-S2HP

authored by

Stanislav Jakubek and committed by
Rob Herring
fa2024c3 ae8f4223

+48 -21
-20
Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt
··· 1 - RDA Micro RDA8810PL Timer 2 - 3 - Required properties: 4 - - compatible : "rda,8810pl-timer" 5 - - reg : Offset and length of the register set for the device. 6 - - interrupts : Should contain two interrupts. 7 - - interrupt-names : Should be "hwtimer", "ostimer". 8 - 9 - Example: 10 - 11 - apb@20900000 { 12 - compatible = "simple-bus"; 13 - ... 14 - timer@10000 { 15 - compatible = "rda,8810pl-timer"; 16 - reg = <0x10000 0x1000>; 17 - interrupts = <16 IRQ_TYPE_LEVEL_HIGH>, 18 - <17 IRQ_TYPE_LEVEL_HIGH>; 19 - interrupt-names = "hwtimer", "ostimer"; 20 - };
+47
Documentation/devicetree/bindings/timer/rda,8810pl-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/rda,8810pl-timer.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: RDA Micro RDA8810PL Timer 8 + 9 + maintainers: 10 + - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11 + 12 + properties: 13 + compatible: 14 + const: rda,8810pl-timer 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + interrupts: 20 + minItems: 2 21 + maxItems: 2 22 + 23 + interrupt-names: 24 + items: 25 + - const: hwtimer 26 + - const: ostimer 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - interrupts 32 + - interrupt-names 33 + 34 + additionalProperties: false 35 + 36 + examples: 37 + - | 38 + #include <dt-bindings/interrupt-controller/irq.h> 39 + 40 + timer@20910000 { 41 + compatible = "rda,8810pl-timer"; 42 + reg = <0x20910000 0x1000>; 43 + interrupts = <16 IRQ_TYPE_LEVEL_HIGH>, 44 + <17 IRQ_TYPE_LEVEL_HIGH>; 45 + interrupt-names = "hwtimer", "ostimer"; 46 + }; 47 + ...
+1 -1
MAINTAINERS
··· 2571 2571 F: Documentation/devicetree/bindings/gpio/gpio-rda.yaml 2572 2572 F: Documentation/devicetree/bindings/interrupt-controller/rda,8810pl-intc.txt 2573 2573 F: Documentation/devicetree/bindings/serial/rda,8810pl-uart.yaml 2574 - F: Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt 2574 + F: Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml 2575 2575 F: arch/arm/boot/dts/rda8810pl-* 2576 2576 F: drivers/clocksource/timer-rda.c 2577 2577 F: drivers/gpio/gpio-rda.c