Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp2519807ybj; Mon, 23 Sep 2019 05:19:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0iXjrrORgVId7OzP1zJdy/BrqpXegkBgs74Xx2qtZpl8++QQD/xuEuXj9x/mTVP0yT2Hq X-Received: by 2002:a17:906:1c4e:: with SMTP id l14mr29977122ejg.276.1569241172163; Mon, 23 Sep 2019 05:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569241172; cv=none; d=google.com; s=arc-20160816; b=rtkYi/OjtvgU/kTjyL7WYfcljHKLU70ki19kOGFXI9/nCS8v+wB5cq/5rkbWcahAFa 0d2kSKE9HiBH2S5Hic+4imzv0HSADuA0yAnScCWb3zHiMvrD6DHS6vOXjxMJMwzzTwi/ SifjUbLosWbCcDY7HfrpvBNpddR3cwgY8GVVruxbUSzYbnlRQ61ngLlXHJioXtsl1tpM zHoiQk99wOoBX6ix8yUGLKgbd4WIMlpsS3VLCglX37gStWl7t0O1ZbsLKHIKVaTJBjur RThwFz+pe2KW54Sy7/cM4nNNVJcsyWiZHpL4UvncvfQQT1vlGAUaPpR5h9UfCcfyG876 G6Uw== 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=Isun0qOvFl5yGlh0uKDNBw1zhfxGw2RqA1bx4RtUflg=; b=kFohjYTlO6kPuqTYUL20qycPJ/HyqbPz3oRsVBC9B2uk6bWKaKPt7wqmPLN3u5j/TW fc69wdAGzpFj5ny62Ict1dVuwC3FNJstoAo5NGIBJWOZv34U9dd+8+FAZ/3J7rtpTBdY BpLVgnIaPbMOEC5lMmrZIOh07INfDh8xpuEfPH+b4pjPz6DcGEQz5G4paThYrFftlyF8 oB3DmBGtsMlwE+Gw2dMUtb+gCwHNk6EWwDxEKjPnsV0YiJ+B1YZ0LQrniojJ7F0Q+1pm i7qZDwrcVtTWzkevX9b/rvcj/EIniR04UfxbF1BgS/IXcAdfqoLu42oW5+d6bMgDKa3g RXsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lmroWQtm; 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 be24si6293074edb.120.2019.09.23.05.19.08; Mon, 23 Sep 2019 05:19:32 -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=lmroWQtm; 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 S1730264AbfITVxH (ORCPT + 99 others); Fri, 20 Sep 2019 17:53:07 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:45486 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730095AbfITVxD (ORCPT ); Fri, 20 Sep 2019 17:53:03 -0400 Received: by mail-pg1-f194.google.com with SMTP id 4so4547275pgm.12 for ; Fri, 20 Sep 2019 14:53:03 -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=Isun0qOvFl5yGlh0uKDNBw1zhfxGw2RqA1bx4RtUflg=; b=lmroWQtmnHaKzAiUagioI9WyOd39w5ZRMVnckIvkTdUjBSFc7jf0d4ZwF9dAyT+33f O3GHCkMiT6kqBofsWJVkiP14UxzrbNLuwE132bg6eD5HEt/rwHLnBc+EF5ZFgswIuJEE Y2qh3ZkosUlXZrE/uwCOl8ahEI268eKFSVaktcttm4aTozD/muRi84PHa9PzTOaPV/DI GTasHpg37HjZAuBJyYBUs833BSiqyPLddsxboujJLnKDyyErsx5zF8vpR8kJYsec8ZTX kieqCZEMo6aJIyglvbp0t59M5Rn2wIY+bdwsHTaOiE5xZFMuN426puk7cAMscNinKi9H 4lKQ== 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=Isun0qOvFl5yGlh0uKDNBw1zhfxGw2RqA1bx4RtUflg=; b=JlI0noEvfrcup03WMSfJrXdTCOHAKZoafnbAzrhIwp3FvTIUdCBZouvkX7JgesfRiN rrEM2zZsikZNN3EYM71g7Un/CyR9Q969Wc/WGCvoGa/cnaSvSjdOmVBHVF7GbYJjyrTj BYBX8WsQAbVcqzsgXM7jVV0mJrlAWsJgWy5HkJ+8xadCX4L6UIMWljWfUP5yN9bUpvqw xEa0yit08PDK23jhaIuVA4oTnZecLBOBAAjN0Bv5e0HTpwb0x0JhWdsCeWpa9WJtrhd3 li57uBB+zPxFN5MJJ9JH7uyvCR8G3dXrpMhDzPN3NwcHVUl5BkWCQJ/SlvfThhhNGd4Q 3D4A== X-Gm-Message-State: APjAAAX11OK5eSNMPGByBqHw/lxH3vpCJJ5ptuQvnG+nihXMtgW6S8Ex pqh2Rh+DjBx8skWwSF++ojb484BS2E+LHQ== X-Received: by 2002:a63:d23:: with SMTP id c35mr17346918pgl.376.1569016382629; Fri, 20 Sep 2019 14:53:02 -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 q88sm3437524pjq.9.2019.09.20.14.53.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Sep 2019 14:53:02 -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 10/15] arm64: dts: msm8998: thermal: Add interrupt support Date: Fri, 20 Sep 2019 14:52:25 -0700 Message-Id: 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 interrupts for each of the two tsens controllers. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 82 ++++++++++++++------------- 1 file changed, 42 insertions(+), 40 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index c13ed7aeb1e0..1e2f77b38f2c 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -440,8 +440,8 @@ thermal-zones { cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 1>; @@ -461,8 +461,8 @@ }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 2>; @@ -482,8 +482,8 @@ }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 3>; @@ -503,8 +503,8 @@ }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 4>; @@ -524,8 +524,8 @@ }; cpu4-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 7>; @@ -545,8 +545,8 @@ }; cpu5-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 8>; @@ -566,8 +566,8 @@ }; cpu6-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 9>; @@ -587,8 +587,8 @@ }; cpu7-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 10>; @@ -608,8 +608,8 @@ }; gpu-thermal-bottom { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 12>; @@ -623,8 +623,8 @@ }; gpu-thermal-top { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 13>; @@ -638,8 +638,8 @@ }; clust0-mhm-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 5>; @@ -653,8 +653,8 @@ }; clust1-mhm-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 6>; @@ -668,8 +668,8 @@ }; cluster1-l2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 11>; @@ -683,8 +683,8 @@ }; modem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 1>; @@ -698,8 +698,8 @@ }; mem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 2>; @@ -713,8 +713,8 @@ }; wlan-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 3>; @@ -728,8 +728,8 @@ }; q6-dsp-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 4>; @@ -743,8 +743,8 @@ }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 5>; @@ -758,8 +758,8 @@ }; multimedia-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 6>; @@ -845,8 +845,9 @@ compatible = "qcom,msm8998-tsens", "qcom,tsens-v2"; reg = <0x10ab000 0x1000>, /* TM */ <0x10aa000 0x1000>; /* SROT */ - #qcom,sensors = <14>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; }; @@ -854,8 +855,9 @@ compatible = "qcom,msm8998-tsens", "qcom,tsens-v2"; reg = <0x10ae000 0x1000>, /* TM */ <0x10ad000 0x1000>; /* SROT */ - #qcom,sensors = <8>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; }; -- 2.17.1