Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp7243358imm; Tue, 28 Aug 2018 08:38:27 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYBhQMy9rCzXZ7UI8yy8kJmMPZOQoO16xuEPFZ59Ea2yoT7sDU4Maqe0bIvcdbfDVOdmLe2 X-Received: by 2002:a65:560a:: with SMTP id l10-v6mr2109997pgs.130.1535470707561; Tue, 28 Aug 2018 08:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535470707; cv=none; d=google.com; s=arc-20160816; b=ioCZNGXr78Xlfah0fQ3+Dknv01rUWE2s2j7vLT8nd66iCz1ISeNjd1MKe3n4QQY/aV ShptO9nHV6Z8Xy9WtAIumRh9hKJ3wf9SL9KdggAECbiRhh/R8asF1o5UJ0CCg9AyucWM DJk+FS85k+dDZoilGktjpt/stzT8yjZKXhXzj2A3EdFAsUn3dHKilzow05ohtL8BF2FU ZydW39ll+8wr0u4Rqu+7D9IgVFmJbtQRJoK8x3ugA0PdlrOf0sVUx7xNd0RtzI1yBzWB Pafq9+er2neo6j5WsY74DhXyDk5Y96LO1MlbzVF6OAiUdc8/c52An85oF5YrQ1F22KTb z0jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=R65JaroNyOP8yMoYYXXJFKYU+i9kCWsnfydN48y4BzY=; b=d0Gi1/QE8zZuV1XdWbAXJf8eT47BpHwfj+WK2TipuG4ajv3R64O6ABQZWYy+Psilsw ID2FwqVs31reOc2aikgFKEOz231+Pf4/XGcPHQsCQuZrunQ9EEWkw2mbGPBduy0krjm4 8Fizuew08L32qyEsSBOaw8W67PeLiprb+EVittGdhHNuDY66/8VJFNRtANBF+qTjeds0 1RFPP4tbcOWQU99u9xFu/xN5y/owt5xL0b31oRyks4lEDnQlcobGtcG3L23SwtMlMkRX eRpOwIe7p77Xx4mojDX3/5IvcnzzAzOsc2En+lphC1B0Je0iIrRaBX0vwgla4mSEIF1f ijVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=nmpUUcO3; dkim=fail header.i=@linaro.org header.s=google header.b=VKtxG6LK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m21-v6si1270299pgh.664.2018.08.28.08.38.12; Tue, 28 Aug 2018 08:38:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@verdurent-com.20150623.gappssmtp.com header.s=20150623 header.b=nmpUUcO3; dkim=fail header.i=@linaro.org header.s=google header.b=VKtxG6LK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727367AbeH1T3T (ORCPT + 99 others); Tue, 28 Aug 2018 15:29:19 -0400 Received: from mail-oi0-f66.google.com ([209.85.218.66]:37855 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727312AbeH1T3S (ORCPT ); Tue, 28 Aug 2018 15:29:18 -0400 Received: by mail-oi0-f66.google.com with SMTP id p84-v6so3633657oic.4 for ; Tue, 28 Aug 2018 08:37:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verdurent-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=R65JaroNyOP8yMoYYXXJFKYU+i9kCWsnfydN48y4BzY=; b=nmpUUcO31mj5XWM5QwcsDWS200oqjBu1rhIyjeoJ1sYb2Y+8+Bzx8JNZwKlfF11O+z A3xM98MrDipXAqzCe0mBs4fl/qnGCF6XLzpCLiUyo4B78l8BmTtxeMVRwiWrTmf/Wuj0 RxticIav8p8V6LOerP8jYRHxuMvjYUTEPwlAFvxO7o/lveyOdRCELX1E243Er0Bim1GF bo1oiVSGhNlHaoftj5lI71Q86waRPR7N6tXUYBhEZz8ra91BKZ8fnGq9M/JT5BFwYqaL 6+JFDk/U28U9Vm/SFFDsQ3tNi6iVo59lRxBrFsWS1m331R4I5Jc3cScdAYfZn0UEeMWX s00g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=R65JaroNyOP8yMoYYXXJFKYU+i9kCWsnfydN48y4BzY=; b=VKtxG6LKzuLaBpxHPnbcXv988SUWLW67cqksOMjTL1YYphbR3Lir87ISdcJ5F9Fpnb xx8NHRP8/kJaCnPH684VSXSjdMg+1lOSH5eIVk3Y3xyWrjJuOw9q0fYV6jJ19sX9dpPO YrgppvzqXxr+wKYIMslZ5p7yrPGv3NS8qeWQs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=R65JaroNyOP8yMoYYXXJFKYU+i9kCWsnfydN48y4BzY=; b=DYVohvGNH3TQmZ33ezukMpvjiSMusJMUt6l97Dx0JIwpHN1mXvR6wR5yLVt7RgXbag DXw7C11lOaLu0VMdsL5xzMrHXSPGmJQzdpg+Hxno3PsmoJ8CIFcu07wYcJOnLalAMNzj ILuqEkAkuZ8DBUUbTNjdja0u6EEAMYnKYHa+TZAymvX99AlB9IU+xn8slh2e3HjQ3S65 UaUNzmhzClPT/KUHBTQo0u3h11hU5MooVdba1ULZyt/jbbDmTUBol0PBbBlzk7BsLaXL O0xR8l2woR75SnGY0UUQ/yY+e4vjRCN0ZxCB0bjmWfAhIA+eAWp0GkmhD59fTtHWo/W9 LKyA== X-Gm-Message-State: APzg51BUAhph+eVhSbIqnbb/wkTs/PCvDjgpBPFxY6/hW35L8czfl1pv g1NXyvi0Y2KY/2mYnIaZZxDVKeHHrNGid8+ADplr0Q== X-Received: by 2002:aca:b154:: with SMTP id a81-v6mr1852845oif.34.1535470624767; Tue, 28 Aug 2018 08:37:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:190f:0:0:0:0:0 with HTTP; Tue, 28 Aug 2018 08:37:03 -0700 (PDT) In-Reply-To: References: From: Amit Kucheria Date: Tue, 28 Aug 2018 21:07:03 +0530 X-Google-Sender-Auth: uzcXCjozpfslP84PNcvrD2xvhbU Message-ID: Subject: Re: [PATCH v1] arm64: dts: sdm845: enable tsens thermal zones To: Andy Gross Cc: Rajendra Nayak , linux-arm-msm , Bjorn Andersson , Douglas Anderson , Matthias Kaehlcke , Eduardo Valentin , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , "open list:ARM/QUALCOMM SUPPORT" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , lakml , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andy, Do you have any feedback for this patch? Regards, Amit On Wed, Jul 18, 2018 at 1:19 PM, Amit Kucheria wrote: > One thermal zone per cpu is defined > > Signed-off-by: Amit Kucheria > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 170 +++++++++++++++++++++++++++++++++++ > 1 file changed, 170 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index 01ff146..a75be7c 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -340,4 +340,174 @@ > }; > }; > }; > + > + thermal-zones { > + cpu0-thermal { > + polling-delay-passive = <250>; > + polling-delay = <1000>; > + > + thermal-sensors = <&tsens0 1>; > + > + trips { > + cpu_alert0: trip0 { > + temperature = <75000>; > + hysteresis = <2000>; > + type = "passive"; > + }; > + > + cpu_crit0: trip1 { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + cpu1-thermal { > + polling-delay-passive = <250>; > + polling-delay = <1000>; > + > + thermal-sensors = <&tsens0 2>; > + > + trips { > + cpu_alert1: trip0 { > + temperature = <75000>; > + hysteresis = <2000>; > + type = "passive"; > + }; > + > + cpu_crit1: trip1 { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + cpu2-thermal { > + polling-delay-passive = <250>; > + polling-delay = <1000>; > + > + thermal-sensors = <&tsens0 3>; > + > + trips { > + cpu_alert2: trip0 { > + temperature = <75000>; > + hysteresis = <2000>; > + type = "passive"; > + }; > + > + cpu_crit2: trip1 { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + cpu3-thermal { > + polling-delay-passive = <250>; > + polling-delay = <1000>; > + > + thermal-sensors = <&tsens0 4>; > + > + trips { > + cpu_alert3: trip0 { > + temperature = <75000>; > + hysteresis = <2000>; > + type = "passive"; > + }; > + > + cpu_crit3: trip1 { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + cpu4-thermal { > + polling-delay-passive = <250>; > + polling-delay = <1000>; > + > + thermal-sensors = <&tsens0 7>; > + > + trips { > + cpu_alert4: trip0 { > + temperature = <75000>; > + hysteresis = <2000>; > + type = "passive"; > + }; > + > + cpu_crit4: trip1 { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + cpu5-thermal { > + polling-delay-passive = <250>; > + polling-delay = <1000>; > + > + thermal-sensors = <&tsens0 8>; > + > + trips { > + cpu_alert5: trip0 { > + temperature = <75000>; > + hysteresis = <2000>; > + type = "passive"; > + }; > + > + cpu_crit5: trip1 { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + cpu6-thermal { > + polling-delay-passive = <250>; > + polling-delay = <1000>; > + > + thermal-sensors = <&tsens0 9>; > + > + trips { > + cpu_alert6: trip0 { > + temperature = <75000>; > + hysteresis = <2000>; > + type = "passive"; > + }; > + > + cpu_crit6: trip1 { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + > + cpu7-thermal { > + polling-delay-passive = <250>; > + polling-delay = <1000>; > + > + thermal-sensors = <&tsens0 10>; > + > + trips { > + cpu_alert7: trip0 { > + temperature = <75000>; > + hysteresis = <2000>; > + type = "passive"; > + }; > + > + cpu_crit7: trip1 { > + temperature = <110000>; > + hysteresis = <1000>; > + type = "critical"; > + }; > + }; > + }; > + }; > }; > -- > 2.7.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html