[PATCH] clk: rockchip: fix rk3288 cpuclk core dividers

Heiko Stübner heiko at sntech.de
Sun Dec 28 14:19:24 PST 2014


Am Donnerstag, 18. Dezember 2014, 20:22:34 schrieb Heiko Stübner:
> Commit 0e5bdb3f9fa5 (clk: rockchip: switch to using the new cpuclk type
> for armclk) didn't take into account that the divider used on rk3288
> are of the (n+1) type.
> 
> The rk3066 and rk3188 socs use more complex divider types making it
> necessary for the list-elements to be the real register-values to write.
> 
> Therefore reduce divider values in the table accordingly so that they
> really are the values that should be written to the registers.
> 
> Reported-by: Sonny Rao <sonnyrao at chromium.org>
> Fixes: 0e5bdb3f9fa5
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
> Cc: stable at vger.kernel.org

applied to my clk-fixes branch with fixed "Fixes"-Tag and Doug's review



More information about the Linux-rockchip mailing list