]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4605a8f762759a07f585698bfa65a4905af4eecd
tree8e6b064a92ac32dd444a94ab49d2bdacc371c609
parent329f8ee228ba092a84660e9364a7c0290f9df3a9
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