mirror of
https://github.com/Evolution-X-Devices/device_motorola_rtwo
synced 2026-01-27 07:50:05 +00:00
rtwo: Import thermal-engine config into device tree
Change-Id: I0e1dcc5c8734f79b37e80b4a0379d4efd4068582
This commit is contained in:
236
configs/thermal-engine-rtwo.conf
Normal file
236
configs/thermal-engine-rtwo.conf
Normal file
@@ -0,0 +1,236 @@
|
|||||||
|
[FRONT_TEMP]
|
||||||
|
algo_type virtual
|
||||||
|
trip_sensor msm-therm
|
||||||
|
thresholds -18000
|
||||||
|
thresholds_clr -20000
|
||||||
|
sensors msm-therm pa0-therm quiet-therm mchg-therm pa1-therm
|
||||||
|
weights 18 5 55 17 5
|
||||||
|
offsets -4000 0 0 0 0
|
||||||
|
sampling 2000
|
||||||
|
math 0
|
||||||
|
sys_temp
|
||||||
|
|
||||||
|
[REPORT-FRONT-TEMP]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 300000
|
||||||
|
sensor FRONT_TEMP
|
||||||
|
thresholds 42000
|
||||||
|
thresholds_clr 40000
|
||||||
|
actions report
|
||||||
|
action_info 1
|
||||||
|
|
||||||
|
[FUSE_TEMP]
|
||||||
|
algo_type virtual
|
||||||
|
trip_sensor msm-therm
|
||||||
|
thresholds -18000
|
||||||
|
thresholds_clr -20000
|
||||||
|
sensors msm-therm pa0-therm quiet-therm mchg-therm pa1-therm
|
||||||
|
weights 18 5 55 17 5
|
||||||
|
offsets 0 0 0 0 0
|
||||||
|
sampling 2000
|
||||||
|
math 0
|
||||||
|
sys_temp
|
||||||
|
|
||||||
|
[BACK_TEMP]
|
||||||
|
algo_type virtual
|
||||||
|
trip_sensor msm-therm
|
||||||
|
thresholds -18000
|
||||||
|
thresholds_clr -20000
|
||||||
|
sensors msm-therm quiet-therm mchg-therm
|
||||||
|
weights 15 56 29
|
||||||
|
offsets -4000 0 0
|
||||||
|
sampling 2000
|
||||||
|
math 0
|
||||||
|
sys_temp
|
||||||
|
|
||||||
|
[REPORT-BACK-TEMP]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 300000
|
||||||
|
sensor BACK_TEMP
|
||||||
|
thresholds 42000
|
||||||
|
thresholds_clr 40000
|
||||||
|
actions report
|
||||||
|
action_info 1
|
||||||
|
|
||||||
|
[MON-MSM-CPU0]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 2000
|
||||||
|
sensor FUSE_TEMP
|
||||||
|
thresholds 42000 45000 48000
|
||||||
|
thresholds_clr 39000 42000 45000
|
||||||
|
actions cpu0 cpu0 cpu0
|
||||||
|
action_info 1670400 1459200 1228800
|
||||||
|
|
||||||
|
[MON-MSM-CPU3]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 2000
|
||||||
|
sensor FUSE_TEMP
|
||||||
|
thresholds 38000 40000 42000 44000 46000 50000
|
||||||
|
thresholds_clr 35000 38000 40000 42000 44000 46000
|
||||||
|
actions cpu3 cpu3 cpu3 cpu3 cpu3 cpu3
|
||||||
|
action_info 2188800 1920000 1785600 1536000 1286400 1171200
|
||||||
|
|
||||||
|
[MON-MSM-CPU7]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 2000
|
||||||
|
sensor FUSE_TEMP
|
||||||
|
thresholds 38000 40000 42000 44000 46000 50000
|
||||||
|
thresholds_clr 35000 38000 40000 42000 44000 46000
|
||||||
|
actions cpu7 cpu7 cpu7 cpu7 cpu7 cpu7
|
||||||
|
action_info 2092800 1708800 1593600 1248000 1132800 998400
|
||||||
|
|
||||||
|
[MON-MSM-GPU]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 2000
|
||||||
|
sensor FUSE_TEMP
|
||||||
|
thresholds 40000 41000 42000 45000 50000
|
||||||
|
thresholds_clr 38000 40000 41000 42000 45000
|
||||||
|
actions gpu gpu gpu gpu gpu
|
||||||
|
action_info 615000000 550000000 475000000 348000000 295000000
|
||||||
|
|
||||||
|
[FCHG_TEMP]
|
||||||
|
algo_type virtual
|
||||||
|
trip_sensor msm-therm
|
||||||
|
thresholds -18000
|
||||||
|
thresholds_clr -20000
|
||||||
|
sensors msm-therm pa0-therm quiet-therm mchg-therm pa1-therm
|
||||||
|
weights 18 5 55 17 5
|
||||||
|
offsets 0 0 0 0 0
|
||||||
|
sampling 2000
|
||||||
|
math 0
|
||||||
|
|
||||||
|
[FCHG1_TEMP]
|
||||||
|
algo_type virtual
|
||||||
|
trip_sensor msm-therm
|
||||||
|
thresholds -18000
|
||||||
|
thresholds_clr -20000
|
||||||
|
sensors msm-therm pa0-therm quiet-therm mchg-therm pa1-therm
|
||||||
|
weights 18 5 55 17 5
|
||||||
|
offsets -500 0 0 0 0
|
||||||
|
sampling 2000
|
||||||
|
math 0
|
||||||
|
|
||||||
|
[DETECT-STANDBY]
|
||||||
|
algo_type virtual
|
||||||
|
trip_sensor msm-therm
|
||||||
|
thresholds -18000
|
||||||
|
thresholds_clr -20000
|
||||||
|
sensors lcd_brightness_value
|
||||||
|
weights 400
|
||||||
|
sampling 1000
|
||||||
|
math 8
|
||||||
|
less_than
|
||||||
|
|
||||||
|
[OVERRIDE-CHG]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 2000
|
||||||
|
sensor DETECT-STANDBY
|
||||||
|
thresholds 0
|
||||||
|
thresholds_clr 1
|
||||||
|
actions internal_override
|
||||||
|
action_info 1
|
||||||
|
descending
|
||||||
|
|
||||||
|
[SS-BATT0]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor FCHG_TEMP
|
||||||
|
device battery
|
||||||
|
set_point 35000
|
||||||
|
set_point_clr 33000
|
||||||
|
time_constant 0
|
||||||
|
device_max_limit 10
|
||||||
|
override_c -3500
|
||||||
|
|
||||||
|
[SS-BATT1]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor FCHG_TEMP
|
||||||
|
device battery
|
||||||
|
set_point 37000
|
||||||
|
set_point_clr 36000
|
||||||
|
time_constant 0
|
||||||
|
device_max_limit 9
|
||||||
|
override_c -3500
|
||||||
|
|
||||||
|
[SS-BATT2]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor FCHG1_TEMP
|
||||||
|
device battery
|
||||||
|
set_point 38500
|
||||||
|
set_point_clr 37000
|
||||||
|
time_constant 0
|
||||||
|
device_max_limit 8
|
||||||
|
override_c -3500
|
||||||
|
|
||||||
|
[SS-BATT3]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor FCHG1_TEMP
|
||||||
|
device battery
|
||||||
|
set_point 40500
|
||||||
|
set_point_clr 40200
|
||||||
|
time_constant 0
|
||||||
|
device_max_limit 7
|
||||||
|
override_c -3500
|
||||||
|
|
||||||
|
[SS-BATT4]
|
||||||
|
algo_type ss
|
||||||
|
sampling 2000
|
||||||
|
sensor FCHG_TEMP
|
||||||
|
device battery
|
||||||
|
set_point 42500
|
||||||
|
set_point_clr 41500
|
||||||
|
time_constant 0
|
||||||
|
device_max_limit 6
|
||||||
|
override_c -3500
|
||||||
|
|
||||||
|
[MON-BATT5]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 1000
|
||||||
|
sensor FCHG_TEMP
|
||||||
|
thresholds 43500 45500 47500 50500 52000
|
||||||
|
thresholds_clr 42500 43500 45500 47500 50500
|
||||||
|
actions battery battery battery battery battery
|
||||||
|
action_info 5 4 3 2 1
|
||||||
|
override_c -3500
|
||||||
|
|
||||||
|
[BACK_MDM]
|
||||||
|
algo_type virtual
|
||||||
|
sensors msm-therm pa0-therm quiet-therm mchg-therm pa1-therm
|
||||||
|
weights 18 5 55 17 5
|
||||||
|
trip_sensor mdmss-0 mdmss-1 mdmss-2 mdmss-3
|
||||||
|
trip_sensor_logic || || ||
|
||||||
|
thresholds 60000 60000 60000 60000
|
||||||
|
thresholds_clr 40000 40000 40000 40000
|
||||||
|
offsets 1000 0 0 0 0
|
||||||
|
sampling 2000
|
||||||
|
math 0
|
||||||
|
|
||||||
|
[MON-wireless-charge]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 2000
|
||||||
|
sensor FCHG_TEMP
|
||||||
|
thresholds 38000 41500 45500
|
||||||
|
thresholds_clr 33000 40000 41500
|
||||||
|
actions wireless_current wireless_current wireless_current
|
||||||
|
action_info 1000 850 625
|
||||||
|
|
||||||
|
[MON-MDM-FR1-1]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 2000
|
||||||
|
sensor BACK_MDM
|
||||||
|
thresholds 43000 44000 45000 47000 52000
|
||||||
|
thresholds_clr 42000 43000 44000 45000 47000
|
||||||
|
actions modem_nr_dsc modem_nr_dsc modem_nr_dsc modem_nr_dsc modem_nr_dsc
|
||||||
|
action_info 5 7 8 9 10
|
||||||
|
|
||||||
|
[MON-MDM-FR1-2]
|
||||||
|
algo_type monitor
|
||||||
|
sampling 2000
|
||||||
|
sensor BACK_MDM
|
||||||
|
thresholds 43000 44000 46000 47000 52000
|
||||||
|
thresholds_clr 42000 43000 44000 46000 47000
|
||||||
|
actions modem_nr_scg_dsc modem_nr_scg_dsc modem_nr_scg_dsc+modem_lte_dsc modem_nr_scg_dsc+modem_lte_dsc modem_nr_scg_dsc
|
||||||
|
action_info 5 7 8+9 9+10 10
|
||||||
@@ -112,8 +112,11 @@ PRODUCT_PACKAGES += \
|
|||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
|
$(LOCAL_PATH)/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
|
||||||
|
|
||||||
|
# Thermal
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
$(LOCAL_PATH)/configs/thermal-engine-rtwo.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-rtwo.conf
|
||||||
|
|
||||||
# Touch
|
# Touch
|
||||||
# PowerShare
|
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
vendor.lineage.touch@1.0-service.rtwo
|
vendor.lineage.touch@1.0-service.rtwo
|
||||||
|
|
||||||
|
|||||||
@@ -748,7 +748,6 @@ vendor/etc/sensors/config/tcs3720_0_tianma_always.json
|
|||||||
vendor/etc/sensors/sns_reg_config
|
vendor/etc/sensors/sns_reg_config
|
||||||
|
|
||||||
# Thermal engine - configs
|
# Thermal engine - configs
|
||||||
vendor/etc/thermal-engine-rtwo.conf
|
|
||||||
vendor/etc/thermal-engine.conf
|
vendor/etc/thermal-engine.conf
|
||||||
|
|
||||||
# Touchscreen firmware
|
# Touchscreen firmware
|
||||||
|
|||||||
Reference in New Issue
Block a user