power_supply.txt 441 B

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