mbox series

[v2,0/4] Add cpufreq and cci devfreq for mt8183

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

Message

andrew-sh.cheng March 29, 2019, 6:46 a.m. UTC
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.

1. coding style refine
2. Move regulator_register_notifier() into mtk_cci_governor_event_handler()
3. Add dev_pm_opp_find_max_freq_by_volt() API for opp framework.


Andrew-sh.Cheng (4):
  cpufreq: mediatek: add mt8183 cpufreq support
  opp: add API which get max freq by voltage
  dt-bindings: devfreq: add compatible for mt8183 cci devfreq
  devfreq: add mediatek cci devfreq

 .../bindings/devfreq/mt8183-cci-devfreq.txt        |  19 ++
 drivers/cpufreq/cpufreq-dt-platdev.c               |   1 +
 drivers/cpufreq/mediatek-cpufreq.c                 |  12 +-
 drivers/devfreq/Kconfig                            |  10 +
 drivers/devfreq/Makefile                           |   1 +
 drivers/devfreq/mt8183-cci-devfreq.c               | 235 +++++++++++++++++++++
 drivers/opp/core.c                                 |  55 +++++
 include/linux/pm_opp.h                             |   8 +
 8 files changed, 339 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/devfreq/mt8183-cci-devfreq.txt
 create mode 100644 drivers/devfreq/mt8183-cci-devfreq.c