From patchwork Wed Sep 11 07:16:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 173601 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp374818ilq; Wed, 11 Sep 2019 00:17:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLr+UUHNTbsv2tEmZ6zQPeKyKJkiy/FFTLn0KakHzNo1Zxbc9P6Auhep/R7lX8KOKonEzM X-Received: by 2002:a17:907:41e5:: with SMTP id nb5mr28399256ejb.91.1568186254275; Wed, 11 Sep 2019 00:17:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568186254; cv=none; d=google.com; s=arc-20160816; b=hYXd0A4A0V3sxF5uz5cie6hh0/V0Kb43iBayESYwlRfX1Vub8lty+kUnrsEdNJvgka 0/iWpZRvAe7c90NhBbEvTclfVhsq9LKQW33wm9j4k7c/septVi0hAkk0i3xfxfLBaLgs S4WrVSL24I382l4Zs630qAGUhgGcPIXT0hwHyNduL8JiGM4S2GAh4zHzKkC6EUR1q1Ny bSfJyLWoTF5Fn/dsAjv3Mvv9jlhu6RxYvkqKJwLpPmVdtyAgiZop6HeSIOyFITBEpBIK E843a2fnOhcwgEBoitG1gw+tRjkc2egDZJcf/XLTKNmYKctuwcX67burn8WkT1e8kyue 079w== 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=IJ4n28SxZJ7IvqWaQtHl+XJExCPSVNY+ailM0rBB2SU=; b=HP8+f6i4i4fIkz4uJXSiNsxLV0Q9/R5DwSpOK5zirVsF2xZADg2z904nBhFB/1v+/b JAMiTA5x4Surun7XVdAtSHbxL+DIU+V0hN+8/cLz9hOuTlZ7F0wj9T1uegtYjezxSILj PSV0eAfo4CYmbDefidWOtXkgO0+soOtYMlFh8xdGldj7qlOMZd7ozbZcgCOlJc7uK1rE aWZk70oL78kl/qr/fjL0MlFoEs3z/jHyR4PhhyUM6UyaxyWVturIlpXzlVUqRfhiRWSb dsg/kXe97DKXjR36b3u8STgUC2Fly33dX6s7wuwrr9OfRfVgfTAn4MBGC3kqvEZhIpSB ap2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ahSGl97f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 a53si11898538edc.175.2019.09.11.00.17.34; Wed, 11 Sep 2019 00:17:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=ahSGl97f; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727297AbfIKHRa (ORCPT + 27 others); Wed, 11 Sep 2019 03:17:30 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:36373 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727264AbfIKHR2 (ORCPT ); Wed, 11 Sep 2019 03:17:28 -0400 Received: by mail-pf1-f195.google.com with SMTP id y22so13116142pfr.3 for ; Wed, 11 Sep 2019 00:17:28 -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=ahSGl97fGWSaYEP376oOKRUvzQemigNFfYzPJEDbyo9WNAIjnvccVhzpgfcoFx6tCj Kjnz0OJXrlo8BX4DpWjSq2xtErHTYecQSlFmkSrscP/EJUJ9nBRAnHb2C2OE6i1FrD95 5m4FwSD2bdglb78BkdowdMcQnQ8YmBOBUY0hzfnyrk3bZI/13MVhuooetfyH4I0+R3JN bbvAyhoOwZU8N4laiXBsxCKVRJ3JhqLT7/S8bNbKhFZsHgQYMlWarHv0VmNCgkq5R6ZB eKhl7/FLRzAv/fFJQHdkdLFXM+nm0TWEFOnGPSZYSl0unAz3CmLjLQhFoNHYBk7li1CL KLGA== 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=s8rekK2Ma9Vg5lA5Qp8oAZHFxQxV9mCt5RdtO2G8+VYx3GSQP/qbDwoNCbqN2wavSb siZU36l8teRQCOK6f547XTLazXUzJCtAnshp1DYMy/Gn7jNzElb6cMhcuOmts7EzDkPb fRIkLhyYTqHwOZCD28FaTTcxJpgc0RBDoDICV4LiTyAManC8Uh5LWdEd2U3t8vHz+/PL PYVNxwkrahHHbiiQ8HX3/jV6UTcJG4VvSSKRKWFgn47+NR0s5wMrMxJuStDvylMs6sZ8 uvpMisQBa5PT1IIxddHCQF1ZnbVc7IKgRs1kMl6KffGF2hOeL/MvNcJzRyugoF4atmkQ vfsg== X-Gm-Message-State: APjAAAXI+E6YRCexzL7/CkRF6Nv0d20N3AMZdTQLqnFheMNkHo7rfRwM FxgFfAL5HDZC2N9er1ZcYsLaGo3ceQdQmw== X-Received: by 2002:a63:dd17:: with SMTP id t23mr981886pgg.295.1568186247507; Wed, 11 Sep 2019 00:17:27 -0700 (PDT) Received: from localhost ([49.248.201.118]) by smtp.gmail.com with ESMTPSA id s97sm1680031pjc.4.2019.09.11.00.17.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2019 00:17:26 -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 v3 13/15] arm64: dts: msm8916: thermal: Add interrupt support Date: Wed, 11 Sep 2019 12:46:30 +0530 Message-Id: <29a78d620007af45ed94fa9f3a2199142bae5683.1568185732.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) -- 2.17.1 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>; };