arm64: dts: mt8183: Fix Mali GPU clock
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 27 Sep 2022 10:11:19 +0000 (12:11 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 16 Dec 2022 10:41:45 +0000 (11:41 +0100)
The actual clock feeding into the Mali GPU on the MT8183 is from the
clock gate in the MFGCFG block, not CLK_TOP_MFGPLL_CK from the TOPCKGEN
block, which itself is simply a pass-through placeholder for the MFGPLL
in the APMIXEDSYS block.

Fix the hardware description with the correct clock reference.

Fixes: a8168cebf1bc ("arm64: dts: mt8183: Add node for the Mali GPU")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20220927101128.44758-2-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8183.dtsi

index a70b669c49baa3ccc3314320c0c4d2c8841f5c42..402136bfd5350b044d7fb74c6338c3273c14e0f5 100644 (file)
                                <GIC_SPI 278 IRQ_TYPE_LEVEL_LOW>;
                        interrupt-names = "job", "mmu", "gpu";
 
-                       clocks = <&topckgen CLK_TOP_MFGPLL_CK>;
+                       clocks = <&mfgcfg CLK_MFG_BG3D>;
 
                        power-domains =
                                <&spm MT8183_POWER_DOMAIN_MFG_CORE0>,