About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / power_supply


Based on kernel version 4.8. Page generated on 2016-10-06 23:13 EST.

1	Power Supply Core Support
2	
3	Optional Properties:
4	 - power-supplies : This property is added to a supply in order to list the
5	   devices which supply it power, referenced by their phandles.
6	
7	Example:
8	
9		usb-charger: power@e {
10			compatible = "some,usb-charger";
11			...
12		};
13	
14		ac-charger: power@c {
15			compatible = "some,ac-charger";
16			...
17		};
18	
19		battery@b {
20			compatible = "some,battery";
21			...
22			power-supplies = <&usb-charger>, <&ac-charger>;
23		};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog