Re: [PATCH 5/8] arm64: dts: mt8183: Increase polling frequency for CPU thermal zone

Hsin-Yi Wang
2019-05-07T08:58:18Z

On Thu, May 2, 2019 at 10:43 AM michael.kao <michael.kao@mediatek.com> wrote:
>
> From: Matthias Kaehlcke <mka@chromium.org>
>
> Evaluate the thermal zone every 500ms while not cooling and every
> 100ms when passive cooling is performed.
>
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> Signed-off-by: Michael Kao <michael.kao@mediatek.com>
> ---
> arch/arm64/boot/dts/mediatek/mt8183.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> index 0b3294b..be879ac 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> @@ -370,8 +370,8 @@
>
> thermal-zones {
> cpu_thermal: cpu_thermal {
> - polling-delay-passive = <1000>;
> - polling-delay = <1000>;
> + polling-delay-passive = <100>;
> + polling-delay = <500>;
>
> thermal-sensors = <&thermal 0>;
> sustainable-power = <1500>;

Tested-by: Hsin-Yi Wang <hsinyi@chromium.org>