From patchwork Thu Oct 31 18:37:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 178227 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3243074ill; Thu, 31 Oct 2019 11:38:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUh25ZqmUsdUJB0wOkUoG5f4qv/oC4jyKt8kLYRpZL3YxYCqS89STf5W8r4+K2EdbZO1mA X-Received: by 2002:a50:9fc1:: with SMTP id c59mr8038267edf.305.1572547116322; Thu, 31 Oct 2019 11:38:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572547116; cv=none; d=google.com; s=arc-20160816; b=SoktHvhQQGi9gn8FKcJOoi+msaVK8S9lGndgYZZRp4o0QOkQP1Kl6DLA2HFz04+syg JbjIFopJDZVKi5cH8fxUFAS7k6FgHItWHJ5+KARjjSlyb47BWtjaNrK6iYGLvqWfqpMZ wbqcDpduJHmPbhE/3KZAqUaGfSD4MJA555WKqDp9NV1L2UIjHL9cRX729jkMVUP3E9eu ny6xfftzH/u4aW5X4+S7UTm9xZQKeN+H+a+8pSYgpLWKqzB8gKoGRlHFumqNMtApP26Y 1eAtIgVN5nqLJyh5aI6zUeSsOn7J3copNFxO69+BuUHLeiDFqjl9Qp5fY/VUpJYWd1/u aijw== 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=srw60QlGCW1mVn48ORh0gXVEibw1bp8x1qlk8iY4/Hk=; b=yBSXoEkqsgwPZjeiQAClmHcj2WOogUKLyQvMXPcgxPMI22xEdMyyl/F7ToBUS9fXT1 P4emlfxq5z0fBGDgayccLt6zoOW4DdGE/ifhHG2r7ouUoTQrjS0y9Zk8bAJlDQPEgUvr GHlZpyrpU81lf2P/4fzzMlFyeRleGICaWJ88gcQSXBG4cFfZvmbQx8IsCJtyfjxTmv+N eqLdBwZNVMIf88JJAQJAmAbpONl2dVyh283Ss3TbPc7fNPKPIiOHGMv1KoecrN3VD1W7 Ail1XpI9c6GTYqC3EOkhnEkgDX+DNU5iDEKpCpzU5PWmWPut/+8IljuzYGgUlHw9Kqux QxEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oF10FdkH; 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 w18si4099614ejv.378.2019.10.31.11.38.36; Thu, 31 Oct 2019 11:38:36 -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=oF10FdkH; 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 S1729511AbfJaSie (ORCPT + 8 others); Thu, 31 Oct 2019 14:38:34 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45628 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729508AbfJaSid (ORCPT ); Thu, 31 Oct 2019 14:38:33 -0400 Received: by mail-pf1-f196.google.com with SMTP id c7so4937057pfo.12 for ; Thu, 31 Oct 2019 11:38:33 -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=srw60QlGCW1mVn48ORh0gXVEibw1bp8x1qlk8iY4/Hk=; b=oF10FdkHO6Tc7ljOlcDWQxppYy2RkWbouChfPj8FeZs6sA9SjMDo/A5mm0+l66rA7P SMzq9SeD0t41nrbanWcMLG8TyAqFr58cgaeW/gqN6c38ZiDa8IaXm0KqROvLXTZ9mUop 02kwp53lpcruSCf2JG3MkCMJQl3I3TdtDmgpks2GilWjpERuaVaaBLxWo+8Dh6abEVfl XxCKmy+rOvXGrEMoh/QY9U32buGO4cQVbMBnLfm9RJUh78DSzzKX5dP9+ZvhM4lGh9TN kBjKvfCOxqeFjzPCRR74Dw5sSNXKnl3iEf9mEvottYdr6dbDJL88dhaqod/5h57THHPv vCnA== 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=srw60QlGCW1mVn48ORh0gXVEibw1bp8x1qlk8iY4/Hk=; b=BVOrokfTNnBSzANh6pYbKIcBlfE3fDcti9aT1/KUcch9+AG9cpvVB4yRLHWk+KgeIW BTLhybFo3FLQMUMPf05rLxi2JFQqU2kBa9vz+vyQ5KlwOJEQZL+qekChYI5KM93ALVz8 sLfs4DmQvbPVtmSuJs/qe/4QlpoV5jgmEsFDLayKvr+BJoGKg28S/gSjFNcI+Iy8q7kt pZYi4A2k+lrkyi63YNYAmEibF5Lh2imZuFtoU04ffCvXpes3IsBQ4MfKK8YDN5nZ9ZZY DSQ2bmUBt8i88diZv+huz1rtS9QQ1lTaAP9iexciTkPT/9Y1cMv63GkAIfEqPij7/xjm AO0w== X-Gm-Message-State: APjAAAUI3jZ32p7n9FvlYDaKu7doRQxAWzmfzY1DZoZCq6ptlwOEkrbG FRt2nwirCH9hEoV4H0RKftD2Yg== X-Received: by 2002:a63:1812:: with SMTP id y18mr7630642pgl.302.1572547112563; Thu, 31 Oct 2019 11:38:32 -0700 (PDT) Received: from localhost ([49.248.58.234]) by smtp.gmail.com with ESMTPSA id v6sm3788502pgv.24.2019.10.31.11.38.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Oct 2019 11:38:32 -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, masneyb@onstation.org, swboyd@chromium.org, julia.lawall@lip6.fr, Amit Kucheria , Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH v7 10/15] arm64: dts: msm8998: thermal: Add interrupt support Date: Fri, 1 Nov 2019 00:07:34 +0530 Message-Id: <2735b57bb1e9477926bfef6f6b8ff84b926f5a1b.1572526427.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 Register upper-lower interrupts for each of the two tsens controllers. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index c6f81431983e..489d631a9610 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -816,8 +816,9 @@ compatible = "qcom,msm8998-tsens", "qcom,tsens-v2"; reg = <0x010ab000 0x1000>, /* TM */ <0x010aa000 0x1000>; /* SROT */ - #qcom,sensors = <14>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; }; @@ -825,8 +826,9 @@ compatible = "qcom,msm8998-tsens", "qcom,tsens-v2"; reg = <0x010ae000 0x1000>, /* TM */ <0x010ad000 0x1000>; /* SROT */ - #qcom,sensors = <8>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; };