]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi: Propagate rate changes to parent for mux clocks
authorChen-Yu Tsai <wens@csie.org>
Tue, 6 Jan 2015 02:35:12 +0000 (10:35 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 6 Jan 2015 16:00:15 +0000 (17:00 +0100)
commit729d251fdd364663584877fd6f921aa3cb992de3
tree5f28a71bb48d8a98ce10cdff371e546a68e92928
parentbd65448700134b574408c125860e7410c117a08a
clk: sunxi: Propagate rate changes to parent for mux clocks

The cpu clock on sunxi machines is just a mux clock, which is normally
fed by the main PLL, but can be muxed to the main or low power oscillator.

Make the mux clock propagate rate changes to its parent, so we can
change the clock rate of the PLL, and thus actually implement rate
changing on the cpu clock.

This patch also removes the no reparenting limit.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sunxi.c