diff options
author | Ashish Chavan <ashichav@qti.qualcomm.com> | 2020-12-29 23:01:06 +0530 |
---|---|---|
committer | Ashish Chavan <ashichav@qti.qualcomm.com> | 2021-01-13 09:57:16 +0530 |
commit | c54adef3957930b40c85178bb3b349969bf1af7a (patch) | |
tree | 6a49bea4b9ea5b3e45ed75ffd10ee42c39bd7c90 /bindings/batterydata | |
parent | a2dceb359e01f47fc59e6b43447dbf6bab044879 (diff) | |
download | devicetree-c54adef3957930b40c85178bb3b349969bf1af7a.tar.gz |
dt-bindings: batterydata: Add jeita-fcc-scaling related properties
Add below propeties to enable and configure jeita-fcc-scaling
algorithm :
qcom,jeita-fcc-scaling
qcom,jeita-fcc-scaling-temp-threshold
qcom,jeita-scaling-min-fcc-ua
All of this property needs to be set with valid values to enable
jeita based fcc scaling.
Change-Id: Ifa764a615f301136a1741ee412d9d10388718caa
Diffstat (limited to 'bindings/batterydata')
-rw-r--r-- | bindings/batterydata/batterydata.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bindings/batterydata/batterydata.txt b/bindings/batterydata/batterydata.txt index 29b75cd4..734f7817 100644 --- a/bindings/batterydata/batterydata.txt +++ b/bindings/batterydata/batterydata.txt @@ -153,6 +153,21 @@ Profile data node optional properties: This should be in decidegree and if not specified default select value is 10 DeciDegC. <RISE_HYS_DECIDEG_C, FALL_HYS_DECIDEG_C> +- qcom,jeita-fcc-scaling: A bool property to indicate if temperature based + jeita fcc scaling is enabled. If defined, enables + scaling of FCC based on battery-temperature. Scales + the FCC depending upon the granularity of increase in + battery temperature. +- qcom,jeita-fcc-scaling-temp-threshold: A tuple entry to allow configuring the + min and max battery temperature threshold (in DeciDegC) + for jeita fcc scaling algorithm to kick in. + <MIN_BATT_TEMP_DECIDEG_C, MAX_BATT_TEMP_DECIDEG_C> +- qcom,jeita-scaling-min-fcc-ua : This value corresponds to the minimum FCC (in uA) of + the battery to be applied when battery temperature hits the max + temperature indicated it "qcom,jeita-fcc-scaling-temp-threshold". + This value is selected based on profiling after making sure that + the battery-temperature does not rise at this FCC. + Profile data node required subnodes: - qcom,fcc-temp-lut : An 1-dimensional lookup table node that encodes temperature to fcc lookup. The units for this lookup |