[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240722094226.21602-10-ysionneau@kalrayinc.com>
Date: Mon, 22 Jul 2024 11:41:20 +0200
From: ysionneau@...rayinc.com
To: linux-kernel@...r.kernel.org, Daniel Lezcano
<daniel.lezcano@...aro.org>, Thomas Gleixner <tglx@...utronix.de>, Rob
Herring <robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor
Dooley <conor+dt@...nel.org>, Jonathan Borne <jborne@...rayinc.com>, Julian
Vetter <jvetter@...rayinc.com>, Yann Sionneau <ysionneau@...rayinc.com>
Cc: devicetree@...r.kernel.org
Subject: [RFC PATCH v3 09/37] dt-bindings: Add binding for
kalray,kv3-1-timer
From: Yann Sionneau <ysionneau@...rayinc.com>
Add binding for Kalray kv3-1 core timer.
Signed-off-by: Yann Sionneau <ysionneau@...rayinc.com>
---
Notes:
V2 -> V3: New patch
---
.../bindings/timer/kalray,kv3-1-timer.yaml | 57 +++++++++++++++++++
1 file changed, 57 insertions(+)
create mode 100644 Documentation/devicetree/bindings/timer/kalray,kv3-1-timer.yaml
diff --git a/Documentation/devicetree/bindings/timer/kalray,kv3-1-timer.yaml b/Documentation/devicetree/bindings/timer/kalray,kv3-1-timer.yaml
new file mode 100644
index 0000000000000..1932f28a05a18
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/kalray,kv3-1-timer.yaml
@@ -0,0 +1,57 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/timer/kalray,kv3-1-timer.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Kalray kv3-1 core timer
+
+maintainers:
+ - Jonathan Borne <jborne@...rayinc.com>
+ - Julian Vetter <jvetter@...rayinc.com>
+ - Yann Sionneau <ysionneau@...rayinc.com>
+
+description: |
+ Timer tightly coupled to the kv3-1 processor core. It is configured via core SFR.
+ It triggers an interrupt directly on core-intc.
+
+properties:
+ compatible:
+ const: kalray,kv3-1-timer
+
+ interrupts-extended:
+ maxItems: 16
+
+ clocks:
+ maxItems: 1
+
+required:
+ - compatible
+ - interrupts-extended
+ - clocks
+
+additionalProperties: false
+
+examples:
+ - |
+ core_timer {
+ compatible = "kalray,kv3-1-timer";
+ clocks = <&core_clk>;
+ interrupts-extended = <&core_intc0 0>,
+ <&core_intc1 0>,
+ <&core_intc2 0>,
+ <&core_intc3 0>,
+ <&core_intc4 0>,
+ <&core_intc5 0>,
+ <&core_intc6 0>,
+ <&core_intc7 0>,
+ <&core_intc8 0>,
+ <&core_intc9 0>,
+ <&core_intc10 0>,
+ <&core_intc11 0>,
+ <&core_intc12 0>,
+ <&core_intc13 0>,
+ <&core_intc14 0>,
+ <&core_intc15 0>;
+ };
+
--
2.45.2
Powered by blists - more mailing lists