mbox series

[v4,0/8] Add cpufreq and cci devfreq for mt8183, and SVS support

Message ID 1565703113-31479-1-git-send-email-andrew-sh.cheng@mediatek.com (mailing list archive)
Headers show
Series Add cpufreq and cci devfreq for mt8183, and SVS support | expand

Message

andrew-sh.cheng Aug. 13, 2019, 1:31 p.m. UTC
From: "Andrew-sh.Cheng" <andrew-sh.cheng@mediatek.com>

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