Commit 6f9fec70 authored by Chris Morgan's avatar Chris Morgan Committed by Sebastian Reichel
Browse files

dt-bindings: power: supply: axp20x: Add AXP717 compatible



Add support for the AXP717. It has BC 1.2 detection like the AXP813
and uses ADC channels like all other AXP devices, but otherwise is
very different requiring new registers for most functions.

Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarChris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20240821215456.962564-10-macroalpha82@gmail.com


Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent e0d967f2
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ properties:
          - x-powers,axp202-usb-power-supply
          - x-powers,axp221-usb-power-supply
          - x-powers,axp223-usb-power-supply
          - x-powers,axp717-usb-power-supply
          - x-powers,axp813-usb-power-supply
      - items:
          - const: x-powers,axp803-usb-power-supply
@@ -75,6 +76,19 @@ allOf:
        input-current-limit-microamp:
          enum: [500000, 900000]

  - if:
      properties:
        compatible:
          contains:
            enum:
              - x-powers,axp717-usb-power-supply
    then:
      properties:
        input-current-limit-microamp:
          description: Maximum input current in increments of 50000 uA.
          minimum: 100000
          maximum: 3250000

  - if:
      properties:
        compatible: