]> www.infradead.org Git - users/jedix/linux-maple.git/commit
soc: rockchip: grf: Set RK3128's vpu main clock
authorAlex Bee <knaerzche@gmail.com>
Thu, 23 May 2024 18:56:32 +0000 (20:56 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 23 Aug 2024 09:52:53 +0000 (11:52 +0200)
commit7bd76f405d329c2c361703cc45317a4a55d8a68e
tree1e19ffccb38636f0d8c92ebbded59643f591eb3e
parentf0d7047889589a4affe7a04d38a408ef45ec58e6
soc: rockchip: grf: Set RK3128's vpu main clock

RK3128 has a setting in GRF which selects whether the vpu attached iommu
uses the AXI clock of the decoder (vdpu) or the encoder (vepu). The
default is vepu but some part of the vendor firmware sets it to vdpu.

In order to be independent on whether any of those vendor firmware blobs is
used to boot the SoC reset "vpu main clock" setting to it's default value.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Link: https://lore.kernel.org/r/20240523185633.71355-3-knaerzche@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/soc/rockchip/grf.c