[PATCH v10 6/6] arm64/dts/mt8195: Add temperature mitigation threshold
Matthias Brugger
matthias.bgg at gmail.com
Fri Jan 13 03:49:49 PST 2023
On 12/01/2023 16:28, bchihi at baylibre.com wrote:
> From: Balsam CHIHI <bchihi at baylibre.com>
>
> The mt8195 board has several hotspots around the CPUs. Specify the
> targeted temperature threshold when to apply the mitigation and define
> the associated cooling devices.
>
> Signed-off-by: Balsam CHIHI <bchihi at baylibre.com>
> ---
> arch/arm64/boot/dts/mediatek/mt8195.dtsi | 153 ++++++++++++++++++++---
> 1 file changed, 137 insertions(+), 16 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> index 683e5057d68d..0d6642603095 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi
> @@ -14,6 +14,7 @@
> #include <dt-bindings/pinctrl/mt8195-pinfunc.h>
> #include <dt-bindings/power/mt8195-power.h>
> #include <dt-bindings/reset/mt8195-resets.h>
> +#include <dt-bindings/thermal/thermal.h>
> #include <dt-bindings/thermal/mediatek-lvts.h>
>
> / {
> @@ -2413,107 +2414,227 @@ dp_tx: dp-tx at 1c600000 {
>
> thermal_zones: thermal-zones {
> cpu0-thermal {
> - polling-delay = <0>;
> - polling-delay-passive = <0>;
> + polling-delay = <1000>;
> + polling-delay-passive = <250>;
> thermal-sensors = <&lvts_mcu MT819x_MCU_LITTLE_CPU0>;
New line here please.
> trips {
> + cpu0_alert: trip-alert {
> + temperature = <85000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
New line here please and on other trip point definitions.
Regards,
Matthias
More information about the linux-arm-kernel
mailing list