u-boot/drivers/clk
Dario Binacchi 2983ad55a1 clk: add clk_round_rate()
It returns the rate which will be set if you ask clk_set_rate() to set
that rate. It provides a way to query exactly what rate you'll get if
you call clk_set_rate() with that same argument.
So essentially, clk_round_rate() and clk_set_rate() are equivalent
except the former does not modify the clock hardware in any way.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
2021-01-12 10:58:04 +05:30
..
altera dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
analogbits clk: sifive: Sync-up WRPLL library with upstream Linux 2019-07-19 14:24:51 +08:00
aspeed dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
at91 Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
exynos dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
imx Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
intel x86: remove dead code in intel_clk_get_rate() 2020-03-05 18:19:40 +08:00
kendryte clk: kendryte: no need to check argument of free() 2020-10-26 09:27:13 +08:00
mediatek dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
meson dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
mtmips dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mvebu dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
owl dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
renesas dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
rockchip dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
sifive dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
sunxi dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
tegra common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
uniphier dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk-cdce9xx.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk-composite.c clk: set flags in the ccf registration routines 2020-08-24 11:03:26 +02:00
clk-divider.c clk: export generic routines 2021-01-12 10:21:41 +05:30
clk-fixed-factor.c clk: set flags in the ccf registration routines 2020-08-24 11:03:26 +02:00
clk-gate.c clk: set flags in the ccf registration routines 2020-08-24 11:03:26 +02:00
clk-hsdk-cgu.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk-mux.c clk: ccf: replace the get_rate helper 2020-10-22 11:26:14 -04:00
clk-ti-sci.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk-uclass.c clk: add clk_round_rate() 2021-01-12 10:58:04 +05:30
clk.c dm: core: Access device flags through functions 2021-01-05 12:24:41 -07:00
clk_bcm6345.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk_boston.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
clk_fixed_factor.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
clk_fixed_rate.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
clk_octeon.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk_pic32.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk_sandbox.c clk: add clk_round_rate() 2021-01-12 10:58:04 +05:30
clk_sandbox_ccf.c clk: set flags in the ccf registration routines 2020-08-24 11:03:26 +02:00
clk_sandbox_test.c clk: add clk_round_rate() 2021-01-12 10:58:04 +05:30
clk_scmi.c clk: add clock driver for SCMI agents 2020-09-30 11:55:23 -04:00
clk_stm32f.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk_stm32h7.c Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
clk_stm32mp1.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
clk_versal.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk_vexpress_osc.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk_zynq.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
clk_zynqmp.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
ics8n3qv01.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
Kconfig clk: add clock driver for SCMI agents 2020-09-30 11:55:23 -04:00
Makefile clk: add clock driver for SCMI agents 2020-09-30 11:55:23 -04:00
mpc83xx_clk.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mpc83xx_clk.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00