Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp975533ybs; Mon, 25 May 2020 04:11:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3aWHRENTCNu6VEMGWl+JfkFtW7t881xTnOZ/OzMEemmJsNOE+QeII+pSr6GxN4pMh+PRL X-Received: by 2002:a50:de03:: with SMTP id z3mr14165087edk.50.1590405081615; Mon, 25 May 2020 04:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590405081; cv=none; d=google.com; s=arc-20160816; b=yT8LruNeY93VQpWLCMwhzfwcGUqgYn+Rjp44UTZ44jROit86sjR9AItiOokcEpBYBl T8b7hVBBl+rmofYpMLhBHJj4ORmYShy3dmY6/ZG4kQqEsOZafYkY5e41WQ3IdJwD4Aht EBq5Xa+scH1BgpV3FAYgC07qFT0/HrqY5AX6MHoAHKQeNmadikxWlq4s+y3GHYZwKKGk 8XKi2Y55nvuA3ZUWBR/Fnncs5tvjAr6ws5EMwygu4MjMbMO+Zf5uweZZYrhPhboGZS2C d2ANp8u2t6Uv7FoXWMU9wnkdTGjfc/5lAI//Zz5ecoN3Jl7eK5eCvHOg2AP1cRx8SKvb EDrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=lQKQDzeVK4Uf3YS6MYrDsg7Y/owjPxYU/XltSmblwvw=; b=rj1D9Ku1xwlO/FU1ljv6m53Ert8fLkqkuYWnYVQq6qf0yG4VEcrdQ5ftK3RzkDmLkq 4Oidk3XPuWONN+ZCF9B+dlhqbh+ngLdRIMyx/M72weSDpcQ7R6z4QKTvAGtwW4Fa3/H4 c/Hox4PTcAZqWXt/1YURMJ+KLeo6ZCelbdN0QGSbYGXtiM2A4VFJQhKb3eyVY03k86f8 F2bT9DiMTAphMsMz3P0ortYyd35KEwnqKwWf7kupCZmW/5M/B4HfXSTXm7mERfjgYLDU klqfmfag2APHvqQHMuuZ43zRV+PtmzTKLPXdG6+zo2ETy6ePbZH7FYsjTk2GPDQkNKPy 9B1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vr2Gr68I; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r7si9122062eja.536.2020.05.25.04.10.58; Mon, 25 May 2020 04:11:21 -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=@linaro.org header.s=google header.b=vr2Gr68I; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390073AbgEYLIN (ORCPT + 99 others); Mon, 25 May 2020 07:08:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390068AbgEYLIJ (ORCPT ); Mon, 25 May 2020 07:08:09 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE288C05BD43 for ; Mon, 25 May 2020 04:08:08 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id y5so2412933wmj.4 for ; Mon, 25 May 2020 04:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=lQKQDzeVK4Uf3YS6MYrDsg7Y/owjPxYU/XltSmblwvw=; b=vr2Gr68IKZOePnRH+JwTxvfjJw1QyyouKk1/zx+aPK2wkF44mQ2yS4xfQOkTqzjS8d HbCLeCVZ2eg/OD9jp0ttXs2SdyrkRuQhWYb940sDiSlrfJMDPslZn8rS7TzPlBfWSnR4 So6x/vwQbujFsjO9x6GXTv9zCQ6ImvrfCLbkRUW7ii/vYovyq+X/FAdklWj4F5aSf45M I237KjxQhoZeF1zPOzFQSbBnfvey4A6aKytsUtNAEuEl3qxERx+WCF6DzHoZZ72AWXha j3amNUooVpvkT08oOppXeU+j0bI/gbIu8r+gppg6r16buLUCtBJcK77nzEzY6VD/agx8 6+5w== 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:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=lQKQDzeVK4Uf3YS6MYrDsg7Y/owjPxYU/XltSmblwvw=; b=BpM733uyIFwjt1z/QXkAsB5OlwR1pB19l1oOEw2hQDBVIAp3VtaYWAz8ZYyck/MYo7 nXugl7BJ5KoPbjvu92c90qOX8W0rOj+JfgXqrMzrNADH3Tide/VIaNuQ5fLfjqa5BZKc kTc2E2rtlr/sW3fd7P4NFqdlBrY2HXd/P84WRZgLUYRfCZYEszenssMiK5OLb2yR3HF+ aI9iBPEUliJq3Bv4UTL917vO+xeRPdip+yIdDfX5y4+j3uPn1X1DMByh4ZZWJSN/pfPn w0YIayEjiUzGFVtYlUsPkK67wEawKCQ7dfVk5dTomys5/iABJyP0/WiSS8RWoMUjeI3u jjGg== X-Gm-Message-State: AOAM531I2ajqRvN3Pzg889niJdRXIvt/Bs8A2dbgYzQwdX6oyLsjg5hG YS2n0glesuWxpxyLhku1NwdrkLDXFc8= X-Received: by 2002:a1c:bb05:: with SMTP id l5mr10962772wmf.141.1590404887419; Mon, 25 May 2020 04:08:07 -0700 (PDT) Received: from ?IPv6:2a01:e34:ed2f:f020:f5b2:610d:e426:c0dd? ([2a01:e34:ed2f:f020:f5b2:610d:e426:c0dd]) by smtp.googlemail.com with ESMTPSA id q1sm3445092wmj.9.2020.05.25.04.08.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 May 2020 04:08:06 -0700 (PDT) Subject: Re: [PATCH] arm64: dts: ls1028a: add one more thermal zone support To: Yuantian Tang , shawnguo@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20200525073827.13272-1-andy.tang@nxp.com> From: Daniel Lezcano Message-ID: Date: Mon, 25 May 2020 13:08:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200525073827.13272-1-andy.tang@nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/05/2020 09:38, Yuantian Tang wrote: > There are 2 thermal zones in ls1028a soc. Current dts only > includes one. This patch adds the other thermal zone node > in dts to enable it. For my personal information, is there a cooling device for the DDR? > Signed-off-by: Yuantian Tang > --- > .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 22 ++++++++++++++++++- > 1 file changed, 21 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > index 055f114cf848..bc6f0c0f85da 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi > @@ -129,11 +129,31 @@ > }; > > thermal-zones { > - core-cluster { > + ddr-controller { > polling-delay-passive = <1000>; > polling-delay = <5000>; > thermal-sensors = <&tmu 0>; > > + trips { > + ddr-ctrler-alert { > + temperature = <85000>; > + hysteresis = <2000>; > + type = "passive"; > + }; > + > + ddr-ctrler-crit { > + temperature = <95000>; > + hysteresis = <2000>; > + type = "critical"; > + }; > + }; > + }; > + > + core-cluster { > + polling-delay-passive = <1000>; > + polling-delay = <5000>; > + thermal-sensors = <&tmu 1>; > + > trips { > core_cluster_alert: core-cluster-alert { > temperature = <85000>; > -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog