121d4cdf8SDan Murphy# SPDX-License-Identifier: GPL-2.0
221d4cdf8SDan Murphy%YAML 1.2
321d4cdf8SDan Murphy---
41ea78ec5SKrzysztof Kozlowski$id: http://devicetree.org/schemas/power/supply/power-supply.yaml#
51ea78ec5SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
621d4cdf8SDan Murphy
721d4cdf8SDan Murphytitle: Power Supply Core Support
821d4cdf8SDan Murphy
921d4cdf8SDan Murphymaintainers:
1021d4cdf8SDan Murphy  - Sebastian Reichel <sre@kernel.org>
1121d4cdf8SDan Murphy
1221d4cdf8SDan Murphyproperties:
1321d4cdf8SDan Murphy  power-supplies:
1421d4cdf8SDan Murphy    $ref: /schemas/types.yaml#/definitions/phandle-array
1539bd2b6aSRob Herring    items:
1639bd2b6aSRob Herring      maxItems: 1
1721d4cdf8SDan Murphy    description:
1821d4cdf8SDan Murphy      This property is added to a supply in order to list the devices which
1921d4cdf8SDan Murphy      supply it power, referenced by their phandles.
2021d4cdf8SDan Murphy
21*c7d47d51SKrzysztof Kozlowski  monitored-battery:
22*c7d47d51SKrzysztof Kozlowski    $ref: /schemas/types.yaml#/definitions/phandle
23*c7d47d51SKrzysztof Kozlowski    description:
24*c7d47d51SKrzysztof Kozlowski      The battery (with "simple-battery" compatible) being monitored by this
25*c7d47d51SKrzysztof Kozlowski      power supply.
26*c7d47d51SKrzysztof Kozlowski
276a0e321eSRob HerringadditionalProperties: true
28