Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1408535ybl; Fri, 16 Aug 2019 14:37:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjWdldZeIBaTae5dKHdCv4rSPzvble8hV00hUHF2xt6/ldoQK8YLlrcXgs3xaOBCoEZEwe X-Received: by 2002:aa7:85cd:: with SMTP id z13mr13075807pfn.214.1565991476360; Fri, 16 Aug 2019 14:37:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565991476; cv=none; d=google.com; s=arc-20160816; b=EwjzEy3crdrDFp08adDI59PwHMXuFP+IDhowG01NXWv+zm+iZRnzYjExwKfMmwzz4b kHysDJbexT6Ow19Gyh5XlkjUn/EqOBiNpzG9EFq2kuL0gML+UF7LSPu+lt9n39aIvzOq cnxNg9xyq4NylhBfnlnGYSuy3jl5+1BtDpsEa5mgZil9dQ5UzSIYEzwAbYy4EQjqQvsY +DnPAUFEzZj9GkxwVhQ5Ns2NqJTsOl2WBtRJ1/8HaHwYEONhcJlYYB/G8alLhO4Z/K3O zWVd6w+GNRzE2iFSJE7RZNNv/Gcfhy5mHiCpjBs3h06Q/P2xRJ24FaVoer769Pr4soyN uYWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=EqlNFjx8Ch5lQdeRcSUE5YdRlHoeAi8lFa9/QkEjgTM=; b=tVxsiNlU+HsiYiWEN0sZpTAfoRL5/YJD7Blf5BHkr8M0IpYG+BE23a0h6w/jh9OZtw yssv3FqP/s1pPMlvy0VX0NKJrmT6uE9Y8LVhc9XM7diNwzziqAeRF2duhWnssFRxP97a RAcjQbyVNGCAxyPlTq/OHNeOhK8J/e6hzVsOtCu4K9pndwrSuXabKaCFv7lziStobR1L U1ttrm/t3saw/WOPu1FkA2bZLcF5F2/KU400AIIUq+LJq8C5dLzewSCzUtZLQJy6rqyK +YhMSV1RseN9/XJmO3wLVVJF9+YP2IjVWTqAp1wB2xy4D4PC1f5QVNXgUZu69oubJ2ju V5QQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e11si4521169pgi.121.2019.08.16.14.37.40; Fri, 16 Aug 2019 14:37:56 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727791AbfHPVgv (ORCPT + 99 others); Fri, 16 Aug 2019 17:36:51 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:45164 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727669AbfHPVgu (ORCPT ); Fri, 16 Aug 2019 17:36:50 -0400 Received: by mail-ot1-f67.google.com with SMTP id m24so10809059otp.12; Fri, 16 Aug 2019 14:36:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=EqlNFjx8Ch5lQdeRcSUE5YdRlHoeAi8lFa9/QkEjgTM=; b=HxTcv2KuOI64KV6DMNes5u0U0pNHQqn/foS5LjijGIAlzxP/uSaQXsEcgDlM10uJnf KmjGbFPrGI80Do54XxPJr7c/KJIKj5kcjohBmtH10tt1IXwtP8BBcrdOLhRmOhttkCub A8df62TkuuI2FVoh7bB70GsklYvQoET4TJTPwGAf9tlmU5F8SU7QDgyIfWEM7XH663fl CcQKKoJbU/gb/w/GAn9x8I1b6D0GYdhruUadmG2p2B8fYp1zLxXs4zjPg2pcqMLhrFCN 1Z3m7G5nYALbgzMAJI2WJaBif8g5G1MdoPQrnOeCsEh/DwclkIYA9zjXprMWSgUgQqIo gb/g== X-Gm-Message-State: APjAAAXj9ws3gyad41oznSEUgD6JQyO8nm7iARgq4CiI7T/aYOid+OhB IGkmqhP4UcC33LvW6wNFjg== X-Received: by 2002:a05:6830:1e79:: with SMTP id m25mr3749268otr.109.1565991409708; Fri, 16 Aug 2019 14:36:49 -0700 (PDT) Received: from localhost ([2607:fb90:1cdf:eef6:c125:340:5598:396e]) by smtp.gmail.com with ESMTPSA id h25sm695855oih.22.2019.08.16.14.36.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2019 14:36:49 -0700 (PDT) Date: Fri, 16 Aug 2019 16:36:48 -0500 From: Rob Herring To: Amit Kucheria Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, Andy Gross , Daniel Lezcano , Mark Rutland , Zhang Rui , linux-pm@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 07/15] dt: thermal: tsens: Document interrupt support in tsens driver Message-ID: <20190816213648.GA10244@bogus> References: <72bce036fa8cba3db6e5ba82249837ee46e9c077.1564091601.git.amit.kucheria@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <72bce036fa8cba3db6e5ba82249837ee46e9c077.1564091601.git.amit.kucheria@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 26, 2019 at 03:48:42AM +0530, Amit Kucheria wrote: > 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 | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.txt b/Documentation/devicetree/bindings/thermal/qcom-tsens.txt > index 673cc1831ee9..3d3dd5dc6d36 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) > +- interrupt-names: The name of the interrupt e.g. "tsens0", "tsens1" How many interrupts? A name with just indices isn't too useful. > - Refer to Documentation/devicetree/bindings/nvmem/nvmem.txt to know how to specify > nvmem cells > > @@ -40,6 +42,9 @@ tsens0: thermal-sensor@c263000 { > reg = <0xc263000 0x1ff>, /* TM */ > <0xc222000 0x1ff>; /* SROT */ > #qcom,sensors = <13>; > + interrupts = ; > + interrupt-names = "tsens0"; > + > #thermal-sensor-cells = <1>; > }; > > -- > 2.17.1 >