From patchwork Tue Sep 10 17:14:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thara Gopinath X-Patchwork-Id: 11139939 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6A4C6924 for ; Tue, 10 Sep 2019 17:14:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 48DB42168B for ; Tue, 10 Sep 2019 17:14:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="m/FgOeOk" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437021AbfIJROv (ORCPT ); Tue, 10 Sep 2019 13:14:51 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:34163 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437034AbfIJROp (ORCPT ); Tue, 10 Sep 2019 13:14:45 -0400 Received: by mail-qk1-f193.google.com with SMTP id q203so17833220qke.1 for ; Tue, 10 Sep 2019 10:14:45 -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; bh=AU+QsjQ4gYWceRGENzlR0Louo13bejD+8gOVOvF6PUY=; b=m/FgOeOkaOKNggzNTPEtFXREeobHykEFFFvTpQDO0RpQvNSHhp2AtqgVHN+UjyG80W WWG3b1uQfUUzTJ0Qo0bdgjfsRy05PbvlFclgN1DETTKoJ7t0Wb5bOc7w1Fpe/jxitCOY p49Ll9S6JRw2bxMrZ9pnvQuhK8+28N+ndBI64dUvqY0TO34orTLL+Rh9f+jACW4cQ2pN SZrMhm6B3WoK9PQjDXnZ9/yDV3xkCZb83uJsXllPYdERjtYsYUDvl3Oh1VG8p8TtRgbv Jire4fF4GaSvB0FgRhk+IkaXFKDd82DB8Q9WOysgl/zMV8MGI+jeCrGm5beLdXCgtnl/ t4rw== 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; bh=AU+QsjQ4gYWceRGENzlR0Louo13bejD+8gOVOvF6PUY=; b=WbgEkK9gqUtwTojbkSRqZplFU3ZCrXehaiPqQ/BK36/Ld1r4dxMP7i6AMgw1ph9TsY 5K+r8bGy4rW12Bcmm8JJ4P1hvMV4zf+8EKdKzeCloL0i8XoTpNVQCB06Q/DLH0MTstgU 4bs9YQKRtBTK9tfE4SEPBMPugTQbQcXrEGGzWNLWnaAuVrWTRRslEmGq2MMlzhV1TrbM ceBi67OX4FJWFKB61+5b0FTzB/cjJXXyO5xsWeUEu61geYdWPl9bDh16B5wZHTo9NVjy 7d5mtUhXtADD9PLmAbDhkINbUSdpx6bmOFE7Oeo9skS5DDzpGkxuJwWhe98FtRQ62xVx fwYA== X-Gm-Message-State: APjAAAUtHGvJjyZ46nISwJXinxxOGy0oPqCXjEE7GH4DqQ3JHIgO/qzI No2IomR9ZaKRfZZffmCBt/5HDA== X-Google-Smtp-Source: APXvYqw+xpOzKxIVVLJuA0LAVrvCMbzacPqVJ0yzoUiedeQ7QczZNA+XJZNiz9ALbYhsjyobVyeQXw== X-Received: by 2002:a37:660c:: with SMTP id a12mr30467195qkc.70.1568135684689; Tue, 10 Sep 2019 10:14:44 -0700 (PDT) Received: from Thara-Work-Ubuntu.fios-router.home (pool-71-255-246-27.washdc.fios.verizon.net. [71.255.246.27]) by smtp.googlemail.com with ESMTPSA id g45sm3400713qtc.9.2019.09.10.10.14.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Sep 2019 10:14:44 -0700 (PDT) From: Thara Gopinath To: edubezval@gmail.com, rui.zhang@intel.com, ulf.hansson@linaro.org, daniel.lezcano@linaro.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, agross@kernel.org Cc: amit.kucheria@verdurent.com, mark.rutland@arm.com, rjw@rjwysocki.net, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/5] arm64: dts: qcom: Add node for RPMH power domain warming device on sdm845. Date: Tue, 10 Sep 2019 13:14:36 -0400 Message-Id: <1568135676-9328-6-git-send-email-thara.gopinath@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1568135676-9328-1-git-send-email-thara.gopinath@linaro.org> References: <1568135676-9328-1-git-send-email-thara.gopinath@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org RPMh hosts power domains that can be used to warm up the SoC. Add nodes for these domains on sdm845 (mx power domain). Signed-off-by: Thara Gopinath --- v1->v2: - Change the dt-entries to reflect the newly introduced generic power domain warming device. arch/arm64/boot/dts/qcom/sdm845.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index f406a43..0a83263 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3284,6 +3284,13 @@ }; }; + thermal_wdev: rpmhpd_mx_wdev { + compatible = "thermal-power-domain-wdev"; + #cooling-cells = <2>; + power-domains = <&rpmhpd SDM845_MX>; + power-domain-names = "mx"; + }; + thermal-zones { cpu0-thermal { polling-delay-passive = <250>;