mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 01:50:53 +00:00
temp_metrics: tmp006 calibration update
Updated S0 calibration settings based on DVT3 systems.
De-activate the PCH sensor in the thermal loop as its accuracy is poor.
BUG=chrome-os-partner:9599
TEST=run "for i in {0..3}; do echo $i: && ectool tmp006cal $i; done" and make sure
the S0 values are the same as those programmed by temp_metrics.conf.
BRANCH=none
Change-Id: I2b4395d3c74ce4610f57ee90f6cd3f0d7467d31b
Signed-off-by: Sameer Nanda <snanda@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/36000
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Todd Broch <tbroch@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
@@ -85,9 +85,8 @@ script
|
||||
else
|
||||
usb_c_object=13
|
||||
fi
|
||||
pch_d_object=3
|
||||
charger_d_object=7
|
||||
echo $usb_c_object $pch_d_object $charger_d_object
|
||||
echo $usb_c_object $charger_d_object
|
||||
}
|
||||
|
||||
set_calibration_data() {
|
||||
@@ -95,10 +94,10 @@ script
|
||||
B1='-5.7e-7'
|
||||
B2='4.63e-9'
|
||||
|
||||
USB_C_S0='3.648e-14'
|
||||
USB_C_S0='2.712e-14'
|
||||
PCH_D_S0='9.301e-14'
|
||||
HINGE_C_S0='-11.000e-14'
|
||||
CHARGER_D_S0='10.426e-14'
|
||||
CHARGER_D_S0='5.141e-14'
|
||||
|
||||
# Note that the sensor numbering is different between the ectool tmp006
|
||||
# and temps/tempsinfo commands.
|
||||
|
||||
Reference in New Issue
Block a user