Re: [PATCH v2 1/2] dt-bindings: pwm: allwinner: add v3s pwm compatible
From: Andre Przywara
Date: Fri May 14 2021 - 03:02:32 EST
On Thu, 13 May 2021 22:35:26 +0200
Tobias Schramm <t.schramm@xxxxxxxxxxx> 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 <t.schramm@xxxxxxxxxxx>
Compared the A20 and V3s manuals, the register description on the
PWM peripherals look indeed identical.
Reviewed-by: Andre Przywara <andre.przywara@xxxxxxx>
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