Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5468196ybl; Tue, 27 Aug 2019 05:16:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTrUIHE1KzRfp5ftO3WzlVMsUGGGe51wgoMgz9yy6S7T5Lg5eUFEQYS+87WWvNuXNjAtE/ X-Received: by 2002:a17:90a:fa95:: with SMTP id cu21mr12848001pjb.43.1566908201757; Tue, 27 Aug 2019 05:16:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566908201; cv=none; d=google.com; s=arc-20160816; b=ncJK54yYRfUfBR7TlROb+TcO3RurRMEr7U42s/5c4uUZkP/dlSSJ25VbXFUtTLomQk LuvsfPKxS7rVwkKYy+rkgK/uXWO1CH8Sp6yfEXG8NjXfIT2JNMauizSM5rkdmWlg1VQk PwUjBcImyMbNmN3ZC7UsWvCnMw8ZLkd63/IbSGKSSe5fY0zzKvmmp4UxkyFFQYCqdr/U R6JGDQrsWCnUl/qrWRWW9HMnQzk+E9LcIeNtfFbaMVez3qPXqaKQgT39XNYG6bDskI73 slc3mAzDc5sVV7nc9deq2q8ItwyNboHTDCfDlaoB/tc/oLoZ0IdkeFUHf2lSiQC6gAvN WSDg== 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=GMOu6qgVTdqAhbz2ksT+exRgQKgrqJEbMn3/fGD9J4Abke3fvGeSwyuahur4nrQA4j rDR1lEeki8Dpk2t7Lt0AKTjsON0uftFqtUtI4QzCYl6ucXY5sEUfV1uh73Judlsife5M 57z1K11PYrEFl+D/Gu+M7RL0yzkITOi1JwvLyg4oYD9annxK0zSRgnMAXN4hYkNcpMWB Js8fNDu2RVEPUGCpt+zFsjnqg8Qtan1vVk53huSiWSyYN4s+6YlJMXHZMN2JYmZ07nPs /S+WH+iyrxAjOhjM1uTUAx+d/P7Aejm6Mgs8qpK2HdW2NfidnuPfmSqj9A0wv2Gm0IbS aMSg== 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 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 s18si11661034pgq.177.2019.08.27.05.16.22; Tue, 27 Aug 2019 05:16:41 -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=BE6d8+Dn; 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 S1729859AbfH0MO5 (ORCPT + 99 others); Tue, 27 Aug 2019 08:14:57 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:40383 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729836AbfH0MOx (ORCPT ); Tue, 27 Aug 2019 08:14:53 -0400 Received: by mail-pl1-f195.google.com with SMTP id h3so11698266pls.7 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=CjPs53AyFnGngY5QI6Dj2dy7/MhnX5cbWF+uKiTz+35WmbVApYHO6Ip8CBCUJbT96n quitMPdLqRrvDCq7URo2xC/JX35Zm4RjI87HpJZERlZb82ioVgzYrViQo5aKx5Ooff9J foiJluY2E4BzgUadL2bFPFwULr9oVA4oGBcXFL85r1anWRgWH5CBZTqg9tcJ/yGBdPef 8uLHKO7tHH5WR1Gn8sZIjvq8F3wHPeBVO+SAY0GFAUEZ59kdrMUw2xpGzUTdZkg+CPlV uY+wqSxo1wuHDe+PGHZvGCxSTwL2MtiwDWyVxvOKLb3nRDm1rDn9PAdSCNuERliKE2+b p5GQ== X-Gm-Message-State: APjAAAV9UEZQEmbecCwQEm1h3QYkYEuYuJz6SDKEetPfrVXAuHbiXrCt ocw5Hil/YtcPriWy5OeeFQXobY+ho+74tQ== 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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>; }; -- 2.17.1