OSDN Git Service

clk: sunxi: Add A23 clocks support
authorChen-Yu Tsai <wens@csie.org>
Thu, 26 Jun 2014 15:55:43 +0000 (23:55 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 4 Jul 2014 10:05:17 +0000 (12:05 +0200)
commit515c1a4bdcd9b55e2c21e897a9ca276bd708d145
tree8e6b064a92ac32dd444a94ab49d2bdacc371c609
parentea5671bffbb2b6eefdce7e467a162ae2eef032ac
clk: sunxi: Add A23 clocks support

The clock control unit on the A23 is similar to the one found on the A31.

The AHB1, APB1, APB2 gates on the A23 are almost identical to the ones
on the A31, but some outputs are missing.

The main CPU PLL (PLL1) however is like that on older Allwinner SoCs,
such as the A10 or A20, but the N factor starts from 1 instead of 0.

This patch adds support for PLL1 and all the basic clock muxes and gates.

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