aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power_supply/power_supply.txt
blob: 8391bfa0edac50cd463db1830ca83628251812a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Power Supply Core Support

Optional Properties:
 - power-supplies : This property is added to a supply in order to list the
   devices which supply it power, referenced by their phandles.

Example:

	usb-charger: power@e {
		compatible = "some,usb-charger";
		...
	};

	ac-charger: power@c {
		compatible = "some,ac-charger";
		...
	};

	battery@b {
		compatible = "some,battery";
		...
		power-supplies = <&usb-charger>, <&ac-charger>;
	};