Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4876460imm; Mon, 11 Jun 2018 21:44:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIEBGYGL8rhBD5oUJkIz0AZ2iVHRkIKcTTrUURw5EE3hPwktaw8ZeTmgQlWSeexH2TpMSeu X-Received: by 2002:a17:902:d716:: with SMTP id w22-v6mr2278789ply.98.1528778684043; Mon, 11 Jun 2018 21:44:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528778684; cv=none; d=google.com; s=arc-20160816; b=nL9ebXtUIngZsnUol6lMs69kia1eLZsWq0z1P2K7hbOInKnZu9aNLGnMJLR9U9DF56 R6oUD6MvtUS3e4Hvji1Bhc74pktjoE+oN/0cTwboFCVFazhVk6jtphS3wgOB9+DgUudU LyA0kWAd6XUBIxrYLFEw8jVErccNNKNAkHT5E/ToEIg0nxlSKYL9p2aKNEKtCx2NvsEx GheCy0BveUp3UYxsQWCVpTr1yNDK4EX0B0CpZR8WBWpS1V5TgK+zoU2fqN0pmc5iD/Yp RAk8eLEJwInplrbE6zQOe1B3Mv+oqF0hm2SGgZhxKdTZE59QEjsJVTf0NMGdKslILanS rZGA== 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:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=0CenIIDPhUKHodZQ2AmLmiXwgIA3pmvM69X77u53T0Y=; b=zPTXgSweLSQS/zQv/fSPUhAuytYLCna4jsV3qKcUIUzNOsWeLVROXB31VoGxYrcX4P nZKheEXOAmEqmE6/O6PMBy8zW2cIRQqKugMjSiqGrYb5N60UevnQfAGAvbKNsWhEjQWG rKVmSG6Vwbg35++sS8U9tGCBGZocwg7nBtoF/VlUy25ig0/6EfWoS4pQ0RhUP3BTOYZY nXqRPWMkxzTZ98TelJBrUYCAtA8awhvjp6omOr4CK9HkNRXNCPCh5lC5gyOYoxb5+dLg Z3/JnlUvquXpi3Ix2Agr/S3UuUydK3vZdPfFoAR2ATxPDRVYfyNabfBcncirk1HNNoBV IADA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=mcrb7dJG; dkim=pass header.i=@codeaurora.org header.s=default header.b=GX8j2PFT; 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 89-v6si67021904plc.59.2018.06.11.21.44.30; Mon, 11 Jun 2018 21:44:44 -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=mcrb7dJG; dkim=pass header.i=@codeaurora.org header.s=default header.b=GX8j2PFT; 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 S933166AbeFLEm3 (ORCPT + 99 others); Tue, 12 Jun 2018 00:42:29 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:35646 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932711AbeFLElT (ORCPT ); Tue, 12 Jun 2018 00:41:19 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2D1B6606DB; Tue, 12 Jun 2018 04:41:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528778479; bh=q7zi9y0W19hjB9TsL4sEV8qAKA0xd1m7ROX9+9vCSVw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mcrb7dJGR+B70xIambloob78CNAYbISLMfPgE1rfFegpa27TCJnxPdgUJTQG0WXIj C15AH+NI93HwbZZdYtBDQ5sJsLaoNc75WsqFSq6qnHT73pSIq2eTyzmif5yURXSuxA Lm41ncpXNLFVXTZOuMtgdti6EJ9AQGT0NgSzYApk= 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.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-173.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: rnayak@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 95334607E4; Tue, 12 Jun 2018 04:41:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528778478; bh=q7zi9y0W19hjB9TsL4sEV8qAKA0xd1m7ROX9+9vCSVw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GX8j2PFTjKK15j7ENMwZcmx4Vbr9+azNTQvFVaCDagBBIiIz1JhMT/grMleFLN1Qk On9vMsn1z+7KRYi5rR7O0oOoacSHu2cNUKf+z8XLyteiPB8Ih2tO1KLm6BBxbF6RtJ riuBlM2Vqxy3faUcIP+3KlZaSza9dnMoTvAn/5i0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 95334607E4 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=rnayak@codeaurora.org From: Rajendra Nayak To: viresh.kumar@linaro.org, sboyd@kernel.org, andy.gross@linaro.org, ulf.hansson@linaro.org, collinsd@codeaurora.org Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rajendra Nayak Subject: [PATCH v3 4/7] arm64: dts: msm8996: Add rpmpd device node Date: Tue, 12 Jun 2018 10:10:49 +0530 Message-Id: <20180612044052.4402-5-rnayak@codeaurora.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180612044052.4402-1-rnayak@codeaurora.org> References: <20180612044052.4402-1-rnayak@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add rpmpd device node and its OPP table Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 34 +++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 8c7f9ca25b53..404a08630ccd 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -308,6 +308,40 @@ #clock-cells = <1>; }; + rpmpd: power-controller { + compatible = "qcom,msm8996-rpmpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmpd_opp_table>; + }; + + rpmpd_opp_table: opp-table { + compatible = "operating-points-v2-qcom-level"; + + rpmpd_opp1: opp1 { + qcom,level = <1>; + }; + + rpmpd_opp2: opp2 { + qcom,level = <2>; + }; + + rpmpd_opp3: opp3 { + qcom,level = <3>; + }; + + rpmpd_opp4: opp4 { + qcom,level = <4>; + }; + + rpmpd_opp5: opp5 { + qcom,level = <5>; + }; + + rpmpd_opp6: opp6 { + qcom,level = <6>; + }; + }; + pm8994-regulators { compatible = "qcom,rpm-pm8994-regulators"; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation