Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1797971ybj; Sun, 22 Sep 2019 12:09:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2Sop6KjeeMtRc6/+O+f7GIwe088ovC6yNiqyec3rXTiJ5uZUUTsKmlou814hhOJv0l8zC X-Received: by 2002:a50:9e08:: with SMTP id z8mr34065103ede.305.1569179368389; Sun, 22 Sep 2019 12:09:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569179368; cv=none; d=google.com; s=arc-20160816; b=QztMmAYzfF57AdUy/kQXTuDDxbfFKEphnfoxZJFaP8edzEe58rnoTGrr2i/GWvsXRt Orf2rOhYx/gnYDfLIcXDAYfkjlcOttrItYaXE+MmgshRx07fcmDE2rWt8GkSe4vGBJo3 e0lZ7wpYjUas9gXhlhk5L2E4OYZO9pRR0GTTyvwuG2bSCj31C5IlUO/Q6/M+VBACZY/Y JIUcYWlIn7770AcAqJnQlTFH5li1PtNgWJR7jxZ3WQZRDMO/XfLcQAjKuce2ah3OQedk Au+qlgxh5bRDpWioBdDdrJ2cRSNSTaa9qv+/Ykpo5urv/cBXNg2y07+Z/ivIVcMvEdWb VcdA== 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 :in-reply-to:references:mime-version:dkim-signature; bh=ePRG1El64b4xalI0ZgtQ8x7l7yrY5i1tboqLUmCo3Tw=; b=01YgCNGHe9+d4n2ZLysp1Uf4y7fVogEBFLbmVDQb3cSWZTR6LsWZJxZ/cMiFE68w3+ eBIC7md3XBIhF7yTzU+BqPRbi8DCDDEY6FvO5hGnra31Sj2kVVW8dqmQ1hkonZnnuCvH N2XeW5bSN2PvpdBtco8Gcwxp+wVSuTA3S0Bk92DbsI9zSClNJpUzgKdG45F6ufos6QYj rkCJjbCowdV7GcD/zYVlV5haRs9WeNoSyM9v8md0/XvERqkvUnBK+xBNH9l0GCRkXWmU 6hCl9Y+OYlKauifrloSbSosb2OR0Er5FCIAp4kxKDlWPf3TK3tGhVc6gegsKmTpJfpYs lQUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hUVtM6LD; 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=pass (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 f19si5454474edb.385.2019.09.22.12.09.04; Sun, 22 Sep 2019 12:09:28 -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=pass header.i=@linaro.org header.s=google header.b=hUVtM6LD; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730718AbfITWPK (ORCPT + 99 others); Fri, 20 Sep 2019 18:15:10 -0400 Received: from mail-vk1-f196.google.com ([209.85.221.196]:36144 "EHLO mail-vk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729981AbfITWPK (ORCPT ); Fri, 20 Sep 2019 18:15:10 -0400 Received: by mail-vk1-f196.google.com with SMTP id w3so1919222vkm.3 for ; Fri, 20 Sep 2019 15:15:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ePRG1El64b4xalI0ZgtQ8x7l7yrY5i1tboqLUmCo3Tw=; b=hUVtM6LD+m1itXw7Sd1jqt12kpEU4iVZeuDH5QRLp6g5OKbH7Lw+DKSzFKMQjz+KNQ W00B3zibGQ6IsWV7H7e1n8wmOzxKDGNoeIvqmLmy8pOI4HZ9ec2Zj46vVd2A7+2pEtcL R2svA8dcQQ6aMlf6Hconq/o1T+5lB02l4LEnufJ4j6sAbxKnPvFlx7SMH2Zv9xNrsIuV 4PFHPcDhnDBo92iKrYOPYQH8PUXW4ETH8fBbuQnRjJWlbMaf3HHIoJGA6elUGipoG1y3 hHyb1pixu3+Wbk/OJf2gDkWpGzwGr7RrapVBXSX8SYk7pxcItx74+WOBCrUh+fobrf/1 7yJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ePRG1El64b4xalI0ZgtQ8x7l7yrY5i1tboqLUmCo3Tw=; b=L25fBF1vQqt1EPq0PrB6TNbrxvzVt5NasqoZ4obZL1exPWgVm2thZBBnjnaBfQc5M8 7j0FT0XWQBvjNZZRs364s6EU/Ol0uohn4+LkIaQirOoo2goJqJx4KnuKSWNx9M85ajyN cYWuglFJ6XrxyFAB8F6EYyc221c/pi5gTUn7qrS47h8AcMyyiFyl6iEZcvD5Yrh1ScQS 4FHGHMxwYaunBZrDi40ZKljF0ov+t2y6UKFfek9wWu04cWj1tqzfMyqnfD4ny6xdsEo3 tcKAOgPy0Tly9c3hFCHTlSC77lQffVzPiqVyBEQht8yew7bgwkzfXQ5R497D4m7qbmeC QmnQ== X-Gm-Message-State: APjAAAXj0qLPC35IvjXOMboPlkEPbghPYpebcpIesFb2s3PHqjFmgN61 uKRQgeEipsX2hIDQ6iVO3VYy/ywaNLph4wWv/ephNQ== X-Received: by 2002:a1f:bd94:: with SMTP id n142mr9846336vkf.86.1569017708851; Fri, 20 Sep 2019 15:15:08 -0700 (PDT) MIME-Version: 1.0 References: <5d854c82.1c69fb81.66e1f.96ab@mx.google.com> <5d854e1d.1c69fb81.4f771.9391@mx.google.com> In-Reply-To: <5d854e1d.1c69fb81.4f771.9391@mx.google.com> From: Amit Kucheria Date: Fri, 20 Sep 2019 15:14:58 -0700 Message-ID: Subject: Re: [PATCH v4 09/15] arm64: dts: msm8996: thermal: Add interrupt support To: Stephen Boyd Cc: Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui , Andy Gross , Bjorn Andersson , Eduardo Valentin , linux-arm-msm , LKML , Brian Masney , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" 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 On Fri, Sep 20, 2019 at 3:09 PM Stephen Boyd wrote: > > Quoting Amit Kucheria (2019-09-20 15:07:25) > > On Fri, Sep 20, 2019 at 3:02 PM Stephen Boyd wrote: > > > > > > Quoting Amit Kucheria (2019-09-20 14:52:24) > > > > Register upper-lower interrupts for each of the two tsens controllers. > > > > > > > > Signed-off-by: Amit Kucheria > > > > --- > > > > arch/arm64/boot/dts/qcom/msm8996.dtsi | 60 ++++++++++++++------------- > > > > 1 file changed, 32 insertions(+), 28 deletions(-) > > > > > > > > diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi > > > > index 96c0a481f454..bb763b362c16 100644 > > > > --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi > > > > +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi > > > > @@ -175,8 +175,8 @@ > > > > > > > > thermal-zones { > > > > cpu0-thermal { > > > > - polling-delay-passive = <250>; > > > > - polling-delay = <1000>; > > > > + polling-delay-passive = <0>; > > > > + polling-delay = <0>; > > > > > > I thought the plan was to make this unnecessary to change? > > > > IMO that change should be part of a different series to the thermal > > core. I've not actually started working on it yet (traveling for the > > next 10 days or so) but plan to do it. > > > > Ok so the plan is to change DT and then change it back? That sounds > quite bad so please fix the thermal core to not care about this before > applying these changes so that we don't churn DT. Hi Stephen, Our emails crossed paths. I think we could just make the property optional so that we can remove the property completely for drivers that support interrupts. Comments? That is a bigger change to the bindings and I don't want to hold the tsens interrupt support hostage to agreement on this. Regards, Amit