From patchwork Thu Oct 31 18:37: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: 178222 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3242629ill; Thu, 31 Oct 2019 11:38:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwPX84A9JxmGUxg0ATx04wKyDDQ16RaCam5a4iGpKTM9v7fOHLKB9lp4Uepo4Gv8Ysc3eqF X-Received: by 2002:a17:906:448:: with SMTP id e8mr5558126eja.326.1572547094187; Thu, 31 Oct 2019 11:38:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572547094; cv=none; d=google.com; s=arc-20160816; b=YK6PorTr9KqIEj1JcjDJp5nyIPWIW0wovrs6unSr1hH9aBtRMcuRLdgk3OgDARelWX KCn2BDZY4LyzlGhGYZtoxAkjd0JUU8wi7aOuYcFL/kTaof4lrCXE2QFDsz7/MMcaF19w jfhyrmjYHbp46XqtFsJAcc+qznY77vMvWyw8EDGyXchFnUc0675TfkzAFg1FNX4w9KK8 WXHiSTxXki/zAaj/6zrAEeJ4DXe8fnuc7pPGQEZVJEcRny/7UkT6iiM52ddOGKMD5w0Y w7n/k10KeL5TiXEgrbggm7akD7XBDQeUthaAYAMqawvGiUCux5Jp6/cj4SP05Uklsn87 ROkQ== 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=N1sFZqwPmR4rpLnTH9EOl8Ec1vu8lx2vJgOvXRwWkdo=; b=XGgXKknuvAkDQsftap4BdL1HjsHL7yTk2YPc/ilRlgh5hXkopuv/I2jk1gad5y2xp2 rioxv/Z/uq7PL7e+kNKj9ydus8JxCY2W7CYKmMZMnMY7RxqY1TmVeoTBIfqNubQE4SxQ 4T8WXgx5k2u8mJ74U7W8I46PqjB8sfkYZKyziFGRpp+D4F84owEyZDl8jgz/edyiP5uS cDqpgRQQPbzEPkcW7r/gf8n5eDd3NaasROoPKC0spjp7L3/TeAYhojBwxC3DhbNIdqro 4Fw8MJoaP04910eyznz0BStt2HZJYb32hx5cHeaCzxO04Ety8pppFtQ9ThRmAiLm0She sZwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=byzZsRbo; 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 d13si3951902ejj.317.2019.10.31.11.38.14; Thu, 31 Oct 2019 11:38:14 -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=byzZsRbo; 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 S1729441AbfJaSiM (ORCPT + 8 others); Thu, 31 Oct 2019 14:38:12 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:42237 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729438AbfJaSiM (ORCPT ); Thu, 31 Oct 2019 14:38:12 -0400 Received: by mail-pf1-f194.google.com with SMTP id 21so4943818pfj.9 for ; Thu, 31 Oct 2019 11:38:11 -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=N1sFZqwPmR4rpLnTH9EOl8Ec1vu8lx2vJgOvXRwWkdo=; b=byzZsRbo1K5r5tZ9HCdoeKVaM2vVjUyHpMT8oMNzYnFVyuGnd51bXKwnJz/wYP4tLL md/RZdp6ZrW6+UC+s3BaSFceWg3YjZw4JKw9O5j9QqfGmucTLWkTvDlDQ3KkQhFfm8bv Mmqm9lB4VFO4p3mNYVJUBPX/drJlSHi9+TYQRSNVIkwnIzTr2Zmv5KieSjkseQFvzvSX yIDb7zFiftuB/fKiSZZZJtLcOJhKp995o20a0vYkyjrNPxH96ysTxPOdqrBw5hHs4oxK VIwGgkuXQTSJNBYt3RJf46PQ9KHuPuyJEd9vw/lWFTck3sdLVst85/eV2F6DOCsPGJdY TFyA== 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=N1sFZqwPmR4rpLnTH9EOl8Ec1vu8lx2vJgOvXRwWkdo=; b=IMw0IQxsOYzIj7lbafkvth5O9hLqFEjTJv8MIoYZu90fMA2lnO6McYPQ8S8e2HDzCo fNkPOsTejigXv99t+YGy2m6VKTsodnPBDhhgHAmDrw6063wijTaj+22MQ+G8gslpHURR KcAhWnGL8Een0XnSmDPPcX+w8Q/dV0nl9ghUcWxwY2AhdrREt3JwshIBvjtHxil6HtHD nc0MKJQZz6Ekqr2bVYi6cFjuMKZ4XnofCv16XXngG7oz0lzVWVkbP5VRPoBp+6WaYiMJ B+r0gyLRRQm/6Zab/l7xK9Hk/RdrM7JyS/gFVWOFbvbvW1AUHkuXCcaiAZrk9YaL+FWR 3n1w== X-Gm-Message-State: APjAAAWS8DreHf8MND/0pmLPZVrwKQqzrPBMsTppZCkFv2KH3k2A1uAk uqYdm4sE5HmaEBYrao+ORmQn8Q== X-Received: by 2002:a62:1ac6:: with SMTP id a189mr8291977pfa.96.1572547091322; Thu, 31 Oct 2019 11:38:11 -0700 (PDT) Received: from localhost ([49.248.58.234]) by smtp.gmail.com with ESMTPSA id h25sm3867466pfn.47.2019.10.31.11.38.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Oct 2019 11:38:10 -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 05/15] arm: dts: msm8974: thermal: Add thermal zones for each sensor Date: Fri, 1 Nov 2019 00:07:29 +0530 Message-Id: <72cc755c16888976edea555f1df60a299daa8a1e.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 msm8974 has 11 sensors connected to a single TSENS IP. Define a thermal zone for each of those sensors to expose the temperature of each zone. Signed-off-by: Amit Kucheria Tested-by: Brian Masney Reviewed-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8974.dtsi | 90 +++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 369e58f64145..33c534370fd5 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -217,6 +217,96 @@ }; }; }; + + q6-dsp-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens 1>; + + trips { + q6_dsp_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + modemtx-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens 2>; + + trips { + modemtx_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + video-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens 3>; + + trips { + video_alert0: trip-point0 { + temperature = <95000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + wlan-thermal { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens 4>; + + trips { + wlan_alert0: trip-point0 { + temperature = <105000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + gpu-thermal-top { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens 9>; + + trips { + gpu1_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; + + gpu-thermal-bottom { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens 10>; + + trips { + gpu2_alert0: trip-point0 { + temperature = <90000>; + hysteresis = <2000>; + type = "hot"; + }; + }; + }; }; cpu-pmu { 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>; }; From patchwork Thu Oct 31 18:37:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 178230 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3243287ill; Thu, 31 Oct 2019 11:38:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqx24zOd6ida6c3bI3xBEQzaw5/2KdMTe0CXPBzm+SGx5e0qd+j3v9dX9V4kOHIAivmStIgr X-Received: by 2002:a05:6402:88c:: with SMTP id e12mr7778491edy.170.1572547127894; Thu, 31 Oct 2019 11:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572547127; cv=none; d=google.com; s=arc-20160816; b=l0NMSjDt6zr/zhYa0uWX/cVWmaPwFPwZXgR60VoGJE2Qvf5Ve4W0T0g4DDH1fKjlOT mk6ATacpCHP+zLjugPYmtLWwjNPW6e0j3vKKwBvbWM0dv0POQUAgZg5lly4zeKMLUSM6 0EKV871pjrfkQBRXg+IVxmujUJUxnJMzTxWYCrxNjOxtHuN0Mle1DSGeP9TrVS0tBNGC j+AP8OwMmHvBeGJO6PE5TGIDVwYeENItyAYYsakfRY7ZlqcOgSYfvwaw0mTOrDtd6YWh as4e80keLR5iukpVraEqh5j+LkIVVqGXBG3jnck/nq1Uf70WHwrkmRkCn97vaIKnSCGv EQ+w== 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=03jpeb+1aJx4bxpcdPiavfJJhVJ5WBvL1EOxBoz3J+I=; b=vnuKTxQAQveMFQESE6mZPuv/hefvbrhlX9TnD46XwmuIOwj5wWuweqkUUPf+zO94cp j5vFuANFRn0MZFEdQzBk4q73OEThldhQEzobUu621EBqDjn/wkcR7Uh/28DRic/AquGo W7IDzUyWrFr7DkGD3VliIJ9Q3ohWgJbVBbNKZw4QZPd4QAIq+SlPn6XnvTk/VL6FEoF9 uFqtPPgdE3QMlBpogv/B1k3uTCIrSHw+OLa7orK01VTcW8Tpt/9XW57uSjwfEvWnFqf9 U1RPik4fLJ37sjyCmbCjFUagqYeXp/hNr+IRRdWY6TGtscETqqznH9iq8MEk0vm+WvNm G8ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RTUBszU6; 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 l42si4859446edc.309.2019.10.31.11.38.47; Thu, 31 Oct 2019 11:38:47 -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=RTUBszU6; 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 S1729547AbfJaSiq (ORCPT + 8 others); Thu, 31 Oct 2019 14:38:46 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:44641 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729543AbfJaSip (ORCPT ); Thu, 31 Oct 2019 14:38:45 -0400 Received: by mail-pf1-f194.google.com with SMTP id q26so4940910pfn.11 for ; Thu, 31 Oct 2019 11:38:45 -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=03jpeb+1aJx4bxpcdPiavfJJhVJ5WBvL1EOxBoz3J+I=; b=RTUBszU67tqZ647YAjtR79n/WWBxY1HEukkB6UM1peWi8r/b2lP0Eyh2P0cCN4kKn1 NUfwptQ2NjOPM5cy6SVYgu+ai6mR0vN1OUWQCkX/Z7L7CK0RUxSLyp1Xa/UGynADu+6T gTtH9bjlwXH6yDaY1DuoXgc5aWjCfHGw24D8mMfxSHrn5L4WqQJOtPt0MUeS1tTP99Nc cB2ZarJKEK0tPnsgqcPLZxPG1Xmy4Xcko+DumqJZn0OX3JCBGJ1khx6mrXX/XYLiCb06 V6BHD8ept9ZeZnOZ0vQLVy+NPXanvq2zhBIYYdt+/fq9lAPxIHr9RTVZnNKjMTnUbdIe G5lA== 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=03jpeb+1aJx4bxpcdPiavfJJhVJ5WBvL1EOxBoz3J+I=; b=Jtr0Sq5qIrfqUEz0MZoj23VhIYFVjpC3RETwb/ew08jC5kSMfcrZX0pxtrWQ/2BLJg jsTSLoqC25+uhWk1J4XKaUglvr+qrkfJVwsiImsWhhuZjR82+zaLNIgQ0lK6nM/laYLf S+WNxjNkZbt+tbIlTBnh5BfD/i0OrO6J+qFMIMK09x6Fv6u09KlIyXzcrVqekUKXDCQy LSRG1xT6WvsQRQNsmkBuULlRTjUVqUp+FTJl4hW0tiyOV3hT9wd78pupQaJVkRcbawUV Rkl4q0Z56hQ+RQKMqdEp9ceHo8mm8Yad0uCXXnMUXJdZynUKH8QHfBexQeFqdR/2PlgB ASRw== X-Gm-Message-State: APjAAAWLHMpFOlL9pi9Nirlaxlp2eSqL5PdRg+xqqp7Uj0sFsZM8GdCg 7PT0Edq5FoqQg75eN4vZZvbXUg== X-Received: by 2002:a63:c411:: with SMTP id h17mr8279122pgd.360.1572547124803; Thu, 31 Oct 2019 11:38:44 -0700 (PDT) Received: from localhost ([49.248.58.234]) by smtp.gmail.com with ESMTPSA id y16sm4297238pfo.62.2019.10.31.11.38.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Oct 2019 11:38:44 -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 13/15] arm64: dts: msm8916: thermal: Add interrupt support Date: Fri, 1 Nov 2019 00:07:37 +0530 Message-Id: <88eff964b708c8aff57b24370d2e14389ace09e9.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 interrupt for the tsens controller. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 8686e101905c..807f86a4535e 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -816,6 +816,8 @@ nvmem-cells = <&tsens_caldata>, <&tsens_calsel>; nvmem-cell-names = "calib", "calib_sel"; #qcom,sensors = <5>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; };