dt-bindings: pwm: allwinner,sun4i-a10: Add F1C100s compatible
authorAndre Przywara <andre.przywara@arm.com>
Mon, 7 Nov 2022 00:54:24 +0000 (00:54 +0000)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Wed, 16 Nov 2022 18:34:50 +0000 (19:34 +0100)
The PWM controller in the Allwinner F1C100s series of SoCs is the same
as in the A20 SoCs, so allow using that as the fallback name.

Join the V3s compatible string in an enum on the way.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20221107005433.11079-2-andre.przywara@arm.com
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Documentation/devicetree/bindings/pwm/allwinner,sun4i-a10-pwm.yaml

index 4cc3cc7c50bec97d646490050f809e2f2ba87d89..66e400f2a3a4f03a02426285f3e1c17f59e19be1 100644 (file)
@@ -25,7 +25,9 @@ properties:
           - const: allwinner,sun8i-a83t-pwm
           - const: allwinner,sun8i-h3-pwm
       - items:
-          - const: allwinner,sun8i-v3s-pwm
+          - enum:
+              - allwinner,suniv-f1c100s-pwm
+              - allwinner,sun8i-v3s-pwm
           - const: allwinner,sun7i-a20-pwm
       - items:
           - const: allwinner,sun50i-a64-pwm