From patchwork Thu Jun 27 13:34:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 11019721 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 49698112C for ; Thu, 27 Jun 2019 13:34:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BCFD28B5D for ; Thu, 27 Jun 2019 13:34:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E55428B55; Thu, 27 Jun 2019 13:34:41 +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.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 8A86528B54 for ; Thu, 27 Jun 2019 13:34:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726431AbfF0Nei (ORCPT ); Thu, 27 Jun 2019 09:34:38 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:37094 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726370AbfF0Nei (ORCPT ); Thu, 27 Jun 2019 09:34:38 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C2A5C602F0; Thu, 27 Jun 2019 13:34:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561642477; bh=MB9usvJmprZl2GlAzFSrJpDBXV4POKIqkpQjv7Ok8FA=; h=From:To:Cc:Subject:Date:From; b=ClvcOZ8XOS1re5S8K95vq+I1THOJcUTFfWfCycf7BFfRn/sSXmyvedjxX5oKU65om 2MIGnY+mD6zQBSMmNA/5qZDgRw8R2CN7mbqSxz+56ahs+0BHwYs5yDbbG0m3ChEokw YL3iqJ70yKSOA1hgsncMNbANbVHrjbXk4YFlbmnM= 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 33DA9602F0; Thu, 27 Jun 2019 13:34:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561642477; bh=MB9usvJmprZl2GlAzFSrJpDBXV4POKIqkpQjv7Ok8FA=; h=From:To:Cc:Subject:Date:From; b=ClvcOZ8XOS1re5S8K95vq+I1THOJcUTFfWfCycf7BFfRn/sSXmyvedjxX5oKU65om 2MIGnY+mD6zQBSMmNA/5qZDgRw8R2CN7mbqSxz+56ahs+0BHwYs5yDbbG0m3ChEokw YL3iqJ70yKSOA1hgsncMNbANbVHrjbXk4YFlbmnM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 33DA9602F0 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: viresh.kumar@linaro.org, nm@ti.com, sboyd@kernel.org, georgi.djakov@linaro.org Cc: agross@kernel.org, david.brown@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, rjw@rjwysocki.net, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, saravanak@google.com, Sibi Sankar Subject: [PATCH RFC 0/4] DDR/L3 Scaling support on SDM845 SoCs Date: Thu, 27 Jun 2019 19:04:20 +0530 Message-Id: <20190627133424.4980-1-sibis@codeaurora.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This RFC series aims to extend cpu based scaling support to L3/DDR on SDM845 SoCs. The patch series depends on "Introduce OPP bandwidth bindings" series (https://patchwork.kernel.org/cover/10912993/). A part of the series will still be applicable if we decide to go ahead with the proposal from Saravana as well so I decided to post this out. v2: * Incorporated Viresh's comments from: [1]https://lore.kernel.org/lkml/20190410102429.r6j6brm5kspmqxc3@vireshk-i7/ [2]https://lore.kernel.org/lkml/20190410112516.gnh77jcwawvld6et@vireshk-i7/ Sibi Sankar (4): OPP: Add and export helper to update voltage OPP: Add and export helper to set bandwidth cpufreq: qcom: Update the bandwidth levels on frequency change arm64: dts: qcom: sdm845: Add cpu OPP tables arch/arm64/boot/dts/qcom/sdm845.dtsi | 343 +++++++++++++++++++++++++++ drivers/cpufreq/qcom-cpufreq-hw.c | 77 +++++- drivers/opp/core.c | 98 ++++++++ include/linux/pm_opp.h | 16 ++ 4 files changed, 532 insertions(+), 2 deletions(-)