]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: rockchip: rk3036: mark ddrphy as critical
authorHeiko Stuebner <heiko@sntech.de>
Sat, 3 May 2025 20:25:31 +0000 (22:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:34 +0000 (11:07 +0100)
commit5fe149fdff54a4a8cca8d9f0989ce97930e2deb5
tree35d4ea77f53d8bf6a9183966d35fdca39c4e44cc
parentc2dfce3d291ffb05914958c5d5cc1eebe211cd81
clk: rockchip: rk3036: mark ddrphy as critical

[ Upstream commit 596a977b34a722c00245801a5774aa79cec4e81d ]

The ddrphy is supplied by the dpll, but due to the limited number of PLLs
on the rk3036, the dpll also is used for other periperhals, like the GPU.

So it happened, when the Lima driver turned off the gpu clock, this in
turn also disabled the dpll and thus the ram.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250503202532.992033-4-heiko@sntech.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/rockchip/clk-rk3036.c