Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp2518527ybj; Mon, 23 Sep 2019 05:18:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzE7lnwnqxWT8TGzNLldjQxA4cSYUORNYY42LCrZSUJsWGd2iEDXBPUrosD/NcXWKhOvrFj X-Received: by 2002:aa7:cdd6:: with SMTP id h22mr34729217edw.132.1569241102178; Mon, 23 Sep 2019 05:18:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569241102; cv=none; d=google.com; s=arc-20160816; b=egKp+2JCbAli/g1Ond+u3/sZlFkXwPJob3yMOaHn1SiO/pQUkq/BsY9BMWSwMh4016 +f86qxZ2KiPT0v661L0CwntUFq+H+VfQXhfY6q5E7Xy2PsHF6fRgclFYkcEjWUEZYlAI C6GPwSvz4Lc8ozQGkqBOuZ/0kAHXdiuVTL2KaoLgDOmpqaIU3NoGvs9axyAWOmTOxRT5 rBlnP87dX7sRDh/fJiCopV0ZKIrU6Bgp5OVNpLohjs/YORKDj8H3qTpNtuaX+6BgTAJS cqK7ymJbo9VTEbYogwOfC00kI8FIIy2MdkCdKsU8p+fB5N7N7SJ3RbWiDzgYm/5ZN3/b hzsg== 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=lIlDkOFMtaJ7NzGQY3181qnj2S+zXBje3XXKns63Nkk=; b=FRNYruc56vU2IPK3PNiABLTHlqD366W2VFeEgrwbzDCWJFnjavis9wcU44BL+cgRxs OuQAYrcJrXgzECg6t1AXSStGr0vo473r8hi8avDErwG9Mdr97m/rjlixX200Za8hXEaS DP2Rf7+Qr65zs2ds8qF3oXqc29u+OW0SQZPHCbYSQB+T0uMM+/PqDiEq3wLWOeezt1H+ g8agMULy1X58yyCRypYtge8l/4vcSMONw3Qs8YNv5tRTTdZi4wW5qbwL4IqdyjWFPQ9Z i/X+L3D++vf9quPJYA/ebkll+MgXXkGw42wpbS0eFKWSoOZ2VDlEXC8y8CXSkFvqIdn8 QLBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iLk6M9yo; 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 g11si4739978ejj.11.2019.09.23.05.17.58; Mon, 23 Sep 2019 05:18:22 -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=iLk6M9yo; 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 S1729789AbfITVxC (ORCPT + 99 others); Fri, 20 Sep 2019 17:53:02 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:32962 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729549AbfITVw7 (ORCPT ); Fri, 20 Sep 2019 17:52:59 -0400 Received: by mail-pf1-f194.google.com with SMTP id q10so5428412pfl.0 for ; Fri, 20 Sep 2019 14:52:58 -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=lIlDkOFMtaJ7NzGQY3181qnj2S+zXBje3XXKns63Nkk=; b=iLk6M9yokg2PkAgWyqROr8nxnJojb8gm8FvZzMzGXzg28At8IShyjre9xcrGdm6M2l aaIr3ioIJ5KFHusyGuHAsmPKQX0ZHrPeQk2T1OsTitUuVQDqju5Ho+tCMsIvwKc+cCsw vCye5kDnlhHiexDE+3NGSyUkNX1MEqAXkZwZXk4czgRLnS/BHSnvtuF3fHdLW8Ao2ojV 7cg8EQA+BT4JxRE/3/tZXPyZis4yZs75H4Sk8+K8jK1q8l0bgRA5XIYoozP4GPbDJrnr zjbe08kYOWg8IPyKxIr5yulX8uZUiSmcJF9/rkQfo2zLD9ZLIl0Huu0zoIdLlPkHajyh ZM+g== 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=lIlDkOFMtaJ7NzGQY3181qnj2S+zXBje3XXKns63Nkk=; b=lthrQOTZH6LDxWgm2i6a89pnl/7VYJDSQH6nD1UILSGjeQgr6lB/TCuWbnKPqWa9Cc nq810+6K58jFrQ3O0riFriuNbwHPCkKTkTmyT3M3WpbhIU0eGYTy3qU6Q1DpdTTMU4HL 2r83VAWSt5QI8Cku2DV70Hb65h12amAmypckidHJNW9AFzPJBksWLmshoWcvWs4nz1Iy /hv5+HTLRLFkiKsZCXwh25f3r2Vr4SuGK00pPsA5H2mbhVNr58cLchuS8K91ZP31C7C6 B1HQKFOaSNSwOaJRdJkJlcvwOdWxsNzTSCAQQK1WjjTlFxkPm0xwuLO4dQGz4/I1DDC8 3HiQ== X-Gm-Message-State: APjAAAV9lVt2pWpU1pN6jMyWZbJyyVjPDNjk1Q5/6fkB4L8+qhlU3oqE yNozZYybHRtysTtHZiBmI/FIs0SCYxmUWQ== X-Received: by 2002:a63:fd42:: with SMTP id m2mr10075685pgj.233.1569016377723; Fri, 20 Sep 2019 14:52:57 -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 2sm3413281pfa.43.2019.09.20.14.52.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Sep 2019 14:52:57 -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 08/15] arm64: dts: sdm845: thermal: Add interrupt support Date: Fri, 20 Sep 2019 14:52:23 -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 Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 88 +++++++++++++++------------- 1 file changed, 46 insertions(+), 42 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 4babff5f19b5..fdd74c39b744 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2386,6 +2386,8 @@ reg = <0 0x0c263000 0 0x1ff>, /* TM */ <0 0x0c222000 0 0x1ff>; /* SROT */ #qcom,sensors = <13>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; }; @@ -2394,6 +2396,8 @@ reg = <0 0x0c265000 0 0x1ff>, /* TM */ <0 0x0c223000 0 0x1ff>; /* SROT */ #qcom,sensors = <8>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; }; @@ -2712,8 +2716,8 @@ thermal-zones { cpu0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 1>; @@ -2756,8 +2760,8 @@ }; cpu1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 2>; @@ -2800,8 +2804,8 @@ }; cpu2-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 3>; @@ -2844,8 +2848,8 @@ }; cpu3-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 4>; @@ -2888,8 +2892,8 @@ }; cpu4-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 7>; @@ -2932,8 +2936,8 @@ }; cpu5-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 8>; @@ -2976,8 +2980,8 @@ }; cpu6-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 9>; @@ -3020,8 +3024,8 @@ }; cpu7-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 10>; @@ -3064,8 +3068,8 @@ }; aoss0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 0>; @@ -3079,8 +3083,8 @@ }; cluster0-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 5>; @@ -3099,8 +3103,8 @@ }; cluster1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 6>; @@ -3119,8 +3123,8 @@ }; gpu-thermal-top { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 11>; @@ -3134,8 +3138,8 @@ }; gpu-thermal-bottom { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens0 12>; @@ -3149,8 +3153,8 @@ }; aoss1-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 0>; @@ -3164,8 +3168,8 @@ }; q6-modem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 1>; @@ -3179,8 +3183,8 @@ }; mem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 2>; @@ -3194,8 +3198,8 @@ }; wlan-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 3>; @@ -3209,8 +3213,8 @@ }; q6-hvx-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 4>; @@ -3224,8 +3228,8 @@ }; camera-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 5>; @@ -3239,8 +3243,8 @@ }; video-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 6>; @@ -3254,8 +3258,8 @@ }; modem-thermal { - polling-delay-passive = <250>; - polling-delay = <1000>; + polling-delay-passive = <0>; + polling-delay = <0>; thermal-sensors = <&tsens1 7>; -- 2.17.1