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: r9a09g056: Add entries for CANFD

Add clock and reset entries for the CANFD IP.

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/20251224165049.3384870-5-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Lad Prabhakar and committed by
Geert Uytterhoeven
c2922664 26cc40e8

+10
+10
drivers/clk/renesas/r9a09g056-cpg.c
··· 46 46 CLK_PLLCLN_DIV2, 47 47 CLK_PLLCLN_DIV8, 48 48 CLK_PLLCLN_DIV16, 49 + CLK_PLLCLN_DIV20, 49 50 CLK_PLLCLN_DIV64, 50 51 CLK_PLLCLN_DIV256, 51 52 CLK_PLLCLN_DIV1024, ··· 184 183 DEF_FIXED(".pllcln_div2", CLK_PLLCLN_DIV2, CLK_PLLCLN, 1, 2), 185 184 DEF_FIXED(".pllcln_div8", CLK_PLLCLN_DIV8, CLK_PLLCLN, 1, 8), 186 185 DEF_FIXED(".pllcln_div16", CLK_PLLCLN_DIV16, CLK_PLLCLN, 1, 16), 186 + DEF_FIXED(".pllcln_div20", CLK_PLLCLN_DIV20, CLK_PLLCLN, 1, 20), 187 187 DEF_FIXED(".pllcln_div64", CLK_PLLCLN_DIV64, CLK_PLLCLN, 1, 64), 188 188 DEF_FIXED(".pllcln_div256", CLK_PLLCLN_DIV256, CLK_PLLCLN, 1, 256), 189 189 DEF_FIXED(".pllcln_div1024", CLK_PLLCLN_DIV1024, CLK_PLLCLN, 1, 1024), ··· 433 431 BUS_MSTOP(1, BIT(7))), 434 432 DEF_MOD("riic_7_ckm", CLK_PLLCLN_DIV16, 9, 11, 4, 27, 435 433 BUS_MSTOP(1, BIT(8))), 434 + DEF_MOD("canfd_0_pclk", CLK_PLLCLN_DIV16, 9, 12, 4, 28, 435 + BUS_MSTOP(10, BIT(14))), 436 + DEF_MOD("canfd_0_clk_ram", CLK_PLLCLN_DIV8, 9, 13, 4, 29, 437 + BUS_MSTOP(10, BIT(14))), 438 + DEF_MOD("canfd_0_clkc", CLK_PLLCLN_DIV20, 9, 14, 4, 30, 439 + BUS_MSTOP(10, BIT(14))), 436 440 DEF_MOD("spi_hclk", CLK_PLLCM33_GEAR, 9, 15, 4, 31, 437 441 BUS_MSTOP(4, BIT(5))), 438 442 DEF_MOD("spi_aclk", CLK_PLLCM33_GEAR, 10, 0, 5, 0, ··· 611 603 DEF_RST(9, 14, 4, 15), /* RIIC_6_MRST */ 612 604 DEF_RST(9, 15, 4, 16), /* RIIC_7_MRST */ 613 605 DEF_RST(10, 0, 4, 17), /* RIIC_8_MRST */ 606 + DEF_RST(10, 1, 4, 18), /* CANFD_0_RSTP_N */ 607 + DEF_RST(10, 2, 4, 19), /* CANFD_0_RSTC_N */ 614 608 DEF_RST(10, 3, 4, 20), /* SPI_HRESETN */ 615 609 DEF_RST(10, 4, 4, 21), /* SPI_ARESETN */ 616 610 DEF_RST(10, 7, 4, 24), /* SDHI_0_IXRST */