mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
f333253246
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
681 B
Plaintext
24 lines
681 B
Plaintext
Dialog Semiconductor DA9150 Fuel-Gauge Power Supply bindings
|
|
|
|
Required properties:
|
|
- compatible: "dlg,da9150-fuel-gauge" for DA9150 Fuel-Gauge Power Supply
|
|
|
|
Optional properties:
|
|
- dlg,update-interval: Interval time (milliseconds) between battery level checks.
|
|
- dlg,warn-soc-level: Battery discharge level (%) where warning event raised.
|
|
[1 - 100]
|
|
- dlg,crit-soc-level: Battery discharge level (%) where critical event raised.
|
|
This value should be lower than the warning level.
|
|
[1 - 100]
|
|
|
|
|
|
Example:
|
|
|
|
fuel-gauge {
|
|
compatible = "dlg,da9150-fuel-gauge";
|
|
|
|
dlg,update-interval = <10000>;
|
|
dlg,warn-soc-level = /bits/ 8 <15>;
|
|
dlg,crit-soc-level = /bits/ 8 <5>;
|
|
};
|