[PATCH] dts: arm64: mediatek: mt8188: add more thermal trip points
Daniel Lezcano
daniel.lezcano at linaro.org
Wed Feb 26 13:54:47 PST 2025
Hi Matthias, Angelo,
I noticed Nicolas sent this patch but you were not in the recipients.
On 07/02/2025 21:31, Nicolas Pitre wrote:
> From: Nicolas Pitre <npitre at baylibre.com>
>
> Provide the "switch on" thermal trip point to be used by the power
> allocator governor.
>
> Signed-off-by: Nicolas Pitre <npitre at baylibre.com>
Acked-by: Daniel Lezcano <daniel.lezcano at linaro.org>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
> index 338120930b..262eab8fd3 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi
> @@ -472,6 +472,12 @@ cpu-little0-thermal {
> thermal-sensors = <&lvts_mcu MT8188_MCU_LITTLE_CPU0>;
>
> trips {
> + cpu_little0_switch_on: trip-switch-on {
> + temperature = <68000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> cpu_little0_alert0: trip-alert0 {
> temperature = <85000>;
> hysteresis = <2000>;
> @@ -510,6 +516,12 @@ cpu-little1-thermal {
> thermal-sensors = <&lvts_mcu MT8188_MCU_LITTLE_CPU1>;
>
> trips {
> + cpu_little1_switch_on: trip-switch-on {
> + temperature = <68000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> cpu_little1_alert0: trip-alert0 {
> temperature = <85000>;
> hysteresis = <2000>;
> @@ -548,6 +560,12 @@ cpu-little2-thermal {
> thermal-sensors = <&lvts_mcu MT8188_MCU_LITTLE_CPU2>;
>
> trips {
> + cpu_little2_switch_on: trip-switch-on {
> + temperature = <68000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> cpu_little2_alert0: trip-alert0 {
> temperature = <85000>;
> hysteresis = <2000>;
> @@ -586,6 +604,12 @@ cpu-little3-thermal {
> thermal-sensors = <&lvts_mcu MT8188_MCU_LITTLE_CPU3>;
>
> trips {
> + cpu_little3_switch_on: trip-switch-on {
> + temperature = <68000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> cpu_little3_alert0: trip-alert0 {
> temperature = <85000>;
> hysteresis = <2000>;
> @@ -624,6 +648,12 @@ cpu-big0-thermal {
> thermal-sensors = <&lvts_mcu MT8188_MCU_BIG_CPU0>;
>
> trips {
> + cpu_big0_switch_on: trip-switch-on {
> + temperature = <68000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> cpu_big0_alert0: trip-alert0 {
> temperature = <85000>;
> hysteresis = <2000>;
> @@ -658,6 +688,12 @@ cpu-big1-thermal {
> thermal-sensors = <&lvts_mcu MT8188_MCU_BIG_CPU1>;
>
> trips {
> + cpu_big1_switch_on: trip-switch-on {
> + temperature = <68000>;
> + hysteresis = <2000>;
> + type = "passive";
> + };
> +
> cpu_big1_alert0: trip-alert0 {
> temperature = <85000>;
> hysteresis = <2000>;
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
More information about the Linux-mediatek
mailing list