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

Commit c2a9e9f5 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

dt-bindings: qpnp-fg-gen4: Add ki current threshold properties



Add device tree properties to configure low-to-medium and medium-to-high
current thresholds for charging and discharging.

Change-Id: Iad8757b3afebb99dab1530cd69e5e76200ee17f6
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent 90499130
Loading
Loading
Loading
Loading
+39 −0
Original line number Diff line number Diff line
@@ -366,6 +366,25 @@ First Level Node - FG Gen4 device
		    is specified to make it fully functional. Value has no
		    unit. Allowed range is 62 to 15564 in micro units.

- qcom,ki-coeff-dischg-low-med-thresh-ma
	Usage:      optional
	Value type: <u32>
	Definition: Threshold value of discharging current that decides which ki
		    coefficient will be applied: qcom,ki-coeff-low-dischg if the
		    threshold is not breached, and qcom,ki-coeff-med-dischg
		    otherwise. Allowed range is 0 to 3984 milliamperes. If this
		    is not specified, the default value used will be 50 (50 mA).

- qcom,ki-coeff-dischg-med-hi-thresh-ma
	Usage:      optional
	Value type: <u32>
	Definition: Threshold value of discharging current that decides which ki
		    coefficient will be applied: qcom,ki-coeff-med-dischg if the
		    threshold is not breached, and qcom,ki-coeff-hi-dischg
		    otherwise. Allowed range is 0 to 3984 milliamperes. If this
		    is not specified, the default value used will be 100
		    (100 mA).

- qcom,ki-coeff-low-chg
	Usage:      optional
	Value type: <u32>
@@ -387,6 +406,26 @@ First Level Node - FG Gen4 device
		    charging. Value has no unit. Allowed range is 62 to 15564
		    in micro units.

- qcom,ki-coeff-chg-low-med-thresh-ma
	Usage:      optional
	Value type: <u32>
	Definition: Threshold value of charging current that decides which ki
		    coefficient will be applied: qcom,ki-coeff-low-chg if the
		    threshold is not breached, and qcom,ki-coeff-med-chg
		    otherwise. Allowed range is 0 to 3984 milliamperes. If this
		    is not specified, the default value used will be 1000
		    (1000 mA).

- qcom,ki-coeff-chg-med-hi-thresh-ma
	Usage:      optional
	Value type: <u32>
	Definition: Threshold value of charging current that decides which ki
		    coefficient will be applied: qcom,ki-coeff-med-chg if the
		    threshold is not breached, and qcom,ki-coeff-hi-chg
		    otherwise. Allowed range is 0 to 3984 milliamperes. If this
		    is not specified, the default value used will be 1500
		    (1500 mA).

- qcom,ki-coeff-cutoff
	Usage:      optional
	Value type: <u32>