Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5468563ybl; Tue, 27 Aug 2019 05:17:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrL16GYXvVgaM4GG4KTEZjVwH7PHbAaR3wmziS3SMnZixDVszMG+8OPD0R/odx5hRHUSUO X-Received: by 2002:a63:2148:: with SMTP id s8mr20594429pgm.336.1566908221422; Tue, 27 Aug 2019 05:17:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566908221; cv=none; d=google.com; s=arc-20160816; b=x+Njw9ARonOXJO86aLOhqTFs8Wquw3S6s1aWYGwcxqetdabTDSLtBuZ/TIbkHVhFJB oxq+0yMIB0ItPi2gYr494OOMtb6NWMkOB1IE8VNIMxY7TTPG0XtxoyVgmpOgvKmW9UmI 1u2hoHpMjYy+gnPve7yRTfIouw8/9Q5heyvPI/UxxsUblJ41te55IHBC2HXg9YTOa+Rg 5yETpbJt/MuN70CmhpGgJ1hv6+R4aUEkXflbXInW1RiECbtFOeYlPrPvc8p7Fxwzk2X3 HZv7KotEU8M1wbnufzXQyNAn1iu840KQbJHb+D7S4gL3RftWJNKDXj+uNz4yfK3MBcFS EdlA== 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=A5EmULFtDl5i5Z5Rzq6bwCLJMqdhrquKs6z6Oe0kR7k=; b=LAX/kik8U6BtcVGl2PnJoSj1uPEGpKKAA4jzBoO6jE/8anCcEl8auWDNOIrCK2u665 8fQfg/wBXdNbtLt6GvPuZyDBJ/uDJLCcaq4FY1ita+KP02Zl/a6ep3JCV9qF19hNqmMQ aw5oCpHmlJN3Jb2YDTpPY9KHQ3GDEGLQ+amHdopjmLRb+srAjlExN+b3KkL0MZA9mGDz luxO/UvfUCOAa+V6Xh3MmwLpEWZCmE3nRrnVSO8hFlxm2S/riPgpZsBsuh8/W7mNFaFj OaQfLoB/SPNycQctksmv4/PkJzozuLHf06WjzWWrt577VUZFxFkIcEoBCe992//EblXu iI/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=w8Oc3pFT; 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 b2si2444073pjz.29.2019.08.27.05.16.42; Tue, 27 Aug 2019 05:17:01 -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=w8Oc3pFT; 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 S1729997AbfH0MPM (ORCPT + 99 others); Tue, 27 Aug 2019 08:15:12 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:43944 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729970AbfH0MPK (ORCPT ); Tue, 27 Aug 2019 08:15:10 -0400 Received: by mail-pf1-f196.google.com with SMTP id v12so14009061pfn.10 for ; Tue, 27 Aug 2019 05:15:09 -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=A5EmULFtDl5i5Z5Rzq6bwCLJMqdhrquKs6z6Oe0kR7k=; b=w8Oc3pFTLBEG/TCudB+3yJrs26KIoXt8+oquaINe8ipfHBdCvRtTU91u9i6DY4GYt+ 8eY3a1EtCU596QzEwlekxoIyrRWYiGX+xds3Hdr9pFDWU5xYL+aRQ08Ox/2lVe3GcK4w 1rDJcbz0JF660l/Fbj9uk8WqP9yLlXMLcVXKb7SEOeCcTG+e8Ir95+L31hFrP28xZB3z 6+u2oLuZyYU5JrbaCo9d7gx5EcjVMVCrdaYMyCostqbCap80ct7DaJP+sKFELi4OW4tt raFuviw9pDZdduFFpSy3BOhU0FdEL3hGDFbsxG8GOsZiAaShDUm8nIrcxWOOPD9+vauJ whHw== 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=A5EmULFtDl5i5Z5Rzq6bwCLJMqdhrquKs6z6Oe0kR7k=; b=LcG5eYpd9sitAOyTMoX0nF8UjA7Aaq8o/+cLxs+54Lgazhzu8oLpWOPwFm1KUY9lnF GPQ5R9k7fmoggmakR6Iq2os5I05Ev29CQtTB/8Z+ELzhq2eDZSvfj3+fAmUBbTCS/NrW TQp3osOhYMyz9gyHxZRlhsJWcyCUFghCByOiw1iEY9w7n1onfh3pGqTM7Ry2eqIinsCJ rXTBazKGLXOb9P7VoF7+UJDgjnqh1cShMCF+nNMuh3XlyLw5KZTEP/eQEqFtg/+GcQY7 vtos0XLj1bOjp+MZW5Ki7dk/QrQuS7r/jYPz2QQt8t5KNGlgAikt0R2a4hnZG35lXVaD q9dw== X-Gm-Message-State: APjAAAXCsdgD8o9ublkwAGqeKX3IvRTYWOpPbe5DY7fCPP6ZxJObqG+D rMvaGNF3FTkSfPzIKmkZZWZ7OblTCyDWhQ== X-Received: by 2002:a63:c009:: with SMTP id h9mr20902459pgg.166.1566908108909; Tue, 27 Aug 2019 05:15:08 -0700 (PDT) Received: from localhost ([49.248.54.193]) by smtp.gmail.com with ESMTPSA id d3sm3159687pjz.31.2019.08.27.05.15.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Aug 2019 05:15:08 -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 11/15] arm64: dts: qcs404: thermal: Add interrupt support Date: Tue, 27 Aug 2019 17:44:07 +0530 Message-Id: <74b10329041835ea1b019817729fe2d87f83e65b.1566907161.git.amit.kucheria@linaro.org> 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 3d0789775009c..065a60d50a07f 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 = "uplow"; #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