Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11378715ybi; Thu, 25 Jul 2019 15:21:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+S0Wn28h52gNiGdJ95SQeV9U8ed78I4hfU/XsTzWhPwQLivMV1depbg96QAFFSCxXGrXc X-Received: by 2002:a63:d23:: with SMTP id c35mr87669799pgl.376.1564093290018; Thu, 25 Jul 2019 15:21:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564093290; cv=none; d=google.com; s=arc-20160816; b=w536ggw4UuTGBhCqGjANDOd3Ex/SaTU4k18/qoZa9HhOT4s3bafnffut14NL36jDDc tAx//vlLRUYI9QfUy/WIfyGH8QCFzcsZQwePYxKZ9XuG/5Fd1Cn5YMKDFnBz1P6LCFIx GxEpeVxY7M+pqWzAbUog3v9foRaQ4JON2YPDkkTHGO72R2ZqQCogCw0Sokps20gFZ2Ai 4mmDnW7/0eXrccBahBPk3EL+FwfaU1NZ08SkfctXeKmHdFSjT/sDNfQiLsTfYGywL9fO KQBbZB4VLemShqXMe9F3eIEY/wzhAqRPufyyy/ZEsKo2+6OI1X2uzg01R70i7T9u/AUV OYqA== 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=aNjPKzyo6hMwnV5/FxL6BFlsZjKINMXfLX+sOTPPGgw=; b=RZhz9cbJKu2xUhINU6qXgDw0c2H2qlI+oa4HjlUr6icC7kYlAwZX1MO9d73UDJNpoM 3hKk6aklaPThDLz6d99fmhBUNRADuSkKfKN67Nw8jYeZiWyQa+KFjteU/ys6K2f9nUV3 TVHgfelJdAf4lvPfZyM1hwkVmwf4Xi0qpBlFAbW3G9XJgwMZtOzU7M4Pv31vZN4ZSGzj P4ZjgLNjCCxT3GFuVWTSHjUCAU15/3ihPUZYvV509vhhVZP22Y1+Ee8FEVTWSw1tr2VO SfbSkhwXWiZhTNPT5zkKrSGk0Xi6xBMprWTEGzifoSiSVc9UNJ6l10ENuX8aBDsGxj4n JVNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R4IbPtu1; 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 y15si20292909pfb.28.2019.07.25.15.21.15; Thu, 25 Jul 2019 15:21:30 -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=R4IbPtu1; 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 S1727317AbfGYWTr (ORCPT + 99 others); Thu, 25 Jul 2019 18:19:47 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:40574 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727303AbfGYWTp (ORCPT ); Thu, 25 Jul 2019 18:19:45 -0400 Received: by mail-pl1-f196.google.com with SMTP id a93so23882650pla.7 for ; Thu, 25 Jul 2019 15:19: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=aNjPKzyo6hMwnV5/FxL6BFlsZjKINMXfLX+sOTPPGgw=; b=R4IbPtu14lVzwjLml/VV6llOaDJhPxOcQxNKK86jt7NrYwJQMEAeOm+pk0fnHP8ZGk Vg6OSP3yGlD1/8MRMWr0UyRW22EUlpB2Ic0BuiUqGwucMK6nXrDsDptzQBbBfx1LbYzx JS9Dqw5nTqzk3aFcTsjt/CK7055SaTSfb1pQDtfF+Gw8wXGxcmJp+3mvj01yD4b6Xpaq OWMQDFfEFZWJ1CU92Y1W5wn5YHLxMFiKyB5VeC73xdYXVAlhXr7fTS+Gt0Go+9Fu0Q8+ TkdRBkWCVODWrRiQWIPa0k2G9HflNBloEcWA1ebIQCcReoBLKBI/JyyK6Op1TKIJ6bmW O8ww== 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=aNjPKzyo6hMwnV5/FxL6BFlsZjKINMXfLX+sOTPPGgw=; b=UqNeQ1pj9aw+/K3Y5vDUwbLNtsLOxtXgr4wiEkKQ52O4L8t9M9wEUG5MeKQB1aMNu/ gVJDPp9Dk7uBOs3sXeLKUkOkqYWaB1/ncHVGbKvszvSvl48lGygQW22QVc2Y6tyj8ZO0 XEmauY5y8PPbsLCCfJqMKS9JNUVrxzlc9atE1zUG1vBlIF1giE2TzL7+tEpLLG0fdwgO iD/MWRg8Az1HF4oBLz3orwDT5+TGw2K7nsTZFCQ9yyjeVzFHUZlylx0w5AkEbcdoof3K ilhlfiT6xhIvej0B/0lPd9qSUEjd+dU1/9v+9uMT6pJw5oC/4TCdQQmQdKdLBqq8JHEz RkKA== X-Gm-Message-State: APjAAAWXND+qt3/EY2uKDVLuBfrcpiowPbWbFKqN8we9qjVklEIaoY2v Ll8l0yU34D47G/ZFI/IawQOhhYQsVL7n9g== X-Received: by 2002:a17:902:8d92:: with SMTP id v18mr94249402plo.211.1564093184755; Thu, 25 Jul 2019 15:19:44 -0700 (PDT) Received: from localhost ([49.248.170.216]) by smtp.gmail.com with ESMTPSA id t26sm39405317pgu.43.2019.07.25.15.19.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 15:19: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, andy.gross@linaro.org, Andy Gross , Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH 13/15] arm64: dts: msm8916: thermal: Add interrupt support Date: Fri, 26 Jul 2019 03:48:48 +0530 Message-Id: <380196111ac2b6faa6dfb27f26189ddaa1e6e606.1564091601.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(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 8686e101905c..400045a100ca 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 = "tsens"; #thermal-sensor-cells = <1>; }; -- 2.17.1