xref: /freebsd/sys/contrib/device-tree/Bindings/power/supply/power-supply.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/power/supply/power-supply.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Power Supply Core Support
8
9maintainers:
10  - Sebastian Reichel <sre@kernel.org>
11
12properties:
13  power-supplies:
14    $ref: /schemas/types.yaml#/definitions/phandle-array
15    items:
16      maxItems: 1
17    description:
18      This property is added to a supply in order to list the devices which
19      supply it power, referenced by their phandles.
20
21  monitored-battery:
22    $ref: /schemas/types.yaml#/definitions/phandle
23    description:
24      The battery (with "simple-battery" compatible) being monitored by this
25      power supply.
26
27additionalProperties: true
28