From patchwork Fri Sep 20 21:52:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 174164 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp3032007ill; Fri, 20 Sep 2019 14:53:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyfca2+mIZ9oKkZN5DWsX8/w23RZabd5eEDXBjWcAzAn3ZudIwbGjuv8UYuY9HFxNctTBad X-Received: by 2002:a17:907:20f1:: with SMTP id rh17mr6845472ejb.110.1569016388896; Fri, 20 Sep 2019 14:53:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569016388; cv=none; d=google.com; s=arc-20160816; b=Qa4FnrGUpuTLIYV8RdLP23+8utkapSGjQmXE7e2lg8Nb6Hdey/JnEbdYzRzB2gQY+g hc8Dn+NfmTOJUzgxZPAC4P+MekGkyyAJGI8HQg7vQltJ+Mi++XZnFZHrLEhCSbH8BVqT 5b333cvxZ2s6yXpbarOp7/hiQWxMrwHMn9zhpuFbUzSxns032apYXQuOIAszcpG0oWHv Kd7YHw3QQ3XEvHlzbTb62J55FveGhmfXaWfmxUuSpNSHXM7Ij68aEouTTBF0XLmHWp4U WMJ9Bf1s6dS8AkCLtX+AhlA/WlFzqjHN3gdwEB5K2geRZMd/uw8lXKPNp/dP6CiaR7he 2PIg== 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=5TuJ7l2iIRIYYnmGHtrUFLK2P8yt4NpAavFl0VahGaY=; b=k3aN5ybA91xAqsxltR+2VCWYIt44Rbuz+k48YBnSCp+Rer15sFD7pXhqEWhYAJlJNz uS9RpnUsDroc5GZyWlTPFHZcHYcTYfBLQg1GS4JHdyH/ea9qbZijjc/lZvvevvdm3GLE fIMqWNFjMGOvB9hRzHZW4Pxe04RVAE5yZvdkF3mxZZHF5hww6KELWbA4++w3Itnk1vXU Ct6mGybBfydyxx4NrnL6YLcWYaXeAPJsWpcry8KvPF2v6+n95LqLxXAYoH0++fAyFOah k1KdRK5ARNA0HeXe43H26tS0wI8b54L/pU4/CRONJ8J8SU7PUlMSr9gSCNQ1N1Duu41c uTtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fAaB+7Ys; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 z55si2241928edz.254.2019.09.20.14.53.08; Fri, 20 Sep 2019 14:53:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=fAaB+7Ys; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1730273AbfITVxH (ORCPT + 8 others); Fri, 20 Sep 2019 17:53:07 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:41417 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730258AbfITVxH (ORCPT ); Fri, 20 Sep 2019 17:53:07 -0400 Received: by mail-pl1-f193.google.com with SMTP id t10so3790909plr.8 for ; Fri, 20 Sep 2019 14:53:05 -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=5TuJ7l2iIRIYYnmGHtrUFLK2P8yt4NpAavFl0VahGaY=; b=fAaB+7YsL6BcsECIVYGKEu2hXGaZn2F6d73Yhr5w2mVMEq3/pz0bpZ5pKgu/tHQGwK rXXKjinCLmBTqtMJUpgrwpUYc0Vv2vXv/yNKZQK3tcCkkYxn0hTXxomCxFQKERnZMUqF SfyMsvtWGaAcnNl8EqXnBWuGxkvNB1WCLM0yG6c4F8AXJHiibGfp72Quug2sCgxnXN72 t/068ou0RKY3kXrz83DC1G1l1W2+fvfUmJwOgLWXqyaePKu5gAN4rDCXt7ZalYbTaFk1 32QxhoKPKA5exiuWaV/o/5GrTkeCYYPXXEqAAEljBMRk2zNY7mOnMmYcXb/Gw/p8hbPx eqIg== 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=5TuJ7l2iIRIYYnmGHtrUFLK2P8yt4NpAavFl0VahGaY=; b=kEiboFYg1eH1niAs3u4EUpPutMt5hKCsJZZ1VOeb6CN2FUKd4MGodMXdOn47RLUIm+ 1Gq+b/KP1/gmgILveYKpsY4yN4zgBD+2O0zCX7ikr062bW6fUceHdcDoKmz0OpwEcP/9 BMiK2kkG2TMntmp/n5EhOJEPY7yZYT35sH+zIE2b+MEXCSiJiBs29la9DnQJfHIT31/G KG8Wdqsee3/m6VrI7mj2hJy/hg8IrSgm7aeplqBuawwOac6qN0Eg4UYmc2YGOu/0GWWU zepQDkihbNwYcBqt0j8N4dT91ZLy5FQtQ24DLHexkPA4F4BBNUhFiC++wFCvZUuvU+JS 6U7Q== X-Gm-Message-State: APjAAAX/JZ4mrrLpL+Vni/2PLb5a1sdtA5gN6PdUkfEqZ+eiwirXT+J/ P/uqgs/ABfxq+ZSnpS/TVq8Z6A== X-Received: by 2002:a17:902:8601:: with SMTP id f1mr18699001plo.180.1569016384597; Fri, 20 Sep 2019 14:53:04 -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 g202sm3986754pfb.155.2019.09.20.14.53.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Sep 2019 14:53:04 -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 11/15] arm64: dts: qcs404: thermal: Add interrupt support Date: Fri, 20 Sep 2019 14:52:26 -0700 Message-Id: <4590cec3348ff0644175f8de27398c0e935a7a2c.1569015835.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 3d0789775009..065a60d50a07 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>;