]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: mediatek: mt7988: fix wrong parent for INFRA_PCIE_PERI_26M_CK_P2
authorChristian Marangi <ansuelsmth@gmail.com>
Sat, 3 Aug 2024 08:32:54 +0000 (10:32 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 19 Aug 2024 22:14:09 +0000 (16:14 -0600)
Fix wrong parent for INFRA_PCIE_PERI_26M_CK_P2 as should be
INFRA_PCIE_PERI_26M_CK_P3 instead of INFRA_F26M_O0. This is to match
implementation on upstream kernel linux.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
drivers/clk/mediatek/clk-mt7988.c

index 5d146246fea971403627b4a96fda017b2f6bf9e7..a37ad574e111e3ebec5a78218074eb3319098468 100644 (file)
@@ -650,7 +650,7 @@ static const struct mtk_gate infracfg_mtk_gates[] = {
        GATE_INFRA0(CK_INFRA_PCIE_PERI_26M_CK_P1,
                    "infra_pcie_peri_ck_26m_ck_p1", CK_INFRA_F26M_O0, 8),
        GATE_INFRA0(CK_INFRA_PCIE_PERI_26M_CK_P2,
-                   "infra_pcie_peri_ck_26m_ck_p2", CK_INFRA_F26M_O0, 9),
+                   "infra_pcie_peri_ck_26m_ck_p2", CK_INFRA_PCIE_PERI_26M_CK_P3, 9),
        GATE_INFRA0(CK_INFRA_PCIE_PERI_26M_CK_P3,
                    "infra_pcie_peri_ck_26m_ck_p3", CK_INFRA_F26M_O0, 10),
        GATE_INFRA1(CK_INFRA_66M_GPT_BCK, "infra_hf_66m_gpt_bck",