diff options
author | Alice Sheng <alicesheng@google.com> | 2021-06-23 17:39:45 -0700 |
---|---|---|
committer | Alice Sheng <alicesheng@google.com> | 2021-06-23 17:46:35 -0700 |
commit | 5c1ddb02a47a190ef619ae66f94cd8135283e29b (patch) | |
tree | 2b71328a14d05a8c8661caa04eb0a238c92371b2 | |
parent | 202d0a25d3e70057cc24e30e60c488e13df06c02 (diff) | |
download | devicetree-5c1ddb02a47a190ef619ae66f94cd8135283e29b.tar.gz |
Increase the battery and PPG NTC polling delays
With the exception of PPG_NTC on Proto devices since the location of
that one led to very fast heating. This will reduce the average rate of
NTC polling to a more reasonable one instead of twice per second.
Changing it now because the test data shows that we no longer need such
a fast polling rate, based on how fast the device actually heats up
Bug: 188443364
Change-Id: I026359e8677aaf05a3342ecc6316100c11cdd019
-rw-r--r-- | r11_battery_root.dtsi | 2 | ||||
-rw-r--r-- | r11_evt1_battery.dtsi | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/r11_battery_root.dtsi b/r11_battery_root.dtsi index 9114ab1..d3972aa 100644 --- a/r11_battery_root.dtsi +++ b/r11_battery_root.dtsi @@ -234,7 +234,7 @@ thermal_zones: thermal-zones { thermal-sensors = <&tsmab104_ntc 0>; }; batt_ntc: BATT_NTC { - polling-delay = <1000>; /* milliseconds */ + polling-delay = <10000>; /* milliseconds */ polling-delay-passive = <0>; /* milliseconds */ thermal-sensors = <&tsmab104_ntc 1>; }; diff --git a/r11_evt1_battery.dtsi b/r11_evt1_battery.dtsi index 2ac0033..d8c83dc 100644 --- a/r11_evt1_battery.dtsi +++ b/r11_evt1_battery.dtsi @@ -35,7 +35,7 @@ }; &ppg_ntc { - polling-delay = <1000>; /* milliseconds */ + polling-delay = <10000>; /* milliseconds */ polling-delay-passive = <0>; /* milliseconds */ thermal-sensors = <&tsmab104_ntc 4>; governor = "bang_bang"; |