soc: rockchip: power-domain: add rk3588 mem module support
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 3 Apr 2023 19:32:50 +0000 (21:32 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 7 May 2023 21:47:02 +0000 (23:47 +0200)
commit814f5a42520ebf0bf26a06e2d0ddd1c7d08f32c2
treef1ae6e4709dd2cac59436767008d544fbc6b8944
parentac9a78681b921877518763ba0e89202254349d1b
soc: rockchip: power-domain: add rk3588 mem module support

On RK3588 it's also possible to power down the memory used by the
particular power domains via PMU_MEM_PWR_GATE_SFTCON. This adds
support for this feature.

Tested-by: Vincent Legoll <vincent.legoll@gmail.com>
Co-Developed-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230403193250.108693-3-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/soc/rockchip/pm_domains.c