Skip to content

Commit 3b5c734

Browse files
prabhakarladgeertu
authored andcommitted
clk: renesas: r9a07g044: Add clock and reset entries for CANFD
Add clock and reset entries for CANFD in CPG driver. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 0aae437 commit 3b5c734

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/clk/renesas/r9a07g044-cpg.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ static struct rzg2l_mod_clk r9a07g044_mod_clks[] = {
140140
0x584, 4),
141141
DEF_MOD("sci0", R9A07G044_SCI0_CLKP, R9A07G044_CLK_P0,
142142
0x588, 0),
143+
DEF_MOD("canfd", R9A07G044_CANFD_PCLK, R9A07G044_CLK_P0,
144+
0x594, 0),
143145
DEF_MOD("gpio", R9A07G044_GPIO_HCLK, R9A07G044_OSCCLK,
144146
0x598, 0),
145147
};
@@ -168,6 +170,8 @@ static struct rzg2l_reset r9a07g044_resets[] = {
168170
DEF_RST(R9A07G044_SCIF3_RST_SYSTEM_N, 0x884, 3),
169171
DEF_RST(R9A07G044_SCIF4_RST_SYSTEM_N, 0x884, 4),
170172
DEF_RST(R9A07G044_SCI0_RST, 0x888, 0),
173+
DEF_RST(R9A07G044_CANFD_RSTP_N, 0x894, 0),
174+
DEF_RST(R9A07G044_CANFD_RSTC_N, 0x894, 1),
171175
DEF_RST(R9A07G044_GPIO_RSTN, 0x898, 0),
172176
DEF_RST(R9A07G044_GPIO_PORT_RESETN, 0x898, 1),
173177
DEF_RST(R9A07G044_GPIO_SPARE_RESETN, 0x898, 2),

0 commit comments

Comments
 (0)