Re: [U-Boot] [PATCH] rockchip: rk3036: clock: code clean

2017-05-14 Thread Simon Glass
Hi Kever, On 9 May 2017 at 06:11, Kever Yang wrote: > Embeded the shift in mask MACRO, and a few fix btw: > - hclk/pclk_div range use '<=' instead of '<' > - use GPLL for pd_bus > - peri HCLK/PCLK clock rate should not bigger than ACLK Can you please split out a patch that changes the shift/mask

[U-Boot] [PATCH] rockchip: rk3036: clock: code clean

2017-05-09 Thread Kever Yang
Embeded the shift in mask MACRO, and a few fix btw: - hclk/pclk_div range use '<=' instead of '<' - use GPLL for pd_bus - peri HCLK/PCLK clock rate should not bigger than ACLK Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/cru_rk3036.h | 76 ++-- drivers/clk/ro