Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11379468ybi; Thu, 25 Jul 2019 15:22:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqxECaAK/nc9q1gi6hBlbes2eA0UyCpgMaQ1j81kpXNdDDFJqETbCPbD/8rSMVpfzJPj72S7 X-Received: by 2002:a17:902:27a8:: with SMTP id d37mr92990909plb.150.1564093346111; Thu, 25 Jul 2019 15:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564093346; cv=none; d=google.com; s=arc-20160816; b=09NGbfz/YfdVW0u8v9AW6YKzovoeePCB/xP6jvjn4oKMLB/wc7W38UHLCZKCoXXC7S 9tjqIckLa1VkEJMl0pIl+ebtN+Wto7Br6szgAhIU0hnynbjds2DfIjb4Fkfpzfsg06V2 6oXaQPBuCGrNnh2HZ5HrDqLirY2tlsHFD8VAFSRBJefM9SYGk5ifiox5t+Pa8tBASVMC i3uVqfQdxLPaTUkRXk2nYD/rb8uxEMjGJf4kCUdIZ+Z92UNaHozT1LGZZBayU9TeQtMN aoXJ/Rrto75QVR+nAC3LrwNXtl6UxN1/O9XEC1Oig3mUhLuQDE4cqWYhXWJsdT3cgkIK o3gg== 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=kYY2KGeTwdILF2FlXV59Zq9qsKbWJTGhUy3mp43RMqs=; b=kLrWfzjbnBTObY9IHRXbyX2yVd7peCzNv6aVKHMqvlDCmkeSie9LJAkpxKDnYNutvl wr2H5uj8uI9IDBybq4tMSnvZm+Mk6UTJoY6T+UIB8LxsUi65fd7WGVX13EwCAVD2iesp /2GYGvsoTPu9oPD0Toi5+zxqozmbmqig/QKasqR5CPe2F7D5HxxdzeRmQcZGenicrRM4 hqh1Jo7/ynNCtLk/MFxYf5G9qEiQgqrPe/jEHKpSRJbyqY0Y6YUZ8UcW6PenFEk6SJou nz+z21ewifgs8J0TTF/LXM+tcbBi+rYVn/caZrgkz6/H09dVhdGXRVTGvIKAOGbnrQ/9 UzZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MGdVaAia; 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 m68si19764619pfm.150.2019.07.25.15.22.11; Thu, 25 Jul 2019 15:22: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=MGdVaAia; 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 S1727241AbfGYWTj (ORCPT + 99 others); Thu, 25 Jul 2019 18:19:39 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:39183 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727221AbfGYWTi (ORCPT ); Thu, 25 Jul 2019 18:19:38 -0400 Received: by mail-pf1-f195.google.com with SMTP id f17so19441234pfn.6 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=iwzG1TD5f1sz7jFzCjM788W9GnaIZK+Y/7nKfDYBuycZOOpSugqMyd8zxSvqRnAeBt +KgdZPHnPPQxEFYctZyFRSh/9DXbNylj8/KkEnCvlIXVj9ei9LNrP1gqF0i+jUWbQdfm kKf3nTAubm+HQObExPgUrwThWZ/UKGK6/Q6BzPrTl5S03q66Iconx9QnGgwzSIzIZLHQ Q7cUlkUGzWWtFlx8Fm0YVy/YE7lHYJH2DogcbiEDTFtC9Oqr13JfhokxPJX6BVJoPWso +GNiUTge9oAMRG6wz4H83d0m3IkRSycebN3YFSqJXKSi/ZEqs2wFMHHNd1XyjytfF+N0 zAZA== X-Gm-Message-State: APjAAAX46/59mRsp4ihJyy9uAvPsXZ947ncHSJfFu+1yN/G3an4Q2pMT 98CgYN3Ko7DjrRKj6xlSNyKo0Sibc7+a5g== 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-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/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