From patchwork Wed Jun 27 04:52:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 10490555 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 BE0AF60386 for ; Wed, 27 Jun 2018 04:53:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE8BA28A62 for ; Wed, 27 Jun 2018 04:53:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A261228A73; Wed, 27 Jun 2018 04:53:56 +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 49F9828A62 for ; Wed, 27 Jun 2018 04:53:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932837AbeF0ExW (ORCPT ); Wed, 27 Jun 2018 00:53:22 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:57914 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932829AbeF0ExT (ORCPT ); Wed, 27 Jun 2018 00:53:19 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5DE73608C8; Wed, 27 Jun 2018 04:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530075199; bh=fjLrrUiMAJKwEa/s3RKT9toZJzOvEFOUJ9StJB/xuwQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FgeWw2nbp7u5d/+TYMY5PQ+fE69b9/uVe3WrOd/DLUwEkhD3Cb+WXyU6XXI1KOI4X ofRu0Y0P1fUZ6slMaaNvWTwZzy/+Jb1BP7qgYnfy293R7s93yi6diYcC+0CGQVTabT Q2RpqXcLSzqF2jTKO9T5yu6ddW5vH2tJroGU86G8= 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 EB93660791; Wed, 27 Jun 2018 04:53:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1530075198; bh=fjLrrUiMAJKwEa/s3RKT9toZJzOvEFOUJ9StJB/xuwQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=igLxrqsta2mtTaO0mpjZql/eBLP2TdekWhuQFk/+y67GBVKPF0Sl1siI0IGBkI3Di NBDoOfUQqwerYy82RsHiS2xXzAzXnrf84jKNn2Wib+lnAm6bAXWyOsZECb1Gvjwc8y ePTMOi+cwe/f8jMaFiCA4BkyobY+5N8q6WWfKGzQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EB93660791 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, mka@chromium.org Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Rajendra Nayak Subject: [PATCH v4 5/6] arm64: dts: msm8996: Add rpmpd device node Date: Wed, 27 Jun 2018 10:22:33 +0530 Message-Id: <20180627045234.27403-6-rnayak@codeaurora.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180627045234.27403-1-rnayak@codeaurora.org> References: <20180627045234.27403-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 Reviewed-by: Ulf Hansson --- 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";