summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power
diff options
context:
space:
mode:
authorChris Morgan <macromorgan@hotmail.com>2024-08-21 16:54:48 -0500
committerSebastian Reichel <sebastian.reichel@collabora.com>2024-08-27 18:12:25 +0200
commitdc123a1a80933b7fba1cf53cec77c2425268ff85 (patch)
tree7746841205ce46967554ff72965df50057f20ece /Documentation/devicetree/bindings/power
parent6934da720aac7b0feb99d08ff27fd245a962d8d2 (diff)
downloadlwn-dc123a1a80933b7fba1cf53cec77c2425268ff85.tar.gz
lwn-dc123a1a80933b7fba1cf53cec77c2425268ff85.zip
dt-bindings: power: supply: axp20x-battery: Add monitored-battery
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>
Diffstat (limited to 'Documentation/devicetree/bindings/power')
-rw-r--r--Documentation/devicetree/bindings/power/supply/x-powers,axp20x-battery-power-supply.yaml6
1 files changed, 6 insertions, 0 deletions
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 e0b95ecbbebd..f196bf70b248 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
@@ -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