mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 16:53:59 -04:00
Currently the power supply device tree documentation is spread in .../bindings/power_supply and .../bindings/power. This unifies the files for chargers and battery fuel gauges in .../bindings/power/supply and the ones for system reset/shutdown in .../bindings/power/reset (same structure as used for the drivers itself). Signed-off-by: Sebastian Reichel <sre@kernel.org>
24 lines
441 B
Plaintext
24 lines
441 B
Plaintext
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>;
|
|
};
|