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)
commit61e309f322f264917e5dcbd7ea773df1db53629a
treed55dab986305b137b5de86dc8c0a51dbf3130b69
parentde7d6c3eebbe6da47c07f048ca689e10f194b842
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