u-boot/drivers/clk
Niklas Söderlund 49ad0c8eee clk: renesas: Fix broken clocks on all Gen2 boards
To prepare support for multiple register layouts pointers to register
tables where added to struct cpg_mssr_info. These pointers are suppose
to be filled in at probe time and no intended change in behavior was
intended.

However the new pointers where only filled in by some paths of the
driver implemented in clk-rcar-gen3.c. The path implemented in
clk-rcar-gen2.c was not updated leaving the pointers uninitialized
leading to a crash when trying to probe the clocks.

Fix this by filling in the pointers in the Gen2 code path with the
values used before they where moved to struct cpg_mssr_info.

Fixes: d413214fb7 ("clk: renesas: Add register pointers into struct cpg_mssr_info")
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Tested-by: Marek Vasut <marek.vasut+renesas@mailbox.org> # R8A7791 Porter
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
2024-02-17 22:38:18 +01:00
..
altera clk: altera: n5x: Fix MEMCLKMGR_EXTCNTRST_C0CNTRST to bit(0) 2024-01-22 16:51:17 +08:00
analogbits
aspeed treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
at91 treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
exynos clk: exynos: Add header guard for clk-pll.h 2023-11-13 16:39:05 +09:00
imx treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
intel
mediatek clk: mediatek: add clock driver support for MediaTek MT8365 SoC 2023-12-19 10:09:06 -05:00
meson clk: meson: add Hardware Clock measure driver 2024-01-29 22:34:39 -05:00
microchip
mtmips
mvebu treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
nuvoton clk: nuvoton: add read only feature for clk driver 2023-12-15 13:05:55 -05:00
owl
qcom clk/qcom: fix rcg divider value 2024-01-16 12:26:24 +00:00
renesas clk: renesas: Fix broken clocks on all Gen2 boards 2024-02-17 22:38:18 +01:00
rockchip clk: rockchip: rk3588: fix up the frac pll calculation 2023-10-23 18:21:55 +08:00
sifive
starfive clk: starfive: jh7110: Add watchdog clocks 2023-12-05 16:40:16 +08:00
stm32 arm: Rename STM32MP15x 2024-01-19 14:38:59 +01:00
sunxi sunxi: add Allwinner R528/T113 SoC support 2023-10-22 23:41:52 +01:00
tegra
ti tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
uniphier
clk_bcm6345.c
clk_boston.c
clk_fixed_factor.c
clk_fixed_rate.c
clk_k210.c clk: treewide: switch to clock dump from clk_ops 2023-12-15 13:05:54 -05:00
clk_octeon.c
clk_pic32.c clk: treewide: switch to clock dump from clk_ops 2023-12-15 13:05:54 -05:00
clk_sandbox_ccf.c test: dm: clk_ccf: test ccf_clk_ops 2023-12-15 13:50:44 -05:00
clk_sandbox_test.c clk: Remove rfree 2024-01-29 22:35:02 -05:00
clk_sandbox.c clk: Remove rfree 2024-01-29 22:35:02 -05:00
clk_scmi.c
clk_versaclock.c treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
clk_versal.c clk: treewide: switch to clock dump from clk_ops 2023-12-15 13:05:54 -05:00
clk_vexpress_osc.c
clk_zynq.c treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
clk_zynqmp.c treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
clk-cdce9xx.c tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
clk-composite.c clk: Check that composite clock's div has set_rate() 2023-12-15 12:32:00 -05:00
clk-divider.c
clk-fixed-factor.c
clk-gate.c
clk-gpio.c clk: clk-gpio: add actual gated clock 2024-01-29 22:35:34 -05:00
clk-hsdk-cgu.c
clk-mux.c
clk-uclass.c treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
clk-xlnx-clock-wizard.c treewide: Remove clk_free 2024-01-29 22:35:02 -05:00
clk.c clk: check parent_name in clk_register to avoid confusing log_error() output 2023-12-15 12:31:15 -05:00
ics8n3qv01.c
Kconfig clk/qcom: move from mach-snapdragon 2024-01-16 12:26:23 +00:00
Makefile clk/qcom: move from mach-snapdragon 2024-01-16 12:26:23 +00:00
mpc83xx_clk.c
mpc83xx_clk.h