1 # SPDX-License-Identifier: GPL-2.0
4 $id: "http://devicetree.org/schemas/power/supply/power-supply.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Power Supply Core Support
10 - Sebastian Reichel <sre@kernel.org>
14 $ref: /schemas/types.yaml#/definitions/phandle-array
16 This property is added to a supply in order to list the devices which
17 supply it power, referenced by their phandles.
19 additionalProperties: true
27 usb_charger:charger@e {
28 compatible = "some,usb-charger";
32 ac_charger:charger@c {
33 compatible = "some,ac-charger";
38 compatible = "some,battery";
40 power-supplies = <&usb_charger>, <&ac_charger>;