blob: 4e54c937973ee71be411964360c7ca8e43bd1034 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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