> The clk_saradc is dividing from the 24M, clk_saradc=24MHz/(saradc_div_con+1).
> SARADC integer divider control register is 8-bits width.
> 
> Signed-off-by: David Wu <david...@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> ---
> 
> Changes in v3: None
> Changes in v2:
> - Use GENMASK
> 
>  drivers/clk/rockchip/clk_rk3399.c | 36 +++++++++++++++++++++++++++++++++++-
>  1 file changed, 35 insertions(+), 1 deletion(-)
> 

Applied to u-boot-rockchip, thanks!
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to