[PATCH v3 0/3] CPUFreq: Add support for cpu performance dependencies

From: Nicola Mazzucato
Date: Mon Nov 02 2020 - 07:01:54 EST


Hi All,

In this V3 posting I have replaced the new dt-binding with minor changes/
improvements for opp (since we are now using opp tables instead).
The RFC still stands on how to make this info available to sw consumers.

In the RFC, I am proposing a simple addition of a performance dependencies
cpumask in CPUFreq core and an example of how drivers and consumers would
make use of it.
I also propose an alternative approach, which does not require changes in
CPUFreq core, but - possibly - in all the consumers.

This is to support systems where exposed cpu performance controls are more
fine-grained that the platform's ability to scale cpus independently.

[v3]
* Remove proposal for new 'cpu-performance-dependencies' as we instead
can reuse the opp table.
* Update documentation for devicetree/bindings/opp
* Minor changes within opp to support empty opp table
* Rework the RFC by adding a second proposal

[v2]
* Fix errors when running make dt_binding_check
* Improve commit message description for the dt-binding
* Add RFC for implementation in cpufreq-core and one of its
drivers.

Nicola Mazzucato (3):
dt-bindings/opp: Update documentation for opp-shared
opp/of: Allow empty opp-table with opp-shared
[RFC] CPUFreq: Add support for cpu-perf-dependencies

Documentation/devicetree/bindings/opp/opp.txt | 53 +++++++++++++++++++
drivers/opp/of.c | 13 ++++-
2 files changed, 64 insertions(+), 2 deletions(-)

--
2.27.0