diff options
author | Stanislav Jakubek <stano.jakubek@gmail.com> | 2022-05-04 19:55:02 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-05-06 00:12:52 +0200 |
commit | fa2024c315135d8319001363f1e456dcd0d9b51e (patch) | |
tree | 99dea97a70791b4c766d3f2a28a960d93f68492a /Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml | |
parent | dt-bindings: I2C: Add Qualcomm Geni based QUP I2C bindings (diff) | |
download | linux-fa2024c315135d8319001363f1e456dcd0d9b51e.tar.xz linux-fa2024c315135d8319001363f1e456dcd0d9b51e.zip |
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
Diffstat (limited to 'Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml b/Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml new file mode 100644 index 000000000000..f9043a4488d6 --- /dev/null +++ b/Documentation/devicetree/bindings/timer/rda,8810pl-timer.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/timer/rda,8810pl-timer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RDA Micro RDA8810PL Timer + +maintainers: + - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> + +properties: + compatible: + const: rda,8810pl-timer + + reg: + maxItems: 1 + + interrupts: + minItems: 2 + maxItems: 2 + + interrupt-names: + items: + - const: hwtimer + - const: ostimer + +required: + - compatible + - reg + - interrupts + - interrupt-names + +additionalProperties: false + +examples: + - | + #include <dt-bindings/interrupt-controller/irq.h> + + timer@20910000 { + compatible = "rda,8810pl-timer"; + reg = <0x20910000 0x1000>; + interrupts = <16 IRQ_TYPE_LEVEL_HIGH>, + <17 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "hwtimer", "ostimer"; + }; +... |