2024-03-29 13:31:08

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] dt-bindings: timer: renesas,tmu: Make interrupt-names required

Now all in-tree users have been updated with interrupt-names properties
according to commit 0076a37a426b6c85 ("dt-bindings: timer: renesas,tmu:
Document input capture interrupt"), make interrupt-names required.

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
Documentation/devicetree/bindings/timer/renesas,tmu.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/timer/renesas,tmu.yaml b/Documentation/devicetree/bindings/timer/renesas,tmu.yaml
index fde72eec7cb3cc8d..50b5225ceb10b64c 100644
--- a/Documentation/devicetree/bindings/timer/renesas,tmu.yaml
+++ b/Documentation/devicetree/bindings/timer/renesas,tmu.yaml
@@ -94,6 +94,7 @@ required:
- compatible
- reg
- interrupts
+ - interrupt-names
- clocks
- clock-names
- power-domains
--
2.34.1



2024-03-29 17:43:01

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: timer: renesas,tmu: Make interrupt-names required

On 29/03/2024 13:37, Geert Uytterhoeven wrote:
> Now all in-tree users have been updated with interrupt-names properties
> according to commit 0076a37a426b6c85 ("dt-bindings: timer: renesas,tmu:
> Document input capture interrupt"), make interrupt-names required.

Would be nice to see here *why* they should be required, e.g. "Linux
driver needs them since commit foobar").

>
> Signed-off-by: Geert Uytterhoeven <[email protected]>
> ---
> Documentation/devicetree/bindings/timer/renesas,tmu.yaml | 1 +
> 1 file changed, 1 insertion(+)

Anyway:

Acked-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof


2024-04-02 07:15:56

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: timer: renesas,tmu: Make interrupt-names required

Hi Krzysztof,

On Fri, Mar 29, 2024 at 6:42 PM Krzysztof Kozlowski
<[email protected]> wrote:
> On 29/03/2024 13:37, Geert Uytterhoeven wrote:
> > Now all in-tree users have been updated with interrupt-names properties
> > according to commit 0076a37a426b6c85 ("dt-bindings: timer: renesas,tmu:
> > Document input capture interrupt"), make interrupt-names required.
>
> Would be nice to see here *why* they should be required, e.g. "Linux
> driver needs them since commit foobar").

The driver doesn't use the names, nor the optional input capture
interrupt yet.

This is just part of the continuous improvement of Very Old and Immature
DT Bindings, dating back to the days when most animals could still talk,
and before DT became self-aware.

I could add that (or something simpler ;-) for v2, but as the reason
is basically the "for clarity" in the linked commit....

> > Signed-off-by: Geert Uytterhoeven <[email protected]>
> > ---
> > Documentation/devicetree/bindings/timer/renesas,tmu.yaml | 1 +
> > 1 file changed, 1 insertion(+)
>
> Anyway:
>
> Acked-by: Krzysztof Kozlowski <[email protected]>

Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds