From patchwork Wed Oct 16 07:34:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 176436 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp6993134ill; Wed, 16 Oct 2019 00:35:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNeUekGXSLBed7ugSpSy5EMsm8UvadTxz/7yf3zWW0Wu5Y9T05K98lbOnWa8J9UVA9ppTF X-Received: by 2002:a17:906:2584:: with SMTP id m4mr29415090ejb.287.1571211305819; Wed, 16 Oct 2019 00:35:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571211305; cv=none; d=google.com; s=arc-20160816; b=X47LhSEYr+NKpzFZdRZsxGDtYH6QYF6XG7odYktZ0Fr3B6DXRG/l6Se0sJFQXsPu8l ds8xtZjhUp96saxZgI2zrip7lDGlSZ/B77CSfCowzUB6fyV4rmPY5CMvPND7w1GR7Ouq vYkzMTjraKkXrqOcQzcPzmnq39AZ5sR1ooTEPdYqK0054G3+G8H+gHJsGLaVWyn1aAzS eKUTIda62Df1dagPsVebqOjFJ3KdjhXzVINeqowsCGkMvb6zNNl8l5/0sNbloQrx28Ka whzpC8dOQlodkmHM+M0DqOPmWlRVzE+CGDB4HgcyIFWNWselc6C/4mifqRAw/AkDgHdh 2CYw== 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=srw60QlGCW1mVn48ORh0gXVEibw1bp8x1qlk8iY4/Hk=; b=mRc2btoyPi8D7Mjh/N/DysKH3pUubAx3SMeXLPxKp2eSR+dZnk8cd5bGAFcCwGpsYf GoJPZWaPosrCBjBPrlZvpzm7bDWKAc1NhtWNooU8DnAKr9HD820b3b+isOT/twImcWxe 6FnzCJ54aeH6WIys3SI0hgOErBhtxgOcYiGFS8DMdEcK9yC6n21sqkfIPwrZAUbOKWkc J6H2idosAvjVECq7Vm9hFKjaWzwn5P6cDmDLrp6vYlaiDgrIwQePscPGFnALDef0mFc0 BZXdl8C6OYuJdUETMz1wKG6lIcRFL/i3CVVyf9TNeCjKCRG+H9sXcvIncQCbk1gxtDFO 5AAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OKvnywfa; 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 a36si17044991edf.123.2019.10.16.00.35.05; Wed, 16 Oct 2019 00:35:05 -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=OKvnywfa; 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 S2389892AbfJPHfE (ORCPT + 8 others); Wed, 16 Oct 2019 03:35:04 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:46937 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389616AbfJPHfA (ORCPT ); Wed, 16 Oct 2019 03:35:00 -0400 Received: by mail-pf1-f196.google.com with SMTP id q5so14130708pfg.13 for ; Wed, 16 Oct 2019 00:34:59 -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=srw60QlGCW1mVn48ORh0gXVEibw1bp8x1qlk8iY4/Hk=; b=OKvnywfaYaF1zd+2IMbDb7Neej+sPGjeqFgET8fbA/ZZQ2QOQI8KBRhv9/IIlgN+j/ vESY/46MDh1HSo9p73Y5++ls3PAyGTedjunvL2yZNci+pSFgojTn5W+vO2BVR6w6kat4 urhL3YnWABlyDdhvYOCOYz2QD7M3dPNRegk2dg/sPbfPOP1tVaXphWEM9G9tqxYt8HH2 4uXQ5bHZwnsyhDcXTFkBfxHPOHdBI9V+3gBevsrsBgPZ8wSbc+R3cWdLx9feGdqKvAUe wf0HqjHbRpaaAb8ArSFbyLV1Bq9q1g6JQIIc7QNfAyjgeGUE89fi4b9X7RpHrxqeywG2 Sb7g== 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=srw60QlGCW1mVn48ORh0gXVEibw1bp8x1qlk8iY4/Hk=; b=KElHT+wfS9wPWcdC0444zUaBtQOEs8FXRgL02eQMmV2ZE7o4AjjhJnlGAG04I6VjQ6 v4ojsJXiVYHMUMMgt4Q/Bnl1ffiIoshqMfa7L7mYd4lkf4bwnhnXfC82LXiVStaOVGGU pGX7JwIGO/uRvbP3EcYANnp6iMkFUSyelroPnlzq1PazeNMyrquLA+tuUBSB8HmtjgL6 4jQPSz5wVdDsykEDgyJpIOzBCAo0krM49m9hN4w/5eybt/rHYQrZVw0CoutipLef7RTq emWNeXiFqK19CjaURsAlYLLJLoBF6Ukj3edqgCA+Pbf2X4Z0gojoqTU7uXBzBTRc3yyc RgKw== X-Gm-Message-State: APjAAAVSCllilo9UFrl/L8slMggu7tyQBu3szOKaYSloeYAsre4zbwBH d58Kr+8iv4csLF3lyPXuxy8xdg== X-Received: by 2002:a17:90a:a416:: with SMTP id y22mr3324992pjp.74.1571211299384; Wed, 16 Oct 2019 00:34:59 -0700 (PDT) Received: from localhost ([49.248.175.127]) by smtp.gmail.com with ESMTPSA id h8sm24716360pfo.64.2019.10.16.00.34.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Oct 2019 00:34:58 -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, Amit Kucheria , Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH 10/15] arm64: dts: msm8998: thermal: Add interrupt support Date: Wed, 16 Oct 2019 13:04:09 +0530 Message-Id: <2735b57bb1e9477926bfef6f6b8ff84b926f5a1b.1571210269.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 interrupts for each of the two tsens controllers. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index c6f81431983e..489d631a9610 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -816,8 +816,9 @@ compatible = "qcom,msm8998-tsens", "qcom,tsens-v2"; reg = <0x010ab000 0x1000>, /* TM */ <0x010aa000 0x1000>; /* SROT */ - #qcom,sensors = <14>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; }; @@ -825,8 +826,9 @@ compatible = "qcom,msm8998-tsens", "qcom,tsens-v2"; reg = <0x010ae000 0x1000>, /* TM */ <0x010ad000 0x1000>; /* SROT */ - #qcom,sensors = <8>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; }; From patchwork Wed Oct 16 07:34:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 176437 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp6993246ill; Wed, 16 Oct 2019 00:35:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqwAG/mPdXrnXrYDt7jfhTnKDKtubwvd13gkJwu2j5Kjjrja1B1YiQil6u83Xos0w+9FdJSy X-Received: by 2002:aa7:ce94:: with SMTP id y20mr12764986edv.120.1571211310760; Wed, 16 Oct 2019 00:35:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571211310; cv=none; d=google.com; s=arc-20160816; b=wFRU1bSIPDGa56mxkLL+ut9u+NN34bsSMMO348AjlGcnfDtITZoIejH7+IuWDyidt5 gQ5nGD4QGXvbJyfF4fa/IOh9vhIdSyZQauns7RiB+hus+xZr6MGiuVcVjaC9AKvra+Br O5ZvBd2KNQIoIRjcmmGAVUiLN2KN0iukWIKebNVlMHGZDVpUYZVKfhuNRRCnQI8Wjjb8 YEXPPvWz5ShLSaOsxwpH7B5zJ8jGXnRyN1qPbJRtthz0PGC6pCDyf1I3pamCRUWbs3L8 9cv7v4L4x4KYrp9XwFzdO8s8j7/h/0wosy71EhHIRJ54c3qLuAFgiVA/ebQOOszrv+9P pMQA== 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=K+JloZswXmm4BpvcNOHfxY9LNAmaq3HM2wD0uVSFvPc=; b=lKMwIRZM4rWiE0YtwyKkbG1Zku1zFTdqyieztpOYVlL4BgbKD49MBTy4xw8605bjoM 4ujboxUaGVog7PoSgkm6b9SyCDH9hs52JCWouTw3JGusj0PF1cQJTmU1/LE9vfTkR8jG d59YR8QfTWs0mcZ1751Vio0GxZHwjaThGRXDc9Ia5qaGFGhKMm4Z23mWKvOqnvLwH2WN X4RH0BCAtCeNKW6JUuQdhuGct66bGhBbTG2TMeyyZVYe6FatcaPvNDyv++cGW7k9x+oq FthkSluXTdtEAEYHocLoEGHhw/PrYCFac7n1U0ZeBWE/Qq0M7kNQ1pJwaHboAUsOD+DL YoLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="gc/KMCmI"; 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 e22si16214285ejm.72.2019.10.16.00.35.10; Wed, 16 Oct 2019 00:35:10 -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="gc/KMCmI"; 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 S2390430AbfJPHfH (ORCPT + 8 others); Wed, 16 Oct 2019 03:35:07 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:44573 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390341AbfJPHfH (ORCPT ); Wed, 16 Oct 2019 03:35:07 -0400 Received: by mail-pg1-f195.google.com with SMTP id e10so9766445pgd.11 for ; Wed, 16 Oct 2019 00:35:07 -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=K+JloZswXmm4BpvcNOHfxY9LNAmaq3HM2wD0uVSFvPc=; b=gc/KMCmIeHHhA5CTiQuXhuXCGs8zdCkC0+uXOGsRaewyOVs3PwC8r5E2WjzwjXxZnR iFmRDhGszAMo5AnU1BhzDVdlXBedkCtZUjiZzJhGWuXWgjIhBT5Q4145dmaZpuDPs7pX 6rx3SuzudupipdVWV2LQeuuFOi7vO+/PhqV0cCfB9O6vkt3I5D+i60vv8JGSRqpZWemb dVWEMwyqWldf4vE/7AvgMpTzZPro4CMXdq42i7ZYfKSyx7tYT/a6Ef0uulvNv020OAPD jKd7sqRbpLTGIlgm8auFOmqUDk+eBROQvmyH/xW5XBX1Wt1GtEpVvfkLPuZvadrcKz6T e0Ng== 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=K+JloZswXmm4BpvcNOHfxY9LNAmaq3HM2wD0uVSFvPc=; b=jiquMiNfGDY4WLIvV0m/IuS+oLTEvt+nPzIAH9MJUfqXf3eUVvS+RQii9DLJaHbEZz oQ9AaBAo4TH9JCmXSQViS6FO8mtQUpTHeKV8khN0RHdl3cx0CdpQeaTxbrZTG98zUQuJ nOSGvBGnlqsuLE5bMZi5e8YzPIfoVLvlf03RITmLi4qJ9NxT7CjINFAe7w7oC8p9xrap bfPUllAl0LYr7nibyQVAtRT0Zrf4NUkfxA4CHxzdjatFGmTTrUMm+dbTrsd5xLtjC2fl AVYXgb87Gxdo9rec6jCwBidmADuUN7jCQ7BO+z/V6S+50gf4jxOcwunaEecdg9wMZQrp jfCQ== X-Gm-Message-State: APjAAAVdIuBcV4gtgbSawYMuaQnit1Se/6iv7GZ6rD8vbCOXww7VrTP6 FS+mnDmna7Wnte/ZhC8Jqvrv7A== X-Received: by 2002:a65:5586:: with SMTP id j6mr614871pgs.252.1571211306505; Wed, 16 Oct 2019 00:35:06 -0700 (PDT) Received: from localhost ([49.248.175.127]) by smtp.gmail.com with ESMTPSA id c4sm4194968pgd.3.2019.10.16.00.35.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Oct 2019 00:35:05 -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, Amit Kucheria , Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH 12/15] arm: dts: msm8974: thermal: Add interrupt support Date: Wed, 16 Oct 2019 13:04:11 +0530 Message-Id: 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 Tested-by: Brian Masney --- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 33c534370fd5..c1a3a7d7161c 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -531,6 +531,8 @@ nvmem-cells = <&tsens_calib>, <&tsens_backup>; nvmem-cell-names = "calib", "calib_backup"; #qcom,sensors = <11>; + interrupts = ; + interrupt-names = "uplow"; #thermal-sensor-cells = <1>; };