summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/devicetree/bindings/power/da9150-fg.txt
blob: 00236fe3ea319c92f0b01b46bc17b75a76b5e881 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>;
	};