From patchwork Thu Jul 25 22:18:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 11059891 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 89FEB13A0 for ; Thu, 25 Jul 2019 22:20:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 756D528A3D for ; Thu, 25 Jul 2019 22:20:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 653FD28A45; Thu, 25 Jul 2019 22:20:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 067CA28A3D for ; Thu, 25 Jul 2019 22:20:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727284AbfGYWTn (ORCPT ); Thu, 25 Jul 2019 18:19:43 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:44884 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727232AbfGYWTm (ORCPT ); Thu, 25 Jul 2019 18:19:42 -0400 Received: by mail-pf1-f194.google.com with SMTP id t16so23404947pfe.11 for ; Thu, 25 Jul 2019 15:19:41 -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=iTUMfB0Wim/a1bz2uuCGtMiuUYFdGiUbnvdD+HL9w8A=; b=OJdrO8NfixWF+IfHJd7NkzCiHvqJm5zt41U9YgoUEqvpVfGa6OPD1GxjM6vfwYvCrF XYSXsJ2BqjSnZlEd3dP24brGNtsmKEXdi5Nlldeld2mew3YrYN33G2e7hfXoKGCF2wVl yT4SZzUxicgQ2bVQs9424GpVZU74Wsl5BW9OpPS0GWn1BrtCJ1ksG3FkUDwlbun+GreU u6jhls4NaCCGjj3KDEOk1/On71du2K/CwBGWrTt8c7lOGY9QgDN071p8gf8O4xw26SUg 0PjFtA+5GPm2ii9otFWj65Bv8DYXcWhidXV3hu5dhZW4hqb92MtcCBxjghS2gEvNdE+L l2KQ== 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=iTUMfB0Wim/a1bz2uuCGtMiuUYFdGiUbnvdD+HL9w8A=; b=ZAh+FgRrdpJtLA7U4EM+/T/r8otgMutLwHqI4TDkjtVux3pBAI/06K3XkKvEac8KYB HTR2CeYsjtI4M7mQQk1VhZ6SDR6Dk9+mPTqeqQ4u4g2dNqMvrJOaOnxohSgl1r/J+zUG 9Jj+Mi65AGi6Sw7LfRZTqdYO2PclPm5z0uhkuwCM7iK4S5XQlM/qMfLpsa4lPI4uklxN njPmEH1U9XWlAcvGvV0xusKxjuY7A9WONjr4LOt/Rv7rslcZ4dlxAA6FIHflMlMh2+Ki 1gaS/8WKzci64qsEk785OFSUHemKFH3TW22jmHUdEeI2K1vRGr6RB32kooI7w3whRgZe 9sPw== X-Gm-Message-State: APjAAAX4lmFUx26TUBX23OucvDZ25khYQ6Z0C1k+c0FSMzjv0ckfCEqM xtCpbxPqJZvvIzmPrYlNGvnSvw== X-Google-Smtp-Source: APXvYqzF1V9+SxncxFYk5Y9e1ZK32fvYi3mBx4m9IH+3pz3WMFf5tycnnyww9qSOytMe3gAM46e5Mg== X-Received: by 2002:aa7:8817:: with SMTP id c23mr19090975pfo.146.1564093181321; Thu, 25 Jul 2019 15:19:41 -0700 (PDT) Received: from localhost ([49.248.170.216]) by smtp.gmail.com with ESMTPSA id e10sm51975982pfi.173.2019.07.25.15.19.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 15:19:40 -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: masneyb@onstation.org, devicetree@vger.kernel.org Subject: [PATCH 12/15] arm64: dts: msm8974: thermal: Add interrupt support Date: Fri, 26 Jul 2019 03:48:47 +0530 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 X-Virus-Scanned: ClamAV using ClamSMTP Register upper-lower interrupt for the tsens controller. Signed-off-by: Amit Kucheria Tested-by: Brian Masney --- Cc: masneyb@onstation.org arch/arm/boot/dts/qcom-msm8974.dtsi | 36 +++++++++++++++-------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index d32f639505f1..d10d47d20ab8 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -139,8 +139,8 @@ thermal-zones { cpu-thermal0 { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 5>; @@ -159,8 +159,8 @@ }; cpu-thermal1 { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 6>; @@ -179,8 +179,8 @@ }; cpu-thermal2 { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 7>; @@ -199,8 +199,8 @@ }; cpu-thermal3 { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 8>; @@ -219,8 +219,8 @@ }; q6-dsp-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 1>; @@ -234,8 +234,8 @@ }; modemtx-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 2>; @@ -250,7 +250,7 @@ video-thermal { polling-delay-passive = <0>; - polling-delay = <1000>; + polling-delay = <0>; thermal-sensors = <&tsens 3>; @@ -279,8 +279,8 @@ }; gpu-thermal-top { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 9>; @@ -294,8 +294,8 @@ }; gpu-thermal-bottom { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens 10>; @@ -531,6 +531,8 @@ nvmem-cells = <&tsens_calib>, <&tsens_backup>; nvmem-cell-names = "calib", "calib_backup"; #qcom,sensors = <11>; + interrupts = ; + interrupt-names = "tsens"; #thermal-sensor-cells = <1>; };