From patchwork Thu Jul 25 22:18:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 169764 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp12182810ilk; Thu, 25 Jul 2019 15:19:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzcneSUYCJ61aIUTF/pqCo+VKSReU4Jras6/SuXdapl0y3+9F72wP8U8FGQL5gnaAsrWF2O X-Received: by 2002:aa7:9713:: with SMTP id a19mr962613pfg.64.1564093188812; Thu, 25 Jul 2019 15:19:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564093188; cv=none; d=google.com; s=arc-20160816; b=Exk+SrJ5c9TT+8C/a5Sh/jgU5d+nSAQ13aKgYtMrKfPCtq+54j9tnLFZDRWLdTsws1 +LP9kqRBstJz5QNQG+JHlXu0RP7ja7sjDiHtSr94Kusq+TTPfZ0dtTxz33rx1PLMEA7Z XC87W7mCbZP2DuANIKKuHfs8ViOdCwMpX/F7c07Q2iZ8UW2ePxWzXn0SGHxMKAoP89Ha LpjiCM17YJinfPs0mN2jbgRFuP1y49FYX+NqcgbK4UgogliWq2w25qE//r3At0o8N3kD EmG1UJCuuW4D1QbwmnmWKSdTsrD+2NG7XfmM83J1Su/6I3l2lspasHh9vX3XACFmpPIS lnzw== 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 z18si17173007pjt.94.2019.07.25.15.19.48; Thu, 25 Jul 2019 15:19:48 -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 S1727322AbfGYWTr (ORCPT + 29 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(-) -- 2.17.1 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>; };