Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3282164imm; Fri, 25 May 2018 03:02:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZo57O53KjjyQN5ZwY4/0GSIzlO2SDgpN0pvI4w6r35se1U8HG40PDfoafF512lw6MtpHigh X-Received: by 2002:a17:902:a4:: with SMTP id a33-v6mr1895859pla.346.1527242548869; Fri, 25 May 2018 03:02:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527242548; cv=none; d=google.com; s=arc-20160816; b=YAAdLRWSGm+IYnc30FollBn/Eirh0kSLphMoPFK7WWKEKk/lqPuBQxpYm04sSa3pXm SNzmcDuAB/Zd+cvn413I+CjNOhPVeKc51+DYTNHS5+Q4AHmrHKK8PB7NYz4ihnic9f+N gUQhfONju7oSRRZy2sdRHaZgoBFyYr1xJNk97x5Plil3+1KMjHvC46UCKTe8C+ZA2lAZ U0WDPVHLQWx8DAVqtBPWoeygxNGgKUdkDBVhHe0ePg87KxJEmZ1OTUpQLALmnuq/iej+ l4xWNHhz2aC4jNNftWmMvyst3JsS3i6gcStLxSytKcYkNTgc50M/gIfgIuIEzFUS7eMk SUMw== 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=LSwAUBulJJtTGTsFAdrzbmtXfxZ1w/bL+D5y8M/7Oy8=; b=EUwHvzpNzr7lU0zQi5PZOUfu1frhv9jZuiyXzaOmdnIpYvpx/WiD2yKCGcqGMjL7Cc 6P2eBkqQybtEg9Z1BKlOv3ViW0xi1rM+dtzemzP8d6ibBMpBYCV57ciwhWmsUtdlwxWV VT1kWXR+rXYJbKmB1gY56E6A9ILIa1YiKA7JUBhKwOJqmuVEu1UPKwLCP0IDoI4Ak5+4 kkmOSEH2uYvanzBZx04HppybAzoxqmVwAFfFNLTF9Bg9gIIr3YBfB33I0moGZ/CJ9apg +tPsEfQcXn8zAX2DLrYRO2KVnD9f7ORNyfz8VnPEJqzV7KAqP9l9UCBVAuFWmsr8q14k 524g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Jl5zidAN; dkim=pass header.i=@codeaurora.org header.s=default header.b=dOR0S5wR; 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 ay12-v6si23356277plb.139.2018.05.25.03.02.13; Fri, 25 May 2018 03:02:28 -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=Jl5zidAN; dkim=pass header.i=@codeaurora.org header.s=default header.b=dOR0S5wR; 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 S965858AbeEYKBx (ORCPT + 99 others); Fri, 25 May 2018 06:01:53 -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= 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 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-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 | 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"; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation