linux/drivers/devfreq
Sascha Hauer bbe7cbd074 PM / devfreq: rockchip-dfi: account for multiple DDRMON_CTRL registers
The currently supported RK3399 has a set of registers per channel, but
it has only a single DDRMON_CTRL register. With upcoming RK3588 this
will be different, the RK3588 has a DDRMON_CTRL register per channel.

Instead of expecting a single DDRMON_CTRL register, loop over the
channels and write the channel specific DDRMON_CTRL register. Break
out early out of the loop when there is only a single DDRMON_CTRL
register like on the RK3399.

Link: https://lore.kernel.org/all/20231018061714.3553817-19-s.hauer@pengutronix.de/
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2023-10-19 21:17:42 +09:00
..
event PM / devfreq: rockchip-dfi: account for multiple DDRMON_CTRL registers 2023-10-19 21:17:42 +09:00
devfreq-event.c driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
devfreq.c PM / devfreq: Switch to dev_pm_opp_find_freq_{ceil/floor}_indexed() APIs 2023-10-09 07:28:50 +09:00
exynos-bus.c PM / devfreq: exynos: add Exynos PPMU as a soft module dependency 2023-05-29 23:24:13 +09:00
governor_passive.c PM / devfreq: passive: revert an editing accident in SPDX-License line 2022-06-30 05:11:17 +09:00
governor_performance.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
governor_powersave.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
governor_simpleondemand.c PM / devfreq: Add governor attribute flag for specifc sysfs nodes 2020-10-26 11:46:54 +09:00
governor_userspace.c PM/devfreq: governor: Add a private governor_data for governor 2022-11-20 20:49:51 +09:00
governor.h PM / devfreq: passive: Keep cpufreq_policy for possible cpus 2022-05-17 18:24:39 +09:00
imx8m-ddrc.c PM / devfreq: Explicitly include correct DT includes 2023-07-24 05:19:26 +09:00
imx-bus.c PM / devfreq: Explicitly include correct DT includes 2023-07-24 05:19:26 +09:00
Kconfig PM / devfreq: Remove "select SRCU" 2023-03-13 19:36:15 +09:00
Makefile PM / devfreq: mediatek: Introduce MediaTek CCI devfreq driver 2022-07-15 11:40:08 +09:00
mtk-cci-devfreq.c PM / devfreq: mediatek: unlock on error in mtk_ccifreq_target() 2023-10-17 17:54:01 +09:00
rk3399_dmc.c PM / devfreq: rk3399_dmc,dfi: generalize DDRTYPE defines 2023-10-19 20:39:08 +09:00
sun8i-a33-mbus.c PM / devfreq: Add a driver for the sun8i/sun50i MBUS 2021-12-10 15:56:07 +09:00
tegra30-devfreq.c PM / devfreq: Explicitly include correct DT includes 2023-07-24 05:19:26 +09:00