]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
clk: renesas: Synchronize RZ R8A774E1 RZ/G2H clock tables with Linux 6.6.3
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 3 Dec 2023 13:15:20 +0000 (14:15 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 14 Jan 2024 19:35:21 +0000 (20:35 +0100)
Synchronize RZ R8A774E1 RZ/G2H clock tables with Linux 6.6.3,
commit bd3a9e5771a8b332f466d06f7c130a69cab0d526 .

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/clk/renesas/r8a774e1-cpg-mssr.c

index 28d8a8832aefd6a7cb80ae4e3df98edce81cbd80..6a8fe92b975b682c566492dace3311a05265ad74 100644 (file)
@@ -76,6 +76,7 @@ static const struct cpg_core_clk r8a774e1_core_clks[] __initconst = {
        /* Core Clock Outputs */
        DEF_GEN3_Z("z",         R8A774E1_CLK_Z,     CLK_TYPE_GEN3_Z,  CLK_PLL0, 2, 8),
        DEF_GEN3_Z("z2",        R8A774E1_CLK_Z2,    CLK_TYPE_GEN3_Z,  CLK_PLL2, 2, 0),
+       DEF_GEN3_Z("zg",        R8A774E1_CLK_ZG,    CLK_TYPE_GEN3_ZG, CLK_PLL4, 4, 24),
        DEF_FIXED("ztr",        R8A774E1_CLK_ZTR,   CLK_PLL1_DIV2,  6, 1),
        DEF_FIXED("ztrd2",      R8A774E1_CLK_ZTRD2, CLK_PLL1_DIV2, 12, 1),
        DEF_FIXED("zt",         R8A774E1_CLK_ZT,    CLK_PLL1_DIV2,  4, 1),
@@ -124,6 +125,7 @@ static const struct cpg_core_clk r8a774e1_core_clks[] __initconst = {
 };
 
 static const struct mssr_mod_clk r8a774e1_mod_clks[] __initconst = {
+       DEF_MOD("3dge",                  112,   R8A774E1_CLK_ZG),
        DEF_MOD("fdp1-1",                118,   R8A774E1_CLK_S0D1),
        DEF_MOD("fdp1-0",                119,   R8A774E1_CLK_S0D1),
        DEF_MOD("tmu4",                  121,   R8A774E1_CLK_S0D6),
@@ -221,7 +223,7 @@ static const struct mssr_mod_clk r8a774e1_mod_clks[] __initconst = {
        DEF_MOD("rpc-if",                917,   R8A774E1_CLK_RPCD2),
        DEF_MOD("i2c6",                  918,   R8A774E1_CLK_S0D6),
        DEF_MOD("i2c5",                  919,   R8A774E1_CLK_S0D6),
-       DEF_MOD("adg",                   922,   R8A774E1_CLK_S0D1),
+       DEF_MOD("adg",                   922,   R8A774E1_CLK_S0D4),
        DEF_MOD("iic-pmic",              926,   R8A774E1_CLK_CP),
        DEF_MOD("i2c4",                  927,   R8A774E1_CLK_S0D6),
        DEF_MOD("i2c3",                  928,   R8A774E1_CLK_S0D6),