From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6232C76191 for ; Thu, 25 Jul 2019 22:20:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8D80C22C97 for ; Thu, 25 Jul 2019 22:20:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="MGdVaAia" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727235AbfGYWTj (ORCPT ); Thu, 25 Jul 2019 18:19:39 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:33821 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727230AbfGYWTi (ORCPT ); Thu, 25 Jul 2019 18:19:38 -0400 Received: by mail-pg1-f194.google.com with SMTP id n9so17489951pgc.1 for ; Thu, 25 Jul 2019 15:19:38 -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=kYY2KGeTwdILF2FlXV59Zq9qsKbWJTGhUy3mp43RMqs=; b=MGdVaAiayGKurKmlzzCapq5eHfl991sITtHwnpq57sUvocciiP2DfUAFGrLQwQ5b3E Q4Pl6pdJhnsUGMO/96C17+R8qtS6XLJIY0EV3Ddf5i4vq52lxUrMHIswICArv0rEZWZi wVJ99efLWVwxJwHhpdcLNTj41W5Ygfhk2PAGcLa4iD1JZGPgvQDFcEly4Tm+brAYeAMU SyuVLdpHehJg5DH/WlqEitRMLyMPQkOYrwF2deaULOQlqG5MJTMbiej+AqMIzXQbeAfF QVWDkwkkbQt4RhI100prhoolWmR7+Z22BA8mOnOB5UJ+bqULJrlcm/Iv3lT/yw+fa3gN NhIg== 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=kYY2KGeTwdILF2FlXV59Zq9qsKbWJTGhUy3mp43RMqs=; b=C49h6fIKmVzzyHEvyKgnkL+Wj67pS4FYeJpFj7ehhth/eruqQq2k+5VH35CTIUGJlL vGQbHi005wT+0+zbxvlDB6DVe7xBugdoM8Hn+YNnft9r3MOocgfEjiRo8FpRgCmYg5WA JXpn8TX+dvxUKnKk+qNissuXUgva06CFmg0f1uFq0ngdHJspTbhSJKt9SeZeJlzAaP/j xT8XqP/NkpgHWHzfFMcCIWYtcfdRJ0zYXfiENHtRcA1kdGzxUq51hNOgi1ZYOnyEA+8f ehWEVJJpFVeH7R+kdS/BKJMMLNYo0laZXm6rSZp8BFf24XjP2tuqSGsfd9VjFSTxM6P8 ijWA== X-Gm-Message-State: APjAAAUUWeTAtF0o65L0VXLrdEL1cs2DUxrrI5BzMydFdjgnqjWI2hwy zfeMkt1O2VxGtruK+phl6bS8KQ== X-Google-Smtp-Source: APXvYqy2Ew9ZKhyHpGk0sa36SAHnwcZ5CszF19xs6yPflfZBT66Pz95YNGXuwSZB9XM+QdXPe/QOJw== X-Received: by 2002:a17:90a:fa07:: with SMTP id cm7mr92107753pjb.138.1564093177830; Thu, 25 Jul 2019 15:19:37 -0700 (PDT) Received: from localhost ([49.248.170.216]) by smtp.gmail.com with ESMTPSA id v13sm61288573pfe.105.2019.07.25.15.19.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 15:19:37 -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 11/15] arm64: dts: qcs404: thermal: Add interrupt support Date: Fri, 26 Jul 2019 03:48:46 +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 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..0c715f9cc011 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 = "tsens"; #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