]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: power: supply: axp20x-battery: Add monitored-battery
authorChris Morgan <macromorgan@hotmail.com>
Wed, 21 Aug 2024 21:54:48 +0000 (16:54 -0500)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 27 Aug 2024 16:12:25 +0000 (18:12 +0200)
Document the monitored-battery property, which the existing driver can
use to set certain properties.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20240821215456.962564-8-macroalpha82@gmail.com
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml

index e0b95ecbbebd4674db6ec03513bf32001f3e55f7..f196bf70b2480e4e97a20d5320d3951b14bdaa7f 100644 (file)
@@ -28,6 +28,12 @@ properties:
           - const: x-powers,axp813-battery-power-supply
       - const: x-powers,axp813-battery-power-supply
 
+  monitored-battery:
+    description:
+      Specifies the phandle of an optional simple-battery connected to
+      this gauge.
+    $ref: /schemas/types.yaml#/definitions/phandle
+
 required:
   - compatible