Commit 83abf9e1 authored by Maxime Ripard's avatar Maxime Ripard Committed by Sebastian Reichel
Browse files

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



The AXP803 compatible was introduced recently with a fallback to the
AXP813, but it was never documented.

Cc: Chen-Yu Tsai <wens@csie.org>
Cc: linux-pm@vger.kernel.org
Cc: Sebastian Reichel <sre@kernel.org>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 4415e4ce
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -21,10 +21,13 @@ allOf:

properties:
  compatible:
    enum:
      - x-powers,axp202-ac-power-supply
      - x-powers,axp221-ac-power-supply
      - x-powers,axp813-ac-power-supply
    oneOf:
      - const: x-powers,axp202-ac-power-supply
      - const: x-powers,axp221-ac-power-supply
      - items:
          - const: x-powers,axp803-ac-power-supply
          - const: x-powers,axp813-ac-power-supply
      - const: x-powers,axp813-ac-power-supply

required:
  - compatible
+7 −4
Original line number Diff line number Diff line
@@ -19,10 +19,13 @@ allOf:

properties:
  compatible:
    enum:
      - x-powers,axp209-battery-power-supply
      - x-powers,axp221-battery-power-supply
      - x-powers,axp813-battery-power-supply
    oneOf:
      - const: x-powers,axp202-battery-power-supply
      - const: x-powers,axp221-battery-power-supply
      - items:
          - const: x-powers,axp803-battery-power-supply
          - const: x-powers,axp813-battery-power-supply
      - const: x-powers,axp813-battery-power-supply

required:
  - compatible
+9 −5
Original line number Diff line number Diff line
@@ -20,11 +20,15 @@ allOf:

properties:
  compatible:
    enum:
    oneOf:
      - enum:
          - x-powers,axp202-usb-power-supply
          - x-powers,axp221-usb-power-supply
          - x-powers,axp223-usb-power-supply
          - x-powers,axp813-usb-power-supply
      - items:
          - const: x-powers,axp803-usb-power-supply
          - const: x-powers,axp813-usb-power-supply


required: