]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
clk: renesas: r9a09g056: Add clock and reset entries for I3C
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Thu, 4 Sep 2025 15:55:07 +0000 (16:55 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 11 Sep 2025 18:23:15 +0000 (20:23 +0200)
Add module clock entries for the I3C controller on the RZ/V2N
(R9A09G056) SoC.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20250904155507.245744-3-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r9a09g056-cpg.c

index 437af86f49dd736c901c0e77ece26ebe0810550d..f0a8c5073fa6a48faa0fa96d3b02bf7c77f4844b 100644 (file)
@@ -205,6 +205,12 @@ static const struct rzv2h_mod_clk r9a09g056_mod_clks[] __initconst = {
                                                BUS_MSTOP(5, BIT(13))),
        DEF_MOD("scif_0_clk_pck",               CLK_PLLCM33_DIV16, 8, 15, 4, 15,
                                                BUS_MSTOP(3, BIT(14))),
+       DEF_MOD("i3c_0_pclkrw",                 CLK_PLLCLN_DIV16, 9, 0, 4, 16,
+                                               BUS_MSTOP(10, BIT(15))),
+       DEF_MOD("i3c_0_pclk",                   CLK_PLLCLN_DIV16, 9, 1, 4, 17,
+                                               BUS_MSTOP(10, BIT(15))),
+       DEF_MOD("i3c_0_tclk",                   CLK_PLLCLN_DIV8, 9, 2, 4, 18,
+                                               BUS_MSTOP(10, BIT(15))),
        DEF_MOD("riic_8_ckm",                   CLK_PLLCM33_DIV16, 9, 3, 4, 19,
                                                BUS_MSTOP(3, BIT(13))),
        DEF_MOD("riic_0_ckm",                   CLK_PLLCLN_DIV16, 9, 4, 4, 20,
@@ -308,6 +314,8 @@ static const struct rzv2h_reset r9a09g056_resets[] __initconst = {
        DEF_RST(7, 7, 3, 8),            /* WDT_2_RESET */
        DEF_RST(7, 8, 3, 9),            /* WDT_3_RESET */
        DEF_RST(9, 5, 4, 6),            /* SCIF_0_RST_SYSTEM_N */
+       DEF_RST(9, 6, 4, 7),            /* I3C_0_PRESETN */
+       DEF_RST(9, 7, 4, 8),            /* I3C_0_TRESETN */
        DEF_RST(9, 8, 4, 9),            /* RIIC_0_MRST */
        DEF_RST(9, 9, 4, 10),           /* RIIC_1_MRST */
        DEF_RST(9, 10, 4, 11),          /* RIIC_2_MRST */