* [PATCH] dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3>
@ 2025-05-27 20:58 Uwe Kleine-König
2025-05-28 5:18 ` Biju Das
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Uwe Kleine-König @ 2025-05-27 20:58 UTC (permalink / raw)
To: Biju Das, Daniel Lezcano, Thomas Gleixner
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Geert Uytterhoeven, Magnus Damm, linux-iio, linux-pwm,
linux-renesas-soc, devicetree
With the goal to unify all PWM bindings to use #pwm-cells = <3> update
the renesas,rz-mtu3 binding accordingly. Keep <2> documented as a
deprecated value at least until the in-tree device trees are fixed
accordingly.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
---
.../devicetree/bindings/timer/renesas,rz-mtu3.yaml | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/timer/renesas,rz-mtu3.yaml b/Documentation/devicetree/bindings/timer/renesas,rz-mtu3.yaml
index 3931054b42fb..3ad10c5b66ba 100644
--- a/Documentation/devicetree/bindings/timer/renesas,rz-mtu3.yaml
+++ b/Documentation/devicetree/bindings/timer/renesas,rz-mtu3.yaml
@@ -221,7 +221,10 @@ properties:
maxItems: 1
"#pwm-cells":
- const: 2
+ oneOf:
+ - const: 2
+ deprecated: true
+ - const: 3
required:
- compatible
@@ -299,5 +302,5 @@ examples:
clocks = <&cpg CPG_MOD R9A07G044_MTU_X_MCK_MTU3>;
power-domains = <&cpg>;
resets = <&cpg R9A07G044_MTU_X_PRESET_MTU3>;
- #pwm-cells = <2>;
+ #pwm-cells = <3>;
};
base-commit: 0ff41df1cb268fc69e703a08a57ee14ae967d0ca
--
2.47.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* RE: [PATCH] dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3>
2025-05-27 20:58 [PATCH] dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3> Uwe Kleine-König
@ 2025-05-28 5:18 ` Biju Das
2025-06-05 19:42 ` Rob Herring (Arm)
2025-06-16 13:08 ` Uwe Kleine-König
2 siblings, 0 replies; 6+ messages in thread
From: Biju Das @ 2025-05-28 5:18 UTC (permalink / raw)
To: Uwe Kleine-König, Daniel Lezcano, Thomas Gleixner
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Geert Uytterhoeven, Magnus Damm, linux-iio@vger.kernel.org,
linux-pwm@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
devicetree@vger.kernel.org
Hi Uwe,
Thanks for the patch.
> -----Original Message-----
> From: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
> Sent: 27 May 2025 21:58
> Subject: [PATCH] dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3>
>
> With the goal to unify all PWM bindings to use #pwm-cells = <3> update the renesas,rz-mtu3 binding
> accordingly. Keep <2> documented as a deprecated value at least until the in-tree device trees are
> fixed accordingly.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Cheers,
Biju
> ---
> .../devicetree/bindings/timer/renesas,rz-mtu3.yaml | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/timer/renesas,rz-mtu3.yaml
> b/Documentation/devicetree/bindings/timer/renesas,rz-mtu3.yaml
> index 3931054b42fb..3ad10c5b66ba 100644
> --- a/Documentation/devicetree/bindings/timer/renesas,rz-mtu3.yaml
> +++ b/Documentation/devicetree/bindings/timer/renesas,rz-mtu3.yaml
> @@ -221,7 +221,10 @@ properties:
> maxItems: 1
>
> "#pwm-cells":
> - const: 2
> + oneOf:
> + - const: 2
> + deprecated: true
> + - const: 3
>
> required:
> - compatible
> @@ -299,5 +302,5 @@ examples:
> clocks = <&cpg CPG_MOD R9A07G044_MTU_X_MCK_MTU3>;
> power-domains = <&cpg>;
> resets = <&cpg R9A07G044_MTU_X_PRESET_MTU3>;
> - #pwm-cells = <2>;
> + #pwm-cells = <3>;
> };
>
> base-commit: 0ff41df1cb268fc69e703a08a57ee14ae967d0ca
> --
> 2.47.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3>
2025-05-27 20:58 [PATCH] dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3> Uwe Kleine-König
2025-05-28 5:18 ` Biju Das
@ 2025-06-05 19:42 ` Rob Herring (Arm)
2025-06-16 13:08 ` Uwe Kleine-König
2 siblings, 0 replies; 6+ messages in thread
From: Rob Herring (Arm) @ 2025-06-05 19:42 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Magnus Damm, Conor Dooley, devicetree, Biju Das, Thomas Gleixner,
Daniel Lezcano, Krzysztof Kozlowski, Geert Uytterhoeven,
linux-pwm, linux-renesas-soc, linux-iio
On Tue, 27 May 2025 22:58:22 +0200, Uwe Kleine-König wrote:
> With the goal to unify all PWM bindings to use #pwm-cells = <3> update
> the renesas,rz-mtu3 binding accordingly. Keep <2> documented as a
> deprecated value at least until the in-tree device trees are fixed
> accordingly.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
> ---
> .../devicetree/bindings/timer/renesas,rz-mtu3.yaml | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3>
2025-05-27 20:58 [PATCH] dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3> Uwe Kleine-König
2025-05-28 5:18 ` Biju Das
2025-06-05 19:42 ` Rob Herring (Arm)
@ 2025-06-16 13:08 ` Uwe Kleine-König
2025-07-31 9:41 ` Uwe Kleine-König
2 siblings, 1 reply; 6+ messages in thread
From: Uwe Kleine-König @ 2025-06-16 13:08 UTC (permalink / raw)
To: Daniel Lezcano
Cc: Biju Das, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Geert Uytterhoeven, Magnus Damm, linux-iio,
linux-pwm, linux-renesas-soc, devicetree
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
Hello Daniel,
On Tue, May 27, 2025 at 10:58:22PM +0200, Uwe Kleine-König wrote:
> With the goal to unify all PWM bindings to use #pwm-cells = <3> update
> the renesas,rz-mtu3 binding accordingly. Keep <2> documented as a
> deprecated value at least until the in-tree device trees are fixed
> accordingly.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
I would expect that with the positive feedback by Biju Das and Rob
Herring it's on you to pick up this patch. Or would you prefer that I
take it via PWM?
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3>
2025-06-16 13:08 ` Uwe Kleine-König
@ 2025-07-31 9:41 ` Uwe Kleine-König
2025-07-31 13:50 ` Daniel Lezcano
0 siblings, 1 reply; 6+ messages in thread
From: Uwe Kleine-König @ 2025-07-31 9:41 UTC (permalink / raw)
To: Daniel Lezcano
Cc: Biju Das, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Geert Uytterhoeven, Magnus Damm, linux-iio,
linux-pwm, linux-renesas-soc, devicetree
[-- Attachment #1: Type: text/plain, Size: 851 bytes --]
Hello Daniel,
On Mon, Jun 16, 2025 at 03:08:41PM +0200, Uwe Kleine-König wrote:
> On Tue, May 27, 2025 at 10:58:22PM +0200, Uwe Kleine-König wrote:
> > With the goal to unify all PWM bindings to use #pwm-cells = <3> update
> > the renesas,rz-mtu3 binding accordingly. Keep <2> documented as a
> > deprecated value at least until the in-tree device trees are fixed
> > accordingly.
> >
> > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
>
> I would expect that with the positive feedback by Biju Das and Rob
> Herring it's on you to pick up this patch. Or would you prefer that I
> take it via PWM?
I understood your silence as "Please pick that patch up via your PWM
tree" and did that now.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
.
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3>
2025-07-31 9:41 ` Uwe Kleine-König
@ 2025-07-31 13:50 ` Daniel Lezcano
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Lezcano @ 2025-07-31 13:50 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: Biju Das, Thomas Gleixner, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Geert Uytterhoeven, Magnus Damm, linux-iio,
linux-pwm, linux-renesas-soc, devicetree
On 31/07/2025 11:41, Uwe Kleine-König wrote:
> Hello Daniel,
>
> On Mon, Jun 16, 2025 at 03:08:41PM +0200, Uwe Kleine-König wrote:
>> On Tue, May 27, 2025 at 10:58:22PM +0200, Uwe Kleine-König wrote:
>>> With the goal to unify all PWM bindings to use #pwm-cells = <3> update
>>> the renesas,rz-mtu3 binding accordingly. Keep <2> documented as a
>>> deprecated value at least until the in-tree device trees are fixed
>>> accordingly.
>>>
>>> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
>>
>> I would expect that with the positive feedback by Biju Das and Rob
>> Herring it's on you to pick up this patch. Or would you prefer that I
>> take it via PWM?
>
> I understood your silence as "Please pick that patch up via your PWM
> tree" and did that now.
Yep, sorry missed it.
--
<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] 6+ messages in thread
end of thread, other threads:[~2025-07-31 13:50 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-27 20:58 [PATCH] dt-bindings: timer: renesas,rz-mtu3: Use #pwm-cells = <3> Uwe Kleine-König
2025-05-28 5:18 ` Biju Das
2025-06-05 19:42 ` Rob Herring (Arm)
2025-06-16 13:08 ` Uwe Kleine-König
2025-07-31 9:41 ` Uwe Kleine-König
2025-07-31 13:50 ` Daniel Lezcano
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).