About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / power_supply / power_supply.txt




Custom Search

Based on kernel version 3.13. Page generated on 2014-01-20 22:01 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

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.