[PATCH v2 4/7] dt-bindings: power: supply: axp20x-usb-power: Add the AXP2101
From: Olivier Louvignes
Date: Sun Nov 15 2026 - 12:12:18 EST
The AXP2101's USB power supply reports whether VBUS is present and the
input current limit, like the AXP717's; its registers differ, so it gets
its own compatible.
Signed-off-by: Olivier Louvignes <olivier@xxxxxxxxx>
---
.../supply/x-powers,axp20x-usb-power-supply.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml
index 2ec036405ae4..439b3ea6a7f5 100644
--- a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml
+++ b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-usb-power-supply.yaml
@@ -25,6 +25,7 @@ properties:
- x-powers,axp223-usb-power-supply
- x-powers,axp717-usb-power-supply
- x-powers,axp813-usb-power-supply
+ - x-powers,axp2101-usb-power-supply
- items:
- const: x-powers,axp803-usb-power-supply
- const: x-powers,axp813-usb-power-supply
@@ -101,4 +102,15 @@ allOf:
enum: [100000, 500000, 900000, 1500000, 2000000, 2500000,
3000000, 3500000, 4000000]
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - x-powers,axp2101-usb-power-supply
+ then:
+ properties:
+ input-current-limit-microamp:
+ enum: [100000, 500000, 900000, 1000000, 1500000, 2000000]
+
additionalProperties: false
--
2.39.5