[U-Boot] [U-Boot, v3, 05/14] rockchip: clk: Add rk3328 SARADC clock support

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Wed Sep 20 11:52:20 UTC 2017


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

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list