From patchwork Mon Oct 21 10:35:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 177051 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3224346ill; Mon, 21 Oct 2019 03:36:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqyCvrKiIrzzxvQpR41BvCQmsRg6gNDJdBsdWNpiB/bwqhAdPJ1TweToF6jX2ziDOPXfDoVH X-Received: by 2002:a17:906:68d5:: with SMTP id y21mr21268778ejr.272.1571654180822; Mon, 21 Oct 2019 03:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571654180; cv=none; d=google.com; s=arc-20160816; b=s2rlevRlhJd0Qqnp4WljlcH/L5wLQi0d0iFreSwupleTBEL9/dOolQkpGjWJkiLr5t H5v3qc1dtLa51sSLCX8zRmllBPYAXY02riUswzwhDRDXZymUIg7iHuUfoCQMGRBr77SX 5ibK65YRbYNT5kzJ4PZeg/0BDn+/WgUjtSOssSiE1qaI0MKwiXqjPWc90Zzz9GiZhwCH vX0UBfESU8g1SJh9JZ8/FKGsEyOyi4St9lMK43udWh6ey3ZkW/3MnPUkzMZK78qbOKmc qlgEE2Il3i2L4yRt1Lo9Q1givRo3+hLB+9SL4LmU0hch0R64oJmvr4gi3Ja0B5HFk4se WBOA== 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=QjsxaA91mEwEtCjMqajdkCWO8TyKKmvK1rye+wLjlGg=; b=gCPUtknJ5fDeNK4Th529+ZogwShTCnKpnOTNr8gOYZRnSbfhIeqWg08DsoyFNYNPnw ruKgJN6qOarFjlWJjiNExPCHILvKA0S0KMSasIaLMX6EUps6ZRbD2fT2wwpf0KatKfrR 4XRmZM/RmRpyuLGqNo3/roBe0XIJhXT0sNRhNuatwQW75xp9aroJxGEqCNMjmpXtUHxT SiOILqSvJzPoNwO5fcVtmD3Mb/0w5FzSLwxb0BmVrrGnxHIH8yikozYxpJoC90Co4UMZ wt9EcLtsIWyaADTtD2JB+oHTk+mhRHrOJ6eiLnJgqFBq6qnzerbb0VwFyZsNzrTPzdRd 58Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m844zhng; 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 hh20si2079339ejb.95.2019.10.21.03.36.20; Mon, 21 Oct 2019 03:36:20 -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=m844zhng; 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 S1728344AbfJUKgU (ORCPT + 8 others); Mon, 21 Oct 2019 06:36:20 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:34710 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728335AbfJUKgT (ORCPT ); Mon, 21 Oct 2019 06:36:19 -0400 Received: by mail-pf1-f193.google.com with SMTP id b128so8189797pfa.1 for ; Mon, 21 Oct 2019 03:36:19 -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=QjsxaA91mEwEtCjMqajdkCWO8TyKKmvK1rye+wLjlGg=; b=m844zhngeP6JmRlLw3Q9yAiYZVqDDiNowu3C0CL8lrG5BXKUahbeMsaww7iO0ty/za fdtGtKxaLgoykDPHWOWk5i6kx0Sh3TN/NUb3L/ijSG3akcBVehElk9CQm8G9cyQyd3N/ r4BKGlQMdEACKR37SKoqApGxIeMST/1CDK/9ExvDKbPmWac8ZF8McT89JAxGLj7cDFYC /XZ5t6W5H7MsMzAASJRW4uZVR4XALG2ulxlNsaUiRdr8UUD0okq0fcUctBMQk/b/N1nC LjvBmWHEXbXx5EvaRbbsjeM5mTYO1VUyNPA2sdiF8G5iaVTOF1plngFLm6+jd6qXYTy6 AEQg== 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=QjsxaA91mEwEtCjMqajdkCWO8TyKKmvK1rye+wLjlGg=; b=olE/93kDx5vk72ulelJmIJzlTcaJXG2XQVbhBGYlg2FHVZj6vMDIK4EMuGy6rvcMgY x2N2KHQO0mOgaEnDYyv3KHN+uPuAcl4J36x6QFKrQsoeDnNdO6b6T1H0CPQXSDvZqcNJ 9VRqHy/Uk0P/Kw3R0obkckoC0w8SrxH9dEvnPkWkC57UlRiiIjEQ4NX4mLyEXaoFAODY CWqYm2Jw3AsN3ycXrcr7ROZGzUWQbhOQiBj9Z/6eff+mmgD/26BlSOi7YXcQ2p+O4djJ m+W1PZMyPIAlKA7Ls+/rX4o9WtAYgvsb9JIvsR3jJFhzNlxglMEJUiswyFu24fmfBxf2 H98g== X-Gm-Message-State: APjAAAXdO6kvFAo2mCriIHWoLrAbZZ0Ebl3z6zedd/ZswpR+57e5FGGF USfZk6YjlxQtAWrOj+iwOo4JJytfx05aeQ== X-Received: by 2002:a63:82:: with SMTP id 124mr26253814pga.112.1571654178595; Mon, 21 Oct 2019 03:36:18 -0700 (PDT) Received: from localhost ([49.248.62.222]) by smtp.gmail.com with ESMTPSA id q143sm15543184pfq.103.2019.10.21.03.36.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Oct 2019 03:36:17 -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 v6 10/15] arm64: dts: msm8998: thermal: Add interrupt support Date: Mon, 21 Oct 2019 16:05:29 +0530 Message-Id: <2735b57bb1e9477926bfef6f6b8ff84b926f5a1b.1571652874.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 c6f81431983ee..489d631a96104 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>; };