From patchwork Thu Oct 31 18:37:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 178225 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3242860ill; Thu, 31 Oct 2019 11:38:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvbmKFFClVuhre1fvH5grJruoesI1QG6NOPuPHkoBV5iZsLjMJhJ5ha4Dvz/C3c6BwJqf/ X-Received: by 2002:a17:906:76c9:: with SMTP id q9mr5688025ejn.53.1572547107188; Thu, 31 Oct 2019 11:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572547107; cv=none; d=google.com; s=arc-20160816; b=ZUvZRpBDJRbY/N1sQieo5btRyfvt163K6ZV7v0gflbSTEs2uDlT9v5PEkwUAGXU9O9 juOgMxx/9lIi3NHL4KmzzZB2EBPYG995edPufZIfm0RFO8uz4kVlwZc8YrNtJEneWkZA xHzCKeuYGafoYTQpu0/IKZm/91pod5q22vXxr+Y+CEu0i7NU5eyObZtTk8xt2vQzaUn5 NN677JhPUJOuSb+NCjodwRzyhik86mEf2Sjyi88pdG47MXsTFFxcc6ASHQckI/6TLWSB Xq22rTH5IiVV7JO0xQZVMz9gvk0Ka4PgNyB4qSi4j0/ldpW9EOSVLMmYWCOwe2fcoyLe Btpw== 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=G1RY5BCmh8InAkONRa9lruWuMsHWqlSh2+WDeebx0SM=; b=PPDZGG9lWOk+VwdZTphKSRqZv58c9DcuCvJZAXw9vz8YHwohHyVTm/7Mby9uDqqymf jp7nuO6ynxVakSSmeph0t7AEF/M3TYc7crmYycGb7uSkRgpm4PRMQ7af7lN/vMxyjw0u +uF/LQCGnjMWLARS2YtPjdK6gk8hdfAyRTqdPqdKd8mF/QXPo/TflvMyONRUsPgcv6yW d3uZqAyxWoAP8LDJ8JnkiZIYicUOlmTPxU3z8EU6NG8PLLkAHoj3aoJE38oZWg/1ACzU RzlK5nV3WayLect0ohYajCDlXJVz2Y3wrfpG8SNpAGSRcI7mzK+Q6wKrwtjDFgSZPf9a aW7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m98kdvgI; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 m9si4055588ejo.46.2019.10.31.11.38.27; Thu, 31 Oct 2019 11:38:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=m98kdvgI; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1729482AbfJaSiZ (ORCPT + 15 others); Thu, 31 Oct 2019 14:38:25 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:46782 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729465AbfJaSiZ (ORCPT ); Thu, 31 Oct 2019 14:38:25 -0400 Received: by mail-pl1-f193.google.com with SMTP id q21so3057776plr.13 for ; Thu, 31 Oct 2019 11:38: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=G1RY5BCmh8InAkONRa9lruWuMsHWqlSh2+WDeebx0SM=; b=m98kdvgI2S5N3BmltWHCwwfREQrCi3jfMjxrtZJQoT4Vuf7vAtpC/4SgaAghY1rIHz W5SlSO1a8egz+YPhwpCV2VFbOQI3JetjehPvT/rZcRaCMRYWQDl01crsyaz7YKQUwp3c uuZZVRFQWcRyEFxVU5DlE3VQ658SZxumOVmIIiCSydl8KrV0t4/iuNuiVWgMNBGcTwNK LDQKWnC+3Hv/1GDr91mhI9Svv6FFJOiTNy1KJAw59kmD6Qj6bw5gAabaHBEy3NRwdCVW zWru3O2N7V8t5tP3q7SCgoZe8xM0ApLmS8Jr+nI9PBp0PzsmnI2cBAE4LNTw/32CsT0C Skug== 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=G1RY5BCmh8InAkONRa9lruWuMsHWqlSh2+WDeebx0SM=; b=djFXMBxRPIO8f12bhofOVGV+WfR7q0EWTVf4ZbnQ64x8K0WoLuxYp+ShETlZBG+b4E pdpkUMk43vXoTAAdB2F6bP+I7+Ircq02cw5gzV7KnxjPkV/vL6cL7/ZCu6XL736sFLL7 gSGMMGT7RhjbZVSVElpmuVej60CY6/MaU1ANvMEtycAA0n2f8QJfjTzqTdcvqVIhcZSK x1q6ztDFzyq8t41rd37USb9IIxMM57DIbnR7+XC2ibwePE/IS5K5gD6d1flzZOTGjYa/ xPvX37uRMU3SEPZHP685v4Lp+sfi8MY6bSTRIav17xy1eVG4boeILMtcioE+WEuWNhLG fEbg== X-Gm-Message-State: APjAAAWT4GMsLQm8rT5YPPqSpnIkYHoQ7TsskAokNcC4482SuGt5hIfi Ft8J+5v7KoVPV9BApWdpZu/76J5BjcnKwQ== X-Received: by 2002:a17:902:6802:: with SMTP id h2mr7814361plk.135.1572547104331; Thu, 31 Oct 2019 11:38:24 -0700 (PDT) Received: from localhost ([49.248.58.234]) by smtp.gmail.com with ESMTPSA id d4sm6747792pjs.9.2019.10.31.11.38.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Oct 2019 11:38: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, 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 08/15] arm64: dts: sdm845: thermal: Add interrupt support Date: Fri, 1 Nov 2019 00:07:32 +0530 Message-Id: <5a96df48e546576f90081bbde218e7cff88ae8ce.1572526427.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Register upper-lower interrupts for each of the two tsens controllers. Signed-off-by: Amit Kucheria Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 ++++ 1 file changed, 4 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index f406a4340b05..0990d5761860 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2950,6 +2950,8 @@ reg = <0 0x0c263000 0 0x1ff>, /* TM */ <0 0x0c222000 0 0x1ff>; /* SROT */ #qcom,sensors = <13>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; }; @@ -2958,6 +2960,8 @@ reg = <0 0x0c265000 0 0x1ff>, /* TM */ <0 0x0c223000 0 0x1ff>; /* SROT */ #qcom,sensors = <8>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; };