Skip to content

Commit 6f9fec7

Browse files
macromorgansre
authored andcommitted
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: Krzysztof Kozlowski <[email protected]> Acked-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Chris Morgan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sebastian Reichel <[email protected]>
1 parent e0d967f commit 6f9fec7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ properties:
2323
- x-powers,axp202-usb-power-supply
2424
- x-powers,axp221-usb-power-supply
2525
- x-powers,axp223-usb-power-supply
26+
- x-powers,axp717-usb-power-supply
2627
- x-powers,axp813-usb-power-supply
2728
- items:
2829
- const: x-powers,axp803-usb-power-supply
@@ -75,6 +76,19 @@ allOf:
7576
input-current-limit-microamp:
7677
enum: [500000, 900000]
7778

79+
- if:
80+
properties:
81+
compatible:
82+
contains:
83+
enum:
84+
- x-powers,axp717-usb-power-supply
85+
then:
86+
properties:
87+
input-current-limit-microamp:
88+
description: Maximum input current in increments of 50000 uA.
89+
minimum: 100000
90+
maximum: 3250000
91+
7892
- if:
7993
properties:
8094
compatible:

0 commit comments

Comments
 (0)