u-boot/drivers/clk/rockchip
Kever Yang 217273cd44 rockchip: clk: remove RATE_TO_DIV
Use DIV_ROUND_UP instead RATE_TO_DIV for all Rockchip SoC
clock driver.
Add or fix the div-field overflow check at the same time.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2017-08-13 17:15:09 +02:00
..
clk_rk322x.c rockchip: clk: remove RATE_TO_DIV 2017-08-13 17:15:09 +02:00
clk_rk3036.c rockchip: clk: remove RATE_TO_DIV 2017-08-13 17:15:09 +02:00
clk_rk3188.c rockchip: clk: remove RATE_TO_DIV 2017-08-13 17:15:09 +02:00
clk_rk3288.c rockchip: clk: remove RATE_TO_DIV 2017-08-13 17:15:09 +02:00
clk_rk3328.c rockchip: clk: update dwmmc clock div 2017-08-13 17:15:09 +02:00
clk_rk3368.c rockchip: clk: remove RATE_TO_DIV 2017-08-13 17:15:09 +02:00
clk_rk3399.c rockchip: clk: remove RATE_TO_DIV 2017-08-13 17:15:09 +02:00
clk_rv1108.c rockchip: clk: remove RATE_TO_DIV 2017-08-13 17:15:09 +02:00
Makefile rockchip: rk322x: add clock driver 2017-07-11 12:13:45 +02:00