2021-05-14 00:20:34

by Tobias Schramm

[permalink] [raw]
Subject: [PATCH v2 1/2] dt-bindings: pwm: allwinner: add v3s pwm compatible

The Allwinner V3s pwm peripheral is compatible with the pwm peripheral
inside the Allwinner A20.
This patch adds a compatible string for it.

Signed-off-by: Tobias Schramm <[email protected]>
---
.../devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml b/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
index 7dcab2bf8128..04ff708fdc86 100644
--- a/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
@@ -24,6 +24,9 @@ properties:
- items:
- const: allwinner,sun8i-a83t-pwm
- const: allwinner,sun8i-h3-pwm
+ - items:
+ - const: allwinner,sun8i-v3s-pwm
+ - const: allwinner,sun7i-a20-pwm
- items:
- const: allwinner,sun50i-a64-pwm
- const: allwinner,sun5i-a13-pwm
--
2.31.1



2021-05-14 09:55:50

by Andre Przywara

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] dt-bindings: pwm: allwinner: add v3s pwm compatible

On Thu, 13 May 2021 22:35:26 +0200
Tobias Schramm <[email protected]> wrote:

> The Allwinner V3s pwm peripheral is compatible with the pwm peripheral
> inside the Allwinner A20.
> This patch adds a compatible string for it.
>
> Signed-off-by: Tobias Schramm <[email protected]>

Compared the A20 and V3s manuals, the register description on the
PWM peripherals look indeed identical.

Reviewed-by: Andre Przywara <[email protected]>

Cheers,
Andre

> ---
> .../devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml b/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
> index 7dcab2bf8128..04ff708fdc86 100644
> --- a/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
> +++ b/Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml
> @@ -24,6 +24,9 @@ properties:
> - items:
> - const: allwinner,sun8i-a83t-pwm
> - const: allwinner,sun8i-h3-pwm
> + - items:
> + - const: allwinner,sun8i-v3s-pwm
> + - const: allwinner,sun7i-a20-pwm
> - items:
> - const: allwinner,sun50i-a64-pwm
> - const: allwinner,sun5i-a13-pwm


2021-05-19 10:15:21

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] dt-bindings: pwm: allwinner: add v3s pwm compatible

On Thu, 13 May 2021 22:35:26 +0200, Tobias Schramm wrote:
> The Allwinner V3s pwm peripheral is compatible with the pwm peripheral
> inside the Allwinner A20.
> This patch adds a compatible string for it.
>
> Signed-off-by: Tobias Schramm <[email protected]>
> ---
> .../devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>

Acked-by: Rob Herring <[email protected]>