Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5029443yba; Mon, 13 May 2019 04:16:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2XdT5heWjVfWJctuJg5jXiUy4upp5Nq8V+7Q8yXGNxvRs8YYwaIUzH1JceXMJmDv4FKrB X-Received: by 2002:a62:6d47:: with SMTP id i68mr32213750pfc.189.1557746169323; Mon, 13 May 2019 04:16:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557746169; cv=none; d=google.com; s=arc-20160816; b=CHO/2/Hv4YSyYz8pjurS/Q4A0bTeVLoWgXnibcHue5nAreyY0pk94dog/YD9utMbPN aPEcTLJUOULTMYvNfRJOx9OW85iMXg1Ej2UaPioKLp5pc0nRPIHtr/+/HkTi6ZDnFDvq 3UKTOTIt7uBe6P1deyBLnZ+EaLAW02M+yCTuXJ/80+4H8xAXWNRf5wqA1liiXQ++vQfe buHQTEuEbr+42sOtXAylyBzoVHRpA5z35XzH8IdeYoZ0/i+B3xz0p1l/AAeoHhaKTbHe +WTy7bYgSyOmtZgUOJN2VUeDZAe0jNPZ5d5wS5mcVt2RVVB82DWmMdDWhNkPc/sLc/qq JPKA== 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 :message-id:date:subject:cc:to:from:dmarc-filter:dkim-signature :dkim-signature; bh=0HQMCIdIiwvaXfF729FDvB7l/ZjfDPIAPGMNQauI5Mk=; b=Qti8B2p3ZUWIV0gb6pWAe6ygd0ejkoGW+fzBSpm4p8p6iMkPYwWsTH0GnXUTtyupT1 zg0ckNaEuLnwiJrTU3JuN3UYOIevRLb0wjRfiurM9iOZEos+GHvY0wnmiwPMfdnMEWBx pgBIjWpOdmAqGuhI2zww8FB1B8h2FmuFdFVwCUY4JqocV5j7gHJev0fAUZLfj7pDFTXb H5N2oGXgJoG9Wa4AHFzmr1JQcZIhf43/M7j2df958YGWsjWp41VAVUMtRjDsmUx+Bpod dJoz8tdQ5Gs0kiVjAne/JAjR6oJSSieoAvSHMDhRvztBrUHOcL2Cy/6KWat06hDIEwMN kOxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=Iuo+dLjI; dkim=pass header.i=@codeaurora.org header.s=default header.b=HAxsASr2; 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 s36si3198550pld.278.2019.05.13.04.15.53; Mon, 13 May 2019 04:16:09 -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=Iuo+dLjI; dkim=pass header.i=@codeaurora.org header.s=default header.b=HAxsASr2; 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 S1728800AbfEMKUf (ORCPT + 99 others); Mon, 13 May 2019 06:20:35 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:55606 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727690AbfEMKUf (ORCPT ); Mon, 13 May 2019 06:20:35 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 58D0260A05; Mon, 13 May 2019 10:20:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1557742834; bh=xeung/fcJPz0PMtwZCGQUbZWLdgHpjUWzXB+uUPGwQA=; h=From:To:Cc:Subject:Date:From; b=Iuo+dLjIJHRxCqtLAjD3A8QovQyy2MJMGt/PbRD/wBOeKvn09kLS+bioQetlGMLCj eSSOa9WHteVe3mWzBVgqGK0hlo/YmUccF+aKpJKQKfuQSX5AtJgQcYTD9f/xEFPOdZ RYCXoVUELilHEPT3H0HCMA+zcCdhGk1ttGWDRLdA= 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 B41AC6029B; Mon, 13 May 2019 10:20:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1557742833; bh=xeung/fcJPz0PMtwZCGQUbZWLdgHpjUWzXB+uUPGwQA=; h=From:To:Cc:Subject:Date:From; b=HAxsASr2LGl/8iIH/2g5WXiW6WGR4EiLyOBivMAeuG1Ryoj+l2khdCktOuSdejEAl mMnSaVL2aS8CaSEv9iw4OMwEAzvKPN0QoUN0scitVP90NvV4mCHz+M53wPhujkdIX+ tEUShI0DPiBT7AdZwhelQnzpKyEOSdNA0zmmd51Q= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B41AC6029B 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 0/9] RPMPD for QCS404 and MSM8998 Date: Mon, 13 May 2019 15:50:06 +0530 Message-Id: <20190513102015.26551-1-sibis@codeaurora.org> X-Mailer: git-send-email 2.21.0 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 Re-worked the macros of the rpmpd driver. Add power domains support for QCS404 and MSM8998. V4: * fixup fixes tag and commit message in patch 1 [Marc] * fixup typos in qcs404 and msm8998 dt nodes * fixup comments regarding resource type in patch 8 [Marc] V3: * always send level updates to vfc and vfl in set_performance state * fixup commit messages [Rajendra] * fixup s-o-b ordering V2: * Add rpmpd support for msm8998 * fixup corner/vfc with vlfl/vfl Bjorn Andersson (4): soc: qcom: rpmpd: Modify corner defining macros dt-bindings: power: Add rpm power domain bindings for qcs404 soc: qcom: rpmpd: Add QCS404 power-domains arm64: dts: qcom: qcs404: Add rpmpd node Sibi Sankar (5): soc: qcom: rpmpd: fixup rpmpd set performance state soc: qcom: rpmpd: Add support to set rpmpd state to max dt-bindings: power: Add rpm power domain bindings for msm8998 soc: qcom: rpmpd: Add MSM8998 power-domains arm64: dts: qcom: msm8998: Add rpmpd node .../devicetree/bindings/power/qcom,rpmpd.txt | 2 + arch/arm64/boot/dts/qcom/msm8998.dtsi | 51 +++++++ arch/arm64/boot/dts/qcom/qcs404.dtsi | 55 +++++++ drivers/soc/qcom/rpmpd.c | 134 ++++++++++++++---- include/dt-bindings/power/qcom-rpmpd.h | 34 +++++ 5 files changed, 252 insertions(+), 24 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project