Skip to contentSkip to conversation

dt-bindings: timer: add Ralink SoCs timer

PATCH Applied Sergio Paracuellos 5 participants 7 messages Jun 20, 2023 – Jun 26, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: timer: add Ralink SoCs timer

Add YAML documentation for the timer which is present on Ralink SoCs.

---
Changes in v2:
- Remove redundant 'documentation' word from subject.
- Drop clock-names property.

 .../bindings/timer/ralink,rt2880-timer.yaml   | 44 +++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml new file +44 -0
new file mode 100644
index 000000000000..daa7832babe3
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/timer/ralink,rt2880-timer.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Timer present in Ralink family SoCs
+
+maintainers:
+  - Sergio Paracuellos <[email protected]>
+
+properties:
+  compatible:
+    const: ralink,rt2880-timer
+
+  reg:
+    maxItems: 1
+
+  clocks:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - clocks
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    timer@100 {
+        compatible = "ralink,rt2880-timer";
+        reg = <0x100 0x20>;
+
+        clocks = <&sysc 3>;
+
+        interrupt-parent = <&intc>;
+        interrupts = <1>;
+    };
+...
Signature · 1 line
2.25.1
maintainer Reviewed-by on v2 1/1
#1 lore raw
Quoted 12 lines · Sergio Paracuellos

Add YAML documentation for the timer which is present on Ralink SoCs.

---
Changes in v2:
- Remove redundant 'documentation' word from subject.
- Drop clock-names property.

 .../bindings/timer/ralink,rt2880-timer.yaml   | 44 +++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
#2 lore raw
Quoted 11 lines · Rob Herring
Quoted 8 lines · Sergio Paracuellos

Add YAML documentation for the timer which is present on Ralink SoCs.

---
Changes in v2:
- Remove redundant 'documentation' word from subject.
- Drop clock-names property.

Quoted 7 lines
Quoted 4 lines
 .../bindings/timer/ralink,rt2880-timer.yaml   | 44 +++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml

Thanks! Which tree is this supposed to go through?

Best regards,
Sergio Paracuellos

#3 lore raw
Quoted 17 lines · Sergio Paracuellos
Quoted 16 lines · Rob Herring
Quoted 12 lines · Sergio Paracuellos

Add YAML documentation for the timer which is present on Ralink SoCs.

---
Changes in v2:
- Remove redundant 'documentation' word from subject.
- Drop clock-names property.

 .../bindings/timer/ralink,rt2880-timer.yaml   | 44 +++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
Quoted 4 lines
Quoted 2 lines

Thanks! Which tree is this supposed to go through?

Preferably clocksource/clockevents/timer drivers tree/

Best regards,
Krzysztof

#4 lore raw
Quoted 19 lines · Krzysztof Kozlowski
Quoted 17 lines · Sergio Paracuellos
Quoted 16 lines · Rob Herring
Quoted 12 lines · Sergio Paracuellos

Add YAML documentation for the timer which is present on Ralink SoCs.

---
Changes in v2:
- Remove redundant 'documentation' word from subject.
- Drop clock-names property.

 .../bindings/timer/ralink,rt2880-timer.yaml   | 44 +++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Thanks! Which tree is this supposed to go through?

Preferably clocksource/clockevents/timer drivers tree/

Thanks for letting me know :)

Best regards,
Sergio Paracuellos

Quoted 4 lines

Best regards,
Krzysztof

#5 lore raw
In reply to Sergio Paracuellos
Quoted 15 lines · Sergio Paracuellos

Add YAML documentation for the timer which is present on Ralink SoCs.

---
Changes in v2:
- Remove redundant 'documentation' word from subject.
- Drop clock-names property.

  .../bindings/timer/ralink,rt2880-timer.yaml   | 44 +++++++++++++++++++
  1 file changed, 44 insertions(+)

create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml

Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml new file +0 -0
new file mode 100644
index 000000000000..daa7832babe3

Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml

Quoted 1 line
Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml new file +0 -1
--- /dev/null

Applied, thanks

Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#6 lore raw

[tip: timers/core] dt-bindings: timers: Add Ralink SoCs timer

In reply to Sergio Paracuellos
The following commit has been merged into the timers/core branch of tip:

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     6d0d4df8e7e1fe22d961d667c2bfa40c3d5022e8
Gitweb:        https://git.kernel.org/tip/6d0d4df8e7e1fe22d961d667c2bfa40c3d5022e8
Author:        Sergio Paracuellos <[email protected]>
AuthorDate:    Tue, 20 Jun 2023 12:02:31 +02:00
Committer:     Daniel Lezcano <[email protected]>
CommitterDate: Fri, 23 Jun 2023 09:33:43 +02:00

dt-bindings: timers: Add Ralink SoCs timer

Add YAML documentation for the timer which is present on Ralink SoCs.

---
 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml new file +44 -0
new file mode 100644
index 0000000..daa7832
@@ -0,0 +1,44 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/timer/ralink,rt2880-timer.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Timer present in Ralink family SoCs
+
+maintainers:
+  - Sergio Paracuellos <[email protected]>
+
+properties:
+  compatible:
+    const: ralink,rt2880-timer
+
+  reg:
+    maxItems: 1
+
+  clocks:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - clocks
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    timer@100 {
+        compatible = "ralink,rt2880-timer";
+        reg = <0x100 0x20>;
+
+        clocks = <&sysc 3>;
+
+        interrupt-parent = <&intc>;
+        interrupts = <1>;
+    };
+...