From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew-sh.Cheng Subject: [v4, 0/8] Add cpufreq and cci devfreq for mt8183, and SVS support Date: Tue, 13 Aug 2019 21:31:45 +0800 Message-ID: <1565703113-31479-1-git-send-email-andrew-sh.cheng@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Rob Herring , Mark Rutland , Matthias Brugger , "Rafael J. Wysocki" , Viresh Kumar , Nishanth Menon , Stephen Boyd Cc: devicetree@vger.kernel.org, "Andrew-sh.Cheng" , srv_heupstream@mediatek.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, fan.chen@mediatek.com, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org From: "Andrew-sh.Cheng" MT8183 supports CPU DVFS and CCI DVFS, and LITTLE cpus and CCI are in the same voltage domain. So, this series is to add drivers to handle the voltage coupling between CPU and CCI DVFS. For SVS support, add OPP_EVENT_ADJUST_VOLTAGE and corresponding reaction. Change since v3: - modify example of dt-binding - change rcu implementation in Support adjusting OPP patch - Add mutex init in cpufreq driver Andrew-sh.Cheng (7): cpufreq: mediatek: change to regulator_get_optional cpufreq: mediatek: add clock enable for intermediate clock cpufreq: mediatek: Add support for mt8183 dt-bindings: devfreq: add compatible for mt8183 cci devfreq devfreq: add mediatek cci devfreq cpufreq: mediatek: add opp notification for SVS support devfreq: mediatek: cci devfreq register opp notification for SVS support Stephen Boyd (1): PM / OPP: Support adjusting OPP voltages at runtime .../bindings/devfreq/mt8183-cci-devfreq.txt | 20 ++ drivers/cpufreq/cpufreq-dt-platdev.c | 1 + drivers/cpufreq/mediatek-cpufreq.c | 94 ++++++- drivers/devfreq/Kconfig | 10 + drivers/devfreq/Makefile | 1 + drivers/devfreq/mt8183-cci-devfreq.c | 309 +++++++++++++++++++++ drivers/opp/core.c | 63 +++++ include/linux/pm_opp.h | 11 + 8 files changed, 507 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/devfreq/mt8183-cci-devfreq.txt create mode 100644 drivers/devfreq/mt8183-cci-devfreq.c -- 2.12.5