[RESEND,v2] dt-bindings: timer: add Ralink SoCs system tick counter

Message ID 20231212093443.1898591-1-sergio.paracuellos@gmail.com
State New
Headers
Series [RESEND,v2] dt-bindings: timer: add Ralink SoCs system tick counter |

Commit Message

Sergio Paracuellos Dec. 12, 2023, 9:34 a.m. UTC
  Add YAML doc for the system tick counter which is present on Ralink SoCs.

cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
Changes in v2 RESEND:
- Add Daniel Lezcano to CC in the patch itself.
Changes in v2:
- Add Rob's Reviewed-by tag.

v1: https://lore.kernel.org/lkml/CAMhs-H_9kAdOfR-RaJWqAq6d3S3DXtKJqWy-EWCu0-ZjWKB9Sw@mail.gmail.com/T/#re9225265416ca8463c5f06d736f9834ae75efe0c

I am sending this with Rob's RB added since I ping for the v1 multiple
times without response. So I can be missing something or the patch is
lost for any reason. Thanks!

 .../bindings/timer/ralink,cevt-systick.yaml   | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml
  

Comments

Sergio Paracuellos Feb. 23, 2024, 11:27 a.m. UTC | #1
Hi,

On Tue, Dec 12, 2023 at 10:34 AM Sergio Paracuellos
<sergio.paracuellos@gmail.com> wrote:
>
> Add YAML doc for the system tick counter which is present on Ralink SoCs.
>
> cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Reviewed-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> ---
> Changes in v2 RESEND:
> - Add Daniel Lezcano to CC in the patch itself.
> Changes in v2:
> - Add Rob's Reviewed-by tag.
>
> v1: https://lore.kernel.org/lkml/CAMhs-H_9kAdOfR-RaJWqAq6d3S3DXtKJqWy-EWCu0-ZjWKB9Sw@mail.gmail.com/T/#re9225265416ca8463c5f06d736f9834ae75efe0c
>
> I am sending this with Rob's RB added since I ping for the v1 multiple
> times without response. So I can be missing something or the patch is
> lost for any reason. Thanks!
>
>  .../bindings/timer/ralink,cevt-systick.yaml   | 38 +++++++++++++++++++
>  1 file changed, 38 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml
>
> diff --git a/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml b/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml
> new file mode 100644
> index 000000000000..59d97feddf4e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml
> @@ -0,0 +1,38 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/timer/ralink,cevt-systick.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: System tick counter present in Ralink family SoCs
> +
> +maintainers:
> +  - Sergio Paracuellos <sergio.paracuellos@gmail.com>
> +
> +properties:
> +  compatible:
> +    const: ralink,cevt-systick
> +
> +  reg:
> +    maxItems: 1
> +
> +  interrupts:
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    systick@d00 {
> +        compatible = "ralink,cevt-systick";
> +        reg = <0xd00 0x10>;
> +
> +        interrupt-parent = <&cpuintc>;
> +        interrupts = <7>;
> +    };
> +...
> --
> 2.25.1
>

Gentle ping on this patch. It has been a while since it has been sent.

Thanks,
     Sergio Paracuellos
  
Daniel Lezcano Feb. 23, 2024, 12:23 p.m. UTC | #2
Hi Sergio,

On 23/02/2024 12:27, Sergio Paracuellos wrote:
> Hi,
> 
> On Tue, Dec 12, 2023 at 10:34 AM Sergio Paracuellos
> <sergio.paracuellos@gmail.com> wrote:
>>
>> Add YAML doc for the system tick counter which is present on Ralink SoCs.
>>
>> cc: Daniel Lezcano <daniel.lezcano@linaro.org>
>> Reviewed-by: Rob Herring <robh@kernel.org>
>> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
>> ---
>> Changes in v2 RESEND:
>> - Add Daniel Lezcano to CC in the patch itself.
>> Changes in v2:
>> - Add Rob's Reviewed-by tag.

Applied, thanks

Sorry for missing this patch

> Gentle ping on this patch. It has been a while since it has been sent.
> 
> Thanks,
>       Sergio Paracuellos
  
Sergio Paracuellos Feb. 23, 2024, 12:31 p.m. UTC | #3
On Fri, Feb 23, 2024 at 1:23 PM Daniel Lezcano
<daniel.lezcano@linaro.org> wrote:
>
>
> Hi Sergio,
>
> On 23/02/2024 12:27, Sergio Paracuellos wrote:
> > Hi,
> >
> > On Tue, Dec 12, 2023 at 10:34 AM Sergio Paracuellos
> > <sergio.paracuellos@gmail.com> wrote:
> >>
> >> Add YAML doc for the system tick counter which is present on Ralink SoCs.
> >>
> >> cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> >> Reviewed-by: Rob Herring <robh@kernel.org>
> >> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
> >> ---
> >> Changes in v2 RESEND:
> >> - Add Daniel Lezcano to CC in the patch itself.
> >> Changes in v2:
> >> - Add Rob's Reviewed-by tag.
>
> Applied, thanks
>
> Sorry for missing this patch

No problem :). Thanks for letting me know.

Best regards,
    Sergio Paracuellos
>
> > Gentle ping on this patch. It has been a while since it has been sent.
> >
> > Thanks,
> >       Sergio Paracuellos
>
> --
> <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
>
  

Patch

diff --git a/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml b/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml
new file mode 100644
index 000000000000..59d97feddf4e
--- /dev/null
+++ b/Documentation/devicetree/bindings/timer/ralink,cevt-systick.yaml
@@ -0,0 +1,38 @@ 
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/timer/ralink,cevt-systick.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: System tick counter present in Ralink family SoCs
+
+maintainers:
+  - Sergio Paracuellos <sergio.paracuellos@gmail.com>
+
+properties:
+  compatible:
+    const: ralink,cevt-systick
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+  - interrupts
+
+additionalProperties: false
+
+examples:
+  - |
+    systick@d00 {
+        compatible = "ralink,cevt-systick";
+        reg = <0xd00 0x10>;
+
+        interrupt-parent = <&cpuintc>;
+        interrupts = <7>;
+    };
+...