Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Power Supply Core Support |
| 8 | |
| 9 | maintainers: |
| 10 | - Sebastian Reichel <sre@kernel.org> |
| 11 | |
| 12 | properties: |
| 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 | |
| 27 | additionalProperties: true |