• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Dialog Semiconductor DA9150 Fuel-Gauge Power Supply bindings
2
3Required properties:
4- compatible: "dlg,da9150-fuel-gauge" for DA9150 Fuel-Gauge Power Supply
5
6Optional properties:
7- dlg,update-interval: Interval time (milliseconds) between battery level checks.
8- dlg,warn-soc-level: Battery discharge level (%) where warning event raised.
9      [1 - 100]
10- dlg,crit-soc-level: Battery discharge level (%) where critical event raised.
11  This value should be lower than the warning level.
12      [1 - 100]
13
14
15Example:
16
17	fuel-gauge {
18		compatible = "dlg,da9150-fuel-gauge";
19
20		dlg,update-interval = <10000>;
21		dlg,warn-soc-level = /bits/ 8 <15>;
22		dlg,crit-soc-level = /bits/ 8 <5>;
23	};
24