Revert "umi: Drop thermal configs"

This reverts commit bd3ce9f9c105b9ab8acab38593c4744701914945.

Change-Id: I30016781ceb1f1559952ed9e3c702b4bbad436c2
This commit is contained in:
Yumi Yukimura
2024-06-27 05:06:18 +08:00
parent eaae7fcf60
commit 28480e18ea
24 changed files with 141 additions and 0 deletions

BIN
proprietary/vendor/etc/thermal-4k.conf vendored Normal file

Binary file not shown.

BIN
proprietary/vendor/etc/thermal-8k.conf vendored Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,25 @@
[VIRTUAL-SENSOR]
algo_type virtual
sensors battery cam_therm1 conn_therm quiet_therm wireless_therm xo_therm
weight 223 150 440 -143 115 149
polling 2000
weight_sum 1000
compensation 1541
[CHG-MONITOR-BAT]
algo_type monitor
sensor VIRTUAL-SENSOR
device battery
polling 2000
trig 37000 40000 42000 43000 44000 45000 46000 47000 60000
clr 35000 38000 40000 42000 43000 44000 45000 46000 48000
target 1103 1206 1206 1306 1309 1310 1312 1414 1515
[CHG-MONITOR-WIRELESS]
algo_type monitor
sensor VIRTUAL-SENSOR
device wireless_charge
polling 2000
trig 37000 38500 40000 40800 41600 42400 43200 44000
clr 35000 37000 38500 40000 40800 41600 42400 43200
target 400 600 802 804 806 1008 1010 1313

Binary file not shown.

View File

@@ -0,0 +1,2 @@
# File empty by default.
# Replace contents of this file with custom configuration.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
proprietary/vendor/etc/thermal-map.conf vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
hHW1u@k|<7C><>Z<EFBFBD>?<3F>O,f<><11><><EFBFBD>*<2A>i2<69><32><EFBFBD><EFBFBD>{<7B>n<EFBFBD><6E><EFBFBD>/<02>ߊ<ECA581>̟<EFBFBD>^<5E>s<EFBFBD>u<EFBFBD><75><13>W

Binary file not shown.

View File

@@ -0,0 +1,90 @@
#Device discribe config
#GPU
[
name:gpu
cooling_name:thermal-devfreq-0
def_target:0
select_higher:1
]
#battery
[
name:battery
cooling_name:battery
def_target:0
select_higher:1
]
#backlight
[
name:backlight
cooling_name:panel0-backlight
def_target:0
select_higher:1
]
#backlight-clone
[
name:backlight-clone
cooling_name:brightness0-clone
def_target:0
select_higher:1
]
#temp_state
[
name:temp_state
path:/sys/class/thermal/thermal_message/temp_state
def_target:0
select_higher:1
]
#hbm
[
name:thermal_hbm_disabled
path:/sys/class/drm/card0-DSI-1/thermal_hbm_disabled
def_target:0
select_higher:1
]
#wireless charge
[
name:wireless_charge
path:/sys/class/power_supply/battery/dc_thermal_levels
def_target:0
select_higher:1
]
#modem uplink
[
name:modem_ul
cooling_name:modem_pa
def_target:0
select_higher:1
]
#modem downlink
[
name:modem_dl
cooling_name:modem_tj
def_target:0
select_higher:1
]
#market_download_limit
[
name:market_download_limit
path:/sys/class/thermal/thermal_message/market_download_limit
def_target:0
select_higher:1
]
#wifi limit
[
name:wifi_limit
path:/sys/class/thermal/thermal_message/wifi_limit
def_target:0
select_higher:1
]

View File

@@ -230,6 +230,29 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/umi/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_wrist_tilt_gesture.proto \ vendor/xiaomi/umi/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_wrist_tilt_gesture.proto \
vendor/xiaomi/umi/proprietary/vendor/etc/sensors/sensor_diag.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sensor_diag.cfg \ vendor/xiaomi/umi/proprietary/vendor/etc/sensors/sensor_diag.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sensor_diag.cfg \
vendor/xiaomi/umi/proprietary/vendor/etc/sensors/sns_reg_config:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sns_reg_config \ vendor/xiaomi/umi/proprietary/vendor/etc/sensors/sns_reg_config:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sns_reg_config \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-4k.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-4k.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-8k.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-8k.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-camera.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-camera.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-chg-only.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-chg-only.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-class0.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-class0.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-india-camera.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-india-camera.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-india-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-india-normal.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-india-per-camera.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-india-per-camera.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-india-per-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-india-per-normal.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-map-india.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-map-india.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-map.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-map.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-navigation.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-navigation.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-nolimits.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-nolimits.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-normal.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-per-camera.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-camera.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-per-class0.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-class0.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-per-navigation.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-navigation.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-per-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-per-normal.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-phone.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-phone.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-region-map.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-region-map.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermal-tgame.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-tgame.conf \
vendor/xiaomi/umi/proprietary/vendor/etc/thermald-devices.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermald-devices.conf \
vendor/xiaomi/umi/proprietary/vendor/firmware/CAMERA_ICP.elf:$(TARGET_COPY_OUT_VENDOR)/firmware/CAMERA_ICP.elf \ vendor/xiaomi/umi/proprietary/vendor/firmware/CAMERA_ICP.elf:$(TARGET_COPY_OUT_VENDOR)/firmware/CAMERA_ICP.elf \
vendor/xiaomi/umi/proprietary/vendor/firmware/aw8697_haptic.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/aw8697_haptic.bin \ vendor/xiaomi/umi/proprietary/vendor/firmware/aw8697_haptic.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/aw8697_haptic.bin \
vendor/xiaomi/umi/proprietary/vendor/firmware/aw8697_haptic_a.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/aw8697_haptic_a.bin \ vendor/xiaomi/umi/proprietary/vendor/firmware/aw8697_haptic_a.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/aw8697_haptic_a.bin \