dt-bindings: gpio: Add AXP221/AXP223/AXP809 compatibles
authorSamuel Holland <samuel@sholland.org>
Tue, 21 Jun 2022 03:42:21 +0000 (22:42 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 30 Jun 2022 12:04:47 +0000 (14:04 +0200)
These PMICs each have 2 GPIOs with the same register layout as AXP813,
but without an ADC function.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220621034224.38995-2-samuel@sholland.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/gpio/x-powers,axp209-gpio.yaml

index 0f628b088cec8a84264fca05849a170d1da2cec3..14486aee97b43639c4b93f76a3e2c727b07b4343 100644 (file)
@@ -19,7 +19,13 @@ properties:
     oneOf:
       - enum:
           - x-powers,axp209-gpio
+          - x-powers,axp221-gpio
           - x-powers,axp813-gpio
+      - items:
+          - enum:
+              - x-powers,axp223-gpio
+              - x-powers,axp809-gpio
+          - const: x-powers,axp221-gpio
       - items:
           - const: x-powers,axp803-gpio
           - const: x-powers,axp813-gpio