diff mbox series

[29/54] dt-bindings: power: supply: axp20x-battery: Add AXP209 compatible

Message ID 20210721140424.725744-30-maxime@cerno.tech
State Accepted
Commit cc2712f24e032f2bebf4355207638bf15ca676b5
Headers show
Series ARM: dts: Last round of DT schema fixes | expand

Commit Message

Maxime Ripard July 21, 2021, 2:03 p.m. UTC
The AXP209 compatible was used in Device Trees and the driver, 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: Maxime Ripard <maxime@cerno.tech>
---
 .../power/supply/x-powers,axp20x-battery-power-supply.yaml       | 1 +
 1 file changed, 1 insertion(+)

Comments

Rob Herring (Arm) July 23, 2021, 10 p.m. UTC | #1
On Wed, 21 Jul 2021 16:03:59 +0200, Maxime Ripard wrote:
> The AXP209 compatible was used in Device Trees and the driver, 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: Maxime Ripard <maxime@cerno.tech>

> ---

>  .../power/supply/x-powers,axp20x-battery-power-supply.yaml       | 1 +

>  1 file changed, 1 insertion(+)

> 


Reviewed-by: Rob Herring <robh@kernel.org>
Sebastian Reichel Aug. 6, 2021, 9:34 p.m. UTC | #2
Hi,

On Wed, Jul 21, 2021 at 04:03:59PM +0200, Maxime Ripard wrote:
> The AXP209 compatible was used in Device Trees and the driver, 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: Maxime Ripard <maxime@cerno.tech>

> ---


Thanks, queued.

-- Sebastian

>  .../power/supply/x-powers,axp20x-battery-power-supply.yaml       | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml

> index d1f0df123a5a..d055428ae39f 100644

> --- a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml

> +++ b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml

> @@ -21,6 +21,7 @@ properties:

>    compatible:

>      oneOf:

>        - const: x-powers,axp202-battery-power-supply

> +      - const: x-powers,axp209-battery-power-supply

>        - const: x-powers,axp221-battery-power-supply

>        - items:

>            - const: x-powers,axp803-battery-power-supply

> -- 

> 2.31.1

>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml
index d1f0df123a5a..d055428ae39f 100644
--- a/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml
+++ b/Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml
@@ -21,6 +21,7 @@  properties:
   compatible:
     oneOf:
       - const: x-powers,axp202-battery-power-supply
+      - const: x-powers,axp209-battery-power-supply
       - const: x-powers,axp221-battery-power-supply
       - items:
           - const: x-powers,axp803-battery-power-supply