clk: sunxi-ng: Add sun5i CCU driver
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 4 Oct 2016 08:09:58 +0000 (10:09 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 23 Jan 2017 10:45:29 +0000 (11:45 +0100)
commit5e73761786d6ff7e10c371703835528dee9306e3
tree049749eab6aebd8edd516ae8be5117f9a8cccba0
parent7c09b858961df25a3bd1ac22e802525795338a6d
clk: sunxi-ng: Add sun5i CCU driver

The Allwinner A10s, A13, R8 and NextThing GR8 are all based on the same
silicon, and all share the same clocks.

However, they're not packaged in the same way, and therefore not all the
controllers are actually available on all these SoCs.

Introduce a clock controller driver for all these SoCs with different
compatibles to take that into account.

Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi-ng/Kconfig
drivers/clk/sunxi-ng/Makefile
drivers/clk/sunxi-ng/ccu-sun5i.c [new file with mode: 0644]
drivers/clk/sunxi-ng/ccu-sun5i.h [new file with mode: 0644]
include/dt-bindings/clock/sun5i-ccu.h [new file with mode: 0644]
include/dt-bindings/reset/sun5i-ccu.h [new file with mode: 0644]