2023-06-20 10:14:40

by Sergio Paracuellos

[permalink] [raw]
Subject: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer

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

Signed-off-by: Sergio Paracuellos <[email protected]>
---
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 <[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>;
+ };
+...
--
2.25.1



2023-06-22 02:23:35

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer


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 <[email protected]>
> ---
> 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 <[email protected]>


2023-06-22 05:37:52

by Sergio Paracuellos

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer

On Thu, Jun 22, 2023 at 3:51 AM Rob Herring <[email protected]> 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 <[email protected]>
> > ---
> > 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 <[email protected]>
>

Thanks! Which tree is this supposed to go through?

Best regards,
Sergio Paracuellos

2023-06-22 06:37:49

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer

On 22/06/2023 07:14, Sergio Paracuellos wrote:
> On Thu, Jun 22, 2023 at 3:51 AM Rob Herring <[email protected]> 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 <[email protected]>
>>> ---
>>> 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 <[email protected]>
>>
>
> Thanks! Which tree is this supposed to go through?

Preferably clocksource/clockevents/timer drivers tree/

Best regards,
Krzysztof


2023-06-22 07:06:03

by Sergio Paracuellos

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer

On Thu, Jun 22, 2023 at 8:16 AM Krzysztof Kozlowski
<[email protected]> wrote:
>
> On 22/06/2023 07:14, Sergio Paracuellos wrote:
> > On Thu, Jun 22, 2023 at 3:51 AM Rob Herring <[email protected]> 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 <[email protected]>
> >>> ---
> >>> 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 <[email protected]>
> >>
> >
> > 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
>

2023-06-22 10:17:38

by Daniel Lezcano

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: timer: add Ralink SoCs timer

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 <[email protected]>
> ---
> 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


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

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.

Signed-off-by: Sergio Paracuellos <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
---
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 <[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>;
+ };
+...