[GIT PULL] devfreq next for v5.6

From: Chanwoo Choi
Date: Thu Jan 16 2020 - 23:52:45 EST


Dear Rafael,

This is devfreq-next pull request for v5.6-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.6

Best Regards,
Chanwoo Choi


The following changes since commit fd6988496e79a6a4bdb514a4655d2920209eb85d:

Linux 5.5-rc4 (2019-12-29 15:29:16 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 490a421bc575d1bf391a6ad5b582dcfbd0037724:

PM / devfreq: Add debugfs support with devfreq_summary file (2020-01-16 19:14:49 +0900)

----------------------------------------------------------------
Detailed description for this pull request:
1. Update devfreq core
- Add new 'name' attribute of sysfs to show the device name
: /sys/class/devfreq/devfreqX/name

- Make 'trans_stat' sysfs resetting by entering zero(0) as following
: echo 0 > /sys/class/devfreq/devfreqX/trans_stat

- Add debugfs support with 'devfreq_summary' file to show the summary
: /sys/kernel/debug/devfreq/devfreq_summary

- Change the type of time variable to 64bit to prevent the overflow
- Make the separate devfreq_stats including the statistics information
- Fix the minor coding-style like indentation and kernel-doc warnings

2. Update devfreq driver
- Add new imx8m-ddrc.c devfreq driver for dynamic scaling of DDR frequency.
It changes the DDR frequency by using ARM SMCCC(SMC Calling Convention)
interface to control TF-A firmware.

- Add COMPILE_TEST dependency for rk3399_dmc.c

- Clean-up code for exynos-bus.c and rk3399_dmc.c without behavior changes

3. Update devfreq-event driver
- Fix excessive stack usage of exynos-ppmu.c and clean-up code of
rockchip-dfi.c without behavior changes
----------------------------------------------------------------

Arnd Bergmann (1):
PM / devfreq: exynos-ppmu: Fix excessive stack usage

Artur ÅwigoÅ (3):
PM / devfreq: exynos-bus: Extract exynos_bus_profile_init()
PM / devfreq: exynos-bus: Extract exynos_bus_profile_init_passive()
PM / devfreq: exynos-bus: Reduce goto statements and remove unused headers

Chanwoo Choi (3):
PM / devfreq: Add new name attribute for sysfs
PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency
PM / devfreq: Add debugfs support with devfreq_summary file

Kamil Konieczny (4):
PM / devfreq: Change time stats to 64-bit
PM / devfreq: Add clearing transitions stats
PM / devfreq: Move statistics to separate struct devfreq_stats
PM / devfreq: Move declaration of DEVICE_ATTR_RW(min_freq)

Krzysztof Kozlowski (2):
PM / devfreq: Fix Kconfig indentation
PM / devfreq: exynos: Rename Exynos to lowercase

Leonard Crestez (3):
dt-bindings: memory: Add bindings for imx8m ddr controller
PM / devfreq: Add dynamic scaling for imx8m ddr controller
PM / devfreq: imx8m-ddrc: Remove unused defines

Randy Dunlap (1):
PM / devfreq: Fix multiple kernel-doc warnings

Yangtao Li (6):
PM / devfreq: rockchip-dfi: Add missing of_node_put()
PM / devfreq: rk3399_dmc: Add missing of_node_put()
PM / devfreq: rockchip-dfi: Convert to devm_platform_ioremap_resource
PM / devfreq: rk3399_dmc: Disable devfreq-event device when fails
PM / devfreq: exynos-bus: Disable devfreq-event device when fails
PM / devfreq: exynos-bus: Add error log when fail to get devfreq-event

YueHaibing (1):
PM / devfreq: imx8m-ddrc: Fix inconsistent IS_ERR and PTR_ERR

Documentation/ABI/testing/sysfs-class-devfreq | 18 +-
.../memory-controllers/fsl/imx8m-ddrc.yaml | 72 ++++
drivers/devfreq/Kconfig | 21 +-
drivers/devfreq/Makefile | 1 +
drivers/devfreq/devfreq-event.c | 4 +-
drivers/devfreq/devfreq.c | 166 +++++++-
drivers/devfreq/event/Kconfig | 6 +-
drivers/devfreq/event/exynos-nocp.c | 2 +-
drivers/devfreq/event/exynos-nocp.h | 2 +-
drivers/devfreq/event/exynos-ppmu.c | 15 +-
drivers/devfreq/event/exynos-ppmu.h | 2 +-
drivers/devfreq/event/rockchip-dfi.c | 5 +-
drivers/devfreq/exynos-bus.c | 155 ++++---
drivers/devfreq/imx8m-ddrc.c | 471 +++++++++++++++++++++
drivers/devfreq/rk3399_dmc.c | 19 +-
include/linux/devfreq.h | 29 +-
16 files changed, 856 insertions(+), 132 deletions(-)
create mode 100644 Documentation/devicetree/bindings/memory-controllers/fsl/imx8m-ddrc.yaml
create mode 100644 drivers/devfreq/imx8m-ddrc.c