Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: renesas: r9a09g047: Add I2C clocks/resets

Add I2C{0..8} clock and reset entries.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20241216120029.143944-3-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Biju Das and committed by
Geert Uytterhoeven
29ebc619 3baf0273

+32
+32
drivers/clk/renesas/r9a09g047-cpg.c
··· 25 25 26 26 /* PLL Clocks */ 27 27 CLK_PLLCM33, 28 + CLK_PLLCLN, 28 29 CLK_PLLDTY, 29 30 CLK_PLLCA55, 30 31 31 32 /* Internal Core Clocks */ 32 33 CLK_PLLCM33_DIV16, 34 + CLK_PLLCLN_DIV16, 33 35 CLK_PLLDTY_ACPU, 34 36 CLK_PLLDTY_ACPU_DIV4, 35 37 ··· 64 62 65 63 /* PLL Clocks */ 66 64 DEF_FIXED(".pllcm33", CLK_PLLCM33, CLK_QEXTAL, 200, 3), 65 + DEF_FIXED(".pllcln", CLK_PLLCLN, CLK_QEXTAL, 200, 3), 67 66 DEF_FIXED(".plldty", CLK_PLLDTY, CLK_QEXTAL, 200, 3), 68 67 DEF_PLL(".pllca55", CLK_PLLCA55, CLK_QEXTAL, PLL_CONF(0x64)), 69 68 70 69 /* Internal Core Clocks */ 71 70 DEF_FIXED(".pllcm33_div16", CLK_PLLCM33_DIV16, CLK_PLLCM33, 1, 16), 71 + 72 + DEF_FIXED(".pllcln_div16", CLK_PLLCLN_DIV16, CLK_PLLCLN, 1, 16), 72 73 73 74 DEF_DDIV(".plldty_acpu", CLK_PLLDTY_ACPU, CLK_PLLDTY, CDDIV0_DIVCTL2, dtable_2_64), 74 75 DEF_FIXED(".plldty_acpu_div4", CLK_PLLDTY_ACPU_DIV4, CLK_PLLDTY_ACPU, 1, 4), ··· 94 89 BUS_MSTOP(3, BIT(5))), 95 90 DEF_MOD("scif_0_clk_pck", CLK_PLLCM33_DIV16, 8, 15, 4, 15, 96 91 BUS_MSTOP(3, BIT(14))), 92 + DEF_MOD("riic_8_ckm", CLK_PLLCM33_DIV16, 9, 3, 4, 19, 93 + BUS_MSTOP(3, BIT(13))), 94 + DEF_MOD("riic_0_ckm", CLK_PLLCLN_DIV16, 9, 4, 4, 20, 95 + BUS_MSTOP(1, BIT(1))), 96 + DEF_MOD("riic_1_ckm", CLK_PLLCLN_DIV16, 9, 5, 4, 21, 97 + BUS_MSTOP(1, BIT(2))), 98 + DEF_MOD("riic_2_ckm", CLK_PLLCLN_DIV16, 9, 6, 4, 22, 99 + BUS_MSTOP(1, BIT(3))), 100 + DEF_MOD("riic_3_ckm", CLK_PLLCLN_DIV16, 9, 7, 4, 23, 101 + BUS_MSTOP(1, BIT(4))), 102 + DEF_MOD("riic_4_ckm", CLK_PLLCLN_DIV16, 9, 8, 4, 24, 103 + BUS_MSTOP(1, BIT(5))), 104 + DEF_MOD("riic_5_ckm", CLK_PLLCLN_DIV16, 9, 9, 4, 25, 105 + BUS_MSTOP(1, BIT(6))), 106 + DEF_MOD("riic_6_ckm", CLK_PLLCLN_DIV16, 9, 10, 4, 26, 107 + BUS_MSTOP(1, BIT(7))), 108 + DEF_MOD("riic_7_ckm", CLK_PLLCLN_DIV16, 9, 11, 4, 27, 109 + BUS_MSTOP(1, BIT(8))), 97 110 }; 98 111 99 112 static const struct rzv2h_reset r9a09g047_resets[] __initconst = { ··· 119 96 DEF_RST(3, 8, 1, 9), /* GIC_0_GICRESET_N */ 120 97 DEF_RST(3, 9, 1, 10), /* GIC_0_DBG_GICRESET_N */ 121 98 DEF_RST(9, 5, 4, 6), /* SCIF_0_RST_SYSTEM_N */ 99 + DEF_RST(9, 8, 4, 9), /* RIIC_0_MRST */ 100 + DEF_RST(9, 9, 4, 10), /* RIIC_1_MRST */ 101 + DEF_RST(9, 10, 4, 11), /* RIIC_2_MRST */ 102 + DEF_RST(9, 11, 4, 12), /* RIIC_3_MRST */ 103 + DEF_RST(9, 12, 4, 13), /* RIIC_4_MRST */ 104 + DEF_RST(9, 13, 4, 14), /* RIIC_5_MRST */ 105 + DEF_RST(9, 14, 4, 15), /* RIIC_6_MRST */ 106 + DEF_RST(9, 15, 4, 16), /* RIIC_7_MRST */ 107 + DEF_RST(10, 0, 4, 17), /* RIIC_8_MRST */ 122 108 }; 123 109 124 110 const struct rzv2h_cpg_info r9a09g047_cpg_info __initconst = {