Skip to content

Commit d8921e4

Browse files
prabhakarladgeertu
authored andcommitted
clk: renesas: r9a09g056: Add entries for the RSPIs
Add clock and reset entries for the RSPI IPs. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
1 parent 94cdeca commit d8921e4

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

drivers/clk/renesas/r9a09g056-cpg.c

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,24 @@ static const struct rzv2h_mod_clk r9a09g056_mod_clks[] __initconst = {
281281
BUS_MSTOP(5, BIT(13))),
282282
DEF_MOD("wdt_3_clk_loco", CLK_QEXTAL, 5, 2, 2, 18,
283283
BUS_MSTOP(5, BIT(13))),
284+
DEF_MOD("rspi_0_pclk", CLK_PLLCLN_DIV8, 5, 4, 2, 20,
285+
BUS_MSTOP(11, BIT(0))),
286+
DEF_MOD("rspi_0_pclk_sfr", CLK_PLLCLN_DIV8, 5, 5, 2, 21,
287+
BUS_MSTOP(11, BIT(0))),
288+
DEF_MOD("rspi_0_tclk", CLK_PLLCLN_DIV8, 5, 6, 2, 22,
289+
BUS_MSTOP(11, BIT(0))),
290+
DEF_MOD("rspi_1_pclk", CLK_PLLCLN_DIV8, 5, 7, 2, 23,
291+
BUS_MSTOP(11, BIT(1))),
292+
DEF_MOD("rspi_1_pclk_sfr", CLK_PLLCLN_DIV8, 5, 8, 2, 24,
293+
BUS_MSTOP(11, BIT(1))),
294+
DEF_MOD("rspi_1_tclk", CLK_PLLCLN_DIV8, 5, 9, 2, 25,
295+
BUS_MSTOP(11, BIT(1))),
296+
DEF_MOD("rspi_2_pclk", CLK_PLLCLN_DIV8, 5, 10, 2, 26,
297+
BUS_MSTOP(11, BIT(2))),
298+
DEF_MOD("rspi_2_pclk_sfr", CLK_PLLCLN_DIV8, 5, 11, 2, 27,
299+
BUS_MSTOP(11, BIT(2))),
300+
DEF_MOD("rspi_2_tclk", CLK_PLLCLN_DIV8, 5, 12, 2, 28,
301+
BUS_MSTOP(11, BIT(2))),
284302
DEF_MOD("scif_0_clk_pck", CLK_PLLCM33_DIV16, 8, 15, 4, 15,
285303
BUS_MSTOP(3, BIT(14))),
286304
DEF_MOD("i3c_0_pclkrw", CLK_PLLCLN_DIV16, 9, 0, 4, 16,
@@ -437,6 +455,12 @@ static const struct rzv2h_reset r9a09g056_resets[] __initconst = {
437455
DEF_RST(7, 6, 3, 7), /* WDT_1_RESET */
438456
DEF_RST(7, 7, 3, 8), /* WDT_2_RESET */
439457
DEF_RST(7, 8, 3, 9), /* WDT_3_RESET */
458+
DEF_RST(7, 11, 3, 12), /* RSPI_0_PRESETN */
459+
DEF_RST(7, 12, 3, 13), /* RSPI_0_TRESETN */
460+
DEF_RST(7, 13, 3, 14), /* RSPI_1_PRESETN */
461+
DEF_RST(7, 14, 3, 15), /* RSPI_1_TRESETN */
462+
DEF_RST(7, 15, 3, 16), /* RSPI_2_PRESETN */
463+
DEF_RST(8, 0, 3, 17), /* RSPI_2_TRESETN */
440464
DEF_RST(9, 5, 4, 6), /* SCIF_0_RST_SYSTEM_N */
441465
DEF_RST(9, 6, 4, 7), /* I3C_0_PRESETN */
442466
DEF_RST(9, 7, 4, 8), /* I3C_0_TRESETN */

0 commit comments

Comments
 (0)