]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi: unify sun6i AHB1 clock with proper PLL6 pre-divider
authorChen-Yu Tsai <wens@csie.org>
Wed, 26 Nov 2014 07:16:52 +0000 (15:16 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 21 Dec 2014 22:51:37 +0000 (23:51 +0100)
commit27bdd22821c5eba671214a94a8df4ead08ebc6b3
treec8ebbdba5b2e9d16782133b2e8ca3e0db683a87a
parentdb006dc2309aaac52a1591227294bc951f53ee25
clk: sunxi: unify sun6i AHB1 clock with proper PLL6 pre-divider

This patch unifies the sun6i AHB1 clock, originally supported
with separate mux and divider clks. It also adds support for
the pre-divider on the PLL6 input, thus allowing the clock to
be muxed to PLL6 with proper clock rate calculation.

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