Re: [PATCH v2 4/7] dt-bindings: power: supply: axp20x-usb-power: Add the AXP2101
From: Sebastian Reichel
Date: Mon Nov 30 2026 - 23:14:06 EST
Hi,
On Sun, Nov 15, 2026 at 06:11:47PM +0100, Olivier Louvignes wrote:
> 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>
> ---
Acked-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
Greetings,
-- Sebastian
> .../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
>
Attachment:
signature.asc
Description: PGP signature