Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5030082yba; Mon, 13 May 2019 04:16:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqykuubJZJy7FuJkYSB+EQcb+EQbACmYn/9YAJoqzwkUNLdOXo398h0MOdeTTUzfbpTjxgP5 X-Received: by 2002:a17:902:8f88:: with SMTP id z8mr30354815plo.54.1557746206306; Mon, 13 May 2019 04:16:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557746206; cv=none; d=google.com; s=arc-20160816; b=SBf7tFy4OwwW6LEzBMJOiY0UzgfuqxRlyEuHxbMUiBmrNXPsBktvBx3l/7PLTv8QxI 4HHcydkr4RASirjlAzrwAQa3yyk3rLHBHqaU9BDMc6pl2+tKzF4X/4UN3nVBrZM6tjWE O1QkZoHrS8HUVcHYooGnQS+K7BBN10dryJxtek0a/Y8TdyyxkIp6L7KfO8ZqXYhpE/6A bcc89onYmugawtXRmLzAwJHwv/bvY82GXHqxMhiI2QSKccwnsdqIPPR379cX5TpX3L/5 aVPYbLHQNWTZazowdkj1bs2xV1PNRdv/9o3OMb10CD0jP5nmI9n6qEymOdDHhuMuDM7y P28A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=3WB8/ClAE3gbyhUX2I+cqTx6htSpg0pKX1BRl/HYOoU=; b=VvWXu8XTPRmc1Zx/LcYmf08aY/kC8XxHe6vHveW8FPn3yiWhis+9eB8zRg6csOXflV 7NIDbBnk7vebIOV7pV1m+jFkn1D9HRqA3cImzdjisbrNqxVHpAciH4r19+iZ77ddgYdK XoGFtPAXcGZcnZY7uw1POR/cYE3S8Dz96yyi/iydq0jfzP7bBeTwfWB+EvaE3Uz59PB4 aKzmsvZLoUsGMlWjozvcHgQ6WtpZN3HuamQaDdo6eL37GfhDkZ+ez7ImVV+oPg2vjI+d DXm2sJX+T1SbDxaKWouXef3obdG55S+C1KnGUxIbxdySiSR1ZeBxxeVxRW26tdpHJEHt U+Ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=bWnAias+; dkim=pass header.i=@codeaurora.org header.s=default header.b="PfTxizg/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v8si16345554plg.156.2019.05.13.04.16.30; Mon, 13 May 2019 04:16:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@codeaurora.org header.s=default header.b=bWnAias+; dkim=pass header.i=@codeaurora.org header.s=default header.b="PfTxizg/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729047AbfEMKVJ (ORCPT + 99 others); Mon, 13 May 2019 06:21:09 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57216 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727982AbfEMKVI (ORCPT ); Mon, 13 May 2019 06:21:08 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C529F6029B; Mon, 13 May 2019 10:21:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1557742867; bh=o27eDQs8Ek4ezMIN7MbMFSjgb8ArAV7kG2SwqCvtZdA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bWnAias+J9AckEoCMLevKws76NYrDXBBLj8I8PGjCUEQuoLrYsbqZlIVIgdwr7dE1 2XyLTTeLBuDhXtkrm8PrvpKUzszgbLUSqv7BDGrZt/+gxYcaN+kx1PvN+1IN6FszaM GBXWLXAGDcSmJfyJUY93kEk5jdytBx4RCBglyN9M= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-87.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5966C609F3; Mon, 13 May 2019 10:21:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1557742865; bh=o27eDQs8Ek4ezMIN7MbMFSjgb8ArAV7kG2SwqCvtZdA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PfTxizg/kMBTrp0EV71oXX3pM20MBjQ3xDij46m8IqP93Dh8tGVh0kqdTdLyL8XX3 0ykzSWXuCEXU9uqEQtHcf3axo54NLz06R2s7TFfBW4xZb/P1cPu2id6jV7mUKrzq3Q A+s62N4FmJbKMt5Bb4wskVuSMVIeA9aulAcmohdI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5966C609F3 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, agross@kernel.org Cc: david.brown@linaro.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, rnayak@codeaurora.org, marc.w.gonzalez@free.fr, Sibi Sankar Subject: [PATCH v4 9/9] arm64: dts: qcom: msm8998: Add rpmpd node Date: Mon, 13 May 2019 15:50:15 +0530 Message-Id: <20190513102015.26551-10-sibis@codeaurora.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190513102015.26551-1-sibis@codeaurora.org> References: <20190513102015.26551-1-sibis@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the rpmpd node on the msm8998 and define the available levels. Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 51 +++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 574be78a936e..aa501221ca4d 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -4,6 +4,7 @@ #include #include #include +#include #include / { @@ -264,6 +265,56 @@ compatible = "qcom,rpmcc-msm8998", "qcom,rpmcc"; #clock-cells = <1>; }; + + rpmpd: power-controller { + compatible = "qcom,msm8998-rpmpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmpd_opp_table>; + + rpmpd_opp_table: opp-table { + compatible = "operating-points-v2"; + + rpmpd_opp_ret: opp1 { + opp-level = ; + }; + + rpmpd_opp_ret_plus: opp2 { + opp-level = ; + }; + + rpmpd_opp_min_svs: opp3 { + opp-level = ; + }; + + rpmpd_opp_low_svs: opp4 { + opp-level = ; + }; + + rpmpd_opp_svs: opp5 { + opp-level = ; + }; + + rpmpd_opp_svs_plus: opp6 { + opp-level = ; + }; + + rpmpd_opp_nom: opp7 { + opp-level = ; + }; + + rpmpd_opp_nom_plus: opp8 { + opp-level = ; + }; + + rpmpd_opp_turbo: opp9 { + opp-level = ; + }; + + rpmpd_opp_turbo_plus: opp10 { + opp-level = ; + }; + }; + }; }; }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project