Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5029902yba; Mon, 13 May 2019 04:16:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5VBn1nL3IC6vh0hXX04ZDHwsxz++zEgI8cYQbmYkgMcM7AenRn5p2JAo3JLSO1ub42ZVs X-Received: by 2002:a63:1701:: with SMTP id x1mr30021995pgl.153.1557746195538; Mon, 13 May 2019 04:16:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557746195; cv=none; d=google.com; s=arc-20160816; b=0IB3+5Qe6mHEEe1t0HDI0DHiLlhAjqXaFPKsm1A9/3I4pJO9+g2DE4z24++1OTciOt Omq+MksLyR9RZniO87Nkaq/G64OO7zLM3b5G6BD5Thd2SHsHyklbzcBGypGKXwKJKx/k oXQNA0jU+/xA1ivtXa7CP+5Hrt5MnLe/QFU02QR+AOrFfsZUikimfmNwblcnyIHsu9le yRpoWvWhjB8keUXo4KTDeoTCNHEIU3+7P9qzzzyloM5b+prTdFWgK3qIeTYzY0e4ptH+ 9wXJvGdUdoj07jxOQGrwcuTMzCI7TTXsvxfKSAOPjIfGn5vXmpGJT3ECwo5yLhndc9xg tphw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dmarc-filter:dkim-signature:dkim-signature; bh=GzcOSgckoDCb0RDM9TVfZGU5Q/hBsySs0yI/Tp5x8GM=; b=HtrGcXQct00ovdNYvxso5LpzV6+mBxJ5o3SoaG2PriK1o0yox9JaypqSnjF4q7POvN tgcUR0bytaj7pQL1gbTUCBRk7JwCk/EIoh9paOa08Z+/xj1VmnspF2Vw1Vep+UhLVOT5 41NCqxVI0p3eE8dlfz4vq7sMU9dOpYAI2sXrlNXNSi4Yh738WVatEcgnQQ7B6MgBjd4I 2V3znriavXCLYHbeJaszT8MfXI+7EgrMQeapxxJ6TwJ85QVOIjnedudedNOEEXngv9h7 pQK5gJQKcs0Tgfejznf6oXlDucds/Q9MnfxrMnzdmQOZwj4eTi/lQb/EE5+a0WrqnAUA 4Bpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=XQjfCPD5; dkim=pass header.i=@codeaurora.org header.s=default header.b=Rp0gszvN; 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 g4si15558176plo.307.2019.05.13.04.16.19; Mon, 13 May 2019 04:16:35 -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=XQjfCPD5; dkim=pass header.i=@codeaurora.org header.s=default header.b=Rp0gszvN; 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 S1729006AbfEMKU6 (ORCPT + 99 others); Mon, 13 May 2019 06:20:58 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:56938 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728995AbfEMKU4 (ORCPT ); Mon, 13 May 2019 06:20:56 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id AEDF76115D; Mon, 13 May 2019 10:20:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1557742855; bh=UXI5aOJAovwTCn4b4Ku7WbQH/PEWiqh8TRq5o7PQsDU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XQjfCPD5YpoVHkSfRyKxS0pLgNGjxP3BZGIyN2Gm3TsMIWOr9ZQoMIQKdqLYWoXUf VOcgMSVbMRxpae6GDi1951BuTtrZV0/Rm+4jtsYgoieamhT5LQNBnNhEaXa6RfsvbG d3jbPYf+ldNXXg+uUN4EKsvLydTVUF29/DpUJzwk= 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.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-87.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: sibis@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A8B2E6115D; Mon, 13 May 2019 10:20:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1557742854; bh=UXI5aOJAovwTCn4b4Ku7WbQH/PEWiqh8TRq5o7PQsDU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rp0gszvNgmg+4CIBDXNkYoxwbOAvBbvpEN1Ylp3j68uDw8qMeyhcQiVKSM8oScgrB zVJcPjzPL8tRX37n9rA6VeVInWSFV7dnE41rnwSTOo1O78zZh+o91hKlk+Pz0macht vYbF+keG19Omz6XYYaKVaypMhwjt4yx1Q7Qd/Ts0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A8B2E6115D 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=sibis@codeaurora.org From: Sibi Sankar To: bjorn.andersson@linaro.org, robh+dt@kernel.org, agross@kernel.org Cc: david.brown@linaro.org, mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, rnayak@codeaurora.org, marc.w.gonzalez@free.fr, Sibi Sankar Subject: [PATCH v4 6/9] arm64: dts: qcom: qcs404: Add rpmpd node Date: Mon, 13 May 2019 15:50:12 +0530 Message-Id: <20190513102015.26551-7-sibis@codeaurora.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190513102015.26551-1-sibis@codeaurora.org> References: <20190513102015.26551-1-sibis@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Andersson Add the rpmpd node on the qcs404 and define the available levels. Signed-off-by: Bjorn Andersson [sibis: fixup available levels] Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 55 ++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index ffedf9640af7..d1484480c237 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -4,6 +4,7 @@ #include #include #include +#include / { interrupt-parent = <&intc>; @@ -230,6 +231,60 @@ compatible = "qcom,rpmcc-qcs404"; #clock-cells = <1>; }; + + rpmpd: power-controller { + compatible = "qcom,qcs404-rpmpd"; + #power-domain-cells = <1>; + operating-points-v2 = <&rpmpd_opp_table>; + + rpmpd_opp_table: opp-table { + compatible = "operating-points-v2"; + + rpmpd_opp_ret: opp1 { + opp-level = ; + }; + + rpmpd_opp_ret_plus: opp2 { + opp-level = ; + }; + + rpmpd_opp_min_svs: opp3 { + opp-level = ; + }; + + rpmpd_opp_low_svs: opp4 { + opp-level = ; + }; + + rpmpd_opp_svs: opp5 { + opp-level = ; + }; + + rpmpd_opp_svs_plus: opp6 { + opp-level = ; + }; + + rpmpd_opp_nom: opp7 { + opp-level = ; + }; + + rpmpd_opp_nom_plus: opp8 { + opp-level = ; + }; + + rpmpd_opp_turbo: opp9 { + opp-level = ; + }; + + rpmpd_opp_turbo_no_cpr: opp10 { + opp-level = ; + }; + + rpmpd_opp_turbo_plus: opp11 { + opp-level = ; + }; + }; + }; }; }; -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project