Update thermal zone reset trip threshold for all tsens based on
default limit profile.
Change-Id: Ibc5f71c83f5f51b5423520b308f518180b313716
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Use "hot" trip type for thermal zone software shutdown trip
for all thermal zones. It just notifies userspace thermal
manager which in turn triggers a graceful shutdown.
Change-Id: Icf7aa1f1da57a22b96ede18fcee75ebebb92830b
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Target like sun supports max Tj for tsens up to 130C.
Update all tsens userspace and reset monitor trips
accordingly.
Change-Id: I2f59742686c1b9c1c976c4a1fc668f3e53454686
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Enable userspace cooling device for display fps mitigation.
It enables to monitor any thermal zone sensor and trigger display
fps mitigation.
Change-Id: Ic2a0d0a2be462d9ed2032c8dbc49208d6c431a08
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Enable different NSP qmi thermal mitigation devices for sun.
It enables to mitigate these devices during different thermal
and limits violation.
Change-Id: I8bad9da560df7033473c614af324f79c66cb7dac
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Update thermal pause and cpu hotplug cooling devices to support
partial good cpus.
Also remove duplicate group pause cooling devices.
Change-Id: Idb6c72f42a89d4d643a5c658d24e1045d3ef8b80
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Enable DDR cooling device for sun which allows it to vote for
specific DDR bandwidth under thermal conditions.
Change-Id: I55b8c61d4cf580392cf76ae1ed6328b69cca6487
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Enable userspace CPU frequency cooling device for sun. This config
will enable cluster0 and cluster1 to be registered as cooling devices.
Change-Id: I4a88c5f03b9da0e4ef1406e7e973d148c074dd93
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
Add modem related thermal sensors and mitigation devices for sun which
would be accessible over QMI. Add respective thermal zone and trips
for modem thermal sensors.
Change-Id: Iefef9a70d8c213a406d7eb98df43c61f46fddd87
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
Add CPU hotplug and pause cooling device to hotplug or pause any
CPU under thermal conditions on sun. Added the respective pause and
hotplug cooling maps to the CPUs and added cooling-cells property for
each CPU.
Change-Id: I6753ee0d77511d58ba313707381f2e0b9114eeed
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>