From patchwork Tue Aug 27 12:14:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 172280 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp5702285ily; Tue, 27 Aug 2019 05:14:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqybLWtYNIi7hn0WmNL5FCNrSpPdnPLN+6ae8QjPEyXAjFpi8Zg0c1WYD2+CJIX2MdDGPGhu X-Received: by 2002:a17:902:b695:: with SMTP id c21mr1442060pls.126.1566908097327; Tue, 27 Aug 2019 05:14:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566908097; cv=none; d=google.com; s=arc-20160816; b=rqrDgzX6hgc0Fp5F5hwPHM2COugrxOt0U89Akj/37QhKRQKaZ9oO61fmGDm10VJjkQ pLK3wqjUoUqWm1PUMCPsEEa/DBb/AYpROv0+HCO14aP7OHazgWa/0fR8bRJcNaK51Mun n0ROfHJzti70B2ldKnlGxse11hgUo/Buqkj4A8v65zBnril8S82NRjfGafntQULm/fKg d5i4JLBcxTXno4UEWYEVqD5s80R9nBG8glKoNSWrwvZEt0EXw6O0Qrhy/uI5oADddK9e PrYWEGz2HqJ3+26AI9SOMtAAU3csrL0K8uOylliD2DpdDzsYBuvnqHwzi4iiYUszzxJB xtfg== 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=q/b/VLKZJJ+9pBx+Ox6PYhFH2ZDvAGWlbSTEh3xNQEw=; b=X9vrzEwimgNHCUHbNrUNaNLQL9nVan8D/gmLqXagAuxbeZf2bLlmvFVzTn7MWJOGa6 ToUAx8t+ULLu00Fczf8ZfT6H/6Q8OWAE0dRJEurmq4S4TclFl86uAbIlWgkFRxSYhYLU +e/r3JjphldLja6Y0UY84QD7bHx4k2SIOGM7k5pvy5c1a1bZk6Zu7/9uPSxy145yLlWh wNQBvDYWqRzd7kfYvOr6Yat0NjP3NEelGtB45zweTflghBzQmWS1eFacgrieNVr7tqis WAs/6CeIkEV26JKP/8YcLYamlfmqtxRoh+NzZNSGQ5dGFwW3JzmhVL1z2DAjSgLxPfZQ mt0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BE6d8+Dn; 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 d3si2507368pjx.75.2019.08.27.05.14.57; Tue, 27 Aug 2019 05:14:57 -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=BE6d8+Dn; 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 S1729838AbfH0MO4 (ORCPT + 8 others); Tue, 27 Aug 2019 08:14:56 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:44333 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729803AbfH0MOx (ORCPT ); Tue, 27 Aug 2019 08:14:53 -0400 Received: by mail-pl1-f193.google.com with SMTP id t14so11691688plr.11 for ; Tue, 27 Aug 2019 05:14:53 -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=q/b/VLKZJJ+9pBx+Ox6PYhFH2ZDvAGWlbSTEh3xNQEw=; b=BE6d8+DnSOLyJiEO1FnF2ECV9qpThQL38lOhrGVasd9zmpb1jWlpeLJ5NJDY+p/buW QFrkuswzUm40vnmWVn2IxbZapzX/L4xwW21FEZvu46TQ9PfJV8unb3P2H72Hay/bsnXH VTMCdugJZS9SouZyX6s70w0GC+8Xfd7AQZ7RzsWM75398FJyQtBOnSzznZwVvVGs1zTN Kw5RM4PvRUnqiiMPX8N1p7HfhKm4u6KeV449kQYTztb7ZNrUU8R3iO7rr1IWTfzbSsco AjkKkdb3/cPZcFPUYFzlwHiK3R3mSU0hHyY8OYUpEHFj8NxMlBaI4jgiOe+ccPt10arn Iwtw== 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=q/b/VLKZJJ+9pBx+Ox6PYhFH2ZDvAGWlbSTEh3xNQEw=; b=R1tofRQmVjWFJ0yjKU3h7tmvYkMwnyZYAusB1g+D7JZ+q4RBX6pcbIwJ5vCIvvW5gd TibhKgT16HkyApSW1e50Yw4BLzSwUoWDlPqovPeVwqb+FtEJ18Y2Ud1J/NrJ7xFolO2Q J+kofq9vBMSxPZskw96/VW5eYzrQ9QoCNfigHtcrgHi0LrZEDWDJrJgFSNKfxy68njya S/j+9watQDG2XIp6dCXbD3+fLuDKVj9Ip3qxKmVghsBAhgmYzz3TL5PDLQNgoc9WFUqi S2ieqzg+qrN1Ui7Ui8lLSOEg2HbAaecNJ7jxjp1u5/snfeoLdCROSht7wQzc/0oTS+6e Lt6Q== X-Gm-Message-State: APjAAAXG9Zte9I82QTxcqmGemTP5niiRdLkNua2EvrE6V6KGA56za/pq QzSz2n6cb2BujkLDmzUCGbfR4g== X-Received: by 2002:a17:902:9686:: with SMTP id n6mr23440638plp.113.1566908092569; Tue, 27 Aug 2019 05:14:52 -0700 (PDT) Received: from localhost ([49.248.54.193]) by smtp.gmail.com with ESMTPSA id y23sm24679653pfr.86.2019.08.27.05.14.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Aug 2019 05:14:51 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, agross@kernel.org, sboyd@kernel.org, masneyb@onstation.org, marc.w.gonzalez@free.fr, Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 07/15] dt: thermal: tsens: Document interrupt support in tsens driver Date: Tue, 27 Aug 2019 17:44:03 +0530 Message-Id: <66ac3d3707d6296ef85bf1fa321f7f1ee0c02131.1566907161.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 | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.17.1 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) +- interrupt-names: Must be one of the following: "uplow", "critical" - 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 = "uplow"; + #thermal-sensor-cells = <1>; }; @@ -51,5 +56,8 @@ tsens: thermal-sensor@4a9000 { nvmem-cells = <&tsens_caldata>; nvmem-cell-names = "calib"; #qcom,sensors = <10>; + interrupts = ; + interrupt-names = "uplow"; + #thermal-sensor-cells = <1>; };