Skip to content

Commit 8b406fd

Browse files
Niklas Söderlundgeertu
authored andcommitted
clk: renesas: r8a779g0: Add CSI-2 clocks
Add the CSI core clock and the CSI40 and CSI41 module clocks, which are used by the CSI-2 Interfaces on the Renesas R-Car V4H (R8A779G0) SoC. Signed-off-by: Niklas Söderlund <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 7502a04 commit 8b406fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ static const struct cpg_core_clk r8a779g0_core_clks[] __initconst = {
146146
DEF_FIXED("vcbus", R8A779G0_CLK_VCBUS, CLK_VC, 1, 1),
147147
DEF_FIXED("vcbusd2", R8A779G0_CLK_VCBUSD2, CLK_VC, 2, 1),
148148
DEF_DIV6P1("canfd", R8A779G0_CLK_CANFD, CLK_PLL5_DIV4, 0x878),
149+
DEF_DIV6P1("csi", R8A779G0_CLK_CSI, CLK_PLL5_DIV4, 0x880),
149150
DEF_FIXED("dsiref", R8A779G0_CLK_DSIREF, CLK_PLL5_DIV4, 48, 1),
150151
DEF_DIV6P1("dsiext", R8A779G0_CLK_DSIEXT, CLK_PLL5_DIV4, 0x884),
151152

@@ -165,6 +166,8 @@ static const struct mssr_mod_clk r8a779g0_mod_clks[] __initconst = {
165166
DEF_MOD("avb1", 212, R8A779G0_CLK_S0D4_HSC),
166167
DEF_MOD("avb2", 213, R8A779G0_CLK_S0D4_HSC),
167168
DEF_MOD("canfd0", 328, R8A779G0_CLK_SASYNCPERD2),
169+
DEF_MOD("csi40", 331, R8A779G0_CLK_CSI),
170+
DEF_MOD("csi41", 400, R8A779G0_CLK_CSI),
168171
DEF_MOD("dis0", 411, R8A779G0_CLK_VIOBUSD2),
169172
DEF_MOD("dsitxlink0", 415, R8A779G0_CLK_VIOBUSD2),
170173
DEF_MOD("dsitxlink1", 416, R8A779G0_CLK_VIOBUSD2),

0 commit comments

Comments
 (0)