[GIT PULL] More power management updates for v5.15-rc1

From: Rafael J. Wysocki
Date: Wed Sep 08 2021 - 11:34:16 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
pm-5.15-rc1-2

with top-most commit f76c87e8c33766cc6a7bf7461dfac9cebb05b5df

Merge branch 'pm-opp'

on top of commit 5cbba60596b1f32f637190ca9ed5b1acdadb852c

Merge tag 'pm-5.15-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

to receive more power management updates for 5.15-rc1.

These are mostly ARM cpufreq driver updates, including one new
MediaTek driver that has just passed all of the reviews, with the
addition of a revert of a recent intel_pstate commit, some core
cpufreq changes and a DT-related update of the operating performance
points (OPP) support code.

Specifics:

- Add new cpufreq driver for the MediaTek MT6779 platform called
mediatek-hw along with corresponding DT bindings (Hector.Yuan).

- Add DCVS interrupt support to the qcom-cpufreq-hw driver (Thara
Gopinath).

- Make the qcom-cpufreq-hw driver set the dvfs_possible_from_any_cpu
policy flag (Taniya Das).

- Blocklist more Qualcomm platforms in cpufreq-dt-platdev (Bjorn
Andersson).

- Make the vexpress cpufreq driver set the CPUFREQ_IS_COOLING_DEV
flag (Viresh Kumar).

- Add new cpufreq driver callback to allow drivers to register
with the Energy Model in a consistent way and make several
drivers use it (Viresh Kumar).

- Change the remaining users of the .ready() cpufreq driver callback
to move the code from it elsewhere and drop it from the cpufreq
core (Viresh Kumar).

- Revert recent intel_pstate change adding HWP guaranteed performance
change notification support to it that led to problems, because
the notification in question is triggered prematurely on some
systems (Rafael Wysocki).

- Convert the OPP DT bindings to DT schema and clean them up while
at it (Rob Herring).

Thanks!


---------------

Bjorn Andersson (1):
cpufreq: blocklist more Qualcomm platforms in cpufreq-dt-platdev

Hector.Yuan (3):
dt-bindings: cpufreq: add bindings for MediaTek cpufreq HW
cpufreq: Add of_perf_domain_get_sharing_cpumask
cpufreq: mediatek-hw: Add support for CPUFREQ HW

Rafael J. Wysocki (1):
Revert "cpufreq: intel_pstate: Process HWP Guaranteed change notification"

Rob Herring (3):
ARM: dts: omap: Drop references to opp.txt
dt-bindings: Clean-up OPP binding node names in examples
dt-bindings: opp: Convert to DT schema

Taniya Das (1):
cpufreq: qcom-hw: Set dvfs_possible_from_any_cpu cpufreq driver flag

Thara Gopinath (1):
cpufreq: qcom-cpufreq-hw: Add dcvs interrupt support

Viresh Kumar (13):
cpufreq: vexpress: Set CPUFREQ_IS_COOLING_DEV flag
cpufreq: Add callback to register with energy model
cpufreq: dt: Use .register_em() to register with energy model
cpufreq: imx6q: Use .register_em() to register with energy model
cpufreq: mediatek: Use .register_em() to register with energy model
cpufreq: omap: Use .register_em() to register with energy model
cpufreq: qcom-cpufreq-hw: Use .register_em() to register with energy model
cpufreq: scpi: Use .register_em() to register with energy model
cpufreq: vexpress: Use .register_em() to register with energy model
cpufreq: scmi: Use .register_em() to register with energy model
cpufreq: acpi: Remove acpi_cpufreq_cpu_ready()
cpufreq: sh: Remove sh_cpufreq_cpu_ready()
cpufreq: Remove ready() callback

---------------

Documentation/cpu-freq/cpu-drivers.rst | 3 -
.../devicetree/bindings/cpufreq/cpufreq-dt.txt | 2 +-
.../bindings/cpufreq/cpufreq-mediatek-hw.yaml | 70 +++
.../bindings/cpufreq/cpufreq-mediatek.txt | 2 +-
.../devicetree/bindings/cpufreq/cpufreq-st.txt | 6 +-
.../bindings/cpufreq/nvidia,tegra20-cpufreq.txt | 2 +-
.../devicetree/bindings/devfreq/rk3399_dmc.txt | 2 +-
.../devicetree/bindings/gpu/arm,mali-bifrost.yaml | 2 +-
.../devicetree/bindings/gpu/arm,mali-midgard.yaml | 2 +-
.../bindings/interconnect/fsl,imx8m-noc.yaml | 4 +-
.../opp/allwinner,sun50i-h6-operating-points.yaml | 4 +
Documentation/devicetree/bindings/opp/opp-v1.yaml | 51 ++
.../devicetree/bindings/opp/opp-v2-base.yaml | 214 +++++++
Documentation/devicetree/bindings/opp/opp-v2.yaml | 475 ++++++++++++++++
Documentation/devicetree/bindings/opp/opp.txt | 622 ---------------------
Documentation/devicetree/bindings/opp/qcom-opp.txt | 2 +-
.../bindings/opp/ti-omap5-opp-supply.txt | 2 +-
.../devicetree/bindings/power/power-domain.yaml | 2 +-
.../translations/zh_CN/cpu-freq/cpu-drivers.rst | 2 -
arch/arm/boot/dts/omap34xx.dtsi | 1 -
arch/arm/boot/dts/omap36xx.dtsi | 1 -
drivers/base/arch_topology.c | 2 +
drivers/cpufreq/Kconfig.arm | 12 +
drivers/cpufreq/Makefile | 1 +
drivers/cpufreq/acpi-cpufreq.c | 14 +-
drivers/cpufreq/cpufreq-dt-platdev.c | 4 +
drivers/cpufreq/cpufreq-dt.c | 3 +-
drivers/cpufreq/cpufreq.c | 17 +-
drivers/cpufreq/imx6q-cpufreq.c | 2 +-
drivers/cpufreq/intel_pstate.c | 39 --
drivers/cpufreq/mediatek-cpufreq-hw.c | 308 ++++++++++
drivers/cpufreq/mediatek-cpufreq.c | 3 +-
drivers/cpufreq/omap-cpufreq.c | 2 +-
drivers/cpufreq/qcom-cpufreq-hw.c | 151 ++++-
drivers/cpufreq/scmi-cpufreq.c | 65 ++-
drivers/cpufreq/scpi-cpufreq.c | 3 +-
drivers/cpufreq/sh-cpufreq.c | 11 -
drivers/cpufreq/vexpress-spc-cpufreq.c | 25 +-
include/linux/cpufreq.h | 75 ++-
39 files changed, 1441 insertions(+), 767 deletions(-)