PageRenderTime 16ms CodeModel.GetById 13ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Documentation/devicetree/bindings/power_supply/power_supply.txt

https://gitlab.com/webhaikal/SenseiFerrari
Plain Text | 23 lines | 18 code | 5 blank | 0 comment | 0 complexity | 8e79a9166b9de94d6d726bf725284b98 MD5 | raw file
 1Power Supply Core Support
 2
 3Optional 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
 7Example:
 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	};