Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2415936ybl; Thu, 29 Aug 2019 07:54:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKJ/53Ut3Qdudm9dgHNd9eN5T22Umrr1ujv8fp8x7WAYQoCRAO8Gx0fbnU656B42Ju2exu X-Received: by 2002:aa7:9abc:: with SMTP id x28mr12113267pfi.234.1567090486065; Thu, 29 Aug 2019 07:54:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567090486; cv=none; d=google.com; s=arc-20160816; b=XnjxThCiBUXmm+m+lQypXrKBT/Jgl9CYc2kplDUmyQ3aSFSTtZ7Po2jxTHORxLcLsB BjBDis6nRu5v7JjWviYorpAYkUKhZFNgaY4NYfKYpoyiQc4jSBgZ8qwmRTzQwBwPDm9g 4AqD0zL5KsPH/bgRxuvQ6OlNdp20nuTLVYN41GM1rFJ5RHxcF/r8B1UJwJgMwke+vvAu 54Tpk3KYALv+OOt6PnP1CIXmxN4kUzlpQnyfNe//U1BJ9UdLDM6eWMHEQsq0jqIZz+f4 HENuLK8fgjCqryl93TRnTjkxNiSQ13nRBMgycaaUUkhXcjgWsQ+CmYmeKCTHOwgO2enn 2D5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:from:to:subject:cc :references:in-reply-to:content-transfer-encoding:mime-version :message-id:dkim-signature; bh=IVt1U8oT+FQK7aUwrMR2Tp9XbQQNNH4JQiQH6Rt7qf4=; b=ZsMGaL0ku9encUP8KIekWJxwhrWpJ9WW5NPASX2sSSoXKsQzCmeMt2EUex9gV0AKFI EkqfeDnqxwlfsCZFT9uC/Ckj+d2J3B5KcXLEaszMIzDn9VinHy0+53EL7SU9gx+b/HA/ KfZN/C1e0lojfR6c6rF6C6D/58YoV14Y5AL99TjyyPP5bJgJUoNISUejk3IKOiqQBYUs /4OdiI96U9V1RuDiBrbUSE4ioG9uYxnbt4VodsSMbEcG02yiJVacehkxD54bbynoCIXa r7RMgVAD1S+hLz341LyKFMbGTFsP/OlcfFmh+WYc+yIK8CV36vGJ63wxOxoyq0mMo2nL rXeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=cP79UUZk; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j23si2781726pfr.41.2019.08.29.07.54.30; Thu, 29 Aug 2019 07:54:46 -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=@chromium.org header.s=google header.b=cP79UUZk; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728864AbfH2OxG (ORCPT + 99 others); Thu, 29 Aug 2019 10:53:06 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:40556 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728852AbfH2OxF (ORCPT ); Thu, 29 Aug 2019 10:53:05 -0400 Received: by mail-pl1-f194.google.com with SMTP id h3so1686588pls.7 for ; Thu, 29 Aug 2019 07:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:cc:subject:to:from:user-agent:date; bh=IVt1U8oT+FQK7aUwrMR2Tp9XbQQNNH4JQiQH6Rt7qf4=; b=cP79UUZk928DGL+GxphxoDqthoR4vlD+VEpiHJe8dJnI74dSK5hHZDn/8xoNtlwaLH IkL9g+CPoO3ERIm4twApQ3fSHH+/cFNlISlAnPCINnupwLmEXMmKVkw35ldVMfLUUOXK yToPL4+v5EmLSwhPC+E3qcL0teiSDB+eD/bXw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:cc:subject:to:from :user-agent:date; bh=IVt1U8oT+FQK7aUwrMR2Tp9XbQQNNH4JQiQH6Rt7qf4=; b=eS0JBJRoXBqPfOuG2rgB3RyStlEQE1PJRrMRUwjd76RNXh53d+h+df0MV6e0UzLdgs sFYCP+PIBVJDf+grlzgN2xuZZU49G+64hhPvRgy2zF3RoXNy28e0jNwPQuMKoxdV9jzm uBByBTzlpr+gtirvF0Q+k7SUWHFu3II2tqmJ18ElHIYoby/OQjODtWuI4fR1D0XAt+Or uuwbbHvyhTA3ZkpmC+dMXQl8fTBmTPXm5CSsrJJOSFZk/WphL7OApzU+E37xkR/vZzFg 5092M2c3eweS2R1zY93RpCYovAsn6UUDqdXDEL0IY7sD/z5nKOpKjaSnDiIqFLrn5ZW+ AneA== X-Gm-Message-State: APjAAAUNomCta6lROlBsqSGsgaulFGiw9mBHSYOYVAfR/fVi9fqfH+Fb i0qFocUAcwDVz4DTkTtjNdZOSA== X-Received: by 2002:a17:902:f217:: with SMTP id gn23mr10280979plb.21.1567090384357; Thu, 29 Aug 2019 07:53:04 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id ev3sm16476457pjb.3.2019.08.29.07.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Aug 2019 07:53:03 -0700 (PDT) Message-ID: <5d67e6cf.1c69fb81.5aec9.3b71@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <66ac3d3707d6296ef85bf1fa321f7f1ee0c02131.1566907161.git.amit.kucheria@linaro.org> <5d65cbe9.1c69fb81.1ceb.2374@mx.google.com> 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 Subject: Re: [PATCH v2 07/15] dt: thermal: tsens: Document interrupt support in tsens driver To: Amit Kucheria From: Stephen Boyd User-Agent: alot/0.8.1 Date: Thu, 29 Aug 2019 07:53:02 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 descr= iption. > > > - #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" >=20 > Will fix to "one or more of the following" >=20 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.