[GIT PULL] devfreq next for v5.11

From: Chanwoo Choi
Date: Fri Dec 11 2020 - 02:45:14 EST


Dear Rafael,

This is devfreq-next pull request for v5.11-rc1. I add detailed description of
this pull request on the following tag. Please pull devfreq with following updates.
- tag name : devfreq-next-for-5.11

Best Regards,
Chanwoo Choi


The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:

Linux 5.10-rc1 (2020-10-25 15:14:11 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git tags/devfreq-next-for-5.11

for you to fetch changes up to 6a575e84f11e15078629f0d16bff2bc354a6bfc0:

PM / devfreq: tegra30: Separate configurations per-SoC generation (2020-12-07 10:25:51 +0900)

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

Update devfreq for 5.11

Detailed description for this pull request:

1. Update devfreq core
- Add new devfreq_frequency tracepoint to show the frequency change
information.

- Add governor feature flag. The devfreq governor is able to
have the specific flag in order to contain the non-common feature.
For example, if governor contains the 'immutable' feature, don't allow
user to change the governor via sysfs.

- Add governor sysfs attribute flag for each sysfs file. Prior to that
devfreq subsystem show the all sysfs files regardless of governor type.
But, some sysfs fils are not supported on the specific devfreq governor.
In order to show the only supported sysfs files according to the governor,
clarify the access permission of sysfs attributes according to governor.
When adding the devfreq governor, can specify the available attribute
information by using DEVFREQ_GOV_ATTR_* constant variable. The user can
read or write the sysfs attributes in accordance to the specified attributes.

- Clean-up the code to remove the duplicate code for the devfreq tracepoint
and to remove redundant governor_name field from struct devfreq

2. Update exynos-bus.c devfreq driver
- Add interconnect API support for the Samsung Exynos Bus Frequency driver
of exynos-bus.c. Complementing the devfreq driver with an interconnect
functionality allows to ensure the QoS requirements of devices accessing
the system memory (e.g. video processing devices) are fulfilled
and allows to avoid issues like the DMA underrun.

3. Update tegra devfreq driver
- Add interconnect support and OPP interface for tegra30-devfreq.c.
Also, it is to guarantee the QoS requirement of some devices like
display controller.

- Move tegra20-devfreq.c from drivers/devfreq/ into driver/memory/tegra/
in order to use the more proper monitoring feature such as EMC_STAT
which is based in driver/memory/tegra/.

- Separate the configuration information for different SoC on
tegra30-devfrqe.c. The tegra30-devfreq.c had been supported both
tegra30-actmon and tegra124-actmon devices. In order to use
the more correct configuration data, separate them.

- Use dev_err_probe() to handle the deferred probe error on tegra30-devfreq.c.

4. Pull the request of 'Tegra SoC and clock controller changes for v5.11'
sent by Krzysztof Kozlowski <krzk@xxxxxxxxxx> in order to prevent the
build error.

----------------------------------------------------------------
Chanwoo Choi (6):
trace: events: devfreq: Use fixed indentation size to improve readability
PM / devfreq: Unify frequency change to devfreq_update_target func
PM / devfreq: Add governor feature flag
PM / devfreq: Add governor attribute flag for specifc sysfs nodes
PM / devfreq: Remove redundant governor_name from struct devfreq
Merge tag 'tegra-soc-clk-drivers-5.11' of https://git.kernel.org/.../krzk/linux-mem-ctrl into devfreq-next

Dmitry Osipenko (9):
PM / devfreq: tegra20: Silence deferred probe error
PM / devfreq: tegra20: Relax Kconfig dependency
PM / devfreq: tegra30: Silence deferred probe error
clk: tegra: Export Tegra20 EMC kernel symbols
soc/tegra: fuse: Export tegra_read_ram_code()
soc/tegra: fuse: Add stub for tegra_sku_info
PM / devfreq: tegra20: Deprecate in a favor of emc-stat based driver
PM / devfreq: tegra30: Support interconnect and OPPs from device-tree
PM / devfreq: tegra30: Separate configurations per-SoC generation

Matthias Kaehlcke (1):
PM / devfreq: Add tracepoint for frequency changes

Sylwester Nawrocki (2):
dt-bindings: devfreq: Add documentation for the interconnect properties
PM / devfreq: exynos-bus: Add registration of interconnect child device

Documentation/ABI/testing/sysfs-class-devfreq | 54 +++--
.../devicetree/bindings/devfreq/exynos-bus.txt | 71 +++++-
MAINTAINERS | 1 -
drivers/clk/tegra/clk-tegra20-emc.c | 3 +
drivers/devfreq/Kconfig | 10 -
drivers/devfreq/Makefile | 1 -
drivers/devfreq/devfreq.c | 242 ++++++++++++++-------
drivers/devfreq/exynos-bus.c | 17 ++
drivers/devfreq/governor.h | 33 ++-
drivers/devfreq/governor_passive.c | 44 +---
drivers/devfreq/governor_simpleondemand.c | 2 +
drivers/devfreq/tegra20-devfreq.c | 212 ------------------
drivers/devfreq/tegra30-devfreq.c | 159 ++++++++------
drivers/soc/tegra/fuse/tegra-apbmisc.c | 2 +
include/linux/devfreq.h | 4 -
include/soc/tegra/fuse.h | 4 +
include/trace/events/devfreq.h | 30 ++-
17 files changed, 456 insertions(+), 433 deletions(-)
delete mode 100644 drivers/devfreq/tegra20-devfreq.c