PM / devfreq: rockchip-dfi: add support for RK3588
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 18 Oct 2023 06:17:07 +0000 (08:17 +0200)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 19 Oct 2023 12:21:16 +0000 (21:21 +0900)
commit481d97ba61e12f34acc59b6632de1aed7c93b824
tree7c77eae7eadaa9a4e6dc516b916a2e1f5e59e5ca
parentbbe7cbd07406b75ec845eb261f25373bf88b276a
PM / devfreq: rockchip-dfi: add support for RK3588

Add support for the RK3588 to the driver. The RK3588 has four DDR
channels with a register stride of 0x4000 between the channel
registers, also it has a DDRMON_CTRL register per channel.

Link: https://lore.kernel.org/all/20231018061714.3553817-20-s.hauer@pengutronix.de/
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/devfreq/event/rockchip-dfi.c
include/soc/rockchip/rk3588_grf.h [new file with mode: 0644]