Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2748854pxj; Mon, 14 Jun 2021 06:22:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz91uY8vpXNEE+U/QmkUuO7u60A3+bmSUhn13/aSF5bSJ3940gMypBpIv90ZyYyy08snKSL X-Received: by 2002:a17:906:4e05:: with SMTP id z5mr15014065eju.520.1623676964232; Mon, 14 Jun 2021 06:22:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623676964; cv=none; d=google.com; s=arc-20160816; b=MvxJi6uUK/b77thELmV0pgtBQ6a4zkLGwK8zjlNpYDGqy9skRS+iZ4NbmLyVOeI5tu C3P2rPNro1UrfC8qpnHbwprMnSkJUVhOZ0heG0LYD8cJ0SeCzku51tA7PRtBOKun/UvM r4ZcrTgCgPslH0/zzCjI+CH0KTrnplMgJRiaSohx+S3NoTwxVE1D+y2UFdA3rRmowYZm 9RxxIesclumoBJVrK/7LCGIuhordMlYKd1lZRi/oT6maZkIe95UyjWgGILKFp5Pdtvge dAaT54TztoUrWsecHniA3a+Xa8A2MJK64n7QJ11yAbpxZZ9f0uPyxofp2ylZ6kY5ESRf VRLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature; bh=XFmTmIPfKkU5RhaamFAr4BhwN+bI45kmR+Vj5S8aLqU=; b=c+TsP1CC+MEmWnoExq0sOW5KsKWsBLrWt5N9NY79NO+VAP0Ur9uL6f7Fk85J2tVL7H H0SVy7lr5COGrJ3qf2+VO3vZyDTiwtKyKAy7UrCSlXzpSLyRranse1MUNBJtob0RG7yb 6IZm4G+BhxlZOh6JciD8oWH2M799jdW7c5+DPc+ULq0ZemKMla82+ylLk8KCyeeHGPjr sJeYyrB+SwAnaL8vZeEcN7bI7Kwdit39uorvCr3RpPlpR+6XitTxedgpoL4x/UApQmXP mSOgIYhL4GJzid3qwFD6QcU/yL0C/ZsdY+O8+y24bB8yhckHVmKN1FwhZshyAdquIYN3 PvmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=MI23UFo2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si11481579ejo.252.2021.06.14.06.22.21; Mon, 14 Jun 2021 06:22:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=MI23UFo2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233224AbhFNNUl (ORCPT + 99 others); Mon, 14 Jun 2021 09:20:41 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:40807 "EHLO mail-wr1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232825AbhFNNUc (ORCPT ); Mon, 14 Jun 2021 09:20:32 -0400 Received: by mail-wr1-f42.google.com with SMTP id y7so14516473wrh.7 for ; Mon, 14 Jun 2021 06:18:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XFmTmIPfKkU5RhaamFAr4BhwN+bI45kmR+Vj5S8aLqU=; b=MI23UFo2gw40h05XL7Pjtm04CvcZuvV3D76vFSblYhKAqMRSwGee6QT2SOz5MWEC5p wPEYoGXmtBbJp25N/LLJKUBrNpgzIc0BeeTZOAABDlQ7+Kg1DvWf+hXvrhCxYFDizznS VyWrPvoU1K+x+qtLSBXxlAILt8Gh5ueBIqmYycf+a5XsBThzzzh+7/w6T8yxakKT5hUv 4UfqScr2UVlMZ6xnhJmZ4gsN/GTjCTHk+V3Onk3Idn4h3ufVKvVR12QJclD+k8LHYlwb VeB6yNchqkFxqKmchayU8ty8HDq7xFYh4rpVSWJplvrZzJf7blR5ZAVZoJ7iLaHnpo2o EUSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=XFmTmIPfKkU5RhaamFAr4BhwN+bI45kmR+Vj5S8aLqU=; b=jBvWYYSoeUcQcpQjJbnB/0FS0NOpVweHrEL3aw1yodmzyv06GM+u5SLI+69usnVe0b RDLsz3Fv0pE7Ep6zW1Z7Had0mjYmXoWypDPo5WqJziBZGpJj8bTiKdcBJYHuXU+fLbQq GwpaD7S0B6Q2HvV/0yR/fT5QVaywR3E9m0Z6krhnNE67bzbCV9a+o4fRw3MfVN8dZ5Vv jl+L1EhbYGX8C83oVi8xKZL2yYLSP5TI5hIIDweoGzB598RrkcXpoIPcWZfiwWhDtmP9 MtGK9JMIx5Wuvd6RTLtrEH0kko0JA0USV3RXbRON/R3gXZkO2M4Cmu+CSa6ImNFQd0BX 0x6w== X-Gm-Message-State: AOAM533NCHeGa/vR7W3g14omp5qzrW2zXGecSm91TC14RCVGzdhUki6f Jm6Pr0uX0kinDUKtQ6zMq+dhvA3JqcHpkxqc X-Received: by 2002:a05:6000:18f:: with SMTP id p15mr18683034wrx.102.1623676649106; Mon, 14 Jun 2021 06:17:29 -0700 (PDT) Received: from ?IPv6:2a01:e0a:90c:e290:f0d4:3c02:f06a:77bb? ([2a01:e0a:90c:e290:f0d4:3c02:f06a:77bb]) by smtp.gmail.com with ESMTPSA id f13sm16372661wmg.7.2021.06.14.06.17.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 14 Jun 2021 06:17:28 -0700 (PDT) Subject: Re: [PATCH] arm64: dts: meson: vim3: reduce cpu thermal fan trigger temperature To: Daniel Lezcano , Nick Xie Cc: robh+dt@kernel.org, khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Nick , artem@khadas.com References: <20210609012849.797576-1-xieqinick@gmail.com> <11da3ae4-91d4-1e51-c652-e4ad518f13bd@baylibre.com> <09c65310-9441-9b97-d9ae-4695f0dd16af@linaro.org> From: Neil Armstrong Organization: Baylibre Message-ID: <259e150c-f25a-86cf-1109-b7370b5d7c10@baylibre.com> Date: Mon, 14 Jun 2021 15:17:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <09c65310-9441-9b97-d9ae-4695f0dd16af@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 11/06/2021 09:45, Daniel Lezcano wrote: > On 11/06/2021 09:30, Nick Xie wrote: >> Hello Neil, >> >> >> Neil Armstrong 于2021年6月11日周五 下午3:15写道: >>> >>> Hi, >>> >>> On 11/06/2021 08:54, Nick Xie wrote: >>>> Hello Neil, >>>> >>>> The MCU FAN won't work until the temperature reach to 80 degree centigrade, >>>> Do you think the temperature is too high? >>> >>> I think 80 is tool high, but I fear 50 is way too low, but if you think 50 is OK after you ran some tests, just add it to the commit log and it's ok for me. >> >> I think it is OK, we use it for a long time. > > 50°C sounds like normal temperature with regular load. That means the > fan will be switched on most of the time when the board is used. > > And this change may be put in regard with the other trip points in the > common DT. For instance, enable the fan when reaching 80°C but set the > passive trip point to 75°C instead of 85°C. > > All that depends on the hardware characteristics and TDP which are in > the TRM normally. > I don't think such data exist in the datasheet or other public document, but the vendor source tree sets: - passive: 75°C - hot 85°C - critical 110°C we set upstream: - passive: 85°C - hot 95°C - critical 110°C so maybe we should lower the passive & hot trip points, then the FAN 80°C trip point would be ok now according to Daniel's explanation. Neil