u-boot/drivers/clk/renesas
Marek Vasut e7690e6195 clk: renesas: Deduplicate gen3_clk_get_rate64() PLL handling
Most of the PLLx, MAIN, FIXED clock handlers are calling very similar
code, which determines parent rate and then applies multiplication and
division. The only difference is whether multiplication is fixed factor
or coming from CRx register. Deduplicate the code into a single function.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
2021-05-21 15:00:17 +02:00
..
clk-rcar-gen2.c clk: renesas: Pass struct cpg_mssr_info to renesas_clk_endisable() 2021-05-21 15:00:17 +02:00
clk-rcar-gen3.c clk: renesas: Deduplicate gen3_clk_get_rate64() PLL handling 2021-05-21 15:00:17 +02:00
Kconfig clk: renesas: Import R8A774C0 clock tables from Linux 5.9 2020-10-20 12:56:52 +02:00
Makefile clk: renesas: Import R8A774C0 clock tables from Linux 5.9 2020-10-20 12:56:52 +02:00
r8a774a1-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a774b1-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a774c0-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a774e1-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a7790-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a7791-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a7792-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a7794-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a7795-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a7796-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a77965-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a77970-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a77980-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a77990-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
r8a77995-cpg-mssr.c clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
rcar-gen2-cpg.h clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
rcar-gen3-cpg.h clk: renesas: Make reset controller modemr register offset configurable 2021-05-21 15:00:17 +02:00
renesas-cpg-mssr.c clk: renesas: Add register pointers into struct cpg_mssr_info 2021-05-21 15:00:17 +02:00
renesas-cpg-mssr.h clk: renesas: Add register pointers into struct cpg_mssr_info 2021-05-21 15:00:17 +02:00