From patchwork Fri May 25 10:01:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 10426895 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 59A52601D5 for ; Fri, 25 May 2018 10:02:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5357F29616 for ; Fri, 25 May 2018 10:02:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4789629641; Fri, 25 May 2018 10:02:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C08B129616 for ; Fri, 25 May 2018 10:02:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965829AbeEYKBw (ORCPT ); Fri, 25 May 2018 06:01:52 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:46214 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965712AbeEYKBs (ORCPT ); Fri, 25 May 2018 06:01:48 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B681360392; Fri, 25 May 2018 10:01:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527242507; bh=sC39G5XjvtBgofAAGxp9e2x27Mjc0X9ejr2hL5YXSzY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jl5zidANs9+5DuQZQeNpXYdCfJ79DvVKDWHaq67LFZWO6iewFeHeEseTA8z701w7s Mu1d0xNEtBsDmzObfIl+Ui5rns4J+CGnS8hRZXK/NlL/a/VrBIFObAWM8jmg1zPoUB wvAss6HrL0K8ZWBJMv/fWlL5UB1vxupTqngpNruY= 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 CDC2460C65; Fri, 25 May 2018 10:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527242506; bh=sC39G5XjvtBgofAAGxp9e2x27Mjc0X9ejr2hL5YXSzY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dOR0S5wRkuSiNzNsWva+zHy6OCYc1mKJ+WG5/vHIl/mtyC86B8tDjQpYt+Zc+4iPH rsBDGZ0VCE8BKsCo38FQ6ycKv2oQVykh39E484IgSUtSsugj4Zgj3jdWl9njYDNcKK zwJBhU64hRcfwHgeUf9u/kr8+k9+bn1cX5F0W63w= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org CDC2460C65 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 Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, collinsd@codeaurora.org, Rajendra Nayak Subject: [PATCH v2 4/6] arm64: dts: msm8996: Add rpmpd device node Date: Fri, 25 May 2018 15:31:19 +0530 Message-Id: <20180525100121.28214-5-rnayak@codeaurora.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180525100121.28214-1-rnayak@codeaurora.org> References: <20180525100121.28214-1-rnayak@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 37b7152cb064..e1bc86b2a230 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -308,6 +308,46 @@ #clock-cells = <1>; }; + rpmpd: power-controller { + compatible = "qcom,msm8996-rpmpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmpd_opp_table>, /* cx */ + <&rpmpd_opp_table>, /* cx_ao */ + <&rpmpd_opp_table>, /* cx_vfc */ + <&rpmpd_opp_table>, /* mx */ + <&rpmpd_opp_table>, /* mx_ao */ + <&rpmpd_opp_table>, /* sscx */ + <&rpmpd_opp_table>; /* sscx_vfc */ + }; + + rpmpd_opp_table: opp-table { + compatible = "operating-points-v2-qcom-level", "operating-points-v2"; + + rpmpd_opp1: opp@1 { + qcom,level = <1>; + }; + + rpmpd_opp2: opp@2 { + qcom,level = <2>; + }; + + rpmpd_opp3: opp@3 { + qcom,level = <3>; + }; + + rpmpd_opp4: opp@4 { + qcom,level = <4>; + }; + + rpmpd_opp5: opp@5 { + qcom,level = <5>; + }; + + rpmpd_opp6: opp@6 { + qcom,level = <6>; + }; + }; + pm8994-regulators { compatible = "qcom,rpm-pm8994-regulators";