Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1796871ybj; Sun, 22 Sep 2019 12:08:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5lT0SuUKHmVyYMqyXLDTJHceFPuF/D73CWy8YM+D9E9T/l936HxcvFtkpB7+GP7WY3EQ7 X-Received: by 2002:a17:906:ecf6:: with SMTP id qt22mr2968438ejb.212.1569179298787; Sun, 22 Sep 2019 12:08:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569179298; cv=none; d=google.com; s=arc-20160816; b=qwhx5VHODU8Q1horMl9z+PZN0AAiZvaDXS7kJ3zixb/QpKCqV9FJBQWNXofgM/sFt2 M2bgxyGqpNd3aaTC/iYVezROFe/nclSR/csSSn0fHlu/Ykkplmv/1oInOj2i4LE9AxxB D99Chh224iytb3RrBFr7r+LXEHOJNJvVhVoyh1XPJiyBNSSAaRN8bJJYvPRAPztFGuKQ Wzy4V/hJzu5QPzHh7kydV6di1NonWKkLRjOlPRV9jM9IA6qv6yUbgr2RyU7Xi2oDLwkx ClgaFe2d+2GECBJb+aLQyuGj1JyvFYz1laHSTYgNOks+kD3o/behKioS/bIaGVstEB63 fFoA== 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=5TuJ7l2iIRIYYnmGHtrUFLK2P8yt4NpAavFl0VahGaY=; b=x2xP1IWLcZK08QuOUKVRA5ZJpH4WwdXqX1aQR36o/e5eXclhnUWxs5jKwKUHvY7tmJ qkhG+gF6C92lw4iDi03bBmqrzDZUDtIvwBt7GX9GNMIjTk7ai/Uawkv6qtFdlEXzUVOO WvbnGqZI0QEAEptbF2eoTFQDak3GCLRzCoTrAQUKsiAxQig6uFuMeG5ACfYP/afPGTNE RB9Q78D0krnFKD0zo/OZJIOYKBkI8uQpQFC4ZPop013zZLe2twZHZ0I0ZFa5fsQ/aoo7 /qRcN3aa2ijwQav4ZcPoUFv1ziF+L9yGAHtSX/jqkBmFdtizBkGtxUpEGbToHjXdB5Ek 5/Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fAaB+7Ys; 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 v25si5567086edb.286.2019.09.22.12.07.55; Sun, 22 Sep 2019 12:08:18 -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=fAaB+7Ys; 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 S1730317AbfITVxO (ORCPT + 99 others); Fri, 20 Sep 2019 17:53:14 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:43725 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730222AbfITVxF (ORCPT ); Fri, 20 Sep 2019 17:53:05 -0400 Received: by mail-pl1-f193.google.com with SMTP id 4so3789209pld.10 for ; Fri, 20 Sep 2019 14:53:05 -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=5TuJ7l2iIRIYYnmGHtrUFLK2P8yt4NpAavFl0VahGaY=; b=fAaB+7YsL6BcsECIVYGKEu2hXGaZn2F6d73Yhr5w2mVMEq3/pz0bpZ5pKgu/tHQGwK rXXKjinCLmBTqtMJUpgrwpUYc0Vv2vXv/yNKZQK3tcCkkYxn0hTXxomCxFQKERnZMUqF SfyMsvtWGaAcnNl8EqXnBWuGxkvNB1WCLM0yG6c4F8AXJHiibGfp72Quug2sCgxnXN72 t/068ou0RKY3kXrz83DC1G1l1W2+fvfUmJwOgLWXqyaePKu5gAN4rDCXt7ZalYbTaFk1 32QxhoKPKA5exiuWaV/o/5GrTkeCYYPXXEqAAEljBMRk2zNY7mOnMmYcXb/Gw/p8hbPx eqIg== 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=5TuJ7l2iIRIYYnmGHtrUFLK2P8yt4NpAavFl0VahGaY=; b=cF+Mq6EsT5X1KXyZkNmt9NxfJNadVokiu8tnvVVsonQEcDLt/6xyrONV8PYVeXvZ/F B0MfIzeB68a4Awyrk+zPkvB7pyRAVwSE3E3RCfXEHfWg4XfUrXwLvon22Y4si+5pmgOS X9CTFabNHC9dieUn43C+PBxPAu7ag9EYHaUElLqL+ZwiynE1bv3wLkRm2RPxeWwocj6W 33y8fTZ9cp5eLwt1tfePpMCi07gppFrr1tuq2WNwj3A7Xv6l6NdD0IxJXyDBLa7Qbmk0 I4rl1Wxuoyn2ikD3xdmBegIzsa0c4NQ9zvDYEFpAOVFUfdKxmsfhSzmCF10TFxnTH3ov 9FGA== X-Gm-Message-State: APjAAAUsJ1yz/2ynnCk5B2rcAV9GrTh35hZUO0HVPtCbKeK55GaUi2RO svLP0nq3ouvkn3zi1Lnb0/FUWcDNKRMs3Q== X-Received: by 2002:a17:902:8601:: with SMTP id f1mr18699001plo.180.1569016384597; Fri, 20 Sep 2019 14:53:04 -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 g202sm3986754pfb.155.2019.09.20.14.53.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Sep 2019 14:53:04 -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 11/15] arm64: dts: qcs404: thermal: Add interrupt support Date: Fri, 20 Sep 2019 14:52:26 -0700 Message-Id: <4590cec3348ff0644175f8de27398c0e935a7a2c.1569015835.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/qcs404.dtsi | 42 +++++++++++++++------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 3d0789775009..065a60d50a07 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -280,6 +280,8 @@ nvmem-cells = <&tsens_caldata>; nvmem-cell-names = "calib"; #qcom,sensors = <10>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; }; @@ -1071,8 +1073,8 @@ thermal-zones { aoss-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 0>; @@ -1086,8 +1088,8 @@ }; q6-hvx-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 1>; @@ -1101,8 +1103,8 @@ }; lpass-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 2>; @@ -1116,8 +1118,8 @@ }; wlan-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 3>; @@ -1131,8 +1133,8 @@ }; cluster-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 4>; @@ -1165,8 +1167,8 @@ }; cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 5>; @@ -1199,8 +1201,8 @@ }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 6>; @@ -1233,8 +1235,8 @@ }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 7>; @@ -1267,8 +1269,8 @@ }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 8>; @@ -1301,8 +1303,8 @@ }; gpu-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 9>; -- 2.17.1