Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 259ce0cd authored by Shyam Kumar Thella's avatar Shyam Kumar Thella
Browse files

dt-bindings: batterydata: Add bindings for properties used by QBG

Add documentation for batterydata properties used in battery profile for
Qualcomm Technologies, Inc. Battery Gauge device.

Change-Id: Id6fa8bff4eb2fb26ab70cb90f0e9a2f42d21e4e3
parent efec5d8c
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -39,6 +39,13 @@ Profile data node required properties:
			of coefficients used in hardware state machines and thus
			influencing the final output of the state of charge read
			by software.
- qcom,capacity : Maximum capacity of the battery (in mAH).
- qcom,checksum : Checksum used to determine if loaded battery profile is valid.
- qcom,recharge-soc-delta : Percentage of SOC delta dropped after end of charge
			to enable recharge.
- qcom,recharge-vflt-delta : Delta in Vfloat dropped from regular vfloat in
			recharge.
- qcom,recharge-iterm-ma : Termination current (in mA) in recharge.

Profile data node optional properties:
- qcom,chg-rslow-comp-c1 : A constant for rslow compensation in the fuel gauge.
@@ -198,6 +205,16 @@ Lookup table required properties:
			the size of qcom,lut-row-legend if it's a 2-dimensional
			table. The data should be in a flattened row-major
			representation.
- qcom,bp-c-table0 : LUT table of the battery used for PON SOC estimation
			during battery charge.
- qcom,bp-d-table0 : LUT table of the battery used for PON SOC estimation
			during battery discharge.
- qcom,bp-c-table-X : LUT tables of the battery at different temperatures
			used for SOC estimation during battery charge. Value
			of X starts from 1.
- qcom,bp-d-table-X : LUT tables of the battery at different temperatures
			used for SOC estimation during battery charge. Value
			of X starts from 1.

Lookup table optional properties:
- qcom,lut-row-legend : An array that encodes the legend of the lookup table's rows.