Move charger pixel-thermal-symlink from common to project folder
to prevent the GKI version dependencies from blocking init.
Bug: 240897207
Test: thermal_symlinks worked properly in charging mode
Change-Id: I46a4fe59fe62845f8197d3a59b18af0945a163f4
Change the value so that it will map to 910 MHz on mid cores, which
aligns the result of P21.
Bug: 234561004
Test: build pass
Change-Id: I372462d240c5de295959878322c62cc3657cce7c
Reduce /sys/power/pm_freeze_timeout to 1s from default of 20s.
Data shows that the 20s timeout is rarely hit before suspend is aborted
due to a wakeup/interrupt. Reducing the timeout will help with
diagnosing task freezing issues and will reduce time spent attempting
suspend.
Bug: 239743579
Test: Successfuly boot to home, verify change in node
Signed-off-by: Ananth Raghavan Subramanian <ananthrs@google.com>
Change-Id: I839764dd06ebd66110c11953baf13c06e598dd80
Merged-In: I839764dd06ebd66110c11953baf13c06e598dd80
(cherry picked from commit e84f3603d1)
User will enable/disable this feature from UI setting
Bug: 239889098
Test: dock-defend is disabled by default
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I1b0dd49208f345d4edeee81f9b07d2de93f97d45
1) for projects with device specific modules, this property should only
be set while device modules been loaded.
2) also remove "wait_for_prop vendor.device.modules.ready 1" to prevent
infinite wait
3) migrate vendor.all.modules.ready/vendor.all.devices.ready to
init.insmod.<DEVICE>.cfg and set these proprieties while .cfg not
exist
Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: Ie5a2b939191947c4fce154dde48859a28fe86329
SOFT_OCP_TPU/GPU/CPU are no longer used.
Bug: 234275748
Test: Boot and verify
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I4c6a4063ef25c23d88d2b45601a2bafbe2f3d089
Need to meet energy certification test requirement which needs to
be able to charge FULL.
Bug: 235437635
Test: can charge to full on dock in charger mode
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: Ifc99a3c48c129c68bf69a9832c0df0cd14b796e0
Bug: 235050913
Test: no Permission denied while accessing the file node
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I078990fe143d46f30eb0fdf22985c193dcde240d
Need to meet energy certification test requirement which needs to
be able to charge FULL.
Bug: 235437635
Test: can charge to full on dock in charger mode
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I727e2596928dc8f95d7aeba775241419ddd78273
/dev/thermal/tz-by-name/skin_therm1 # ls -l
total 0
-rw-r--r-- 1 system system 4096 2022-06-06 13:41 trip_point_0_hyst
-rw-r--r-- 1 system system 4096 2022-06-06 13:41 trip_point_0_temp
Bug: 233972622
Test: ls -al /dev/thermal/tz-by-name/skin_therm1/
Change-Id: I347c645c7ce23e6e26ea7ef20db9d6f0a66b6498
Bug: 235050913
Test: can parse pca stats in pixelstats-uevent
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I4b921102bd46544adfc049816ba31b3188859973
Let vendor_init adjusted the cpusets by device config from the
server. Allow us to study the performance and power impacts
by various experiment settings.
Bug: 223685902
Test: adb remount ; adb push <init.xxx.rc> /vendor/etc/hw/ ; adb reboot
Test: change persist.device_config.vendor_system_native.<group>_cpuset and check /dev/cpuset/<group>/cpus is also modified
Change-Id: Ie8470f05aacff27d89d276468d78ab32349dbfd2
to reduce boot time, boost ddr freq when booting
and reset it after booting.
Bug: 230581379
Test: pass
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Iaac39e3ad6d5950b1c9676966187eaa13affab7f
Bug: 230393895
Test: Boot and confirm correct settings loaded
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iab7748f082d5e0262ab6e53f7ed6742e113e7328
Currently thermal engine is disabled on A0 based devices using a
separate config file, thermal_info_config-A0.json.
This change removes that restriction so that thermal engine can
be enabled for EVT1.0 devices using device specific rc file.
Bug: 196478280
Test: Build and boot on device. Check thermal config
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I2171f38802b3770317dfb9a3b2106e613c0ccdb4
update new boost uclamp value since we update
cpu capacity
Bug: 224649226
Test: pass
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I2a6211d18af69f5a7269d389c76e43337e5f0c35
Configure permission to get display DDIC chip id.
Bug: 228302164
Test: Verify system process can write to the node.
Change-Id: I647f6d27848d96a8639560616edc7c71a4e49aa9