Skip to content

Commit dec5779

Browse files
committed
clk: renesas: r8a77965: Add 3DGE and ZG support
The 3DGE and ZG clocks are necessary to support the 3D graphics. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/1767d01cfffd7490861f2cf6ad6c0df100916907.1689599217.git.geert+renesas@glider.be
1 parent fd177b9 commit dec5779

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/clk/renesas/r8a77965-cpg-mssr.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ static const struct cpg_core_clk r8a77965_core_clks[] __initconst = {
7676

7777
/* Core Clock Outputs */
7878
DEF_GEN3_Z("z", R8A77965_CLK_Z, CLK_TYPE_GEN3_Z, CLK_PLL0, 2, 8),
79+
DEF_GEN3_Z("zg", R8A77965_CLK_ZG, CLK_TYPE_GEN3_ZG, CLK_PLL4, 4, 24),
7980
DEF_FIXED("ztr", R8A77965_CLK_ZTR, CLK_PLL1_DIV2, 6, 1),
8081
DEF_FIXED("ztrd2", R8A77965_CLK_ZTRD2, CLK_PLL1_DIV2, 12, 1),
8182
DEF_FIXED("zt", R8A77965_CLK_ZT, CLK_PLL1_DIV2, 4, 1),
@@ -125,6 +126,7 @@ static const struct cpg_core_clk r8a77965_core_clks[] __initconst = {
125126
};
126127

127128
static const struct mssr_mod_clk r8a77965_mod_clks[] __initconst = {
129+
DEF_MOD("3dge", 112, R8A77965_CLK_ZG),
128130
DEF_MOD("fdp1-0", 119, R8A77965_CLK_S0D1),
129131
DEF_MOD("tmu4", 121, R8A77965_CLK_S0D6),
130132
DEF_MOD("tmu3", 122, R8A77965_CLK_S3D2),

0 commit comments

Comments
 (0)