summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Wettlaufer <dubt@google.com>2023-12-15 17:05:43 -0800
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-12-21 09:51:11 +0000
commit7d578a8511960c3d619704c2c6463a577a116372 (patch)
treeae5b46ff810b318b5368410dde140f6be2aaf390
parent901441c3557c2a4c9e28c4894cd312913861f75f (diff)
downloadmsm-7d578a8511960c3d619704c2c6463a577a116372.tar.gz
sw5100-rt595: Disable BCL SOCD Functionality
Set the BCL (battery current limit) socd-trip to 100 which equates to 0% soc, effectively disabling this functionality in the driver. Bug: 293546868 Test: Verified /dev/thermal/tz-by-name/socd/trip_point_1_temp is 100. Test: Verified no performance mitigations were applied below 10% SOC. (cherry picked from commit 5303602db85fa38841be3fb6dab3bfccc6a8ce85) (cherry picked from https://partner-android-review.googlesource.com/q/commit:d4b31138f316099a902d14ff1b6305236899dff3) Merged-In: Ia9e86b7d9392460ec3943aeab9d7d2c28446d470 Change-Id: Ia9e86b7d9392460ec3943aeab9d7d2c28446d470
-rw-r--r--dts/google/sw5100-rt595.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/dts/google/sw5100-rt595.dtsi b/dts/google/sw5100-rt595.dtsi
index 9ec2613..4d16a62 100644
--- a/dts/google/sw5100-rt595.dtsi
+++ b/dts/google/sw5100-rt595.dtsi
@@ -355,6 +355,10 @@
};
};
+&socd_trip {
+ temperature = <100>;
+};
+
&quat_mi2s_sck_active {
config {
drive-strength = <2>; /* 2 mA */