[PATCH 3/5] dt-bindings: pwm: sun20i: Add compatible string for Allwinner H616 PWM

Hironori KIKUCHI
2024-05-31T14:12:28Z

Allwinner H616 SoC has a PWM controller similar to the one
in the D1, which is supported by the pwm-sun20i driver.

The main difference is in the register layout. Specifically, the
GATING flag is placed in the PCCR register instead of the
individual PCGR register.

Add a compatible string to distinguish them.

Signed-off-by: Hironori KIKUCHI <kikuchan98@gmail.com>
---
Documentation/devicetree/bindings/pwm/allwinner,sun20i-pwm.yaml | 1 +
1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/pwm/allwinner,sun20i-pwm.yaml b/Documentation/devicetree/bindings/pwm/allwinner,sun20i-pwm.yaml
index 89cebf7841a..b9b6d7e7c87 100644
--- a/Documentation/devicetree/bindings/pwm/allwinner,sun20i-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/allwinner,sun20i-pwm.yaml
@@ -17,6 +17,7 @@ properties:
- items:
- const: allwinner,sun50i-r329-pwm
- const: allwinner,sun20i-d1-pwm
+ - const: allwinner,sun50i-h616-pwm

reg:
maxItems: 1
--
2.45.1