]> git.baikalelectronics.ru Git - kernel.git/commit
clk: rockchip: Add CLK_SET_RATE_PARENT to aclk_cpu_pre
authorDoug Anderson <dianders@chromium.org>
Mon, 6 Oct 2014 17:15:27 +0000 (10:15 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 20 Oct 2014 10:00:55 +0000 (12:00 +0200)
commit97674e562077c3e48c149a180ee38a59e1191607
treed55dab986305b137b5de86dc8c0a51dbf3130b69
parent0bd5609e95a98212894a1f913d2b45f64a40e9ac
clk: rockchip: Add CLK_SET_RATE_PARENT to aclk_cpu_pre

We'd like to be able to call clk_set_rate() on aclk_cpu (a gate) at
bootup.  In order for this to have any effect we need its parent
(aclk_cpu_pre) to percolate the rate change to _its_ parent
(aclk_cpu_src).  Add CLK_SET_RATE_PARENT to make this happen.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3288.c