Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5470270ybl; Tue, 27 Aug 2019 05:18:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkMBiAM+awJ4HpFdTp0r415lnEDavAgD1NlCobng9jUXQXlTKTSXdTl9tXAtirsi10Md9y X-Received: by 2002:a17:902:d:: with SMTP id 13mr4705130pla.226.1566908306481; Tue, 27 Aug 2019 05:18:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566908306; cv=none; d=google.com; s=arc-20160816; b=WBVKvYjK7/aFPcXHPmF7mH9Jk4WX3QsXg1PBXFD7QMct+57kGyQlYw5Gv3xMYxTzs8 KJkJCD3Bpkm8HsXbMvIvx/CMpTWPD29ZyXLgFXp9yGQjILnI4AzBNSbuYuVOW0NeoMhz NX8tXiK4/LzFnGDepwsoqlcvYOCrBB0RzQoPYmy/LtEysEC9bZOmOfavX+L5ol6lsDMN r1B/BNL10YHCTVsiBv4gLmmoxrSEp7Tln0TiKK08VWMHTXIRwbO+MkRIUs3MQ72eqEmI qoUVgMflX2HWtLeziNQc4YWc06P26GhmLTxmDxKyjHaOMkmQ9DZosvaL3L6mfFb0XRwi l14Q== 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=X1C1wuLpaATs6Y4OlN6hIu56jXxXInO37XE+mmtb07c=; b=p91aFOLxPjwf9tzlascRAQ7RCHJpVWWrIdDDK+1d5B7RQphN8vSKGMqy+uT85vWRlT Fn31AIDMlvcye6HCO4mSZYZdVdq8MGGTRcgUUoNIxa2jL+Y2Kc27GZyhAMQcEVwcyfTz C07RUmAQmt78U5dUYyoLux9qJkhNPmPluDSDHDAg5/3FQFA/O+oJygno0nDuBEmNfRZI R4H1WFnJMDtjJUUULHlAoKfoyrcVM9rgoVzsSPbGIzKbfVF6wqjfywY4JDd52GxtIj7A 3zlH5T8+TjDFfeKpkVjJ6xbEvXJFPYmAwiHX2RGKBF+/a6ikqgMzZ75lXFo7QnpejET7 6Avg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rNYuNnkt; 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 h3si7890312plr.227.2019.08.27.05.18.08; Tue, 27 Aug 2019 05:18:26 -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=rNYuNnkt; 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 S1730061AbfH0MPW (ORCPT + 99 others); Tue, 27 Aug 2019 08:15:22 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:40415 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730015AbfH0MPS (ORCPT ); Tue, 27 Aug 2019 08:15:18 -0400 Received: by mail-pl1-f195.google.com with SMTP id h3so11698764pls.7 for ; Tue, 27 Aug 2019 05:15:17 -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=X1C1wuLpaATs6Y4OlN6hIu56jXxXInO37XE+mmtb07c=; b=rNYuNnktdEgs/Igxq0AjJmX1QTMrz9hWnybCHl+0TPcfozu+U8NzY5JOcWQtMOE2GL 2SYeBJB+LszgzXgips9HGnqCJ/KW5l20CvwubqC2McdZFKg1dndf9XV1E2ZJ5U3VRQzV UsuIAB2/I4w5tw6XKFgeqxEgEFXZPptZPaU0HTmirTKQA/F2xeVXFlw3pXFeO4z5YQsm rMqwTXYqa+VqoETpmjdTLHeacjJEZEdQW2lJbmdJ3aBjqZDcMQ9/vw5qrN3iXtna4NAw QpwLJgz8WZhdYEM0pXxX0BFgmFnQMoS5ZEC22UjgXQd/4bQG8JXUN5dRS3Uv1Xcjqp8g gx/w== 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=X1C1wuLpaATs6Y4OlN6hIu56jXxXInO37XE+mmtb07c=; b=m1IfXhjUKXKcLOYBWTPPnHvF79L7vWh30i7lFwLhwiwCz761Dze3UhG138Fqbe/FFp LAqBpO+k/SxV05nA8D4FYXd+xeaIzHeOFFP7KiP5OHa2NpT567c6jcV5COUW/+9gXn5w 1XqJdITvKs1eZh0PAmgpEpEllFpJllr7jQ2nn9CMyaZF2dQ6SABXFhkup+e45CRy+4qx jSbIyQ1rgEyf2W0lfzkHO4sadWPEQFsW5tauB7knOJN5uFYAovKHlYRA/0ReJxxm0OxY MfhzmsRfbE9B34qz+6hVnugU4QLqWEnXNIpgK1xnXhXBhxMGWOY+PBAteWsYYQqJXgUx rrqA== X-Gm-Message-State: APjAAAXW8iKqn46Hjnu6lkYlw3Ya4mu6DuOOCgsCRixAG556vsvS/UY8 C9Yp0TpoGcZ060UvJK1/poUNKaRDvkLt9A== X-Received: by 2002:a17:902:7c0b:: with SMTP id x11mr22630033pll.73.1566908116911; Tue, 27 Aug 2019 05:15:16 -0700 (PDT) Received: from localhost ([49.248.54.193]) by smtp.gmail.com with ESMTPSA id a1sm13719777pgh.61.2019.08.27.05.15.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Aug 2019 05:15:16 -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, sboyd@kernel.org, masneyb@onstation.org, marc.w.gonzalez@free.fr, Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH v2 13/15] arm64: dts: msm8916: thermal: Add interrupt support Date: Tue, 27 Aug 2019 17:44:09 +0530 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 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(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 8686e101905cc..c0d0492d90ec0 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 = "uplow"; #thermal-sensor-cells = <1>; }; -- 2.17.1