summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/supply/power-supply.yaml
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-11-02 14:44:59 -0400
committerSebastian Reichel <sebastian.reichel@collabora.com>2022-11-05 21:18:47 +0100
commitc7d47d51663c2cbb9f07ac827f9dffa98d6cab21 (patch)
tree036fedba4a03b80aa50ee66c46461462fc5fdd19 /Documentation/devicetree/bindings/power/supply/power-supply.yaml
parenteae063f64714c2ab92eda900031c5e34a5597201 (diff)
dt-bindings: power: supply: define monitored-battery in common place
Define the type of monitored-battery in power-supply.yaml common schema. Reference the schema where applicable to enforce the above in bindings which have monitored-battery property. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'Documentation/devicetree/bindings/power/supply/power-supply.yaml')
-rw-r--r--Documentation/devicetree/bindings/power/supply/power-supply.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/power-supply.yaml b/Documentation/devicetree/bindings/power/supply/power-supply.yaml
index 2f672e6e8d72..4e54c937973e 100644
--- a/Documentation/devicetree/bindings/power/supply/power-supply.yaml
+++ b/Documentation/devicetree/bindings/power/supply/power-supply.yaml
@@ -18,4 +18,10 @@ properties:
This property is added to a supply in order to list the devices which
supply it power, referenced by their phandles.
+ monitored-battery:
+ $ref: /schemas/types.yaml#/definitions/phandle
+ description:
+ The battery (with "simple-battery" compatible) being monitored by this
+ power supply.
+
additionalProperties: true