From: "tip-bot2 for Chris Packham" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: timers/core] dt-bindings: timer: Add schema for realtek,otto-timer
Date: Sat, 13 Jul 2024 10:16:53 -0000 [thread overview]
Message-ID: <172086581394.2215.7938188375162127019.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20240710043524.1535151-6-chris.packham@alliedtelesis.co.nz>
The following commit has been merged into the timers/core branch of tip:
Commit-ID: 128f44f788cab8cab53edf9fa35eccbaa48fb4b2
Gitweb: https://git.kernel.org/tip/128f44f788cab8cab53edf9fa35eccbaa48fb4b2
Author: Chris Packham <chris.packham@alliedtelesis.co.nz>
AuthorDate: Wed, 10 Jul 2024 16:35:19 +12:00
Committer: Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Fri, 12 Jul 2024 16:07:06 +02:00
dt-bindings: timer: Add schema for realtek,otto-timer
Add the devicetree schema for the realtek,otto-timer present on a number
of Realtek SoCs.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240710043524.1535151-6-chris.packham@alliedtelesis.co.nz
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
create mode 100644 Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml
diff --git a/Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml b/Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml
new file mode 100644
index 0000000..7b6ec2c
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/realtek,otto-timer.yaml
@@ -0,0 +1,63 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/timer/realtek,otto-timer.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Realtek Otto SoCs Timer/Counter
+
+description:
+ Realtek SoCs support a number of timers/counters. These are used
+ as a per CPU clock event generator and an overall CPU clocksource.
+
+maintainers:
+ - Chris Packham <chris.packham@alliedtelesis.co.nz>
+
+properties:
+ $nodename:
+ pattern: "^timer@[0-9a-f]+$"
+
+ compatible:
+ items:
+ - enum:
+ - realtek,rtl9302-timer
+ - const: realtek,otto-timer
+
+ reg:
+ items:
+ - description: timer0 registers
+ - description: timer1 registers
+ - description: timer2 registers
+ - description: timer3 registers
+ - description: timer4 registers
+
+ clocks:
+ maxItems: 1
+
+ interrupts:
+ items:
+ - description: timer0 interrupt
+ - description: timer1 interrupt
+ - description: timer2 interrupt
+ - description: timer3 interrupt
+ - description: timer4 interrupt
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - interrupts
+
+additionalProperties: false
+
+examples:
+ - |
+ timer@3200 {
+ compatible = "realtek,rtl9302-timer", "realtek,otto-timer";
+ reg = <0x3200 0x10>, <0x3210 0x10>, <0x3220 0x10>,
+ <0x3230 0x10>, <0x3240 0x10>;
+
+ interrupt-parent = <&intc>;
+ interrupts = <7>, <8>, <9>, <10>, <11>;
+ clocks = <&lx_clk>;
+ };
next prev parent reply other threads:[~2024-07-13 10:17 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-10 4:35 [PATCH v5 00/10] mips: Support for RTL9302C Chris Packham
2024-07-10 4:35 ` [PATCH v5 01/10] mips: dts: realtek: use "serial" instead of "uart" in node name Chris Packham
2024-07-10 4:35 ` [PATCH v5 02/10] mips: dts: realtek: add device_type property to cpu node Chris Packham
2024-07-10 4:35 ` [PATCH v5 03/10] dt-bindings: vendor-prefixes: Add Cameo Communications Chris Packham
2024-07-10 4:35 ` [PATCH v5 04/10] dt-bindings: mips: realtek: Add rtl930x-soc compatible Chris Packham
2024-07-10 4:35 ` [PATCH v5 05/10] dt-bindings: timer: Add schema for realtek,otto-timer Chris Packham
2024-07-10 8:20 ` Daniel Lezcano
2024-07-13 10:16 ` tip-bot2 for Chris Packham [this message]
2024-07-10 4:35 ` [PATCH v5 06/10] dt-bindings: interrupt-controller: realtek,rtl-intc: Add rtl9300-intc Chris Packham
2024-07-11 21:13 ` Rob Herring (Arm)
2024-07-10 4:35 ` [PATCH v5 07/10] clocksource: realtek: Add timer driver for rtl-otto platforms Chris Packham
2024-07-10 8:21 ` Daniel Lezcano
2024-07-13 10:16 ` [tip: timers/core] clocksource/drivers/realtek: " tip-bot2 for Chris Packham
2024-07-10 4:35 ` [PATCH v5 08/10] mips: select REALTEK_OTTO_TIMER for Realtek platforms Chris Packham
2024-07-10 4:35 ` [PATCH v5 09/10] mips: generic: add fdt fixup for Realtek reference board Chris Packham
2024-07-10 4:35 ` [PATCH v5 10/10] mips: dts: realtek: Add RTL9302C board Chris Packham
2024-07-12 11:20 ` [PATCH v5 00/10] mips: Support for RTL9302C Thomas Bogendoerfer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=172086581394.2215.7938188375162127019.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=chris.packham@alliedtelesis.co.nz \
--cc=daniel.lezcano@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®