From patchwork Fri Sep 20 21:52:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11154923 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A9877912 for ; Fri, 20 Sep 2019 21:53:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 87E68208C0 for ; Fri, 20 Sep 2019 21:53:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UkPMAcEz" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730296AbfITVxk (ORCPT ); Fri, 20 Sep 2019 17:53:40 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:43731 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730285AbfITVxJ (ORCPT ); Fri, 20 Sep 2019 17:53:09 -0400 Received: by mail-pl1-f193.google.com with SMTP id 4so3789301pld.10 for ; Fri, 20 Sep 2019 14:53:09 -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=IJ4n28SxZJ7IvqWaQtHl+XJExCPSVNY+ailM0rBB2SU=; b=UkPMAcEzknmPEobUG1m2ht5TVb4w78FLI2j/Af1Wr3vK764lh5geyboC9LAdp5eiRN F5ZGZkGbwuEaDCfSm1eI9Mj57RlLf5x1hMhb9uFWJbIgbDPVWRpKES2f0wik07jyzbTa UJLl5shheFc/rt8fz1CDmLD397PCBXGNFg/UuSE5vKo6bdA0isg3kqA6NI65VSMNNUn6 GtxXbLp3nwCTZYPsKMZjs27//U4GZmoQczgzrtF3ODLiUnmOr6WZAlFNsNuwlKlcFvLo i7VUbfsEBAzi50canqRVxcl5gpYvpP7WrAa2+KPoGhzedD8mbSzYWoWrH8SMtkwzGjmM Fc1w== 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=IJ4n28SxZJ7IvqWaQtHl+XJExCPSVNY+ailM0rBB2SU=; b=BatwuElTAiOe6n4MxIY/PjgcLmdjSiBBz7X34CSwg44H+3zbVUJ4NAVukSljN1TqB4 dyDt1PHahq0XrXDoGbwxjo1wu4ESOXm4GE1d1xwWIMaxMoYrU/ePYiElOeS51pf/enuR cbCc4ZkAvKoPpXpBSP7nhB5+1saLKsgQIeCghY8xJ+9+snmrtuElQ2ehPyxtSeQ6nVbj /HgUCL4LUM72g5pD6KzrTFfaE2EdazEHzzI7Hen4BC9uVgIp8cw6Ydn3HbT5JWMNgK+Y Ogc9ZbvYcWjKIVWy0DH1hvdAP6Z2Q1Ft2LR9/jscm0Oz2Mm5C4sfKz26j0/sYpJWDq1I Znbg== X-Gm-Message-State: APjAAAW6UmKTxXXWB1rCjXAOOPCrCau8PzE3knjRNlbudkYun+y7bDvq EpfC2GMLjU1o4yzEtqhwfq94og== X-Google-Smtp-Source: APXvYqzG7U1aL8tIVAvBMs6yk5P49LjNAvfvYTQh5PyzsYoymOxO58Ob+qhrVNRVfkS9+je+PRAKkQ== X-Received: by 2002:a17:902:7886:: with SMTP id q6mr19843551pll.323.1569016388887; Fri, 20 Sep 2019 14:53:08 -0700 (PDT) Received: from localhost (wsip-98-175-107-49.sd.sd.cox.net. [98.175.107.49]) by smtp.gmail.com with ESMTPSA id f6sm2910546pga.50.2019.09.20.14.53.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Sep 2019 14:53:08 -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, Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH v4 13/15] arm64: dts: msm8916: thermal: Add interrupt support Date: Fri, 20 Sep 2019 14:52:28 -0700 Message-Id: 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 interrupt for the tsens controller. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 8686e101905c..c0d0492d90ec 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -176,8 +176,8 @@ thermal-zones { cpu0_1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 5>; @@ -206,8 +206,8 @@ }; cpu2_3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 4>; @@ -236,8 +236,8 @@ }; gpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 2>; @@ -256,8 +256,8 @@ }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 1>; @@ -271,8 +271,8 @@ }; modem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 0>; @@ -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>; };