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

Skip to content
Commit f4db15d9 authored by David Keitel's avatar David Keitel Committed by Stephen Boyd
Browse files

power: qpnp-charger: add support for BTC devicetree configuration



Add support to specify the BTC threshold configuration percentage
values via devicetree. These percentage value reflect
the resulting voltage on the BAT_THERM rail pulled up by a
1.8 V reference voltage VREF_BAT_THM.

Support to disable the BTC thresholds completely has also been
added.

The available configurations are:
  * BAT_TEMP_HOT_THD:  25%, 35%
  * BAT_TEMP_COLD_THD:  70%, 80%

The following device tree properties have been added:
  * qcom,batt-hot-percentage
  * qcom,batt-cold-percentage
  * qcom,btc-disabled

CRs-Fixed: 497704
Change-Id: I864e050d3c0cb751f6e2876a21525a8370384f9f
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent f8f930dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment