fogos: Move thermal config to device tree

* Drop the unused configs.

Change-Id: I23321ed47d9cbc9a2cadbad796fc923e00e16e7a
This commit is contained in:
Anand S 2025-04-18 00:17:17 +05:30
parent 7875e83ff8
commit 29cfcef9c3
No known key found for this signature in database
GPG key ID: EFD0D6FBB9A067B4
5 changed files with 0 additions and 751 deletions

View file

@ -188,10 +188,6 @@ PRODUCT_COPY_FILES += \
vendor/motorola/fogos/proprietary/vendor/etc/sensors/proto/sns_wrist_tilt_gesture.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/sns_wrist_tilt_gesture.proto \
vendor/motorola/fogos/proprietary/vendor/etc/sensors/proto/tcs3708.proto:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/proto/tcs3708.proto \
vendor/motorola/fogos/proprietary/vendor/etc/sensors/sns_reg_config:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sns_reg_config \
vendor/motorola/fogos/proprietary/vendor/etc/thermal-engine-fogos-camera.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-fogos-camera.conf \
vendor/motorola/fogos/proprietary/vendor/etc/thermal-engine-fogos-game-normal.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-fogos-game-normal.conf \
vendor/motorola/fogos/proprietary/vendor/etc/thermal-engine-fogos-game-perf.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-fogos-game-perf.conf \
vendor/motorola/fogos/proprietary/vendor/etc/thermal-engine-fogos.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-fogos.conf \
vendor/motorola/fogos/proprietary/vendor/etc/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \
vendor/motorola/fogos/proprietary/vendor/etc/vhw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/vhw.xml \
vendor/motorola/fogos/proprietary/vendor/firmware/ILITEK_FW:$(TARGET_COPY_OUT_VENDOR)/firmware/ILITEK_FW \

View file

@ -1,188 +0,0 @@
#current 4 3.5 3 2.5 2 1.5 1.2 0.9 0.6
# 9 8 7 6 5 4 3 2 1
#CPU0 frequency 300000 576000 691200 940800 1113600 1324800 1516800 1651200 1708800 1804800
#CPU6 frequency 691200 940800 1228800 1401600 1516800 1651200 1804800 1900800 2054400 2208000
[FRONT_TEMP]
algo_type virtual
trip_sensor xo_therm
thresholds -18000
thresholds_clr -20000
sensors msm_therm quiet_therm battery
weights 26 25 49
offsets 0
sampling 1000
math 0
sys_temp
[REPORT-FRONT-TEMP]
algo_type monitor
sampling 300000
sensor FRONT_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1
[BACK_TEMP]
algo_type virtual
trip_sensor xo_therm
thresholds -18000
thresholds_clr -20000
sensors msm_therm quiet_therm battery
weights 40 23 37
offsets 0
sampling 1000
math 0
sys_temp
[REPORT-BACK-TEMP]
algo_type monitor
sampling 300000
sensor BACK_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1
[DETECT-STANDBY]
algo_type virtual
trip_sensor quiet_therm
thresholds -18000
thersholds_clr -20000
sensors cpu_utilization lcd_brightness_value
weights 15 50
sampling 1000
less_than
math 7
[OVERRIDE-CHG]
algo_type monitor
sampling 1000
sensor DETECT-STANDBY
thresholds 1
thresholds_clr 0
actions internal_override
action_info 1
[FREEZE-CHG]
algo_type monitor
sampling 1000
descending
sensor DETECT-STANDBY
thresholds 0
thresholds_clr 1
actions freeze_rule
action_info 1
[Virt-MSM]
algo_type virtual
sensors msm_therm
weights 100
trip_sensor chg_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[Virt-CHG]
algo_type virtual
sensors chg_therm
weights 100
trip_sensor msm_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[Virt-QUT]
algo_type virtual
sensors quiet_therm
weights 100
trip_sensor xo_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[MON-MSM-STB]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 36000 38000 39500 41000 42000 45000
thresholds_clr 35000 37000 39000 39500 41500 43000
actions battery battery battery battery battery battery
action_info 8 7 6 5 4 3
freezing
[SS-CHG-BATT1]
algo_type ss
sampling 1000
sensor Virt-QUT
device battery
set_point 38000
set_point_clr 36000
time_constant 0
device_max_limit 1
override_c 10000
[MON-MSM-CPU0]
algo_type monitor
sampling 1000
sensor BACK_TEMP
thresholds 37000 39000 41000 43000 45000
thresholds_clr 35000 37000 39000 41000 43000
actions cpu0 cpu0 cpu0 cpu0 cpu0
action_info 1708800 1516800 1113600 940800 576000
override_b 4000
[MON-MSM-CPU6]
algo_type monitor
sampling 1000
sensor BACK_TEMP
thresholds 37000 39000 41000 43000 45000
thresholds_clr 35000 37000 39000 41000 43000
actions cpu6 cpu6 cpu6 cpu6 cpu6
action_info 1651200 1401600 1228800 940800 691200
override_b 4000
[MONITOR-CAMERA-MSM]
algo_type monitor
sampling 1000
sensor BACK_TEMP
thresholds 46000 50000
thresholds_clr 44000 48000
actions camera camera
action_info 1 2
[MON-MODEM]
algo_type monitor
sampling 1000
sensor Virt-MSM
thresholds 49000 51000
thresholds_clr 47000 49000
actions modem_skin modem_skin
action_info 1 2
[MODEM-PA-FR]
algo_type monitor
sampling 5000
sensor pa_therm2
thresholds 49000 51000
thresholds_clr 47000 49000
actions modem_pa_fr1 modem_pa_fr1
action_info 1 2
[LCD-MONITOR]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 44000 45000 47000
thresholds_clr 42000 44000 45000
actions panel0-backlight panel0-backlight panel0-backlight
action_info 1 500 1000

View file

@ -1,186 +0,0 @@
#current 4 3.5 3 2.5 2 1.5 1.2 0.9 0.6
# 9 8 7 6 5 4 3 2 1
#CPU0 frequency 300000 576000 691200 940800 1113600 1324800 1516800 1651200 1708800 1804800
#CPU6 frequency 691200 940800 1228800 1401600 1516800 1651200 1804800 1900800 2054400 2208000
[FRONT_TEMP]
algo_type virtual
trip_sensor xo_therm
thresholds -18000
thresholds_clr -20000
sensors msm_therm quiet_therm battery
weights 26 25 49
offsets 0
sampling 1000
math 0
sys_temp
[REPORT-FRONT-TEMP]
algo_type monitor
sampling 300000
sensor FRONT_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1
[BACK_TEMP]
algo_type virtual
trip_sensor xo_therm
thresholds -18000
thresholds_clr -20000
sensors msm_therm quiet_therm battery
weights 40 23 37
offsets 0
sampling 1000
math 0
sys_temp
[REPORT-BACK-TEMP]
algo_type monitor
sampling 300000
sensor BACK_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1
[DETECT-STANDBY]
algo_type virtual
trip_sensor quiet_therm
thresholds -18000
thersholds_clr -20000
sensors lcd_brightness_value
weights 50
sampling 1000
less_than
math 7
[OVERRIDE-CHG]
algo_type monitor
sampling 1000
sensor DETECT-STANDBY
thresholds 1
thresholds_clr 0
actions internal_override
action_info 1
[FREEZE-CHG]
algo_type monitor
sampling 1000
descending
sensor DETECT-STANDBY
thresholds 0
thresholds_clr 1
actions freeze_rule
action_info 1
[Virt-MSM]
algo_type virtual
sensors msm_therm
weights 100
trip_sensor chg_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[Virt-CHG]
algo_type virtual
sensors chg_therm
weights 100
trip_sensor msm_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[Virt-QUT]
algo_type virtual
sensors quiet_therm
weights 100
trip_sensor xo_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[MON-MSM-STB]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 36000 38000 39500 41000 42000 45000
thresholds_clr 35000 37000 39000 39500 41500 43000
actions battery battery battery battery battery battery
action_info 8 7 6 5 4 3
freezing
[MON-CHG-NORMAL]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 35000 37000 39000
thresholds_clr 33000 35000 37000
actions battery battery battery
action_info 5 3 1
override_c 10000
[MON-MSM-CPU0]
algo_type monitor
sampling 1000
sensor BACK_TEMP
thresholds 40000 42000 44000 45000 47000
thresholds_clr 39900 40000 42000 44000 45000
actions cpu0 cpu0 cpu0 cpu0 cpu0
action_info 1708800 1113600 940800 691200 576000
override_b 4000
[MON-MSM-CPU6]
algo_type monitor
sampling 1000
sensor BACK_TEMP
thresholds 40000 42000 44000 45000
thresholds_clr 39900 40000 42000 44000
actions cpu6 cpu6 cpu6 cpu6 cpu6
action_info 1900800 1401600 940800 691200
override_b 4000
[MONITOR-CAMERA-MSM]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 55000 60000
thresholds_clr 53000 55000
actions camera camera
action_info 1 2
[MON-MODEM]
algo_type monitor
sampling 1000
sensor Virt-MSM
thresholds 80000 85000
thresholds_clr 78000 80000
actions modem_skin modem_skin
action_info 1 2
[MODEM-PA-FR]
algo_type monitor
sampling 5000
sensor xo_therm
thresholds 65000 70000
thresholds_clr 60000 65000
actions modem_pa_fr1 modem_pa_fr1
action_info 1 2
[LCD-MONITOR]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 45000 46000 48000
thresholds_clr 43000 45000 46000
actions panel0-backlight panel0-backlight panel0-backlight
action_info 1 500 1000

View file

@ -1,186 +0,0 @@
#current 4 3.5 3 2.5 2 1.5 1.2 0.9 0.6
# 9 8 7 6 5 4 3 2 1
#CPU0 frequency 300000 576000 691200 940800 1113600 1324800 1516800 1651200 1708800 1804800
#CPU6 frequency 691200 940800 1228800 1401600 1516800 1651200 1804800 1900800 2054400 2208000
[FRONT_TEMP]
algo_type virtual
trip_sensor xo_therm
thresholds -18000
thresholds_clr -20000
sensors msm_therm quiet_therm battery
weights 26 25 49
offsets 0
sampling 1000
math 0
sys_temp
[REPORT-FRONT-TEMP]
algo_type monitor
sampling 300000
sensor FRONT_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1
[BACK_TEMP]
algo_type virtual
trip_sensor xo_therm
thresholds -18000
thresholds_clr -20000
sensors msm_therm quiet_therm battery
weights 40 23 37
offsets 0
sampling 1000
math 0
sys_temp
[REPORT-BACK-TEMP]
algo_type monitor
sampling 300000
sensor BACK_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1
[DETECT-STANDBY]
algo_type virtual
trip_sensor quiet_therm
thresholds -18000
thersholds_clr -20000
sensors lcd_brightness_value
weights 50
sampling 1000
less_than
math 7
[OVERRIDE-CHG]
algo_type monitor
sampling 1000
sensor DETECT-STANDBY
thresholds 1
thresholds_clr 0
actions internal_override
action_info 1
[FREEZE-CHG]
algo_type monitor
sampling 1000
descending
sensor DETECT-STANDBY
thresholds 0
thresholds_clr 1
actions freeze_rule
action_info 1
[Virt-MSM]
algo_type virtual
sensors msm_therm
weights 100
trip_sensor chg_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[Virt-CHG]
algo_type virtual
sensors chg_therm
weights 100
trip_sensor msm_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[Virt-QUT]
algo_type virtual
sensors quiet_therm
weights 100
trip_sensor xo_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[MON-MSM-STB]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 36000 38000 39500 41000 42000 45000
thresholds_clr 35000 37000 39000 39500 41500 43000
actions battery battery battery battery battery battery
action_info 8 7 6 5 4 3
freezing
[MON-CHG-NORMAL]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 35000 37000 39000
thresholds_clr 33000 35000 37000
actions battery battery battery
action_info 5 3 1
override_c 10000
[MON-MSM-CPU0]
algo_type monitor
sampling 1000
sensor BACK_TEMP
thresholds 44000 46000 48000 49500
thresholds_clr 43000 45000 46000 48000
actions cpu0 cpu0 cpu0 cpu0
action_info 1708800 1651200 1516800 1113600
override_b 4000
[MON-MSM-CPU6]
algo_type monitor
sampling 1000
sensor BACK_TEMP
thresholds 44000 46000 48000 49500
thresholds_clr 43000 44000 46000 48000
actions cpu6 cpu6 cpu6 cpu6
action_info 2054400 1900800 1804800 1401600
override_b 4000
[MONITOR-CAMERA-MSM]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 55000 60000
thresholds_clr 53000 55000
actions camera camera
action_info 1 2
[MON-MODEM]
algo_type monitor
sampling 1000
sensor Virt-MSM
thresholds 80000 85000
thresholds_clr 78000 80000
actions modem_skin modem_skin
action_info 1 2
[MODEM-PA-FR]
algo_type monitor
sampling 5000
sensor xo_therm
thresholds 65000 70000
thresholds_clr 60000 65000
actions modem_pa_fr1 modem_pa_fr1
action_info 1 2
[LCD-MONITOR]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 45000 46000 48000
thresholds_clr 43000 45000 46000
actions panel0-backlight panel0-backlight panel0-backlight
action_info 1 300 500

