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)
commit3ec72fabcc6f4f5c786c50e08b59e1251d0fdfeb
tree5f28a71bb48d8a98ce10cdff371e546a68e92928
parent6ea3953da4e645fb4c6bff19b542eee10970505c
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
This page took 0.024928 seconds and 5 git commands to generate.