Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2548870ybl; Thu, 29 Aug 2019 09:37:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrsZnCVY4wNwO+uFHq1ZgWoV0dGjBROVSFenY+syobrlAfaI/BuLE9X+yw3Op3mHcemq1b X-Received: by 2002:a17:902:7b97:: with SMTP id w23mr10889192pll.283.1567096622457; Thu, 29 Aug 2019 09:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567096622; cv=none; d=google.com; s=arc-20160816; b=zTSzL+yX3xwI5gxCXtXT/nkBkGfFgTuYUg0VwgmIs44QvBRVT/v72XYcW2oKx4d5h6 FXmKtpvx+dokdheFv/a5xu/J7hN99g26CMJB5w6UXIFVluWtaIr+z3PgZzC55kNq8FlJ f5PXkv57pbN8yBZZ7bsFwLEgI7EcmHMyJf9qf0hIan+S827U2pMr69OjGo48grByELwh Hi3YR6Ee11ptpMFWc4y/wrv9VFertj9nk4UjM36Mly7MzD6eC6IojotITNGpDltPdx+/ QDXFsXLh97Re+7CfNLWBZSEvUPHUuPaC1/MS4ol5S8h2skYeT8HVLEwMCWU2MclCpw8i B+bg== 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=n9l5S2KbsRERhGgBhP1Pu1DL1JLpghBBG1KctWMbhPY=; b=SI66CTO4ji4s+p+jwRJh8s3FmIW2EZo2wcJqhonrQrTJmZO4c7gaWahKPpCkZOgMBC p0t/hm/1+fblAtuIlCCISArVjQeeca3oits0M8UadaIHOm9YO7YDryx1KRE/UgfShs7W NE1RYjCaHKaj9CBlOfESTu5clpzw+nUMKtEpEnzxehDwYIcE0g3lmJy+QImqNjlO+7/O I6zlh9CW4FLFh0UKEQRLqEdGkgLwxPpczrUHkSuJM9phy/ZbWUPOM2geOi1mEc+ymS7T +A4jd31acR0UKh+OipQQ668hx+ex9ecivQtAaZZTFzwUMNuVroYaYMS3WO+26XO4ofa4 9Otw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wrKlAklp; 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 gb16si2361077plb.389.2019.08.29.09.36.46; Thu, 29 Aug 2019 09:37:02 -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=wrKlAklp; 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 S1727958AbfH2QeP (ORCPT + 99 others); Thu, 29 Aug 2019 12:34:15 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:42575 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727602AbfH2QeO (ORCPT ); Thu, 29 Aug 2019 12:34:14 -0400 Received: by mail-qt1-f195.google.com with SMTP id t12so4340231qtp.9 for ; Thu, 29 Aug 2019 09:34:14 -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=n9l5S2KbsRERhGgBhP1Pu1DL1JLpghBBG1KctWMbhPY=; b=wrKlAklpDzCaK9bitOGvsiE1iRls1xkKTHr1uVj6ML6++yzsbIy4Ss6lHKR/4t+kWB kBWFsevMQv+AgM/3QUQZMUuLjWg5OTvBgfxqQiHHHX66tW4HQ0cbyJdw6Z7A+bvdNRbr zzSU6odPMrenQU/WFUgNqhIZzotjT1I5eoV05DepZXWhc6zk/N4nzQiCscWRFAsp83f5 2mCCoPEUzklIvPUTCncScdjggNIqgZ5lAVE0A/GQ2YfQD/jm7+CBxdARj37Wj589cCgt 8JKM1lQw79QAQpsOnSqj0AI/1GmG00Z5SoJni7fKTOlQKVKf47/4TAlFHKd1YRmsV2lR fxDg== 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=n9l5S2KbsRERhGgBhP1Pu1DL1JLpghBBG1KctWMbhPY=; b=Xwi+vJgmi+tOC/z/iuiqscYnnJOlMeYkEhiOMZuFXxmPC7BcJ2CVDEJtmzWnoO1dPV oMM2ap068vSP7+rMvkbU11jS3BiThR836mnT5kukAmozG2+rgDVg8R2jTYphruy54vFS G4mIEOYogM60Iye1202SPDtmSAoTIy+CsXH1R6PB1he/cSpJVMTR4S8UQsOc8JberH6M Rb+KJICUr4BCgG+nQDnvnRH1AvkIcQEw9E/ATFzW9OUuh9ycIKhu1vm2iA5diKpghmAn 2CotjNZpseQ3YqUeCiO9fRmTcZ/nrOvnuvdhQk3YINZL5xifuLah8xESzGtpc3IPNg/5 FkHA== X-Gm-Message-State: APjAAAUps2bX9JrM4gvhyNupy69DtdJO3BcPKLhMBdAIWY4Ts5qGctnW QS82WvioVFKbqzZRKMB3bVsPmO6y00IOmOnI55Sjag== X-Received: by 2002:aed:3f47:: with SMTP id q7mr10718052qtf.209.1567096453696; Thu, 29 Aug 2019 09:34:13 -0700 (PDT) MIME-Version: 1.0 References: <66ac3d3707d6296ef85bf1fa321f7f1ee0c02131.1566907161.git.amit.kucheria@linaro.org> <5d65cbe9.1c69fb81.1ceb.2374@mx.google.com> <5d67e6cf.1c69fb81.5aec9.3b71@mx.google.com> In-Reply-To: <5d67e6cf.1c69fb81.5aec9.3b71@mx.google.com> From: Amit Kucheria Date: Thu, 29 Aug 2019 22:04:02 +0530 Message-ID: Subject: Re: [PATCH v2 07/15] dt: thermal: tsens: Document interrupt support in tsens driver To: Stephen Boyd Cc: Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui , Andy Gross , Bjorn Andersson , Eduardo Valentin , linux-arm-msm , Linux Kernel Mailing List , Marc Gonzalez , Brian Masney , Linux PM list , DTML 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 Thu, Aug 29, 2019 at 8:23 PM Stephen Boyd wrote: > > Quoting Amit Kucheria (2019-08-29 01:48:27) > > On Wed, Aug 28, 2019 at 6:03 AM Stephen Boyd wrote: > > > > > > Quoting Amit Kucheria (2019-08-27 05:14:03) > > > > Define two new required properties to define interrupts and > > > > interrupt-names for tsens. > > > > > > > > Signed-off-by: Amit Kucheria > > > > --- > > > > Documentation/devicetree/bindings/thermal/qcom-tsens.txt | 8 ++++++++ > > > > 1 file changed, 8 insertions(+) > > > > > > > > diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.txt b/Documentation/devicetree/bindings/thermal/qcom-tsens.txt > > > > index 673cc1831ee9d..686bede72f846 100644 > > > > --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.txt > > > > +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.txt > > > > @@ -22,6 +22,8 @@ Required properties: > > > > > > > > - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description. > > > > - #qcom,sensors: Number of sensors in tsens block > > > > +- interrupts: Interrupts generated from Always-On subsystem (AOSS) > > > > > > Is it always one? interrupt-names makes it sound like it. > > > > > > > +- interrupt-names: Must be one of the following: "uplow", "critical" > > > > Will fix to "one or more of the following" > > > > Can we get a known quantity of interrupts for a particular compatible > string instead? Let's be as specific as possible. The index matters too, > so please list them in the order that is desired. I *think* we can predict what platforms have uplow and critical interrupts based on IP version currently[1]. For newer interrupt types, we might need more fine-grained platform compatibles. [1] Caveat: this is based only on the list of platforms I've currently looked at, there might be something internally that breaks these rules.