Added a protobuf based schema checker presubmit test
for thermal configurations.
Test: Manually test: atest thermal_info_config_husky.json
Bug: 127794899
Change-Id: I2159bf2b3993a2af7f8a71670e8d36743fffcaea
For schema parsing, protobuf parses "NaN" as float but not "NAN."
Test: Flash and check sensor values.
Bug: 127794899
Change-Id: I01549ecdabf4fe6af1cff685b97f8f18b0dd3003
Align the same cdev_ceiling for all the profiles to avoid the unexpected throttling request when switching the profile.
Bug: 308646952
Test: emul_temp VSKIN, and monitor thermal throttling log with
open/close camera
Change-Id: Id108ccea6da4f82fe24ed6d275d6d4688ee78c02
We found that CPU-MID loop will cause big bouncing (~2 degC) during
light loading test (burncycle with dutycycle), we can avoid such
bouncing by remove stop CPU-MID loop at 39.
Apply same change on CPU-HIGH to avoid similar issue.
Bug: 286773651
Test: run burn8 / burncycle_wih_dutycycle / gb5
Change-Id: I11cfbb940a556793ce1fe6d08ff06fc1df55d52a
Signed-off-by: Peter (YM) <peterym@google.com>
usb_pwr_therm will be impacted by MODEM, so add more rules to
avoid false positive
Bug: 286482405
Test: emul_temp
Change-Id: I98ba998857cb4b1f876d51129becdb27d4356fd6
The BTS window partial temperature is synthesized via component sensors.
The equation has been updated to reflect larger RCAM bezel present on
DVT units and beyond. The sensor HAL applies the final component to
create the BTS window temperature. This also fixes a bug where
previously the Offset value was off by a factor of 10, resulting in a 1
degree overestimate.
Test: sensor_test confirms reasonable window temp w/ sensor HAL update
Bug: 280076251
Change-Id: I659adbfeccfaf2832c740fd2ab14884948b3ed49
Increase the I_Cufoff value to make the power budget update more frequently
Bug: 258136466
Test: Run manhattan 3.1 offscreen
Change-Id: Iece2064ed06b9883ab52084baf3031c74f83b0ef
Since MMWAVE power rail will be removed for SUB6 only sku (device without MMWAVE module),
remove this from partial system power reference.
Bug: 279698561
Test: Build and boot on device, verify device can boot to home and
thermal can launch
Change-Id: I39c3f468f6cda269a5cacce92d346c5b9848b13b
Signed-off-by: Peter (YM) <peterym@google.com>
The kernel side supports 26 levels of chg_mdis throttling now (pa/2492504), so having this change to provide more smooth charging throttling.
Bug: 258136311
Test: check VSKIN-CHARGE temperature w/ charging test
Change-Id: I0d4eddc95aaef5777c07a26985929ee72dc2d1e6
Move shusky thermal .json files into thermal/
and perf configs into perf/.
Also move the configs into device-shusky-common.mk,
allowing override of the config file path.
Bug: 277993984
Change-Id: Ifa2882ee9c27c57d967c27f9f8e8edaff313e2d5