linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: timer: add Ralink SoCs timer
@ 2023-06-20 10:02 Sergio Paracuellos
  2023-06-22  1:51 ` Rob Herring
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sergio Paracuellos @ 2023-06-20 10:02 UTC (permalink / raw)
  To: devicetree
  Cc: daniel.lezcano, tglx, robh+dt, krzysztof.kozlowski+dt, linux-kernel

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

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
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

diff --git a/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml b/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
new file mode 100644
index 000000000000..daa7832babe3
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
@@ -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 <sergio.paracuellos@gmail.com>
+
+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>;
+    };
+...
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer
  2023-06-20 10:02 [PATCH v2] dt-bindings: timer: add Ralink SoCs timer Sergio Paracuellos
@ 2023-06-22  1:51 ` Rob Herring
  2023-06-22  5:14   ` Sergio Paracuellos
  2023-06-22  9:59 ` Daniel Lezcano
  2023-06-26  9:11 ` [tip: timers/core] dt-bindings: timers: Add " tip-bot2 for Sergio Paracuellos
  2 siblings, 1 reply; 7+ messages in thread
From: Rob Herring @ 2023-06-22  1:51 UTC (permalink / raw)
  To: Sergio Paracuellos
  Cc: linux-kernel, krzysztof.kozlowski+dt, tglx, robh+dt,
	daniel.lezcano, devicetree


On Tue, 20 Jun 2023 12:02:31 +0200, Sergio Paracuellos wrote:
> Add YAML documentation for the timer which is present on Ralink SoCs.
> 
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> ---
> 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
> 

Reviewed-by: Rob Herring <robh@kernel.org>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer
  2023-06-22  1:51 ` Rob Herring
@ 2023-06-22  5:14   ` Sergio Paracuellos
  2023-06-22  6:16     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 7+ messages in thread
From: Sergio Paracuellos @ 2023-06-22  5:14 UTC (permalink / raw)
  To: Rob Herring
  Cc: linux-kernel, krzysztof.kozlowski+dt, tglx, robh+dt,
	daniel.lezcano, devicetree

On Thu, Jun 22, 2023 at 3:51 AM Rob Herring <robh@kernel.org> wrote:
>
>
> On Tue, 20 Jun 2023 12:02:31 +0200, Sergio Paracuellos wrote:
> > Add YAML documentation for the timer which is present on Ralink SoCs.
> >
> > Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> > ---
> > 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
> >
>
> Reviewed-by: Rob Herring <robh@kernel.org>
>

Thanks! Which tree is this supposed to go through?

Best regards,
    Sergio Paracuellos

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer
  2023-06-22  5:14   ` Sergio Paracuellos
@ 2023-06-22  6:16     ` Krzysztof Kozlowski
  2023-06-22  6:47       ` Sergio Paracuellos
  0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-06-22  6:16 UTC (permalink / raw)
  To: Sergio Paracuellos, Rob Herring
  Cc: linux-kernel, krzysztof.kozlowski+dt, tglx, robh+dt,
	daniel.lezcano, devicetree

On 22/06/2023 07:14, Sergio Paracuellos wrote:
> On Thu, Jun 22, 2023 at 3:51 AM Rob Herring <robh@kernel.org> wrote:
>>
>>
>> On Tue, 20 Jun 2023 12:02:31 +0200, Sergio Paracuellos wrote:
>>> Add YAML documentation for the timer which is present on Ralink SoCs.
>>>
>>> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
>>> ---
>>> 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
>>>
>>
>> Reviewed-by: Rob Herring <robh@kernel.org>
>>
> 
> Thanks! Which tree is this supposed to go through?

Preferably clocksource/clockevents/timer drivers tree/

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer
  2023-06-22  6:16     ` Krzysztof Kozlowski
@ 2023-06-22  6:47       ` Sergio Paracuellos
  0 siblings, 0 replies; 7+ messages in thread
From: Sergio Paracuellos @ 2023-06-22  6:47 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rob Herring, linux-kernel, krzysztof.kozlowski+dt, tglx, robh+dt,
	daniel.lezcano, devicetree

On Thu, Jun 22, 2023 at 8:16 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> On 22/06/2023 07:14, Sergio Paracuellos wrote:
> > On Thu, Jun 22, 2023 at 3:51 AM Rob Herring <robh@kernel.org> wrote:
> >>
> >>
> >> On Tue, 20 Jun 2023 12:02:31 +0200, Sergio Paracuellos wrote:
> >>> Add YAML documentation for the timer which is present on Ralink SoCs.
> >>>
> >>> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> >>> ---
> >>> 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
> >>>
> >>
> >> Reviewed-by: Rob Herring <robh@kernel.org>
> >>
> >
> > Thanks! Which tree is this supposed to go through?
>
> Preferably clocksource/clockevents/timer drivers tree/

Thanks for letting me know :)

Best regards,
    Sergio Paracuellos

>
> Best regards,
> Krzysztof
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer
  2023-06-20 10:02 [PATCH v2] dt-bindings: timer: add Ralink SoCs timer Sergio Paracuellos
  2023-06-22  1:51 ` Rob Herring
@ 2023-06-22  9:59 ` Daniel Lezcano
  2023-06-26  9:11 ` [tip: timers/core] dt-bindings: timers: Add " tip-bot2 for Sergio Paracuellos
  2 siblings, 0 replies; 7+ messages in thread
From: Daniel Lezcano @ 2023-06-22  9:59 UTC (permalink / raw)
  To: Sergio Paracuellos, devicetree
  Cc: tglx, robh+dt, krzysztof.kozlowski+dt, linux-kernel

On 20/06/2023 12:02, Sergio Paracuellos wrote:
> Add YAML documentation for the timer which is present on Ralink SoCs.
> 
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> ---
> 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
> 
> diff --git a/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml b/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
> new file mode 100644
> index 000000000000..daa7832babe3
> --- /dev/null

Applied, thanks


-- 
<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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [tip: timers/core] dt-bindings: timers: Add Ralink SoCs timer
  2023-06-20 10:02 [PATCH v2] dt-bindings: timer: add Ralink SoCs timer Sergio Paracuellos
  2023-06-22  1:51 ` Rob Herring
  2023-06-22  9:59 ` Daniel Lezcano
@ 2023-06-26  9:11 ` tip-bot2 for Sergio Paracuellos
  2 siblings, 0 replies; 7+ messages in thread
From: tip-bot2 for Sergio Paracuellos @ 2023-06-26  9:11 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Sergio Paracuellos, Rob Herring, Daniel Lezcano, x86, linux-kernel

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 <sergio.paracuellos@gmail.com>
AuthorDate:    Tue, 20 Jun 2023 12:02:31 +02:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
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.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230620100231.1412582-1-sergio.paracuellos@gmail.com
---
 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

diff --git a/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml b/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
new file mode 100644
index 0000000..daa7832
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/ralink,rt2880-timer.yaml
@@ -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 <sergio.paracuellos@gmail.com>
+
+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>;
+    };
+...

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-06-26  9:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-20 10:02 [PATCH v2] dt-bindings: timer: add Ralink SoCs timer Sergio Paracuellos
2023-06-22  1:51 ` Rob Herring
2023-06-22  5:14   ` Sergio Paracuellos
2023-06-22  6:16     ` Krzysztof Kozlowski
2023-06-22  6:47       ` Sergio Paracuellos
2023-06-22  9:59 ` Daniel Lezcano
2023-06-26  9:11 ` [tip: timers/core] dt-bindings: timers: Add " tip-bot2 for Sergio Paracuellos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).