Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

power: da9150: Add DT bindings documentation for Fuel-Gauge

Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Acked-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Adam Thomson and committed by
Lee Jones
4e2d9460 a419b4fd

+23
+23
Documentation/devicetree/bindings/power/da9150-fg.txt
··· 1 + Dialog Semiconductor DA9150 Fuel-Gauge Power Supply bindings 2 + 3 + Required properties: 4 + - compatible: "dlg,da9150-fuel-gauge" for DA9150 Fuel-Gauge Power Supply 5 + 6 + Optional 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 + 15 + Example: 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 + };