Skip to content

Commit d520af3

Browse files
bijudasgeertu
authored andcommitted
clk: renesas: r9a07g044: Add SSIF-2 clock and reset entries
Add SSIF-2 clock and reset entries in CPG driver. Signed-off-by: Biju Das <[email protected]> Reviewed-by: Lad Prabhakar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 03fa6e4 commit d520af3

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

drivers/clk/renesas/r9a07g044-cpg.c

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,22 @@ static struct rzg2l_mod_clk r9a07g044_mod_clks[] = {
9696
0x52c, 0),
9797
DEF_MOD("dmac_pclk", R9A07G044_DMAC_PCLK, CLK_P1_DIV2,
9898
0x52c, 1),
99+
DEF_MOD("ssi0_pclk", R9A07G044_SSI0_PCLK2, R9A07G044_CLK_P0,
100+
0x570, 0),
101+
DEF_MOD("ssi0_sfr", R9A07G044_SSI0_PCLK_SFR, R9A07G044_CLK_P0,
102+
0x570, 1),
103+
DEF_MOD("ssi1_pclk", R9A07G044_SSI1_PCLK2, R9A07G044_CLK_P0,
104+
0x570, 2),
105+
DEF_MOD("ssi1_sfr", R9A07G044_SSI1_PCLK_SFR, R9A07G044_CLK_P0,
106+
0x570, 3),
107+
DEF_MOD("ssi2_pclk", R9A07G044_SSI2_PCLK2, R9A07G044_CLK_P0,
108+
0x570, 4),
109+
DEF_MOD("ssi2_sfr", R9A07G044_SSI2_PCLK_SFR, R9A07G044_CLK_P0,
110+
0x570, 5),
111+
DEF_MOD("ssi3_pclk", R9A07G044_SSI3_PCLK2, R9A07G044_CLK_P0,
112+
0x570, 6),
113+
DEF_MOD("ssi3_sfr", R9A07G044_SSI3_PCLK_SFR, R9A07G044_CLK_P0,
114+
0x570, 7),
99115
DEF_MOD("usb0_host", R9A07G044_USB_U2H0_HCLK, R9A07G044_CLK_P1,
100116
0x578, 0),
101117
DEF_MOD("usb1_host", R9A07G044_USB_U2H1_HCLK, R9A07G044_CLK_P1,
@@ -132,6 +148,10 @@ static struct rzg2l_reset r9a07g044_resets[] = {
132148
DEF_RST(R9A07G044_IA55_RESETN, 0x818, 0),
133149
DEF_RST(R9A07G044_DMAC_ARESETN, 0x82c, 0),
134150
DEF_RST(R9A07G044_DMAC_RST_ASYNC, 0x82c, 1),
151+
DEF_RST(R9A07G044_SSI0_RST_M2_REG, 0x870, 0),
152+
DEF_RST(R9A07G044_SSI1_RST_M2_REG, 0x870, 1),
153+
DEF_RST(R9A07G044_SSI2_RST_M2_REG, 0x870, 2),
154+
DEF_RST(R9A07G044_SSI3_RST_M2_REG, 0x870, 3),
135155
DEF_RST(R9A07G044_USB_U2H0_HRESETN, 0x878, 0),
136156
DEF_RST(R9A07G044_USB_U2H1_HRESETN, 0x878, 1),
137157
DEF_RST(R9A07G044_USB_U2P_EXL_SYSRST, 0x878, 2),

0 commit comments

Comments
 (0)