linux/drivers/clk/samsung
Krzysztof Kozlowski f99b3feb3b clk: samsung: fix getting Exynos4 fin_pll rate from external clocks
Commit 0dc83ad8bf ("clk: samsung: Don't register clkdev lookup for the
fixed rate clocks") claimed registering clkdev lookup is not necessary
anymore, but that was not entirely true: Exynos4210/4212/4412 clock code
still relied on it to get the clock rate of xxti or xusbxti external
clocks.

Drop that requirement by accessing already registered clk_hw when
looking up the xxti/xusbxti rate.

Reported-by: Artur Weber <aweber.kernel@gmail.com>
Closes: https://lore.kernel.org/all/6227c1fb-d769-462a-b79b-abcc15d3db8e@gmail.com/
Fixes: 0dc83ad8bf ("clk: samsung: Don't register clkdev lookup for the fixed rate clocks")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240722063309.60054-1-krzysztof.kozlowski@linaro.org
Tested-by: Artur Weber <aweber.kernel@gmail.com> # Exynos4212
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2024-07-23 11:29:23 -07:00
..
clk-cpu.c clk: samsung: Switch to use kmemdup_array() 2024-06-16 09:20:48 +02:00
clk-cpu.h clk: samsung: Add CPU clock support for Exynos850 2024-02-25 17:07:34 +01:00
clk-exynos4.c clk: samsung: fix getting Exynos4 fin_pll rate from external clocks 2024-07-23 11:29:23 -07:00
clk-exynos5-subcmu.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-exynos5-subcmu.h clk: samsung: Change signature of exynos5_subcmus_init() function 2019-08-08 13:53:42 -07:00
clk-exynos7.c clk: exynos7: Mark aclk_fsys1_200 as critical 2021-04-07 11:37:17 +02:00
clk-exynos850.c clk: samsung: exynos850: Add CMU_CPUCL0 and CMU_CPUCL1 2024-03-26 09:58:33 +01:00
clk-exynos3250.c clk: samsung: Pass register layout type explicitly to CLK_CPU() 2024-02-25 16:58:03 +01:00
clk-exynos4412-isp.c clk: samsung: exynos4: do not define number of clocks in bindings 2023-08-15 07:48:51 +02:00
clk-exynos5250.c clk: samsung: Pass register layout type explicitly to CLK_CPU() 2024-02-25 16:58:03 +01:00
clk-exynos5260.c clk: samsung: exynos5260: do not define number of clocks in bindings 2023-08-15 07:49:12 +02:00
clk-exynos5260.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-exynos5410.c clk: samsung: exynos5410: do not define number of clocks in bindings 2023-08-15 07:49:19 +02:00
clk-exynos5420.c clk: samsung: Pass register layout type explicitly to CLK_CPU() 2024-02-25 16:58:03 +01:00
clk-exynos5433.c clk: samsung: Pass register layout type explicitly to CLK_CPU() 2024-02-25 16:58:03 +01:00
clk-exynos7885.c Merge branches 'clk-imx', 'clk-samsung', 'clk-annotate', 'clk-marvell' and 'clk-lmk' into clk-next 2023-08-30 14:39:19 -07:00
clk-exynos-arm64.c clk: samsung: Implement manual PLL control for ARM64 SoCs 2024-03-26 09:58:32 +01:00
clk-exynos-arm64.h clk: samsung: exynos5433: Extract PM support to common ARM64 layer 2023-03-07 08:38:54 +01:00
clk-exynos-audss.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-exynos-clkout.c clk: samsung: exynos-clkout: Remove misleading of_match_table/MODULE_DEVICE_TABLE 2024-05-27 11:18:44 +02:00
clk-exynosautov9.c clk: samsung: exynosautov9: fix wrong pll clock id value 2024-03-31 12:19:12 +02:00
clk-fsd.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-gs101.c clk: samsung: gs101: mark gout_hsi2_ufs_embd_i_clk_unipro as critical 2024-07-01 10:15:30 +02:00
clk-pll.c clk: samsung: Switch to use kmemdup_array() 2024-06-16 09:20:48 +02:00
clk-pll.h clk: samsung: clk-pll: Add support for pll_{0516,0517,518} 2023-12-12 20:28:12 +01:00
clk-s3c64xx.c clk: samsung: Set dev in samsung_clk_init() 2023-03-06 16:55:26 +01:00
clk-s5pv210-audss.c clk: samsung: s5pv210-audss: Make use of devm_platform_ioremap_resource() 2021-09-13 18:01:09 +02:00
clk-s5pv210.c clk: samsung: Set dev in samsung_clk_init() 2023-03-06 16:55:26 +01:00
clk.c clk: samsung: Don't register clkdev lookup for the fixed rate clocks 2024-05-14 14:12:11 -07:00
clk.h clk: samsung: gs101: propagate PERIC0 USI SPI clock rate 2024-04-22 09:13:43 +02:00
Kconfig clk: samsung: add CONFIG_OF dependency 2023-06-12 11:45:20 +02:00
Makefile clk: samsung: clk-gs101: Add cmu_top, cmu_misc and cmu_apm support 2023-12-12 20:29:03 +01:00