From patchwork Fri Mar 16 04:08:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rajendra Nayak X-Patchwork-Id: 10286365 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 34F9A601BE for ; Fri, 16 Mar 2018 04:10:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D31728D24 for ; Fri, 16 Mar 2018 04:10:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F23228D35; Fri, 16 Mar 2018 04:10:00 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, 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 B5DA428D24 for ; Fri, 16 Mar 2018 04:09:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752292AbeCPEJo (ORCPT ); Fri, 16 Mar 2018 00:09:44 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:49224 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751609AbeCPEI6 (ORCPT ); Fri, 16 Mar 2018 00:08:58 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5FB4B60C5F; Fri, 16 Mar 2018 04:08:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521173337; bh=LY+1QaygyS2AATYXSH8nHv5prgikjwpqHkky/nWUvYc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=o01A09Ku0ggCHvgOBkALPXAvm+Q/RtUQVaWRJKlFvnsR7gkhYqpZmkQBGRlb3FgH7 C1l0BfLqvuZaRNcZpiylV9/2eJwJ8BNptB0UtWe+g3a3czVLTSABH7cop3qxGxfhoH GzaHDLomU+k1BKK58AZLuc7Urtbhd7ebdcfrcJUQ= Received: from blr-ubuntu-173.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: rnayak@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id AE7C560452; Fri, 16 Mar 2018 04:08:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521173336; bh=LY+1QaygyS2AATYXSH8nHv5prgikjwpqHkky/nWUvYc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XIs8IDoxypkp+Si1EaUZd/tacu1paF8LpocYQ+HsUI+SYc59zeMcqx2xTvYvmj+SH 7hs9iZ30wzcBsTFSeBBmzqld4sJ0RW2QOlJ4w7FuRlW0IoM6t9ZcqawJqid99tYc4A tGcUkf7uORalSn+bCD8aZ99YubUsqQKYmv/ZNNoY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AE7C560452 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, Rajendra Nayak Subject: [PATCH 5/7] arm64: dts: msm8996: Add rpmpd device node Date: Fri, 16 Mar 2018 09:38:22 +0530 Message-Id: <20180316040824.21472-6-rnayak@codeaurora.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180316040824.21472-1-rnayak@codeaurora.org> References: <20180316040824.21472-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 Acked-by: Viresh Kumar --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 46 +++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 0a6f7952bbb1..43757a078146 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -297,6 +297,52 @@ #clock-cells = <1>; }; + rpmpd: qcom,rpmpd { + compatible = "qcom,rpmpd-msm8996"; + #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", "operating-points-v2-qcom"; + + rpmpd_opp1: opp@1 { + opp-hz = /bits/ 64 <1>; + qcom,level = <1>; + }; + + rpmpd_opp2: opp@2 { + opp-hz = /bits/ 64 <2>; + qcom,level = <2>; + }; + + rpmpd_opp3: opp@3 { + opp-hz = /bits/ 64 <3>; + qcom,level = <3>; + }; + + rpmpd_opp4: opp@4 { + opp-hz = /bits/ 64 <4>; + qcom,level = <4>; + }; + + rpmpd_opp5: opp@5 { + opp-hz = /bits/ 64 <5>; + qcom,level = <5>; + }; + + rpmpd_opp6: opp@6 { + opp-hz = /bits/ 64 <6>; + qcom,level = <6>; + }; + }; + pm8994-regulators { compatible = "qcom,rpm-pm8994-regulators";