2022-03-01 15:26:58

by Prabhakar Mahadev Lad

[permalink] [raw]
Subject: [PATCH v2] dt-bindings: watchdog: renesas,wdt: Document RZ/V2L SoC

Document RZ/V2L WDT bindings. RZ/V2L WDT is identical to one found
on the RZ/G2L SoC. No driver changes are required as generic compatible
string "renesas,rzg2l-wdt" will be used as a fallback.

While at it, drop the comment "# RZ/G2L" for "renesas,rzg2l-wdt"
compatible string as this will avoid changing the line for every new
SoC addition.

Signed-off-by: Lad Prabhakar <[email protected]>
Reviewed-by: Biju Das <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
---
v1->v2:
* Included RB tags
* Drop the comment "# RZ/G2L" for "renesas,rzg2l-wdt" compatible string
as suggested by Geert.

v1:
https://patchwork.kernel.org/project/linux-renesas-soc/patch/
[email protected]/
---
Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
index 91a98ccd4226..146ae20eacbb 100644
--- a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
@@ -22,7 +22,8 @@ properties:
- items:
- enum:
- renesas,r9a07g044-wdt # RZ/G2{L,LC}
- - const: renesas,rzg2l-wdt # RZ/G2L
+ - renesas,r9a07g054-wdt # RZ/V2L
+ - const: renesas,rzg2l-wdt

- items:
- enum:
--
2.17.1


2022-03-01 15:48:12

by Wolfram Sang

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: watchdog: renesas,wdt: Document RZ/V2L SoC

On Tue, Mar 01, 2022 at 12:23:32PM +0000, Lad Prabhakar wrote:
> Document RZ/V2L WDT bindings. RZ/V2L WDT is identical to one found
> on the RZ/G2L SoC. No driver changes are required as generic compatible
> string "renesas,rzg2l-wdt" will be used as a fallback.
>
> While at it, drop the comment "# RZ/G2L" for "renesas,rzg2l-wdt"
> compatible string as this will avoid changing the line for every new
> SoC addition.
>
> Signed-off-by: Lad Prabhakar <[email protected]>
> Reviewed-by: Biju Das <[email protected]>
> Acked-by: Krzysztof Kozlowski <[email protected]>
> Reviewed-by: Geert Uytterhoeven <[email protected]>

Reviewed-by: Wolfram Sang <[email protected]>


Attachments:
(No filename) (756.00 B)
signature.asc (849.00 B)
Download all attachments

2022-03-10 03:01:53

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: watchdog: renesas,wdt: Document RZ/V2L SoC

On Tue, Mar 01, 2022 at 12:23:32PM +0000, Lad Prabhakar wrote:
> Document RZ/V2L WDT bindings. RZ/V2L WDT is identical to one found
> on the RZ/G2L SoC. No driver changes are required as generic compatible
> string "renesas,rzg2l-wdt" will be used as a fallback.
>
> While at it, drop the comment "# RZ/G2L" for "renesas,rzg2l-wdt"
> compatible string as this will avoid changing the line for every new
> SoC addition.
>
> Signed-off-by: Lad Prabhakar <[email protected]>
> Reviewed-by: Biju Das <[email protected]>
> Acked-by: Krzysztof Kozlowski <[email protected]>
> Reviewed-by: Geert Uytterhoeven <[email protected]>
> Reviewed-by: Wolfram Sang <[email protected]>

Reviewed-by: Guenter Roeck <[email protected]>

> ---
> v1->v2:
> * Included RB tags
> * Drop the comment "# RZ/G2L" for "renesas,rzg2l-wdt" compatible string
> as suggested by Geert.
>
> v1:
> https://patchwork.kernel.org/project/linux-renesas-soc/patch/
> [email protected]/
> ---
> Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
> index 91a98ccd4226..146ae20eacbb 100644
> --- a/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/renesas,wdt.yaml
> @@ -22,7 +22,8 @@ properties:
> - items:
> - enum:
> - renesas,r9a07g044-wdt # RZ/G2{L,LC}
> - - const: renesas,rzg2l-wdt # RZ/G2L
> + - renesas,r9a07g054-wdt # RZ/V2L
> + - const: renesas,rzg2l-wdt
>
> - items:
> - enum: