Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
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>;
|
|
};
|