From patchwork Thu Jul 25 22:18:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 169758 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp12182518ilk; Thu, 25 Jul 2019 15:19:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHBqHucR5H4K4MQ2xy3ZOryCw5gkvi+2A01xRkVUYuNdjHHkQGLd+4CRAR9aeYd9iVIc6R X-Received: by 2002:a63:1743:: with SMTP id 3mr9862813pgx.435.1564093166368; Thu, 25 Jul 2019 15:19:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564093166; cv=none; d=google.com; s=arc-20160816; b=Yz3P2GopiyYCjGc+fAuMZNWafJ1QeBnabdEpBCqG+HAy9S/t8HFRGxYPY/rJZhcYOn 5Ejls3YOjQg45YV1hTEkTwJ6w1NVH76EgnSQVQpvNLLWu0DbEjZeChkkZz6dUa9a7T7j Ad7l/XMThjTkggGjBieRqLV6p+Vyv0xZxykzooB514E4K4hWfFpz27q27hKUuKK6WwAJ eJ4Q/q6QByEee36kmeEqgbwuIDQNTN9lGfGP5Dew2oVxJlYvR1WdJMoYeD8uPW1raXIk P7IIIjViIBI8dNEqD6MUnEw62gq1VXnLZ/lqXKPjz/4q+Mdswk4vyN+EUHMl0dB0fTPx PudQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=amjpNRleha+KN/EuHRyzTUgCt6MkSmYthRSSTGRJeLk=; b=zry8LtY/Yz+/m6uaIC+x6uFYp8t4qAyNDjcx9F+oTXpLMiakqVeBS4khYZnr8EnK1d /UV8m/EZi6SiFSUpPiPlYZXBWqA4soh56p6kjOjwstGc/aVnqd8oLKvVXb5IFS30CQae Y2cqB7a62ikgm6F+3GxG/HA/Xt7/FwKQPjLI+TJo1xR04vMR1OrghhBaeCwD1BO08OyV 7UEyduMYp+iJj64/WJwd7oAM8jxtPfvndimuECLtI8rTT9aJrixA/TcR0FWdPRqsFNwH 7H8yAfBHA5t5iLrUx5h1Sc9zDYvbOkp7iMt91XdwoVV9BG1drhqGdnaxREzHr2qxU2zj 547Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cc4FhF/z"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 v31si17300088pjb.22.2019.07.25.15.19.26; Thu, 25 Jul 2019 15:19:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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="cc4FhF/z"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1727081AbfGYWTZ (ORCPT + 8 others); Thu, 25 Jul 2019 18:19:25 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:46479 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727071AbfGYWTY (ORCPT ); Thu, 25 Jul 2019 18:19:24 -0400 Received: by mail-pl1-f195.google.com with SMTP id c2so23902037plz.13 for ; Thu, 25 Jul 2019 15:19:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=amjpNRleha+KN/EuHRyzTUgCt6MkSmYthRSSTGRJeLk=; b=cc4FhF/zO5NxWck5NRRbEzVCBekK3ZlKjGzUReO9izSEdqV9t/vA0x8UlJcDEYNz9S gFdGWsMoYXFnoOrsbhwgJFKIg+JQD9DdqJCL24K4mszOrf4QsAR4GscI5ZJoteuJfqLD plgixsXge/LHkeiMYc2lX34OH6pQbQ0gqridn1qii9eWgGbUAwRcw42Qe5nx0SNvfvei LVamvvA/gmzss9Agus4cbSGg4rUlZ19FgNss8J6wMkNVx1z8h1bnYBZOJ9To6cjRISVY e7IEw43MEAoTp11jeowtIAG5+DYli8+dhDKZ6GTwXWfJHk7L9rXDSLR6EIlzgtWjLk69 d3Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=amjpNRleha+KN/EuHRyzTUgCt6MkSmYthRSSTGRJeLk=; b=cHppBY2Uol/KftesS1Xif49xSPCyM0OruujwC59b8pb5qDjRLC4rqBDZjGPES6EGHN jC10jhHHPDK0hJsHg1+os0cADpQkO468634sjuKyeE7Io6DrHVUYMFy7LxjRRsPjb/U9 QqssOFRaYR9tGYdV51FT5KEQ/7dVpqsMN3FufOtX+stOpyYI4CmuiANUHqojReIg5Flb qcrQFDqyH60G2CUqdlsxR5y3MwAE5VvDh2qhDmmp4O+xu8A8j76KU2LUKzqReTvm6C5O kWavwzCBGvFZLY0DqzFVy3ehsaebt5qe1iXMdohHbY1FedTxcPsWOUJiV3Q6/sYk5yME /u2Q== X-Gm-Message-State: APjAAAUZ4nLYOcJcWS6rJmOz0wupFwtfheu44rOcw7gEM/FJQDTINJvG +6667emRPlsmei1hi6jH0XuFBg== X-Received: by 2002:a17:902:106:: with SMTP id 6mr94863155plb.64.1564093163818; Thu, 25 Jul 2019 15:19:23 -0700 (PDT) Received: from localhost ([49.248.170.216]) by smtp.gmail.com with ESMTPSA id x26sm65297712pfq.69.2019.07.25.15.19.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 15:19:23 -0700 (PDT) From: Amit Kucheria To: 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 , Rob Herring , Zhang Rui Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 07/15] dt: thermal: tsens: Document interrupt support in tsens driver Date: Fri, 26 Jul 2019 03:48:42 +0530 Message-Id: <72bce036fa8cba3db6e5ba82249837ee46e9c077.1564091601.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(+) -- 2.17.1 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" - 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>; };