View file

@ -1,187 +0,0 @@
#current 4 3.5 3 2.5 2 1.5 1.2 0.9 0.6
# 9 8 7 6 5 4 3 2 1
#CPU0 frequency 300000 576000 691200 940800 1113600 1324800 1516800 1651200 1708800 1804800
#CPU6 frequency 691200 940800 1228800 1401600 1516800 1651200 1804800 1900800 2054400 2208000
[FRONT_TEMP]
algo_type virtual
trip_sensor xo_therm
thresholds -18000
thresholds_clr -20000
sensors msm_therm quiet_therm battery
weights 26 25 49
offsets 0
sampling 1000
math 0
sys_temp
[REPORT-FRONT-TEMP]
algo_type monitor
sampling 300000
sensor FRONT_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1
[BACK_TEMP]
algo_type virtual
trip_sensor xo_therm
thresholds -18000
thresholds_clr -20000
sensors msm_therm quiet_therm battery
weights 40 23 37
offsets 0
sampling 1000
math 0
sys_temp
[REPORT-BACK-TEMP]
algo_type monitor
sampling 300000
sensor BACK_TEMP
thresholds 45000
thresholds_clr 43000
actions report
action_info 1
[DETECT-STANDBY]
algo_type virtual
trip_sensor quiet_therm
thresholds -18000
thersholds_clr -20000
sensors cpu_utilization lcd_brightness_value
weights 15 50
sampling 1000
less_than
math 7
[OVERRIDE-CHG]
algo_type monitor
sampling 1000
sensor DETECT-STANDBY
thresholds 1
thresholds_clr 0
actions internal_override
action_info 1
[FREEZE-CHG]
algo_type monitor
sampling 1000
descending
sensor DETECT-STANDBY
thresholds 0
thresholds_clr 1
actions freeze_rule
action_info 1
[Virt-MSM]
algo_type virtual
sensors msm_therm
weights 100
trip_sensor chg_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[Virt-CHG]
algo_type virtual
sensors chg_therm
weights 100
trip_sensor msm_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[Virt-QUT]
algo_type virtual
sensors quiet_therm
weights 100
trip_sensor xo_therm
thresholds 18000
thresholds_clr 16000
offsets 0
sampling 1000
math 0
[MON-MSM-STB]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 36000 38000 39500 41000 42000 45000
thresholds_clr 35000 37000 39000 39500 41500 43000
actions battery battery battery battery battery battery
action_info 8 7 6 5 4 3
freezing
[MON-MSM-NORMAL]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 37000 39000 41000
thresholds_clr 35000 37000 39000
actions battery battery battery
action_info 6 4 1
override_c 14000
[MON-MSM-CPU0]
algo_type monitor
sampling 1000
sensor BACK_TEMP
thresholds 42000 44000 45000 47000 48000
thresholds_clr 41000 43000 44000 46000 47000
actions cpu0 cpu0 cpu0 cpu0 cpu0
action_info 1708800 1651200 1516800 1324800 691200
override_b 4000
[MON-MSM-CPU6]
algo_type monitor
sampling 1000
sensor BACK_TEMP
thresholds 42000 44000 46000 48000 48500
thresholds_clr 41000 42000 44000 47000 48000
actions cpu6 cpu6 cpu6 cpu6 cpu6
action_info 2054400 1900800 1651200 1228800 691200
override_b 4000
[MONITOR-CAMERA-MSM]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 55000 60000
thresholds_clr 53000 55000
actions camera camera
action_info 1 2
[MON-MODEM]
algo_type monitor
sampling 1000
sensor Virt-MSM
thresholds 80000 85000
thresholds_clr 78000 80000
actions modem_skin modem_skin
action_info 1 2
[MODEM-PA-FR]
algo_type monitor
sampling 5000
sensor xo_therm
thresholds 65000 70000
thresholds_clr 60000 65000
actions modem_pa_fr1 modem_pa_fr1
action_info 1 2
[LCD-MONITOR]
algo_type monitor
sampling 1000
sensor Virt-QUT
thresholds 45000 46000 48000
thresholds_clr 43000 45000 46000
actions panel0-backlight panel0-backlight panel0-backlight
action_info 1 300 500