From patchwork Fri Feb 12 11:55:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 381802 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp2868165jah; Fri, 12 Feb 2021 03:57:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnYwlEh1TIwTgKt12vvWuUeX+sA3iS6pcJ9Om9o5hUOQFYWae+OGIT+hHBYMzRZpgs0CVm X-Received: by 2002:a17:907:9483:: with SMTP id dm3mr2647610ejc.120.1613131029182; Fri, 12 Feb 2021 03:57:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613131029; cv=none; d=google.com; s=arc-20160816; b=KPLx19Bad38gohbLWxjmK+BBqWdkgKk2rruyImx16wcrxggcYDCsdrUoov/psdfDuH m/BzLBCUlP2d7CY97ijHtq+lC9c5wVpN/nQXtBjVlIW0zlYj3X+gyheRpK0uXHy+5m5F YUBXp9J9i2iqL7yrAb+G11EkTkQwRPHvXi9A6hM11luzK7liS5Hxo2Dh2UYpTLCAETsK S8+zpy320xQ00WpR6ExDSpI9RrcFRruGXnTdKRrw3JBvDrCBrx3/yK8yuU0WUH9wyt1x NLBGnqWztZsjBywFwYC4WxC9Jj/dSyv+/L5FYswmVChnWh20W24WvfGxuKUp9pW3Slxs byxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=h8qMwn98G/5v8I2f1VW6vf8icgN8R+ZF6/sA6W+v7PE=; b=mfrvDjkXSabGkBzbPWBxh+OSJVUFsuXeoe6TXy2AzG/KmELkteI/JTUCeYQ8fMz0E3 JV+rfD9UTtNjhos6wwJt5MVtIuf2qo91Ghomr2nkwRz/W1OG58xvQes6JXuBvUXttL8d uSaDNVnkClrS6ygjk18DQxndTcr5TS0iMG0AwA3sE8EO5k0nogA6JbcC+Bcf3x4p+/i0 Tg7xAiqfezqLB7ZQFNh3RamEmU8FDTu8kMc6S00nVpTbP4WmTps4NK4YcdB6N9HIh8iA T88FtasRTHUXB6OOgYpUb7v52si/pjM0DF8QU/oYXV7TV+jNOG0HT02R8mJwUj8X1PUZ IvVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YSjvTPsK; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c4si6017130edy.405.2021.02.12.03.57.08; Fri, 12 Feb 2021 03:57:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YSjvTPsK; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230360AbhBLL47 (ORCPT + 16 others); Fri, 12 Feb 2021 06:56:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:47798 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230515AbhBLL4b (ORCPT ); Fri, 12 Feb 2021 06:56:31 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id F051864E89; Fri, 12 Feb 2021 11:55:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613130945; bh=+ksclk1VuPRdokZ1JA/IoRHQrZPGa+MYaPpavLQzyR0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YSjvTPsKwrvqD/5Txof71gk3+AjkpfGrmAKWy4bk4ZPbG9Vp4eh3A7BvDbIAo/tAB CIpsoLGaf9bpUbf9+Wk+dk8ns3zLv6L0D9bNL+RCbi5Dc+aMgq3SslRvsGsk9JZfu6 3T+vnkPbC7a7yehId+eCPryI5lJ/j4nDSa12U4x8DIoTzGy6qN5vaC7u85UeSo5/ET w4syXS3BjycRoHbTltTYLMYQDl1szrNW9pAOCyz40bQWum7L5wjQPLt72V5IVrJS5j gfUPU2bv1obJmGS2zdxSaeH3weQtNYCWspOFUk2RWmZKyT+hlC/nonm1ntfD4/ugf4 Kh0OZgwGtCLGg== From: Vinod Koul To: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org, Vinod Koul , Andy Gross , linux-kernel@vger.kernel.org Subject: [PATCH 2/7] arm64: dts: qcom: sm8350: Add rpmhpd node Date: Fri, 12 Feb 2021 17:25:27 +0530 Message-Id: <20210212115532.1339942-3-vkoul@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20210212115532.1339942-1-vkoul@kernel.org> References: <20210212115532.1339942-1-vkoul@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org This adds RPMH power domain found in SM8350 SoC Signed-off-by: Vinod Koul --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 49 ++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) -- 2.26.2 diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index b53744618102..0bf5cec3a2aa 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -591,6 +591,55 @@ rpmhcc: clock-controller { clocks = <&xo_board>; }; + rpmhpd: power-controller { + compatible = "qcom,sm8350-rpmhpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmhpd_opp_table>; + + rpmhpd_opp_table: opp-table { + compatible = "operating-points-v2"; + + rpmhpd_opp_ret: opp1 { + opp-level = ; + }; + + rpmhpd_opp_min_svs: opp2 { + opp-level = ; + }; + + rpmhpd_opp_low_svs: opp3 { + opp-level = ; + }; + + rpmhpd_opp_svs: opp4 { + opp-level = ; + }; + + rpmhpd_opp_svs_l1: opp5 { + opp-level = ; + }; + + rpmhpd_opp_nom: opp6 { + opp-level = ; + }; + + rpmhpd_opp_nom_l1: opp7 { + opp-level = ; + }; + + rpmhpd_opp_nom_l2: opp8 { + opp-level = ; + }; + + rpmhpd_opp_turbo: opp9 { + opp-level = ; + }; + + rpmhpd_opp_turbo_l1: opp10 { + opp-level = ; + }; + }; + }; }; ufs_mem_hc: ufshc@1d84000 {