From patchwork Tue Aug 27 12:14: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: 172286 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp5702828ily; Tue, 27 Aug 2019 05:15:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxFSBj4mYxbS/pfu3urY/r70hja9GXymBUfdZ8Ceb0WGhnw8VZ8BJzXEpOLzU0IiJGhBEDv X-Received: by 2002:a17:902:b582:: with SMTP id a2mr24103886pls.199.1566908121761; Tue, 27 Aug 2019 05:15:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566908121; cv=none; d=google.com; s=arc-20160816; b=XZY5idIF6u1iAcJ+aolOxbFbnyJLOx4jLjFRCijN7OXI4FNP9YuQ+puAJT8kRdIUnr vp0kHGJ7PYGQ+CEtb9QdgC9A8gq96ASQRdUXA/Li3pTRFpjmcLphB4vPTrza5PJjKPth jNWtHOmPcm+cWXC7setVVbaxfq27h0VFvAiFUu2moj2Wd5ZajhlzeRaeAygcJgbrGQKT 2jr4rBrRAPE6JazUfhw4exwUYLVJgaAylASj3aFs8fFuE9oiCqXJ4hVawLEzamfO8rCW HeXdLas04yR0K6CEJnJL4xGXd+7H0L5qXmQFatCwrelFaPEHcwd5hJo/b9iuvHWj5ewJ phJA== 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=SO8ZAJoz048J7RbF33leMiIpgvMAOsm4n2OS4mMG4JcI3VDEyOx1DzsBGSA7+11Ikn 6Vre2ARkgO+NQzW6U5lLU/9pucdkxD0EelZGfNj6E83MidpW0AA7OxDynIc8k7y/GOXY S2TC2Ya0lyo9kC0gZ02F1UkFp2RE+orsRYZiAyMjQEvoLoSaiJHs4OuDmaWdZuBq8gPi jtS21MOsW6PDYSTaLn2qMUDU5jn9xUZcZdQs8X8qz27gHHjfAY9JogIA12AqKA2cIFQJ sM16AH4oW5arZppzVARZAM5t8d6bC3N0DuaiS8CxXfSVl+cvKmPR9cTfq0MDnfhxhY6l UP+w== 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 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 r9si12651478plo.104.2019.08.27.05.15.21; Tue, 27 Aug 2019 05:15:21 -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=rNYuNnkt; 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 S1730017AbfH0MPS (ORCPT + 8 others); Tue, 27 Aug 2019 08:15:18 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:33940 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729968AbfH0MPR (ORCPT ); Tue, 27 Aug 2019 08:15:17 -0400 Received: by mail-pl1-f196.google.com with SMTP id d3so11734157plr.1 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=WfELgFhAOk0fwSvfIACAvGc6VxQXByS7mhvUAj48e+ay91qmc3oDp/kp++h1HEdqpd w9jmYn8UfOW12ekF1ufPDJqEd2KXZ2sZUyqfrvO1or9XsjpX7wgYyK5GwG5gKQiaFrRp SwFo6jqZD5cZW5Gbyf750Do5PulvE1OJHi/cx6mLSeOFisAVKHyaNSJ2ifhhpmylPkDb TMfeKnp69IMfWKoEzroU/hJz5WLGwsV+wWgP9ufQQUylTwWSEAzD//AAcaDFmXq0qW1S NHHbV3TdZh2KXjUtDex9MnFXq+EgpKKJ/gL6MahsztPeWvwKcpk1p6LzhOTlQ0P3abvh 4t8A== X-Gm-Message-State: APjAAAUmfS04j59h52oomJSseqTOOMyuhBhUKMYactSqn3mcevgeC3+k yhIPlYOGLnRRvR6wrwpGdVy5Nw== 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: 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/msm8916.dtsi | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) -- 2.17.1 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>; };